This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Description
Data:
(ImplicationLink
(AndLink
(EvaluationLink
(PredicateNode "P")
(ListLink
(ConceptNode "A1")
(ConceptNode "A2")))
(EvaluationLink
(PredicateNode "P")
(ListLink
(ConceptNode "A1")
(ConceptNode "A3")))
(EvaluationLink
(PredicateNode "P")
(ListLink
(ConceptNode "A2")
(ConceptNode "A3")))))
Query which can be placed into patternIndexQueryExample.cc file (see #1 and #2)
std::string queryStr1 = "(ImplicationLink \
(AndLink\
(EvaluationLink\
(PredicateNode \"P\")\
(ListLink\
(VariableNode \"A1\")\
(VariableNode \"A2\")\
)\
)\
(EvaluationLink\
(PredicateNode \"P\")\
(ListLink\
(VariableNode \"A1\")\
(VariableNode \"A3\")\
)\
)\
(EvaluationLink\
(PredicateNode \"P\")\
(ListLink\
(VariableNode \"A2\")\
(VariableNode \"A3\")\
)\
)\
)\
)";
The result is
Query 1:
Result: (ListLink
) ; [9224779411738298928][1]