Skip to content

Commit

Permalink
gold soil sparql and graphs list
Browse files Browse the repository at this point in the history
  • Loading branch information
turbomam committed Nov 4, 2024
1 parent 6da5d0a commit 164c4ba
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 36 deletions.
35 changes: 35 additions & 0 deletions notebooks/gold-soils-by-sparql.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# # http://35.173.42.85/repository goldterms-with-support
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX : <http://purl.obolibrary.org/obo/gold.owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
select ?s ?p ?o ?olab
#?p (count(?s) as ?count)
where {
?s rdfs:subClassOf* <https://w3id.org/gold.path/4212> ;
?p ?o .
optional {
?o rdfs:label ?olab
}
minus {
?s rdfs:subClassOf ?o
}
minus {
?s rdf:type ?o
}
minus {
?s owl:equivalentClass ?o
}
minus {
?s oboInOwl:hasExactSynonym ?o
}
minus {
?s skos:closeMatch ?o
}
minus {
?s skos:exactMatch ?o
}
}
#group by ?p
Binary file added notebooks/goldterms-with-support-graphs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 0 additions & 36 deletions notebooks/notebooks.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,3 @@ notebooks/gold-soils.tsv: local/goldterms.db local/envo.db
s.predicate not in ('rdf:type', 'rdfs:subClassOf', 'oio:hasExactSynonym', 'owl:equivalentClass' ) \
and \
ee.object = 'GOLDTERMS:4212'" > $@

# http://35.173.42.85/repository goldterms-with-support
#PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#PREFIX : <http://purl.obolibrary.org/obo/gold.owl#>
#PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
#PREFIX owl: <http://www.w3.org/2002/07/owl#>
#PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
#PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
#select ?s ?p ?o ?olab
##?p (count(?s) as ?count)
#where {
# ?s rdfs:subClassOf* <https://w3id.org/gold.path/4212> ;
# ?p ?o .
# optional {
# ?o rdfs:label ?olab
# }
# minus {
# ?s rdfs:subClassOf ?o
# }
# minus {
# ?s rdf:type ?o
# }
# minus {
# ?s owl:equivalentClass ?o
# }
# minus {
# ?s oboInOwl:hasExactSynonym ?o
# }
# minus {
# ?s skos:closeMatch ?o
# }
# minus {
# ?s skos:exactMatch ?o
# }
#}
##group by ?p

0 comments on commit 164c4ba

Please sign in to comment.