We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9801f5a commit 03cbbdcCopy full SHA for 03cbbdc
1 file changed
documentation/user-guides/design-patterns/Design Pattern 1/CQ2.sparql
@@ -0,0 +1,11 @@
1
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
2
+PREFIX cco: <https://www.commoncoreontologies.org/>
3
+PREFIX obo: <http://purl.obolibrary.org/obo/>
4
+
5
+SELECT ?document (COUNT(?field) AS ?fieldCount)
6
+WHERE {
7
+ ?document rdf:type cco:ont00001298 .
8
+ ?document obo:BFO_0000178 ?field .
9
+ ?field rdf:type cco:ont00001243 .
10
+}
11
+GROUP BY ?document
0 commit comments