cluster_search/commit
Added inverse property of oa:hasTarget to enable rdf back ward search.
author | Chris Dijkshoorn |
---|---|
Wed Sep 3 14:52:55 2014 +0200 | |
committer | Chris Dijkshoorn |
Wed Sep 3 14:52:55 2014 +0200 | |
commit | 7b19e1f27bbfc508507abc9cb966c4bcfe37983f |
tree | 5840d79c521f005207732ce81684767da47c78ae |
parent | 15be7a90726351ff0f26dd2facfddd2628b736c6 |
Diff style: patch stat
diff --git a/config-available/cluster_search.pl b/config-available/cluster_search.pl index aa5a2d8..ef2232b 100644 --- a/config-available/cluster_search.pl +++ b/config-available/cluster_search.pl @@ -8,5 +8,6 @@ :- rdf_attach_library(cluster_search(rdf)). :- rdf_load_library('cluster-search-ui-schema'). +:- rdf_load_library('cluster-search-schema'). :- use_module(api(cluster_search)). diff --git a/rdf/cluster_search_schema.ttl b/rdf/cluster_search_schema.ttl new file mode 100644 index 0000000..4b2fa70 --- /dev/null +++ b/rdf/cluster_search_schema.ttl @@ -0,0 +1,10 @@ +@prefix sws: <http://semanticweb.cs.vu.nl/clustersearch/> . +@prefix oa: <http://www.w3.org/ns/oa#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix dc: <http://purl.org/dc/terms/> . +@prefix skos: <http://www.w3.org/2004/02/skos/core#> . + +sws:targetOf a owl:ObjectProperty; + owl:inverseOf oa:hasTarget . diff --git a/rdf/void.ttl b/rdf/void.ttl index 9b1658a..e0914d7 100644 --- a/rdf/void.ttl +++ b/rdf/void.ttl @@ -12,6 +12,10 @@ vann:preferredNamespaceUri "http://semanticweb.cs.vu.nl/clustersearch/rijks#" ] . +[ vann:preferredNamespacePrefix "sws" ; + vann:preferredNamespaceUri "http://semanticweb.cs.vu.nl/clustersearch/schema/" +] . + <cluster-search-ui-schema> a void:Dataset ; dcterms:title "Cluster Search UI configuration schema"; @@ -21,3 +25,8 @@ a void:Dataset ; dcterms:title "Cluster Search UI configuration ui instance for the Rijksmuseum collection"; void:dataDump <rijksmuseum_ui.ttl> . + +<cluster-search-schema> + a void:Dataset ; + dcterms:title "Schema for cluster search (at the moment adding a inverse property for oa:hasTarget"; + void:dataDump <cluster_search_schema.ttl> .