Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] SPARQL - getting all predicates for an ontology

Simon Kocbek simon at dbcls.rois.ac.jp
Tue May 14 00:38:07 PDT 2013


Hi BioPortal, 

 

I have a problem with getting the number of predicates for larger ontologies
through the SPARQL interface.

 

The following query:

 

SELECT (COUNT(?p) as ?pCount)

WHERE {

  GRAPH <http://bioportal.bioontology.org/ontologies/[ontology]> {

    ?s ?p ?o .

  }

}

 

will always return the same number (i.e., 1200000) for large [ontology]
values (e.g, SNOMEDCT, RCD, NCBITAXON).

 

Is this a bug?

 

Thanks, 

Simon

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20130514/7d476024/attachment.html>


More information about the bioontology-support mailing list