Not logged in : Login

About: VirtSetPrefixNames     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
  • VirtSetPrefixNames
maker
Title
  • VirtSetPrefixNames
isDescribedUsing
has creator
content
  • ---+Set Standard Prefix Names for common vocabularies In order to set standard prefix names for common vocabularies on dumps to either .n3 or .ttl, you should use the <code>[[http://docs.openlinksw.com/virtuoso/fn_xml_set_ns_decl.html][xml_set_ns_decl]]</code> Virtuoso function. The initial list of namespace declarations can be found by executing from iSQL or Conductor UI: <verbatim> SQL> SELECT * FROM DB.DBA.SYS_XML_PERSISTENT_NS_DECL; </verbatim> ---++Example 1. Load the ontology, for ex.: <verbatim> SQL> DB.DBA.RDF_LOAD_RDFXML (http_get('http://lod.taxonconcept.org/ontology/txn.owl'), '', 'http://lod.taxonconcept.org/ontology/txn.owl#'); Done. -- 109 msec. </verbatim> 1 Check total triples retrieved: <verbatim> SQL>SPARQL SELECT COUNT(*) from <http://lod.taxonconcept.org/ontology/txn.owl#> WHERE {?s ?p ?o}; callret-0 INTEGER _______________________________________________________________________________ 495 1 Rows. -- 16 msec. </verbatim> 1 Register the XML NS prefix: <verbatim> SQL>DB.DBA.XML_SET_NS_DECL ('txn', 'http://lod.taxonconcept.org/ontology/txn.owl#', 2); Done. -- 0 msec. </verbatim> 1 Use the prefix, for ex. executing: <verbatim> SQL>SPARQL SELECT COUNT(*) WHERE { ?s ?p txn:SpeciesConcept }; callret-0 INTEGER _______________________________________________________________________________ 25 1 Rows. -- 0 msec. </verbatim>
id
  • d0f00dab8533d0249d13cc6d0de2f37b
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtSetPrefixNames
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:37:05Z
atom:updated
  • 2017-06-13T05:37:05Z
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