-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge attributes from multiple sources + Clean up code
- Loading branch information
Showing
8 changed files
with
91 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
export const query = (classUri) => ` | ||
PREFIX gwsw: <http://data.gwsw.nl/1.6/totaal/> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | ||
select * | ||
PREFIX gwsw: <http://data.gwsw.nl/1.6/totaal/> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | ||
select * | ||
where { | ||
values $group_iri { <${classUri}> } | ||
$group_iri rdfs:subClassOf+ [ | ||
a owl:Restriction ; | ||
owl:onClass ?entry_iri ; | ||
owl:onProperty gwsw:hasAspect ; | ||
]. | ||
?entry_iri rdfs:label ?enrty_text . | ||
OPTIONAL {?entry_iri skos:definition ?entry_definition} | ||
} limit 100 | ||
where { | ||
values $group_iri { <${classUri}> } | ||
$group_iri rdfs:subClassOf+ [ | ||
a owl:Restriction ; | ||
owl:onClass ?entry_iri ; | ||
owl:onProperty gwsw:hasAspect ; | ||
]. | ||
?entry_iri rdfs:label ?entry_text . | ||
OPTIONAL {?entry_iri skos:definition ?entry_definition} | ||
} limit 100 | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters