-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SPARQL queries to get stats for manuscript #275
Comments
need help with individuals that are clusters PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX obo: <http://purl.obolibrary.org/obo/PCL_>
SELECT (COUNT (DISTINCT ?ind) as ?indcount)
WHERE {
?ind a owl:NamedIndividual ;
<obo:PCL_0010059> ?cluster </obo:PCL_0010059>
FILTER(isIRI(?ind) && (STRSTARTS(str(?ind), "http://purl.obolibrary.org/obo/PCL_")))
} and PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX obo: <http://purl.obolibrary.org/obo/PCL_>
SELECT (COUNT (DISTINCT ?ind) as ?indcount)
WHERE {
?ind a owl:NamedIndividual ;
?ind obo:PCL_0010059 ?cluster
FILTER(isIRI(?ind) && (STRSTARTS(str(?ind), "http://purl.obolibrary.org/obo/PCL_")))
} and both don't work - I can copy the whole list of stuff with individuals, but im sure there is a better way? |
Is this what we expect? PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX pcl: <http://purl.obolibrary.org/obo/PCL_>
SELECT (COUNT (DISTINCT ?ind) as ?indcount)
WHERE {
?ind a owl:NamedIndividual ;
pcl:0010059 ?cluster.
FILTER(isIRI(?ind) && (STRSTARTS(str(?ind), "http://purl.obolibrary.org/obo/PCL_")))
} |
lol ok, that makes sense, probably right, will change and do a test. Thanks :) done, looks right |
will keep this ticket till inserted into manuscript |
In the BDSO manuscript
We need the following SPARQL queries:
The text was updated successfully, but these errors were encountered: