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
FieldsModifier and TypeFieldDescriptionprotected final org.apache.jena.cmd.ArgDeclprotected final org.apache.jena.cmd.ArgDeclprotected final org.apache.jena.cmd.ArgDeclprotected final org.apache.jena.cmd.ArgDeclprotected final org.apache.jena.cmd.ArgDeclprotected final org.apache.jena.cmd.ArgDeclprotected final ModNeo4jEndpointprotected final ModLPG2RDFConfigurationprotected final ModQueryprotected final arq.cmdline.ModResultsOutprotected final arq.cmdline.ModTimeFields inherited from class arq.cmdline.CmdARQ
cmdStrictMode, modContextFields inherited from class org.apache.jena.cmd.CmdGeneral
cmdName, modGeneral, modVersionFields inherited from class org.apache.jena.cmd.CmdLineArgs
argMap, args, positionals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexec()protected Set<org.apache.jena.graph.Triple>getBGP()protected StringReturns the command name used to invoke the tool.protected StringReturns the usage summary string of the command.static voidprotected List<TableRecord>performQueryExecution(CypherQuery query) protected SPARQL2CypherTranslationResultperformQueryTranslation(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 voidprintResult(List<org.apache.jena.sparql.engine.binding.Binding> result) protected SPARQL2CypherTranslationResulttranslateToCypher(Set<org.apache.jena.graph.Triple> bgp, LPG2RDFConfiguration conf) Methods inherited from class arq.cmdline.CmdARQ
processModulesAndArgsMethods inherited from class org.apache.jena.cmd.CmdGeneral
add, addModule, getUsage, help, isDebug, isQuiet, isVerbose, printHelp, usage, usageMethods inherited from class org.apache.jena.cmd.CmdArgModule
processMethods inherited from class org.apache.jena.cmd.CmdMain
cmdError, cmdError, mainAndExit, mainMethod, mainRun, mainRun, mainRunMethods 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, toStringMethods inherited from class org.apache.jena.cmd.CommandLineBase
apply, getArg, getArgList, setArgs
-
Field Details
-
modTime
protected final arq.cmdline.ModTime modTime -
modEndpoint
-
modQuery
-
modResults
protected final arq.cmdline.ModResultsOut modResults -
modLPG2RDFConfiguration
-
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
Returns the usage summary string of the command.- Specified by:
getSummaryin classorg.apache.jena.cmd.CmdGeneral- Returns:
- A string that describes the usage of the command.
-
getCommandName
Returns the command name used to invoke the tool.- Overrides:
getCommandNamein classarq.cmdline.CmdARQ- Returns:
- The name of the command.
-
exec
protected void exec()- Specified by:
execin 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
-