Skip to content
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

bug on subsets-labeled.sparql #146

Closed
zhengj2007 opened this issue Jan 24, 2019 · 1 comment · Fixed by #322
Closed

bug on subsets-labeled.sparql #146

zhengj2007 opened this issue Jan 24, 2019 · 1 comment · Fixed by #322
Assignees

Comments

@zhengj2007
Copy link

Error when run subsets-labeled.sparql query.

Should change '.' to ';' on line "?cls a owl:Class ." ?

SELECT  ?subset ?clsLabel
WHERE 
{
  ?cls a owl:Class .
       inSubset: ?subset ;
       rdfs:label ?clsLabel 
}
ORDER BY ?subset ?cls
@matentzn
Copy link
Contributor

Changed it to:

prefix oio: <http://www.geneontology.org/formats/oboInOwl#>
prefix def: <http://purl.obolibrary.org/obo/IAO_0000115>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix inSubset: <http://www.geneontology.org/formats/oboInOwl#inSubset>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT  ?subset ?clsLabel
WHERE 
{
  ?cls a owl:Class ;
       inSubset: ?subset ;
       rdfs:label ?clsLabel 
}
ORDER BY ?subset ?cls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants