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 SPARQL2CypherTranslationResultRunBGPOverNeo4j.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 SPARQL2CypherTranslationResultRunBGPOverNeo4j.translateToCypher(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) protected voidMaterializeRDFViewOfLPG.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 voidMaterializeRDFViewOfLPG.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 voidMaterializeRDFViewOfLPG.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 givenPropertyMapusing 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 LPG2RDFConfigurationModLPG2RDFConfiguration.lpg2rdfConfigMethods 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.BindingRecord2SolutionMappingTranslator.translateRecord(TableRecord record, LPG2RDFConfiguration conf, CypherQuery query, Map<CypherVar, org.apache.jena.sparql.core.Var> varMap) Translates a singleTableRecordinto a SPARQL solution mapping that is represented as aBinding.default org.apache.jena.sparql.engine.binding.BindingRecord2SolutionMappingTranslator.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 aLPG2RDFConfigurationfrom the RDF-based description in the given file.LPG2RDFConfigurationReader.readFromFile(String filename, String uriOfConfRsrc) Creates theLPG2RDFConfigurationthat 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 TypeClassDescriptionclassclass -
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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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.BindingRecord2SolutionMappingTranslatorImpl.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 CypherQuerySPARQLStar2CypherTranslatorImpl.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.