This HTML5 document contains 35 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
n5http://ods.openlinksw.com/dataspace/person/dav#
dctermshttp://purl.org/dc/terms/
n8http://ods.openlinksw.com/dataspace/owiki/wiki/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
oplhttp://www.openlinksw.com/schema/attribution#
n12http://www.openlinksw.com/blog/
n9http://ods.openlinksw.com/dataspace/owiki#
dchttp://purl.org/dc/elements/1.1/
rdfshttp://www.w3.org/2000/01/rdf-schema#
n11http://rdfs.org/sioc/services#
n2http://ods.openlinksw.com/dataspace/owiki/wiki/ODS/
siocthttp://rdfs.org/sioc/types#
n13http://ods.openlinksw.com/dataspace/person/owiki#
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n10http://ods.openlinksw.com/dataspace/services/wiki/
n19http://ods.openlinksw.com/dataspace/owiki/wiki/ODS/ODSProgrammersGuideImportRDF/sioc.
xsdhhttp://www.w3.org/2001/XMLSchema#
n7http://ods.openlinksw.com/dataspace/dav#
siochttp://rdfs.org/sioc/ns#
Subject Item
n5:this
foaf:made
n2:ODSProgrammersGuideImportRDF
Subject Item
n10:item
n11:services_of
n2:ODSProgrammersGuideImportRDF
Subject Item
n9:this
sioc:creator_of
n2:ODSProgrammersGuideImportRDF
Subject Item
n2:ODSProgrammersGuideImportRDF
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T06:06:42.278752
dcterms:modified
2017-06-29T07:30:10.833481
rdfs:label
ODSProgrammersGuideImportRDF
foaf:maker
n5:this n13:this
dc:title
ODSProgrammersGuideImportRDF
opl:isDescribedUsing
n19:rdf
sioc:has_creator
n9:this n7:this
sioc:content
%VOSWARNING% %META:TOPICPARENT{name="ODSProgrammersGuideAPIs"}% %ODSNAV% %TOC% ---++ ODS RDF Import API ---+++ DB.DBA.rdf_import 1. Function <strong>DB.DBA.rdf_import</strong> 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 <nowiki>rdf_import</nowiki> API is called (with values for pUser and pPassword). 1. <nowiki>DB.DBA.rdf_import(in URL varchar, in mode integer, [in graph varchar])</nowiki> 1. Parameters: <verbatim> 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 '<home>/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; </verbatim> 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.<nowiki>rdf_import_ext</nowiki> 1. Function <strong>DB.DBA.<nowiki>rdf_import_ext</nowiki></strong> 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.<nowiki>rdf_import_ext</nowiki>(in pContent varchar[, in pContentMimeType varchar[, in pContentType varchar[, in pSpongerMode integer[, in pGraph varchar[, pUser, [pPassword[, pFolder]]]]]]]) 1. Parameters: <verbatim> 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 '<home>/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; </verbatim> 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: <verbatim> SQL> select DB.DBA.rdf_import('http://www.openlinksw.com/blog/~kidehen/gems/rss.xml'); </verbatim> 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: <verbatim> select * from <http://www.openlinksw.com/blog/~kidehen/gems/rss.xml> where {?s ?p ?o} </verbatim> CategoryODS CategoryApplicationController CategoryAPI CategoryToBeDone CategoryProgrammersGuide %ODSCOPY%
sioc:id
5f2e62f25f23b295210e989fde013729
sioc:link
n2:ODSProgrammersGuideImportRDF
sioc:has_container
n8:ODS
n11:has_services
n10:item
atom:title
ODSProgrammersGuideImportRDF
sioc:links_to
n2:CategoryODS n2:CategoryProgrammersGuide n12: n2:CategoryAPI n2:CategoryApplicationController n2:CategoryToBeDone
atom:source
n8:ODS
atom:author
n5:this
atom:published
2017-06-13T06:06:42Z
atom:updated
2017-06-29T07:30:10Z
sioc:topic
n8:ODS
Subject Item
n8:ODS
sioc:container_of
n2:ODSProgrammersGuideImportRDF
atom:entry
n2:ODSProgrammersGuideImportRDF
atom:contains
n2:ODSProgrammersGuideImportRDF
Subject Item
n7:this
sioc:creator_of
n2:ODSProgrammersGuideImportRDF