source: qrda/qds/SPARQL-experiments.txt@ 945

Last change on this file since 945 was 937, checked in by George Lilly, 14 years ago

SPARQL experiments

File size: 2.1 KB
Line 
1SELECT ?x
2WHERE { ?x <http://cms.gov/pqri/qds/NQF_id> "0001" }
3
4file:///var/A_1244
5file:///var/A_162
6file:///var/A_161
7file:///var/A_163
8file:///var/A_1441
9file:///var/A_366
10file:///var/A_1442
11file:///var/A_367
12file:///var/A_368
13file:///var/A_138
14file:///var/A_139
15file:///var/A_251
16file:///var/A_310
17file:///var/A_311
18
19SELECT ?x
20WHERE { ?x <http://cms.gov/pqri/qds/standard_code_list> "493.00" }
21
22ile:///var/A_161
23file:///var/A_166
24file:///var/A_1013
25file:///var/A_1014
26file:///var/A_1015
27file:///var/A_1065
28file:///var/A_1066
29
30SELECT *
31WHERE { <file:///var/A_161> <http://cms.gov/pqri/qds/NQF_id> ?o . }
32
33PREFIX qds: <http://cms.gov/pqri/qds/>
34SELECT ?x ?y ?p ?o
35WHERE { {?x qds:standard_concept_id "N_c241" }
36{?x qds:standard_code_list ?y }
37GRAPH ?g { ?x ?p ?o . }
38}
39
40PREFIX qds: <http://cms.gov/pqri/qds/>
41SELECT ?x ?y ?p ?o
42WHERE { {?x qds:standard_concept_id "N_c242" }
43{?x qds:standard_code_list ?y }
44GRAPH ?g { ?x ?p ?o . }
45}
46
47PREFIX qds: <http://cms.gov/pqri/qds/>
48SELECT ?x ?y ?p ?o
49WHERE { {?x qds:standard_concept_id "N_c243" }
50{?x qds:standard_code_list ?y }
51GRAPH ?g { ?x ?p ?o . }
52}
53
54PREFIX qds: <http://cms.gov/pqri/qds/>
55SELECT ?x ?y
56WHERE { {?x qds:standard_concept_id "N_c242" }
57{?x qds:standard_code_list ?y }
58}
59
60PREFIX qds: <http://cms.gov/pqri/qds/>
61SELECT ?x ?y ?z
62WHERE { {?x qds:standard_code_list "493.00" }
63{ ?x qds:NQF_id ?y }
64{ ?x qds:measure_name ?z }
65}
66
67PREFIX qds: <http://cms.gov/pqri/qds/>
68SELECT ?qdsid ?measure ?mname
69WHERE { {?qdsid qds:standard_code_list "427.81" }
70{ ?qdsid qds:NQF_id ?measure }
71{ ?qdsid qds:measure_name ?mname }
72}
73
74PREFIX qds: <http://cms.gov/pqri/qds/>
75SELECT ?qdsid ?o ?p
76WHERE { {?qdsid qds:NQF_id "0047" }
77GRAPH ?g { ?qdsid ?o ?p .}
78}
79
80PREFIX qds: <http://cms.gov/pqri/qds/>
81SELECT ?x ?o ?p
82WHERE { {?x qds:NQF_id "0070" }
83GRAPH ?g { ?x ?o ?p .}
84}
85
86PREFIX qds: <http://cms.gov/pqri/qds/>
87SELECT ?nqfid ?qdsid ?dtype ?p ?o
88WHERE { {?nqfid qds:NQF_id "0070" }
89{ ?nqfid qds:QDS_id ?qdsid }
90{ ?nqfid qds:QDS_data_type ?dtype }
91GRAPH ?g { ?nqfid ?p ?o . }
92}
93
94
Note: See TracBrowser for help on using the repository browser.