Skip to content

Commit f99ca73

Browse files
committed
Add new (default) query, showing the number of projects (okh:Module)
1 parent 9db8cb2 commit f99ca73

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

res/sample-query.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ PREFIX ohloom: <https://gitlab.com/OSEGermany/ohloom/1.0.0#>
2727
#}
2828

2929
# All Projects names and their licenses
30-
SELECT ?name ?license
30+
#SELECT ?name ?license
31+
#WHERE {
32+
# ?subject rdf:type okh:Module ;
33+
# rdfs:label ?name ;
34+
# ods:license ?license
35+
#}
36+
37+
SELECT (COUNT(*) AS ?count)
3138
WHERE {
32-
?subject rdf:type okh:Module ;
33-
rdfs:label ?name ;
34-
ods:license ?license
39+
?proj a okh:Module
3540
}
36-

0 commit comments

Comments
 (0)