Skip to content

Commit a638316

Browse files
committed
Add two more sample-querries
1 parent b571721 commit a638316

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# SPDX-FileCopyrightText: 2025 Robin Vobruba <hoijui.quaero@gmail.com>
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
5+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
6+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
7+
PREFIX otrl: <http://w3id.org/oseg/ont/otrl#>
8+
9+
# Fetch OTRL values
10+
SELECT DISTINCT
11+
?iri
12+
?label
13+
?comment
14+
?goal
15+
?exitCriteria
16+
WHERE {
17+
?iri
18+
a otrl:OTRL ;
19+
rdfs:label ?label ;
20+
rdfs:comment ?comment ;
21+
otrl:goal ?goal ;
22+
otrl:exitCriteria ?exitCriteria ;
23+
.
24+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-FileCopyrightText: 2025 Robin Vobruba <hoijui.quaero@gmail.com>
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
5+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
6+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
7+
PREFIX okh: <http://w3id.org/oseg/ont/okh#>
8+
9+
# Select all documentation langauges in use
10+
SELECT DISTINCT
11+
?language
12+
WHERE {
13+
?proj
14+
a okh:Module ;
15+
okh:documentationLanguage ?language ;
16+
.
17+
}

0 commit comments

Comments
 (0)