de.uni.leipzig.IR15.Benchmark.neo4j
Class Query3_Cypher_Benchmark
java.lang.Object
de.uni.leipzig.IR15.Benchmark.Benchmark
de.uni.leipzig.IR15.Benchmark.neo4j.Neo4jBenchmark
de.uni.leipzig.IR15.Benchmark.neo4j.CypherBenchmark
de.uni.leipzig.IR15.Benchmark.neo4j.Query3_Cypher_Benchmark
public class Query3_Cypher_Benchmark
- extends CypherBenchmark
Query 3 selects all sentence co-occurrences of a given word which are
co-occurences of themselves.
A -> B , A -> C, B -> C - The relationship B -> C is selected
In SQL this is the following query:
select w1.w1_id,w1.w2_id,w1.freq,w1.sig from co_s w1 where w1.w1_id in
(select w2.w2_id from co_s w2 where w2.w1_id=137) and w1.w2_id in (select
w3.w2_id from co_s w3 where w3.w1_id=137);
- Author:
- Martin 's1ck' Junghanns
Method Summary |
void |
beforeRun()
Prepare statement before each run. |
java.lang.String |
getName()
Returns the name of the benchmark. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query3_Cypher_Benchmark
public Query3_Cypher_Benchmark()
beforeRun
public void beforeRun()
- Prepare statement before each run.
- Overrides:
beforeRun
in class Neo4jBenchmark
getName
public java.lang.String getName()
- Returns the name of the benchmark.
- Specified by:
getName
in class Benchmark
- Returns:
- name of the benchmark