Not logged in : Login

About: VirtTipsAndTricksCustomControlLabelsURI     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtTipsAndTricksCustomControlLabelsURI
maker
Title
  • VirtTipsAndTricksCustomControlLabelsURI
isDescribedUsing
has creator
attachment
  • http://vos.openlinksw.com/wiki/main/VOS/VirtTipsAndTricksCustomControlLabelsURI/lb0.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtTipsAndTricksCustomControlLabelsURI/lb1.png
  • http://vos.openlinksw.com/wiki/main/VOS/VirtTipsAndTricksCustomControlLabelsURI/lb2.png
content
  • %META:TOPICPARENT{name="VirtuosoFacetsWebService"}% ---+Custom Controlling Virtuoso Labels for URI functionality %TOC% ---++What is this? A component of Virtuoso's DBMS hosted faceted browser engine for Linked Data that enhances UI by automagically relegating URIs to the @href attributes of an HTML anchor while using label property values for actual anchor text. ---++Why is this important? The fundamental UI/UX goal of Linked Data oriented client solutions should always be to make URIs invisible without compromising their inherent power re. Web experience e.g., the ability to drill-down from an position on the WWW graph using click (de-reference) based follow-your-nose patterns. 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. ---++How do I use this functionality? First, lets understand the fundamental challenge. There are a number of annotation oriented attributes (or predicates) used in relations across databases, data spaces, and stores the exposed access to Linked Data. Unfortunately, there isn't a universally adopted attribute/predicate for 'labels', since everyone doesn't uniformly use 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. ---+++Example This is example is focuses on the in-built 'facets' named graph that is used by faceted browser engine. ---++++ Prerequisites Make sure the following packages are installed: * [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.1/virtuoso/cartridges_dav.vad][Cartridges]]; * [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.1/virtuoso/fct_dav.vad][Virtuoso Faceted Browser]]. ---++++ Basic Steps 1 Load for ex. http://www.w3.org/People/Berners-Lee/card by accessing: http://localhost:8890/about/html/http://www.w3.org/People/Berners-Lee/card %BR%%BR%%BR%%BR% 1 View http://cname/describe/?url=http://www.w3.org/People/Berners-Lee/card%23i, so for ex.: http://localhost:8890/describe/?url=http://www.w3.org/People/Berners-Lee/card%23i 1 As result the "About" value will be shown as URI: http://www.w3.org/People/Berners-Lee/card#i %BR%%BR%%BR%%BR% 1 Next use SPARQL 1.1 Update Statement to populate the 'facets' named graph: SPARQL INSERT INTO GRAPH { rdfs:subPropertyOf virtrdf:label . rdfs:subPropertyOf virtrdf:label . rdfs:subPropertyOf virtrdf:label . rdfs:subPropertyOf virtrdf:label . rdfs:subPropertyOf virtrdf:label . } ; Query result: callret-0 ANY Insert into , 5 (or less) triples -- done No. of rows in result: 1 1 Use the named graph above as the basis for an inference rule or simply issue this command whenever you've added new relations to the 'facets' named graph: rdfs_rule_set ('facets', 'facets'); * Note: In situations where you have alternative named graphs (e.g. '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'); 1 View again http://cname/describe/?url=http://www.w3.org/People/Berners-Lee/card%23i, so for ex.: http://localhost:8890/describe/?url=http://www.w3.org/People/Berners-Lee/card%23i 1 As result the "About" value will be shown as label: TimBL %BR%%BR%%BR%%BR% ---++Related * Facets Web Service: * [[VirtuosoFacetsWebService][Virtuoso Facets Web Service]] * Linked Data: * [[VirtuosoFacetsViewsLinkedData][Faceted Views over Large-Scale Linked Data]] * Facet Browser Installation and configuration: * [[VirtFacetBrowserInstallConfig][Virtuoso Facet Browser Installation and configuration]] * Facet APIs: * [[VirtFacetBrowserAPIs][Virtuoso APIs for FCT REST services]] * [[VirtFacetBrowserAPIsFCTEXEC][fct_exec API Example]] * Pivot Viewer and CXML: * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSparqlCxmlFacetPivotBridge#AncSparqlCxmlFacetPivotBridge][Facet Pivot Bridge - A bridge to PivotViewer from Virtuoso's Faceted query service for RDF]] * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSparqlCxml#AncFacetTypeAutoDetection][Auto-Detection of Facet Type]] * Tutorials: * [[VirtuosoLODSampleTutorial][Faceted Browsing Sample using LOD Cloud Cache data space]] * [[VirtuosoFacetsWebServiceSOAPExample][SOAP Facets Example]] * [[VirtFacetBrowserInstallConfigQueried][Querying The Facet Browser Web Service endpoint]] * [[VirtFCTFeatureQueries][Virtuoso Facet Browser Featured Queries]] * [[http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtVisualizeWithPivotViewer#GenFCT][Visualizing Your Data With PivotViewer Using The Facet Browser]] * [[VirtuosoFacetsWebServiceCustmExamples][Facets Web Service: Examples for customizing different types]] * [[VirtuosoFacetsWebServiceChoiceExample][Facets Web Service: Choice of Labels Example]] * Downloads: * [[http://sourceforge.net/project/showfiles.php?group_id=161622&package_id=319652][Virtuoso 6.0 TP1]] * [[http://s3.amazonaws.com/opldownload/uda/vad-packages/6.2/virtuoso/fct_dav.vad][Virtuoso Facet Browser VAD package]]
id
  • 616b0f5999f5f26dcf02793da356bde9
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksCustomControlLabelsURI
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:45:51Z
atom:updated
  • 2017-06-13T05:45:51Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is links to of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3238 as of May 23 2023, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 3 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software