We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Try Jim Balhoff's suggestion from email:
14 Mar 2025, 07:33 Re: [go-ontology] automatic namespace additions
14 Mar 2025, 07:33
Re: [go-ontology] automatic namespace additions
Hi Val,
I think it should be easy, if you are able to run ROBOT in your pipeline. Here you can see I added a 'robot query --update’ step: https://github.com/geneontology/go-ontology/pull/29894/files#diff-1376bbad1ef43bed6c9aed84b7d52471e63c87277b2b3f72ed0a5bdef481b638R204
It uses this SPARQL update: https://github.com/geneontology/go-ontology/pull/29894/files#diff-c94c78b5f711d0fd41011be8b9b0187c39415fd03f8e812f7a13c6915218ee6d
I think yours can be simpler, like:
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX owl: http://www.w3.org/2002/07/owl# prefix xsd: http://www.w3.org/2001/XMLSchema# PREFIX oio: http://www.geneontology.org/formats/oboInOwl# PREFIX GO: http://purl.obolibrary.org/obo/GO_
INSERT { ?term oio:hasOBONamespace "fission_yeast_phenotype" . } WHERE { ?term a owl:Class . FILTER(isIRI(?term)) FILTER(STRSTARTS(STR(?term), "http://purl.obolibrary.org/obo/FYPO_")) }
The text was updated successfully, but these errors were encountered:
kimrutherford
No branches or pull requests
Try Jim Balhoff's suggestion from email:
14 Mar 2025, 07:33
Re: [go-ontology] automatic namespace additions
Hi Val,
I think it should be easy, if you are able to run ROBOT in your pipeline. Here you can see I added a 'robot query --update’ step: https://github.com/geneontology/go-ontology/pull/29894/files#diff-1376bbad1ef43bed6c9aed84b7d52471e63c87277b2b3f72ed0a5bdef481b638R204
It uses this SPARQL update: https://github.com/geneontology/go-ontology/pull/29894/files#diff-c94c78b5f711d0fd41011be8b9b0187c39415fd03f8e812f7a13c6915218ee6d
I think yours can be simpler, like:
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
PREFIX owl: http://www.w3.org/2002/07/owl#
prefix xsd: http://www.w3.org/2001/XMLSchema#
PREFIX oio: http://www.geneontology.org/formats/oboInOwl#
PREFIX GO: http://purl.obolibrary.org/obo/GO_
INSERT {
?term oio:hasOBONamespace "fission_yeast_phenotype" .
}
WHERE {
?term a owl:Class .
FILTER(isIRI(?term))
FILTER(STRSTARTS(STR(?term), "http://purl.obolibrary.org/obo/FYPO_"))
}
The text was updated successfully, but these errors were encountered: