-
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.
Proefneming met gwsw:ExtraObjecttype
- Loading branch information
1 parent
690d28b
commit fcbeb95
Showing
2 changed files
with
23 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,24 @@ | ||
# Proef (20240805): COUNT() telt het aantal voorkomens van ?s (niet het aantal triples) | ||
# Dubbele typeringen (VerdektePut) hebben dan geen invloed, de telling klopt | ||
|
||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX : <{{&version}}> | ||
SELECT (COUNT (*) AS ?count) | ||
WHERE | ||
|
||
#PREFIX gwsw: <http://data.gwsw.nl/1.6/totaal/> | ||
PREFIX gwsw: <{{&version}}> | ||
|
||
SELECT (COUNT (*) AS ?count) WHERE | ||
{ | ||
{?s rdf:type :Put} | ||
?s rdf:type gwsw:Put . | ||
|
||
## Gebruik deze om multitypes af te handelen: (in deze query niet relevant) (20240805) | ||
#optional { # vermeld de extra types | ||
# { select ?s ?extra where { | ||
# ?s rdf:type gwsw:VerdektePut. | ||
# bind ("verdekt" as ?extra ) . | ||
# } | ||
# } | ||
#} | ||
## Alleen functionele types: | ||
#?s sesame:directType ?type . | ||
#filter not exists { ?type rdfs:subClassOf gwsw:ExtraObjecttype } | ||
} |
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