Package se.liu.ida.hefquin.cli
Class RunBGPOverNeo4j
java.lang.Object
org.apache.jena.cmd.CommandLineBase
org.apache.jena.cmd.CmdLineArgs
org.apache.jena.cmd.CmdMain
org.apache.jena.cmd.CmdArgModule
org.apache.jena.cmd.CmdGeneral
arq.cmdline.CmdARQ
se.liu.ida.hefquin.cli.RunBGPOverNeo4j
public class RunBGPOverNeo4j
extends arq.cmdline.CmdARQ
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.jena.cmd.ArgDecl
protected final org.apache.jena.cmd.ArgDecl
protected final org.apache.jena.cmd.ArgDecl
protected final org.apache.jena.cmd.ArgDecl
protected final org.apache.jena.cmd.ArgDecl
protected final org.apache.jena.cmd.ArgDecl
protected final org.apache.jena.cmd.ArgDecl
protected final ModLPG2RDFConfiguration
protected final ModQuery
protected final arq.cmdline.ModResultsOut
protected final arq.cmdline.ModTime
Fields inherited from class arq.cmdline.CmdARQ
cmdStrictMode, modContext
Fields inherited from class org.apache.jena.cmd.CmdGeneral
cmdName, modGeneral, modVersion
Fields inherited from class org.apache.jena.cmd.CmdLineArgs
argMap, args, positionals
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
exec()
protected Set<org.apache.jena.graph.Triple>
getBGP()
protected String
static void
protected List<TableRecord>
performQueryExecution
(CypherQuery query) protected SPARQL2CypherTranslationResult
performQueryTranslation
(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) protected List<org.apache.jena.sparql.engine.binding.Binding>
performResultTranslation
(List<TableRecord> response, LPG2RDFConfiguration conf, SPARQL2CypherTranslationResult tRes) protected void
printResult
(List<org.apache.jena.sparql.engine.binding.Binding> result) protected SPARQL2CypherTranslationResult
translateToCypher
(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) Methods inherited from class arq.cmdline.CmdARQ
getCommandName, processModulesAndArgs
Methods inherited from class org.apache.jena.cmd.CmdGeneral
add, addModule, getUsage, help, isDebug, isQuiet, isVerbose, printHelp, usage, usage
Methods inherited from class org.apache.jena.cmd.CmdArgModule
process
Methods inherited from class org.apache.jena.cmd.CmdMain
cmdError, cmdError, mainAndExit, mainMethod, mainRun, mainRun, mainRun
Methods inherited from class org.apache.jena.cmd.CmdLineArgs
add, add, add, addArg, addArg, addPositional, contains, contains, containsMultiple, containsMultiple, getArg, getArg, getNumPositional, getPositional, getPositionalArg, getPositionalOrStdin, getValue, getValue, getValues, getValues, handleUnrecognizedArg, hasArg, hasArg, hasArgs, hasPositional, hasValueOfFalse, hasValueOfTrue, indirect, indirect, matchesIndirect, matchesIndirect, toString
Methods inherited from class org.apache.jena.cmd.CommandLineBase
apply, getArg, getArgList, setArgs
-
Field Details
-
modTime
protected final arq.cmdline.ModTime modTime -
modQuery
-
modResults
protected final arq.cmdline.ModResultsOut modResults -
modLPG2RDFConfiguration
-
argEndpointURI
protected final org.apache.jena.cmd.ArgDecl argEndpointURI -
argNaive
protected final org.apache.jena.cmd.ArgDecl argNaive -
argNoVarRepl
protected final org.apache.jena.cmd.ArgDecl argNoVarRepl -
argNoMerge
protected final org.apache.jena.cmd.ArgDecl argNoMerge -
argPrintCypher
protected final org.apache.jena.cmd.ArgDecl argPrintCypher -
argSuppressResultPrintout
protected final org.apache.jena.cmd.ArgDecl argSuppressResultPrintout -
argSkipExecution
protected final org.apache.jena.cmd.ArgDecl argSkipExecution
-
-
Constructor Details
-
RunBGPOverNeo4j
-
-
Method Details
-
main
-
getSummary
- Specified by:
getSummary
in classorg.apache.jena.cmd.CmdGeneral
-
exec
protected void exec()- Specified by:
exec
in classorg.apache.jena.cmd.CmdMain
-
getBGP
-
performQueryTranslation
protected SPARQL2CypherTranslationResult performQueryTranslation(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) -
translateToCypher
protected SPARQL2CypherTranslationResult translateToCypher(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) -
performQueryExecution
-
performResultTranslation
protected List<org.apache.jena.sparql.engine.binding.Binding> performResultTranslation(List<TableRecord> response, LPG2RDFConfiguration conf, SPARQL2CypherTranslationResult tRes) -
printResult
-