Skip to content

Commit a94fdda

Browse files
committed
sample-q: Makes the (active) sample query more human-friendly
1 parent 3f6c8b1 commit a94fdda

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

res/sample-query.txt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,23 @@ PREFIX wfs: <https://wikifactory.com/@shirako/>
1414
PREFIX loshdummymosha: <https://github.com/OPEN-NEXT/LOSH-dummy-MOSH-A/1.0.0#>
1515
PREFIX ohloom: <https://gitlab.com/OSEGermany/ohloom/1.0.0#>
1616

17-
SELECT ?subject ?predicate ?object
17+
# All triples
18+
#SELECT ?subject ?predicate ?object
19+
#WHERE {
20+
# ?subject ?predicate ?object
21+
#}
22+
23+
# All Projects type triples
24+
#SELECT ?subject ?predicate ?object
25+
#WHERE {
26+
# ?subject rdf:type okh:Module
27+
#}
28+
29+
# All Projects names and their licenses
30+
SELECT ?name ?license
1831
WHERE {
19-
#?subject ?predicate ?object
20-
?subject rdf:type okh:Module
32+
?subject rdf:type okh:Module ;
33+
rdfs:label ?name ;
34+
ods:license ?license
2135
}
2236

0 commit comments

Comments
 (0)