@netwerk-digitaal-erfgoed/network-of-terms-catalog 9.8.0 → 9.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,6 +6,8 @@ PREFIX luc: <http://www.ontotext.com/connectors/lucene#>
|
|
|
6
6
|
PREFIX luc-index: <http://www.ontotext.com/connectors/lucene/instance#>
|
|
7
7
|
PREFIX omeka: <http://omeka.org/s/vocabs/o#>
|
|
8
8
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
9
|
+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
10
|
+
PREFIX o: <http://omeka.org/s/vocabs/o#>
|
|
9
11
|
|
|
10
12
|
CONSTRUCT {
|
|
11
13
|
?piduri a skos:Concept ;
|
|
@@ -15,7 +17,7 @@ CONSTRUCT {
|
|
|
15
17
|
skos:related ?related_uri ;
|
|
16
18
|
skos:exactMatch ?exactMatch_uri .
|
|
17
19
|
?related_uri skos:prefLabel ?related_prefLabel .
|
|
18
|
-
?exactMatch_uri skos:prefLabel ?
|
|
20
|
+
?exactMatch_uri skos:prefLabel ?exactMatch_label .
|
|
19
21
|
} WHERE {
|
|
20
22
|
?search a luc-index:straten_index ;
|
|
21
23
|
luc:query ?query ;
|
|
@@ -49,8 +51,7 @@ CONSTRUCT {
|
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
OPTIONAL {
|
|
52
|
-
?uri
|
|
53
|
-
?exactMatch_uri
|
|
54
|
-
FILTER(?exactMatch_uri != ?uri)
|
|
54
|
+
?uri rdfs:seeAlso ?exactMatch_uri .
|
|
55
|
+
?exactMatch_uri o:label ?exactMatch_label .
|
|
55
56
|
}
|
|
56
57
|
} ORDER BY DESC(?score) LIMIT 100
|