-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget-unique-control-measures-simulated.rq
36 lines (27 loc) · 1.47 KB
/
get-unique-control-measures-simulated.rq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
prefix obo: <http://purl.obolibrary.org/obo/>
PREFIX obc: <http://www.pitt.edu/obc/>
select distinct ?measureType (replace(?controlMeasure, " control strategy", "") as ?measureLabel)
from <http://www.pitt.edu/obc/ide/apollo-sv>
from <http://www.pitt.edu/obc/ide/classes-and-indexing-instances>
from <http://www.pitt.edu/obc/ide/article-instances>
from <http://www.pitt.edu/obc/ide/article-deleted-instances>
from <http://ide.obc.io/auth>
from <http://www.pitt.edu/obc/mdc/content>
from <http://www.pitt.edu/obc/simulates-instances>
where {
?dtm rdf:type <http://purl.obolibrary.org/obo/APOLLO_SV_00000561> . #x is dtm software
#get compiledSoftware that corresponds to dtm via a compiling process
?compilingProcess obo:OBI_0000293 ?dtm .
?compilingProcess obo:OBI_0000299 ?executable .
#get compiled software that achieves planned objective simulating of process type x
?simulatingOfProcessTypeX obo:OBI_0000417 ?executable . #achieves planned objective obo:OBI_0000417
?executable rdf:type/rdfs:subClassOf* obo:APOLLO_SV_00000525 .
?simulatingOfProcessTypeX rdf:type obo:APOLLO_SV_00000005 .
#get simulation of populations
?simulatingOfProcessTypeX obo:OBI_0000299 ?measure . #has specified output - obo:OBI_0000299
?measure rdf:type/rdfs:subClassOf* obo:APOLLO_SV_00000086 . #output of simulating is an instance of control measure
?measure rdf:type ?measureType .
?measureType rdfs:label ?controlMeasure .
FILTER (?measure != obo:APOLLO_SV_00000086)
}
order by ?geoLocationLabel