Marshall
Marshall

Reputation: 23

Can sparql count the same statement of triples?

I want to count triples with the same statement , is that possible?

I have an turtle file of ontology , and i want to count the triples in apache jena fuseki server.

for an example , i have some triples like this :

###  http://www.semanticweb.org/hp/ontologies/2022/11/Papua#pemerintah
:pemerintah rdf:type owl:NamedIndividual ,
                     :Topik ;
            :melakukan :positif ;
            :melalui :positif ;
            :meluncurkan :positif ;
            :membangun :positif ;
            :menegaskan :positif ;
            :mengalokasikan :positif ;
            :mengedepankan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif ;
            :sejahterahkan :positif .

Can i count how many triples for :pemerintah :sejatherahkan :positif ? when i count it , is the result is 6 or just 1? And can you show me how to count that?

Upvotes: 1

Views: 53

Answers (0)

Related Questions