Skip to content

Commit 6e13ca2

Browse files
committed
CQ2 corrected (DTXSID usage)
1 parent 178f27a commit 6e13ca2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

competencyQuestions/CQ2.rq

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ PREFIX dcterms: <http://purl.org/dc/terms/>
55
PREFIX qudt: <http://qudt.org/schema/qudt/>
66
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
77
PREFIX coso: <http://w3id.org/coso/v1/contaminoso#>
8-
PREFIX comptox: <http://w3id.org/comptox/v1/>
8+
PREFIX dsstox: <http://w3id.org/DSSTox/v1/>
99

1010

1111
SELECT * WHERE {
1212
?sample a coso:MaterialSample; # all samples
1313
a coso:SoilSample; # soil samples
1414
coso:sampleOfMaterialType/rdfs:label ?sampleType; # with type labels
1515
^coso:analyzedSample ?observation.
16-
?observation coso:ofComptoxSubstance ?dtxsid; # that were tested for a specific substance
17-
coso:ofComptoxSubstance/rdfs:label ?substanceName;
16+
?observation coso:ofSubstance ?dtxsid; # that were tested for a specific substance
17+
coso:ofSubstance/rdfs:label ?substanceName;
1818
coso:hasResult ?measurement.
1919
?measurement coso:measurementValue ?value;
2020
coso:measurementUnit/qudt:symbol ?unit.
21-
VALUES ?dtxsid{comptox:CompTox_DTXSID5030030} # where the substance is PFBS
21+
VALUES ?dtxsid{dsstox:DTXSID5030030} # # where the substance is PFBS
2222
#VALUES ?substanceName{"Perfluorobutanesulfonic acid"} # Can alternately search substance by name
2323

2424
} ORDER BY ?value

0 commit comments

Comments
 (0)