Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 966 Bytes
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bfo: <http://purl.obolibrary.org/obo/BFO_>
PREFIX iao: <http://purl.obolibrary.org/obo/IAO_>
PREFIX obi: <http://purl.obolibrary.org/obo/OBI_>
PREFIX tax: <http://purl.obolibrary.org/obo/NCBITaxon_>
PREFIX isa: <http://purl.org/isaterms/>
PREFIX ro: <http://purl.obolibrary.org/obo/RO_>
SELECT DISTINCT (COUNT(*) AS ?count)
WHERE
{
?study rdf:type isa:study. # could be replaced by: ?study rdf:type obi:0000066.
#?study_design is obi:study_design
?study_design_iri rdf:type obi:0500000.
#?study_design iao:denotes ?study_iri
?study_design iao:0000219 ?study.
?study_group_iri rdf:type isa:study_group_population.
# ?study_design iao:denotes ?study_group_iri
?study_design iao:0000219 ?study_group_iri.
}