WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:jena.RDFParseAny
Description:Parse a RDF resource to a Jena RDF Model using mimetype inference
Id:jena.RDFParseAny
Category:accessor
Identifier Syntax

jena.RDFParseAny is an accessor using Active URI syntax with the following base identifiers:

Base
active:jRDFParse

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (java.lang.Object)resource to parse
base
Optional
Representation (java.lang.Object)base URI from which to resolve relatives
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use jena.RDFParseAny accessor you must import the module urn:org:netkernel:rdf:jena:

<import>
  <uri>urn:org:netkernel:rdf:jena</uri>
</import>

The jRDFParse accessor attempts to parse all serializations of RDF.

The appropriate parser is selected based upon type inferencing for the operand resource.

The inference first attempts to identify the type from the MimeType/ContentType of the resource. If this is not known then file extension matching will be attempted. If both of these cannot resolve the type then it will be assumed to be XML/RDF.

The response representation of this accessor is an IRepJenaModel.