Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- A favicon (#188).
- A cache to remember the entire result table (useful when scrolling through pages of a lengthy result table) (#193).
- configs/oslo-kg: two class-related queries.

### Changed

- Using new verification library v0.2.0 (#184).
- Refactoring, avoiding the usage of an internal, undocumented react-admin component (#185).
- Removed the loading indicator / refresh button in the appbar (#195).
- OSLO KG config: use smaller datasets for queries.

### Fixed

Expand Down
32 changes: 29 additions & 3 deletions main/configs/oslo-kg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
{
"id": "104",
"queryLocation": "all-aps-that-use-a-specific-property.rq",
"name": "All application profiles that use a specific-property",
"name": "All application profiles that use a specific property",
"comunicaContext": {
"sources": [
"https://raw.githubusercontent.com/KNowledgeOnWebScale/data-vlaanderen-bundled-rdf/refs/heads/main/bundle.ttl"
"https://raw.githubusercontent.com/KNowledgeOnWebScale/data-vlaanderen-bundled-rdf/refs/heads/main/predicates-ap.ttl"
]
},
"indirectVariables": {
Expand All @@ -77,7 +77,33 @@
"name": "All properties used by a specific application profile",
"comunicaContext": {
"sources": [
"https://raw.githubusercontent.com/KNowledgeOnWebScale/data-vlaanderen-bundled-rdf/refs/heads/main/bundle.ttl"
"https://raw.githubusercontent.com/KNowledgeOnWebScale/data-vlaanderen-bundled-rdf/refs/heads/main/predicates-ap.ttl"
]
},
"indirectVariables": {
"queryLocations": ["variableQueries/ap.rq"]
}
},
{
"id": "106",
"queryLocation": "all-aps-that-use-a-specific-class.rq",
"name": "All application profiles that use a specific class",
"comunicaContext": {
"sources": [
"https://raw.githubusercontent.com/KNowledgeOnWebScale/data-vlaanderen-bundled-rdf/refs/heads/main/classes-ap.ttl"
]
},
"indirectVariables": {
"queryLocations": ["variableQueries/class-in-ap.rq"]
}
},
{
"id": "107",
"queryLocation": "all-classes-used-by-a-specific-ap.rq",
"name": "All classes used by a specific application profile",
"comunicaContext": {
"sources": [
"https://raw.githubusercontent.com/KNowledgeOnWebScale/data-vlaanderen-bundled-rdf/refs/heads/main/classes-ap.ttl"
]
},
"indirectVariables": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
PREFIX shacl: <http://www.w3.org/ns/shacl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?ap WHERE {
?shape a shacl:NodeShape;
shacl:targetClass $class.

?ap rdfs:member ?shape.

<https://data.vlaanderen.be/standaarden/> rdfs:member ?ap.
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PREFIX shacl: <http://www.w3.org/ns/shacl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class WHERE {
?shape a shacl:NodeShape;
shacl:targetClass ?class.

$ap rdfs:member ?shape.
}
12 changes: 12 additions & 0 deletions main/configs/oslo-kg/public/queries/variableQueries/class-in-ap.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PREFIX shacl: <http://www.w3.org/ns/shacl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class
WHERE {
?shape1 a shacl:NodeShape;
shacl:targetClass ?class.

?ap1 rdfs:member ?shape1.

<https://data.vlaanderen.be/standaarden/> rdfs:member ?ap1.
}