Not logged in : Login

About: VirtTipsAndTricksGuideAddisDefinedByRelations     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
  • VirtTipsAndTricksGuideAddisDefinedByRelations
maker
Title
  • VirtTipsAndTricksGuideAddisDefinedByRelations
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+How to Use SPARQL to add missing isDefinedBy relations to an Ontology? ---++What? Using SPARQL to add missing isDefinedBy relations to an Ontology. ---++Why? <code>isDefinedBy</code> relations make Ontologies (TBox) more navigable using follow-your-nose pattern. This also makes ABox instance data more discoverable. ---++How? Use SPARQL to generate relations that associate Classes and Properties the Ontology that describes them. ---+++Example Using the Ontology for vCards In this example we will use: * Ontology Document URL: <code>http://www.w3.org/2006/vcard/ns </code>; * Ontology URI: <code>http://www.w3.org/2006/vcard/ns# <code>; * A local Named Graph IRI to host SPARQL Update (SPARUL) the new relations. <verbatim> ## Uncomment line below if using Virtuoso and executing SPARQL via iSQL or via an ODBC, JDBC, ADO.NET connection ## SPARQL ## Uncomment line (a SPARQL pragma) below if using Virtuoso and there isn't a local Named Graph holding triples retrieved from the Ontology URL ## DEFINE get:soft "add" INSERT INTO <urn:data:qos:vcard> { ?s rdfs:isDefinedBy <http://www.w3.org/2006/vcard/ns#> } FROM <http://www.w3.org/2006/vcard/ns> WHERE { ?s a ?o } </verbatim> ---+++Example Using the Recorded Media Ontology In this example we will use: * Ontology Document URL: <code>http://www.w3.org/ns/ma-ont </code>; * Ontology URI: <code>http://www.w3.org/ns/ma-ont# </code>; * A local Named Graph IRI to host SPARQL Update (SPARUL) the new relations. <verbatim> SPARQL INSERT INTO <urn:data:qos:ma-ont> { ?s rdfs:isDefinedBy <http://www.w3.org/ns/ma-ont#> } FROM <http://www.w3.org/ns/ma-ont> WHERE { ?s a ?o } </verbatim> ---++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
id
  • 43f8fae81b586c0b8fabf57b8434bfe3
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksGuideAddisDefinedByRelations
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:36:25Z
atom:updated
  • 2017-06-13T05:36:25Z
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 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 2 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software