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

Last change on this file since 1724 was 1323, checked in by George Lilly, 13 years ago
File size: 4.7 KB
RevLine 
[937]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
[950]69WHERE { {?qdsid qds:standard_code_list "493.00" }
70{ ?qdsid qds:NQF_id ?measure }
71{ ?qdsid qds:measure_name ?mname }
72}
73
74
75PREFIX qds: <http://cms.gov/pqri/qds/>
76SELECT ?qdsid ?measure ?mname
[937]77WHERE { {?qdsid qds:standard_code_list "427.81" }
78{ ?qdsid qds:NQF_id ?measure }
79{ ?qdsid qds:measure_name ?mname }
80}
81
82PREFIX qds: <http://cms.gov/pqri/qds/>
83SELECT ?qdsid ?o ?p
84WHERE { {?qdsid qds:NQF_id "0047" }
85GRAPH ?g { ?qdsid ?o ?p .}
86}
87
88PREFIX qds: <http://cms.gov/pqri/qds/>
89SELECT ?x ?o ?p
90WHERE { {?x qds:NQF_id "0070" }
91GRAPH ?g { ?x ?o ?p .}
92}
93
94PREFIX qds: <http://cms.gov/pqri/qds/>
95SELECT ?nqfid ?qdsid ?dtype ?p ?o
96WHERE { {?nqfid qds:NQF_id "0070" }
97{ ?nqfid qds:QDS_id ?qdsid }
98{ ?nqfid qds:QDS_data_type ?dtype }
99GRAPH ?g { ?nqfid ?p ?o . }
100}
101
[950]102PREFIX qds: <http://cms.gov/pqri/qds/>
103SELECT ?qdsid ?measure ?mname ?datatype
104WHERE { {?qdsid qds:standard_code_list "83704" }
105{ ?qdsid qds:QDS_data_type ?datatype }
106{ ?qdsid qds:NQF_id ?measure }
107{ ?qdsid qds:measure_name ?mname }
108}
[937]109
[950]110PREFIX qds: <http://cms.gov/pqri/qds/>
111SELECT ?qdsid ?measure ?mname ?datatype
112WHERE { {?qdsid qds:standard_code_list "310490" }
113{ ?qdsid qds:QDS_data_type ?datatype }
114{ ?qdsid qds:NQF_id ?measure }
115{ ?qdsid qds:measure_name ?mname }
116}
[1003]117
118PREFIX qds: <http://cms.gov/pqri/qds/>
119SELECT ?qdsid ?code ?measure ?mname ?datatype
120WHERE { {?qdsid qds:standard_taxonomy "SNOMED-CT" }
121{ ?qdsid qds:QDS_data_type "medication not done" }
122{ ?qdsid qds:QDS_data_type ?datatype }
123{ ?qdsid qds:NQF_id ?measure }
124{ ?qdsid qds:measure_name ?mname }
125{ ?qdsid qds:standard_code_list ?code }
126}
127
128PREFIX qds: <http://cms.gov/pqri/qds/>
129SELECT ?qdsid ?measure ?mname ?datatype
130WHERE { {?qdsid qds:standard_taxonomy "SNOMED-CT" }
131{ ?qdsid qds:QDS_data_type ?datatype }
132{ ?qdsid qds:NQF_id ?measure }
133{ ?qdsid qds:measure_name ?mname }
134}
135
136PREFIX qds: <http://cms.gov/pqri/qds/>
137SELECT ?qdsid ?measure ?code ?datatype ?mname
138WHERE { {?qdsid qds:standard_category "Encounter" }
139{ ?qdsid qds:NQF_id "0004" }
140{ ?qdsid qds:standard_concept ?datatype }
141{ ?qdsid qds:NQF_id ?measure }
142{ ?qdsid qds:measure_name ?mname }
143{ ?qdsid qds:standard_code_list ?code }
144}
145
146PREFIX qds: <http://cms.gov/pqri/qds/>
147SELECT ?code ?measure ?taxonomy ?concept
148WHERE { {?qdsid qds:standard_category "Encounter" }
149{ ?qdsid qds:NQF_id ?measure }
150{ ?qdsid qds:standard_code_list ?code }
151{ ?qdsid qds:standard_taxonomy ?taxonomy }
152{ ?qdsid qds:standard_concept ?concept }
153}
154order by ?code
155
156PREFIX qds: <http://cms.gov/pqri/qds/>
157SELECT ?code ?measure ?taxonomy ?concept
158WHERE { {?qdsid qds:standard_category "Encounter" }
159{ ?qdsid qds:NQF_id ?measure }
160{ ?qdsid qds:standard_code_list ?code }
161{ ?qdsid qds:standard_taxonomy ?taxonomy }
162{ ?qdsid qds:standard_concept ?concept }
163}
164order by ?code
165offset 250
166
167PREFIX qds: <http://cms.gov/pqri/qds/>
168SELECT ?measure ?code ?taxonomy ?concept
169WHERE { {?qdsid qds:standard_category "Encounter" }
170{ ?qdsid qds:NQF_id ?measure }
171{ ?qdsid qds:standard_code_list ?code }
172{ ?qdsid qds:standard_taxonomy ?taxonomy }
173{ ?qdsid qds:standard_concept ?concept }
174}
175order by ?measure ?code
[1323]176offset 2500
177
178PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
179PREFIX qds:<http://cms.gov/pqri/qds/>
180SELECT * WHERE { ?s qds:measure_name ?o }
181
Note: See TracBrowser for help on using the repository browser.