Simple Question (Direct)
Simple Question
Q7453889
P21
Q290
USER
Which sex does Sergei Yevgenyevich Pankov possess ?
(Q7453889,P21,c(Q290))
action filter_type
action find
entity Q7453889
relation P21
type Q290
['Q7453889', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7453889 property:P21 ?u . ?u rdf:type ontology:Q290 }
Sergei Yevgenyevich Pankov
action filter_type
action find
entity Sergei Yevgenyevich Pankov
relation gender
type sex
['Sergei Yevgenyevich Pankov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Sergei_Yevgenyevich_Pankov property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7453889,P21,c(Q290))
action filter_type
action find
entity Q7453889
relation P21
type Q290
Sergei Yevgenyevich Pankov possesses a [ANSWER]
['Q7453889', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q7453889 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Sergei Yevgenyevich Pankov possesses a male
male
action filter_type
action find
entity Sergei Yevgenyevich Pankov
relation gender
type sex
['Sergei Yevgenyevich Pankov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Sergei_Yevgenyevich_Pankov property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7453889
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7453889
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7453889 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Sergei Yevgenyevich Pankov
action filter_type
action find
entity Sergei Yevgenyevich Pankov
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Sergei_Yevgenyevich_Pankov property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7453889
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7453889 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Sergei Yevgenyevich Pankov
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Sergei_Yevgenyevich_Pankov property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q215380 Q16979650
USER
How many bands or sibling groups have career as that occupation ?
(c(Q215380),P106,Q937857) (c(Q16979650),P106,Q937857) (c(Q215380),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:P106 resource:Q937857 . ?c rdf:type ontology:Q215380 } UNION { ?c rdf:type ontology:Q16979650 . ?c property:P106 resource:Q937857 } }
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type band
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:occupation resource:association_football_player . ?c rdf:type ontology:band } UNION { ?c rdf:type ontology:sibling_group . ?c property:occupation resource:association_football_player } }
[]
band sibling group
SYSTEM
2
Q6027090 Q6835842
(c(Q215380),P106,Q937857) (c(Q16979650),P106,Q937857) (c(Q215380),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[ANSWER]
[{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:P106 resource:Q937857 . ?c rdf:type ontology:Q215380 } UNION { ?c rdf:type ontology:Q16979650 . ?c property:P106 resource:Q937857 } }
Milija and Pavle Bakić Michal Vepřek
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type band
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { { ?c property:occupation resource:association_football_player . ?c rdf:type ontology:band } UNION { ?c rdf:type ontology:sibling_group . ?c property:occupation resource:association_football_player } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3265287 Q7453889
P27
Q15617994
USER
Which administrative territories are Sergei Yevgenyevich Pankov or Lucie Manvel an inhabitant of ?
OR((Q7453889,P27,c(Q15617994)), (Q3265287,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7453889
relation P27
action find
entity Q3265287
relation P27
type Q15617994
{'OR': [['Q7453889', 'P27', {'concept': 'Q15617994'}], ['Q3265287', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?v property:P27 ?r . VALUES ( ?v ) { ( resource:Q3265287 ) ( resource:Q7453889 ) } } . ?r rdf:type ontology:Q15617994 }
Lucie Manvel Sergei Yevgenyevich Pankov
action filter_type
action union
action find
entity Sergei Yevgenyevich Pankov
relation country of citizenship
action find
entity Lucie Manvel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sergei Yevgenyevich Pankov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lucie Manvel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?v property:country_of_citizenship ?r . VALUES ( ?v ) { ( resource:Lucie_Manvel ) ( resource:Sergei_Yevgenyevich_Pankov ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q159
SYSTEM
France, Russia
Q142 Q159
OR((Q7453889,P27,c(Q15617994)), (Q3265287,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7453889
relation P27
action find
entity Q3265287
relation P27
type Q15617994
[ANSWERS] are Sergei Yevgenyevich Pankov or Lucie Manvel an inhabitant of
{'OR': [['Q7453889', 'P27', {'concept': 'Q15617994'}], ['Q3265287', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?v property:P27 ?r . VALUES ( ?v ) { ( resource:Q3265287 ) ( resource:Q7453889 ) } } . ?r rdf:type ontology:Q15617994 }
France Russia
France and Russia are Sergei Yevgenyevich Pankov or Lucie Manvel an inhabitant of
France Russia
action filter_type
action union
action find
entity Sergei Yevgenyevich Pankov
relation country of citizenship
action find
entity Lucie Manvel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sergei Yevgenyevich Pankov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lucie Manvel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?v property:country_of_citizenship ?r . VALUES ( ?v ) { ( resource:Lucie_Manvel ) ( resource:Sergei_Yevgenyevich_Pankov ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q801
P530
Q15617994
USER
Do Israel have tactful political relations with those ones ?
(Q801,P530,Q142) (Q801,P530,Q159)
action is_in
entity prev_answer
action find
entity Q801
relation P530
['Q801', 'P530', 'Q142'] ['Q801', 'P530', 'Q159']
ASK WHERE { VALUES ( ?l ) { ( resource:Q142 ) ( resource:Q159 ) } . resource:Q801 property:P530 ?l }
Israel
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'France'] ['Israel', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?l ) { ( resource:France ) ( resource:Russia ) } . resource:Israel property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q801,P530,Q142) (Q801,P530,Q159)
action is_in
entity prev_answer
action find
entity Q801
relation P530
[ANSWER]
['Q801', 'P530', 'Q142'] ['Q801', 'P530', 'Q159']
ASK WHERE { VALUES ( ?l ) { ( resource:Q142 ) ( resource:Q159 ) } . resource:Q801 property:P530 ?l }
Yes
action is_in
entity prev_answer
action find
entity Israel
relation diplomatic relation
['Israel', 'diplomatic relation', 'France'] ['Israel', 'diplomatic relation', 'Russia']
ASK WHERE { VALUES ( ?l ) { ( resource:France ) ( resource:Russia ) } . resource:Israel property:diplomatic_relation ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7453889
P54
Q12973014
USER
What is Sergei Yevgenyevich Pankov a member of ?
(Q7453889,P54,c(Q12973014))
action filter_type
action find
entity Q7453889
relation P54
type Q12973014
['Q7453889', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q7453889 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Sergei Yevgenyevich Pankov
action filter_type
action find
entity Sergei Yevgenyevich Pankov
relation member of sports team
type sports team
['Sergei Yevgenyevich Pankov', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Sergei_Yevgenyevich_Pankov property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
sports team
Q20982624
SYSTEM
FC Chkalovets-Olimpik Novosibirsk
Q20982624
(Q7453889,P54,c(Q12973014))
action filter_type
action find
entity Q7453889
relation P54
type Q12973014
Sergei Yevgenyevich Pankov a member of is [ANSWER]
['Q7453889', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q7453889 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
FC Chkalovets-Olimpik Novosibirsk
Sergei Yevgenyevich Pankov a member of is FC Chkalovets-Olimpik Novosibirsk
FC Chkalovets-Olimpik Novosibirsk
action filter_type
action find
entity Sergei Yevgenyevich Pankov
relation member of sports team
type sports team
['Sergei Yevgenyevich Pankov', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Sergei_Yevgenyevich_Pankov property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16228751
Q12973014
USER
And also tell me about Kyle Flanagan?
(Q16228751,P54,c(Q12973014))
action filter_type
action find
entity Q16228751
relation P54
type Q12973014
['Q16228751', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12973014 . resource:Q16228751 property:P54 ?s }
Kyle Flanagan
action filter_type
action find
entity Kyle Flanagan
relation member of sports team
type sports team
['Kyle Flanagan', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_team . resource:Kyle_Flanagan property:member_of_sports_team ?s }
[]
sports team
Q357557
SYSTEM
Adirondack Phantoms
Q357557
(Q16228751,P54,c(Q12973014))
action filter_type
action find
entity Q16228751
relation P54
type Q12973014
[ANSWER]
['Q16228751', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12973014 . resource:Q16228751 property:P54 ?s }
Adirondack Phantoms
Adirondack Phantoms
action filter_type
action find
entity Kyle Flanagan
relation member of sports team
type sports team
['Kyle Flanagan', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_team . resource:Kyle_Flanagan property:member_of_sports_team ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q357557 Q2057751
P54
Q502895
USER
Is Sergio Herrera one of the members of that sports team ?
(Q2057751,P54,Q357557)
action is_in
entity Q2057751
action find
entity Q357557
relation P54
['Q2057751', 'P54', 'Q357557']
ASK WHERE { resource:Q357557 property:P54 resource:Q2057751 }
Adirondack Phantoms Sergio Herrera
action is_in
entity Sergio Herrera
action find
entity Adirondack Phantoms
relation member of sports team
['Sergio Herrera', 'member of sports team', 'Adirondack Phantoms']
ASK WHERE { resource:Adirondack_Phantoms property:member_of_sports_team resource:Sergio_Herrera }
[]
common name
SYSTEM
NO
(Q2057751,P54,Q357557)
action is_in
entity Q2057751
action find
entity Q357557
relation P54
[ANSWER]
['Q2057751', 'P54', 'Q357557']
ASK WHERE { resource:Q357557 property:P54 resource:Q2057751 }
No
action is_in
entity Sergio Herrera
action find
entity Adirondack Phantoms
relation member of sports team
['Sergio Herrera', 'member of sports team', 'Adirondack Phantoms']
ASK WHERE { resource:Adirondack_Phantoms property:member_of_sports_team resource:Sergio_Herrera }
[]