Not logged in : Login

About: VirtTipsAndTricksGuideLOADCommandRDF     Goto   Sponge   NotDistinct   Permalink

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

AttributesValues
type
Date Created
Date Modified
label
  • VirtTipsAndTricksGuideLOADCommandRDF
maker
Title
  • VirtTipsAndTricksGuideLOADCommandRDF
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+ How can I use the LOAD command to import RDF data? SPARQL INSERT can be done using the LOAD command: SPARQL INSERT INTO <..> { .... } [[FROM ...] { ... }] SPARQL LOAD [INTO ] -- will be the Graph IRI of the loaded data: SPARQL LOAD ---++Examples ---+++Load from Resource URL In order to load data from resource URL for ex: http://www.w3.org/People/Berners-Lee/card#i , execute the following command with isql: SQL> SPARQL LOAD ; callret-0 VARCHAR _______________________________________________________________________________ Load into graph -- done 1 Rows. -- 703 msec. SQL> ---+++Load from file 1 Create DAV collection which is visible to the public, for ex: http://localhost:8890/DAV/tmp 1 Upload to the DAV collection a file, for example with name listall.rq and with the following content: SPARQL PREFIX rdf: PREFIX rdfs: PREFIX sioc: SELECT ?x ?p ?o FROM WHERE { ?x rdf:type sioc:User . ?x ?p ?o. ?x sioc:id ?id . FILTER REGEX(str(?id), "^King") } ORDER BY ?x 1 Execute the following command from isql: SQL>SPARQL LOAD bif:concat ("http://", bif:registry_get("URIQADefaultHost"), "/DAV/tmp/listall.rq") into graph ; callret-0 VARCHAR _______________________________________________________________________________ Load into graph -- done 1 Rows. -- 321 msec. ---+++Directly LOAD triples using iSQL Triples can be directly loaded into Virtuoso specifying the literal values to inserted, by executing a command of the following form from isql: SQL>SPARQL INSERT INTO graph { . . . . }; ---++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfinsertmethods.html][RDF Insert Methods in Virtuoso]]
id
  • 5726134927731679a2a45f10ce7db854
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksGuideLOADCommandRDF
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:38:14Z
atom:updated
  • 2017-06-13T05:38:14Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git150 as of Jan 20 2025


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, 1 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2025 OpenLink Software