@href
attributes of an HTML anchor while using label
property values for actual anchor text.URIs lie at the very core of that makes the Web and its Linked Data dimension tick. Unfortunately, they are also distracting to most end-users thereby compromising UI aesthetics.
rdfs:label
when constructing Linked Data.Virtuoso solves the problem at hand by enabling you to populate a named graph with rdfs:subPropertyOf
and owl:equivalentProperty
relations (triples) that map disparate annotation properties to Virtuoso's in-built virtrdf:label
annotation property.
Once in place, the aforementioned named graph is then used as the basis for an inference rule that's optionally available for use via SPARQL and/or the Faceted Browser.
This is example is focuses on the in-built 'facets' named graph that is used by faceted browser engine.
Make sure the following packages are installed:
http://localhost:8890/about/html/http://www.w3.org/People/Berners-Lee/card
http://localhost:8890/describe/?url=http://www.w3.org/People/Berners-Lee/card%23i
http://www.w3.org/People/Berners-Lee/card#i
SPARQL INSERT INTO GRAPH <facets> { <http://www.w3.org/2000/01/rdf-schema#label> rdfs:subPropertyOf virtrdf:label . <http://purl.org/dc/elements/1.1/title> rdfs:subPropertyOf virtrdf:label . <http://xmlns.com/foaf/0.1/name> rdfs:subPropertyOf virtrdf:label . <http://xmlns.com/foaf/0.1/nick> rdfs:subPropertyOf virtrdf:label . <http://www.geonames.org/ontology#name> rdfs:subPropertyOf virtrdf:label . } ; Query result: callret-0 ANY Insert into <facets>, 5 (or less) triples -- done No. of rows in result: 1
rdfs_rule_set ('facets', 'facets');
virtrdf-label
') which the relations you seek in an alternative named graph, you can bring those to bear by issuing the following command:
rdfs_rule_set('facets','virtrdf-label');
http://localhost:8890/describe/?url=http://www.w3.org/People/Berners-Lee/card%23i
TimBL