-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample-output2.txt
155 lines (147 loc) · 9.66 KB
/
sample-output2.txt
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
@glilly:~/CCD$ python cdadiet.py
(rdflib.term.URIRef(u'http://this.ccd.com/problem-2-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#belongsTo'), rdflib.term.URIRef(u'http://this.ccd.com/problems'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-2-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#startDate'), rdflib.term.Literal(u'200205'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-2-data'), rdflib.term.URIRef(u'http://www
.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/ter
ms#Problem'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-2-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#problemName'), rdflib.term.BNode('N46e2d10fc66b4783b95a89f2a86ad341')
)
(rdflib.term.BNode('N8e3dbbdb88b54315a939cac27614c01d'), rdflib.term.URIRef(u'http://purl.o
rg/dc/terms/title'), rdflib.term.Literal(u'Essential Hypertension'))
(rdflib.term.BNode('N8e3dbbdb88b54315a939cac27614c01d'), rdflib.term.URIRef(u'http://www.w3
.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/terms#
CodedValue'))
(rdflib.term.BNode('N8e3dbbdb88b54315a939cac27614c01d'), rdflib.term.URIRef(u'http://smartp
latforms.org/terms#code'), rdflib.term.URIRef(u'http://purl.bioontology.org/ontology/SNOMED
CT/59621000'))
(rdflib.term.BNode('N43c6f2b61f524129b4b55d8efaba179b'), rdflib.term.URIRef(u'http://purl.o
rg/dc/terms/title'), rdflib.term.Literal(u'Diabetes Mellitus, Type 2'))
(rdflib.term.BNode('N43c6f2b61f524129b4b55d8efaba179b'), rdflib.term.URIRef(u'http://www.w3
.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/terms#
CodedValue'))
(rdflib.term.BNode('N43c6f2b61f524129b4b55d8efaba179b'), rdflib.term.URIRef(u'http://smartp
latforms.org/terms#code'), rdflib.term.URIRef(u'http://purl.bioontology.org/ontology/SNOMED
CT/44054006'))
(rdflib.term.BNode('N46e2d10fc66b4783b95a89f2a86ad341'), rdflib.term.URIRef(u'http://purl.o
rg/dc/terms/title'), rdflib.term.Literal(u'Hyperlipidemia'))
(rdflib.term.BNode('N46e2d10fc66b4783b95a89f2a86ad341'), rdflib.term.URIRef(u'http://www.w3
.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/terms#
CodedValue'))
(rdflib.term.BNode('N46e2d10fc66b4783b95a89f2a86ad341'), rdflib.term.URIRef(u'http://smartp
latforms.org/terms#code'), rdflib.term.URIRef(u'http://purl.bioontology.org/ontology/SNOMED
CT/55822004'))
(rdflib.term.BNode('N90c4292a3588454a9355503b4026385a'), rdflib.term.URIRef(u'http://purl.o
rg/dc/terms/title'), rdflib.term.Literal(u'Coronary Arteriosclerosis'))
(rdflib.term.BNode('N90c4292a3588454a9355503b4026385a'), rdflib.term.URIRef(u'http://www.w3
.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/terms#
CodedValue'))
(rdflib.term.BNode('N90c4292a3588454a9355503b4026385a'), rdflib.term.URIRef(u'http://smartp
latforms.org/terms#code'), rdflib.term.URIRef(u'http://purl.bioontology.org/ontology/SNOMED
CT/53741008'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-4-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#belongsTo'), rdflib.term.URIRef(u'http://this.ccd.com/problems'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-4-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#startDate'), rdflib.term.Literal(u'200205'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-4-data'), rdflib.term.URIRef(u'http://www
.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/ter
ms#Problem'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-4-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#problemName'), rdflib.term.BNode('N8e3dbbdb88b54315a939cac27614c01d')
)
(rdflib.term.URIRef(u'http://this.ccd.com/problem-1-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#belongsTo'), rdflib.term.URIRef(u'http://this.ccd.com/problems'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-1-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#startDate'), rdflib.term.Literal(u'2009'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-1-data'), rdflib.term.URIRef(u'http://www
.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/ter
ms#Problem'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-1-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#problemName'), rdflib.term.BNode('N43c6f2b61f524129b4b55d8efaba179b')
)
(rdflib.term.URIRef(u'http://this.ccd.com/problem-3-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#belongsTo'), rdflib.term.URIRef(u'http://this.ccd.com/problems'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-3-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#startDate'), rdflib.term.Literal(u'200205'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-3-data'), rdflib.term.URIRef(u'http://www
.w3.org/1999/02/22-rdf-syntax-ns#type'), rdflib.term.URIRef(u'http://smartplatforms.org/ter
ms#Problem'))
(rdflib.term.URIRef(u'http://this.ccd.com/problem-3-data'), rdflib.term.URIRef(u'http://sma
rtplatforms.org/terms#problemName'), rdflib.term.BNode('N90c4292a3588454a9355503b4026385a')
)
<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF
xmlns:sp="http://smartplatforms.org/terms#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>
<sp:Problem rdf:about="http://this.ccd.com/problem-2-data">
<sp:belongsTo rdf:resource="http://this.ccd.com/problems"/>
<sp:startDate>200205</sp:startDate>
<sp:problemName>
<sp:CodedValue rdf:nodeID="N46e2d10fc66b4783b95a89f2a86ad341">
<dcterms:title>Hyperlipidemia</dcterms:title>
<sp:code rdf:resource="http://purl.bioontology.org/ontology/SNOMEDCT/55822004"/>
</sp:CodedValue>
</sp:problemName>
</sp:Problem>
<sp:Problem rdf:about="http://this.ccd.com/problem-4-data">
<sp:belongsTo rdf:resource="http://this.ccd.com/problems"/>
<sp:startDate>200205</sp:startDate>
<sp:problemName>
<sp:CodedValue rdf:nodeID="N8e3dbbdb88b54315a939cac27614c01d">
<dcterms:title>Essential Hypertension</dcterms:title>
<sp:code rdf:resource="http://purl.bioontology.org/ontology/SNOMEDCT/59621000"/>
</sp:CodedValue>
</sp:problemName>
</sp:Problem>
<sp:Problem rdf:about="http://this.ccd.com/problem-1-data">
<sp:belongsTo rdf:resource="http://this.ccd.com/problems"/>
<sp:startDate>2009</sp:startDate>
<sp:problemName>
<sp:CodedValue rdf:nodeID="N43c6f2b61f524129b4b55d8efaba179b">
<dcterms:title>Diabetes Mellitus, Type 2</dcterms:title>
<sp:code rdf:resource="http://purl.bioontology.org/ontology/SNOMEDCT/44054006"/>
</sp:CodedValue>
</sp:problemName>
</sp:Problem>
<sp:Problem rdf:about="http://this.ccd.com/problem-3-data">
<sp:belongsTo rdf:resource="http://this.ccd.com/problems"/>
<sp:startDate>200205</sp:startDate>
<sp:problemName>
<sp:CodedValue rdf:nodeID="N90c4292a3588454a9355503b4026385a">
<dcterms:title>Coronary Arteriosclerosis</dcterms:title>
<sp:code rdf:resource="http://purl.bioontology.org/ontology/SNOMEDCT/53741008"/>
</sp:CodedValue>
</sp:problemName>
</sp:Problem>
</rdf:RDF>
@prefix ccd: <http://this.ccd.com/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix sp: <http://smartplatforms.org/terms#> .
ccd:problem-1-data a sp:Problem;
sp:belongsTo ccd:problems;
sp:problemName [ a sp:CodedValue;
dcterms:title "Diabetes Mellitus, Type 2";
sp:code <http://purl.bioontology.org/ontology/SNOMEDCT/44054006> ];
sp:startDate "2009" .
ccd:problem-2-data a sp:Problem;
sp:belongsTo ccd:problems;
sp:problemName [ a sp:CodedValue;
dcterms:title "Hyperlipidemia";
sp:code <http://purl.bioontology.org/ontology/SNOMEDCT/55822004> ];
sp:startDate "200205" .
ccd:problem-3-data a sp:Problem;
sp:belongsTo ccd:problems;
sp:problemName [ a sp:CodedValue;
dcterms:title "Coronary Arteriosclerosis";
sp:code <http://purl.bioontology.org/ontology/SNOMEDCT/53741008> ];
sp:startDate "200205" .
ccd:problem-4-data a sp:Problem;
sp:belongsTo ccd:problems;
sp:problemName [ a sp:CodedValue;
dcterms:title "Essential Hypertension";
sp:code <http://purl.bioontology.org/ontology/SNOMEDCT/59621000> ];
sp:startDate "200205" .