Not logged in : Login

About: ODSProgrammersGuideImportRDF     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
  • ODSProgrammersGuideImportRDF
maker
Title
  • ODSProgrammersGuideImportRDF
isDescribedUsing
has creator
content
  • %VOSWARNING% %META:TOPICPARENT{name="ODSProgrammersGuideAPIs"}% %ODSNAV% %TOC% ---++ ODS RDF Import API ---+++ DB.DBA.rdf_import 1. Function DB.DBA.rdf_import 1. Returns total of imported RDF triples. 1. Description: Imports RDF data into the RDF QUAD. The function is part of the ODS Framework package. If username and password are passed as pUser and pPassword, then the imported RDF data can be viewed in the user home DAV folder/Uploads/RDF folder. This folder is created the first time the rdf_import API is called (with values for pUser and pPassword). 1. DB.DBA.rdf_import(in URL varchar, in mode integer, [in graph varchar]) 1. Parameters: pURL - RDF URL source; pMode - 0 or 1; 1 - sponger mode (default); 0 - normal mode pGraph - if empty, pURL is used as graph; pUser - user name. - If value is given then a new file is created in the folder '/Uploads/RDF'. - This is dynamic resource - sparql query that select all triplets from the graph pURL - and output format 'RDF' (optional); pPassword - user password (optional); pFolder - destination folder path (optional). - If not set then default folder is used from the user's home - directory - '[home dir]/Uploads/RDF/'. - The folder path must end with '/'. - The pUser must have write permissions for pFolder; 1. Return Types: integer - the count of imported triples. 1. Error Handling: if not valid URL is provided, is shown error message "ODS10" for invalid data. ---+++DB.DBA.rdf_import_ext 1. Function DB.DBA.rdf_import_ext 1. Returns total of imported RDF triples. 1. Description: Imports RDF data into the RDF QUAD. The function is part of the ODS Framework package. If username and password are passed as pUser and pPassword, then the imported RDF data can be viewed in the user home DAV folder/Uploads/RDF folder. This folder is created the first time the rdf_import API is called (with values for pUser and pPassword). 1. DB.DBA.rdf_import_ext(in pContent varchar[, in pContentMimeType varchar[, in pContentType varchar[, in pSpongerMode integer[, in pGraph varchar[, pUser, [pPassword[, pFolder]]]]]]]) 1. Parameters: pContent - RDF URL source or string; pContentMimeType - content mime type. Mandatory for string contents; pContentType - 'URL' or 'string'. Default value is 'URL'; pSpongerMode - 0 or 1; Default value is 1 - sponger mode; pGraph - if empty, pURL is used as graph. Mandatory for string contents; pUser - user name. - If value is given then a new file is created in the folder '/Uploads/RDF'. - This is dynamic resource - sparql query that select all triplets from the graph pURL - and output format 'RDF' (optional); pPassword - user password (optional); pFolder - destination folder path (optional). - If not set then default folder is used from the user's home - directory - '[home dir]/Uploads/RDF/'. - The folder path must end with '/'. - The pUser must have write permissions for pFolder; 1. Return Types: integer - the count of imported triples. 1. Error Handling: if not valid URL is provided, is shown error message "ODS10" for invalid data. ---+++Examples 1. Using isql execute the following statement: SQL> select DB.DBA.rdf_import('http://www.openlinksw.com/blog/~kidehen/gems/rss.xml'); 2. As result 7 triples should be inserted. 3. You can check the triples from your sparql endpoint: http://[host]:[port]/sparql: 1. Enter for Default Graph URI: http://www.openlinksw.com/blog/~kidehen/gems/rss.xml 2. Enter for Query: select * from where {?s ?p ?o} CategoryODS CategoryApplicationController CategoryAPI CategoryToBeDone CategoryProgrammersGuide %ODSCOPY%
id
  • 5f2e62f25f23b295210e989fde013729
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • ODSProgrammersGuideImportRDF
links to
atom:source
atom:author
atom:published
  • 2017-06-13T06:06:42Z
atom:updated
  • 2017-06-29T07:30:10Z
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_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