Skip to content

Commit 9bc7589

Browse files
committed
add CQ8
1 parent a704ca1 commit 9bc7589

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

competencyQuestions/CQ8.rq

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# What locations have had multiple reported PFAS releases over time?
2+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
3+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
4+
PREFIX coso: <http://w3id.org/coso/v1/contaminoso#>
5+
6+
SELECT ?rf ?rfLabel (COUNT(?obs) as ?obsCount)
7+
WHERE {
8+
?rf a coso:ReleaseFeature;
9+
rdfs:label ?rfLabel.
10+
?obs coso:hasFeatureOfInterest ?rf.
11+
} group by ?rf ?rfLabel
12+
HAVING (?obsCount > 1)

0 commit comments

Comments
 (0)