Class LPG2RDFConfigurationReader
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.LPG2RDFConfigurationReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread
(org.apache.jena.rdf.model.Model m) read
(org.apache.jena.rdf.model.Resource confRsrc) readCompositeEdgeLabelMapping
(org.apache.jena.rdf.model.Resource elm) readCompositeNodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm) readCompositePropertyNameMapping
(org.apache.jena.rdf.model.Resource pm) readEdgeLabelMapping
(org.apache.jena.rdf.model.Resource elm) readEdgeLabelMappingFromConfig
(org.apache.jena.rdf.model.Resource lpg2rdfConfig) readFromFile
(String filename) Creates aLPG2RDFConfiguration
from the RDF-based description in the given file.readFromFile
(String filename, String uriOfConfRsrc) Creates theLPG2RDFConfiguration
that is identified by the given URI in the RDF-based description in the given file.readIRIPrefixBasedEdgeLabelMapping
(org.apache.jena.rdf.model.Resource elm) readIRIPrefixBasedNodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm) readIRIPrefixBasedNodeMapping
(org.apache.jena.rdf.model.Resource nm) readIRIPrefixBasedPropertyNameMapping
(org.apache.jena.rdf.model.Resource pm) org.apache.jena.graph.Node
readLabelPredicateFromConfig
(org.apache.jena.rdf.model.Resource lpg2rdfConfig) readLiteralBasedNodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm) readNodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm) readNodeLabelMappingFromConfig
(org.apache.jena.rdf.model.Resource lpg2rdfConfig) readNodeMappingFromConfig
(org.apache.jena.rdf.model.Resource lpg2rdfConfig) readPropertyNameMapping
(org.apache.jena.rdf.model.Resource pm) readPropertyNameMappingFromConfig
(org.apache.jena.rdf.model.Resource lpg2rdfConfig) readRegexBasedEdgeLabelMapping
(org.apache.jena.rdf.model.Resource elm) readRegexBasedNodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm) readRegexBasedPropertyNameMapping
(org.apache.jena.rdf.model.Resource pm) readSingletonIRIEdgeLabelMapping
(org.apache.jena.rdf.model.Resource elm) readSingletonIRINodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm) readSingletonIRIPropertyNameMapping
(org.apache.jena.rdf.model.Resource pm) readSingletonLiteralNodeLabelMapping
(org.apache.jena.rdf.model.Resource nlm)
-
Constructor Details
-
LPG2RDFConfigurationReader
public LPG2RDFConfigurationReader()
-
-
Method Details
-
readFromFile
Creates aLPG2RDFConfiguration
from the RDF-based description in the given file. Assumes that the file describes only one such configuration. -
readFromFile
Creates theLPG2RDFConfiguration
that is identified by the given URI in the RDF-based description in the given file. -
read
-
read
-
readLabelPredicateFromConfig
public org.apache.jena.graph.Node readLabelPredicateFromConfig(org.apache.jena.rdf.model.Resource lpg2rdfConfig) -
readNodeMappingFromConfig
-
readIRIPrefixBasedNodeMapping
-
readNodeLabelMappingFromConfig
public NodeLabelMapping readNodeLabelMappingFromConfig(org.apache.jena.rdf.model.Resource lpg2rdfConfig) -
readNodeLabelMapping
-
readRegexBasedNodeLabelMapping
-
readIRIPrefixBasedNodeLabelMapping
-
readLiteralBasedNodeLabelMapping
-
readSingletonIRINodeLabelMapping
-
readSingletonLiteralNodeLabelMapping
public NodeLabelMapping readSingletonLiteralNodeLabelMapping(org.apache.jena.rdf.model.Resource nlm) -
readCompositeNodeLabelMapping
-
readEdgeLabelMappingFromConfig
public EdgeLabelMapping readEdgeLabelMappingFromConfig(org.apache.jena.rdf.model.Resource lpg2rdfConfig) -
readEdgeLabelMapping
-
readRegexBasedEdgeLabelMapping
-
readIRIPrefixBasedEdgeLabelMapping
-
readSingletonIRIEdgeLabelMapping
-
readCompositeEdgeLabelMapping
-
readPropertyNameMappingFromConfig
public PropertyNameMapping readPropertyNameMappingFromConfig(org.apache.jena.rdf.model.Resource lpg2rdfConfig) -
readPropertyNameMapping
-
readRegexBasedPropertyNameMapping
-
readIRIPrefixBasedPropertyNameMapping
public PropertyNameMapping readIRIPrefixBasedPropertyNameMapping(org.apache.jena.rdf.model.Resource pm) -
readSingletonIRIPropertyNameMapping
public PropertyNameMapping readSingletonIRIPropertyNameMapping(org.apache.jena.rdf.model.Resource pm) -
readCompositePropertyNameMapping
-