Uses of Interface
se.liu.ida.hefquin.engine.wrappers.lpg.conf.LPG2RDFConfiguration
Packages that use LPG2RDFConfiguration
Package
Description
-
Uses of LPG2RDFConfiguration in se.liu.ida.hefquin.cli
Methods in se.liu.ida.hefquin.cli with parameters of type LPG2RDFConfigurationModifier and TypeMethodDescriptionprotected SPARQL2CypherTranslationResult
RunBGPOverNeo4j.performQueryTranslation
(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) protected List<org.apache.jena.sparql.engine.binding.Binding>
RunBGPOverNeo4j.performResultTranslation
(List<TableRecord> response, LPG2RDFConfiguration conf, SPARQL2CypherTranslationResult tRes) protected SPARQL2CypherTranslationResult
RunBGPOverNeo4j.translateToCypher
(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) protected void
MaterializeRDFViewOfLPG.writeTriplesForEdges
(List<TableRecord> edgesResponse, LPG2RDFConfiguration l2rConf, org.apache.jena.riot.system.StreamRDF rdfOutStream) Writes RDF triples representing the edges retrieved from the Neo4j database to the provided stream.protected void
MaterializeRDFViewOfLPG.writeTriplesForNodes
(List<TableRecord> nodesResponse, LPG2RDFConfiguration l2rConf, org.apache.jena.riot.system.StreamRDF rdfOutStream) Writes RDF triples representing the nodes retrieved from the Neo4j database to the provided stream.protected void
MaterializeRDFViewOfLPG.writeTriplesForProperties
(org.apache.jena.graph.Node subject, PropertyMap properties, LPG2RDFConfiguration l2rConf, org.apache.jena.riot.system.StreamRDF rdfOutStream) Creates and writes a triple for each of the properties of the givenPropertyMap
using the given subject for these triples. -
Uses of LPG2RDFConfiguration in se.liu.ida.hefquin.cli.modules
Fields in se.liu.ida.hefquin.cli.modules declared as LPG2RDFConfigurationModifier and TypeFieldDescriptionprotected LPG2RDFConfiguration
ModLPG2RDFConfiguration.lpg2rdfConfig
Methods in se.liu.ida.hefquin.cli.modules that return LPG2RDFConfiguration -
Uses of LPG2RDFConfiguration in se.liu.ida.hefquin.engine.wrappers.lpg
Methods in se.liu.ida.hefquin.engine.wrappers.lpg with parameters of type LPG2RDFConfigurationModifier and TypeMethodDescriptionSPARQLStar2CypherTranslator.translateBGP
(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf, boolean naive) Translates each individual triple pattern in the given BGP, and then combines the individual translations into one Cypher query that represents the whole BGP.org.apache.jena.sparql.engine.binding.Binding
Record2SolutionMappingTranslator.translateRecord
(TableRecord record, LPG2RDFConfiguration conf, CypherQuery query, Map<CypherVar, org.apache.jena.sparql.core.Var> varMap) Translates a singleTableRecord
into a SPARQL solution mapping that is represented as aBinding
.default org.apache.jena.sparql.engine.binding.Binding
Record2SolutionMappingTranslator.translateRecord
(TableRecord record, LPG2RDFConfiguration conf, SPARQL2CypherTranslationResult tRes) List<org.apache.jena.sparql.engine.binding.Binding>
Record2SolutionMappingTranslator.translateRecords
(List<TableRecord> records, LPG2RDFConfiguration conf, CypherQuery query, Map<CypherVar, org.apache.jena.sparql.core.Var> varMap) default List<org.apache.jena.sparql.engine.binding.Binding>
Record2SolutionMappingTranslator.translateRecords
(List<TableRecord> records, LPG2RDFConfiguration conf, SPARQL2CypherTranslationResult tRes) SPARQLStar2CypherTranslator.translateTriplePattern
(org.apache.jena.graph.Triple tp, LPG2RDFConfiguration conf) Translates the given Triple Pattern into a Cypher query, using a given LPG2RDFConfiguration.SPARQLStar2CypherTranslator.translateTriplePattern
(org.apache.jena.graph.Triple tp, LPG2RDFConfiguration conf, CypherVarGenerator generator, Set<org.apache.jena.graph.Node> certainNodes, Set<org.apache.jena.graph.Node> certainEdgeLabels, Set<org.apache.jena.graph.Node> certainNodeLabels, Set<org.apache.jena.graph.Node> certainPropertyNames, Set<org.apache.jena.graph.Node> certainPropertyValues) Translates a triple pattern to a Cypher query, using restricted rules based on the different boundedness properties the variables might have -
Uses of LPG2RDFConfiguration in se.liu.ida.hefquin.engine.wrappers.lpg.conf
Methods in se.liu.ida.hefquin.engine.wrappers.lpg.conf that return LPG2RDFConfigurationModifier and TypeMethodDescriptionLPG2RDFConfigurationReader.read
(org.apache.jena.rdf.model.Model m) LPG2RDFConfigurationReader.read
(org.apache.jena.rdf.model.Resource confRsrc) LPG2RDFConfigurationReader.readFromFile
(String filename) Creates aLPG2RDFConfiguration
from the RDF-based description in the given file.LPG2RDFConfigurationReader.readFromFile
(String filename, String uriOfConfRsrc) Creates theLPG2RDFConfiguration
that is identified by the given URI in the RDF-based description in the given file. -
Uses of LPG2RDFConfiguration in se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl
Classes in se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl that implement LPG2RDFConfigurationModifier and TypeClassDescriptionclass
class
-
Uses of LPG2RDFConfiguration in se.liu.ida.hefquin.engine.wrappers.lpg.impl
Methods in se.liu.ida.hefquin.engine.wrappers.lpg.impl with parameters of type LPG2RDFConfigurationModifier and TypeMethodDescriptionprotected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodeLabelVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodePropertyVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodeRelationshipVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodeVarLabel
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodeVarLiteral
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodeVarNode
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getNodeVarVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes, Set<org.apache.jena.graph.Node> certainNodeLabels, Set<org.apache.jena.graph.Node> certainPropertyNames, Set<org.apache.jena.graph.Node> certainPropertyValues, Set<org.apache.jena.graph.Node> certainEdgeLabels, boolean isEdgeCompatible) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarLabelClass
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarLabelVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarPropertyLiteral
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarPropertyVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarRelationshipNode
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarRelationshipVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarVarLabel
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarVarLiteral
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarVarNode
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.getVarVarVar
(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes, Set<org.apache.jena.graph.Node> certainNodeLabels, Set<org.apache.jena.graph.Node> certainPropertyNames, Set<org.apache.jena.graph.Node> certainPropertyValues, Set<org.apache.jena.graph.Node> certainEdgeLabels, boolean isEdgeCompatible) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.handleTriplePattern
(org.apache.jena.graph.Triple tp, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes, Set<org.apache.jena.graph.Node> certainEdgeLabels, Set<org.apache.jena.graph.Node> certainNodeLabels, Set<org.apache.jena.graph.Node> certainPropertyNames, Set<org.apache.jena.graph.Node> certainPropertyValues) This method handles the translation of a given triple pattern, distinguishing the cases where the triple pattern is nested or non-nested.SPARQLStar2CypherTranslatorImpl.translateBGP
(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf, boolean naive) org.apache.jena.sparql.engine.binding.Binding
Record2SolutionMappingTranslatorImpl.translateRecord
(TableRecord record, LPG2RDFConfiguration conf, CypherQuery query, Map<CypherVar, org.apache.jena.sparql.core.Var> varMap) List<org.apache.jena.sparql.engine.binding.Binding>
Record2SolutionMappingTranslatorImpl.translateRecords
(List<TableRecord> records, LPG2RDFConfiguration conf, CypherQuery query, Map<CypherVar, org.apache.jena.sparql.core.Var> varMap) SPARQLStar2CypherTranslatorImpl.translateTriplePattern
(org.apache.jena.graph.Triple tp, LPG2RDFConfiguration conf) SPARQLStar2CypherTranslatorImpl.translateTriplePattern
(org.apache.jena.graph.Triple tp, LPG2RDFConfiguration conf, CypherVarGenerator generator, Set<org.apache.jena.graph.Node> certainNodes, Set<org.apache.jena.graph.Node> certainEdgeLabels, Set<org.apache.jena.graph.Node> certainNodeLabels, Set<org.apache.jena.graph.Node> certainPropertyNames, Set<org.apache.jena.graph.Node> certainPropertyValues) protected static CypherQuery
SPARQLStar2CypherTranslatorImpl.translateTriplePattern
(org.apache.jena.graph.Triple tp, LPG2RDFConfiguration configuration, CypherVarGenerator gen, Set<org.apache.jena.graph.Node> certainNodes, Set<org.apache.jena.graph.Node> certainEdgeLabels, Set<org.apache.jena.graph.Node> certainNodeLabels, Set<org.apache.jena.graph.Node> certainPropertyNames, Set<org.apache.jena.graph.Node> certainPropertyValues, boolean isEdgeCompatible) This method translates non-nested triple patterns into Cypher, leveraging knowledge of properties that the variables in the triple pattern may hold like boundedness to given LPG elements or edge-compatibility.