Uses of Class
se.liu.ida.hefquin.engine.wrappers.lpg.utils.CypherVarGenerator
Packages that use CypherVarGenerator
Package
Description
-
Uses of CypherVarGenerator in se.liu.ida.hefquin.engine.wrappers.lpg
Methods in se.liu.ida.hefquin.engine.wrappers.lpg with parameters of type CypherVarGeneratorModifier and TypeMethodDescriptionSPARQLStar2CypherTranslator.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 CypherVarGenerator in se.liu.ida.hefquin.engine.wrappers.lpg.impl
Methods in se.liu.ida.hefquin.engine.wrappers.lpg.impl with parameters of type CypherVarGeneratorModifier 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.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. -
Uses of CypherVarGenerator in se.liu.ida.hefquin.engine.wrappers.lpg.utils
Methods in se.liu.ida.hefquin.engine.wrappers.lpg.utils with parameters of type CypherVarGeneratorModifier and TypeMethodDescriptionstatic CypherQuery
CypherQueryCombinator.combine
(CypherQuery q1, CypherQuery q2, CypherVarGenerator gen)