Simple Question (Direct)
Simple Question
Q301953
P106
Q12737077
USER
What does Aaron Downey do for a living ?
(Q301953,P106,c(Q12737077))
action filter_type
action find
entity Q301953
relation P106
type Q12737077
['Q301953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q301953 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Aaron Downey
action filter_type
action find
entity Aaron Downey
relation occupation
type occupation
['Aaron Downey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Aaron_Downey property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q301953,P106,c(Q12737077))
action filter_type
action find
entity Q301953
relation P106
type Q12737077
Aaron Downey does for a living as [ANSWER]
['Q301953', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q301953 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
ice hockey player
Aaron Downey does for a living as ice hockey player
ice hockey player
action filter_type
action find
entity Aaron Downey
relation occupation
type occupation
['Aaron Downey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Aaron_Downey property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q301953
P54
Q12973014
USER
Which sports teams are Aaron Downey a member of ?
(Q301953,P54,c(Q12973014))
action filter_type
action find
entity Q301953
relation P54
type Q12973014
['Q301953', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q301953 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Aaron Downey
action filter_type
action find
entity Aaron Downey
relation member of sports team
type sports team
['Aaron Downey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Aaron_Downey property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
sports team
Q188143 Q194116 Q209636
SYSTEM
Montreal Canadiens, Detroit Red Wings, Chicago Blackhawks
Q209636 Q188143 Q208652 Q194121 Q206312 Q194116 Q207735
(Q301953,P54,c(Q12973014))
action filter_type
action find
entity Q301953
relation P54
type Q12973014
The [ANSWERS] are Aaron Downey a member of
['Q301953', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q301953 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Chicago Blackhawks Montreal Canadiens Dallas Stars Boston Bruins Arizona Coyotes Detroit Red Wings St. Louis Blues
The Montreal Canadiens, Detroit Red Wings and Chicago Blackhawks are Aaron Downey a member of
Montreal Canadiens Detroit Red Wings Chicago Blackhawks
action filter_type
action find
entity Aaron Downey
relation member of sports team
type sports team
['Aaron Downey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Aaron_Downey property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q194116
P466
Q41176 Q811430
USER
How many buildings and constructions were inhabited by Detroit Red Wings ?
(c(Q41176),P466,Q194116) (c(Q811430),P466,Q194116)
action count
action union
action filter_type
action find_reverse
entity Q194116
relation P466
type Q41176
action filter_type
action find_reverse
entity Q194116
relation P466
type Q811430
[{'concept': 'Q41176'}, 'P466', 'Q194116'] [{'concept': 'Q811430'}, 'P466', 'Q194116']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:P466 resource:Q194116 . ?z rdf:type ontology:Q41176 } UNION { ?z property:P466 resource:Q194116 . ?z rdf:type ontology:Q811430 } }
Detroit Red Wings
action count
action union
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type building
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type construction
[{'concept': 'building'}, 'occupant', 'Detroit Red Wings'] [{'concept': 'construction'}, 'occupant', 'Detroit Red Wings']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:occupant resource:Detroit_Red_Wings . ?z rdf:type ontology:building } UNION { ?z property:occupant resource:Detroit_Red_Wings . ?z rdf:type ontology:construction } }
[]
building construction
SYSTEM
1 buildings and 1 constructions
Q1201545 Q168579
(c(Q41176),P466,Q194116) (c(Q811430),P466,Q194116)
action count
action union
action filter_type
action find_reverse
entity Q194116
relation P466
type Q41176
action filter_type
action find_reverse
entity Q194116
relation P466
type Q811430
[ANSWER]
[{'concept': 'Q41176'}, 'P466', 'Q194116'] [{'concept': 'Q811430'}, 'P466', 'Q194116']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:P466 resource:Q194116 . ?z rdf:type ontology:Q41176 } UNION { ?z property:P466 resource:Q194116 . ?z rdf:type ontology:Q811430 } }
Detroit Olympia Joe Louis Arena
1 buildings and 1 constructions
action count
action union
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type building
action filter_type
action find_reverse
entity Detroit Red Wings
relation occupant
type construction
[{'concept': 'building'}, 'occupant', 'Detroit Red Wings'] [{'concept': 'construction'}, 'occupant', 'Detroit Red Wings']
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { ?z property:occupant resource:Detroit_Red_Wings . ?z rdf:type ontology:building } UNION { ?z property:occupant resource:Detroit_Red_Wings . ?z rdf:type ontology:construction } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3813263 Q194116
P17
Q15617994
USER
Which administrative territories are Detroit Red Wings or Katagon situated in ?
OR((Q194116,P17,c(Q15617994)), (Q3813263,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q194116
relation P17
action find
entity Q3813263
relation P17
type Q15617994
{'OR': [['Q194116', 'P17', {'concept': 'Q15617994'}], ['Q3813263', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q194116 property:P17 ?h } UNION { resource:Q3813263 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Katagon Detroit Red Wings
action filter_type
action union
action find
entity Detroit Red Wings
relation country
action find
entity Katagon
relation country
type designation for an administrative territorial entity
{'OR': [['Detroit Red Wings', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Katagon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Detroit_Red_Wings property:country ?h } UNION { resource:Katagon property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q962
SYSTEM
United States of America, Benin
Q30 Q962
OR((Q194116,P17,c(Q15617994)), (Q3813263,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q194116
relation P17
action find
entity Q3813263
relation P17
type Q15617994
Detroit Red Wings or Katagon are situated in [ANSWERS]
{'OR': [['Q194116', 'P17', {'concept': 'Q15617994'}], ['Q3813263', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q194116 property:P17 ?h } UNION { resource:Q3813263 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
United States of America Benin
Detroit Red Wings or Katagon are situated in United States of America and Benin
United States of America Benin
action filter_type
action union
action find
entity Detroit Red Wings
relation country
action find
entity Katagon
relation country
type designation for an administrative territorial entity
{'OR': [['Detroit Red Wings', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Katagon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Detroit_Red_Wings property:country ?h } UNION { resource:Katagon property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have diplomatic relations with those ones ?
(Q155,P530,Q30) (Q155,P530,Q962)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q30'] ['Q155', 'P530', 'Q962']
ASK WHERE { resource:Q155 property:P530 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q962 ) } }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'United States of America'] ['Brazil', 'diplomatic relation', 'Benin']
ASK WHERE { resource:Brazil property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Benin ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q30) (Q155,P530,Q962)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q30'] ['Q155', 'P530', 'Q962']
ASK WHERE { resource:Q155 property:P530 ?a . VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q962 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'United States of America'] ['Brazil', 'diplomatic relation', 'Benin']
ASK WHERE { resource:Brazil property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Benin ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with approximately 46 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 46
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:P530 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?f = 46 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 46
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:diplomatic_relation ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?f = 46 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q155 Q184
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 46
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:P530 ?a . ?w rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?f = 46 ) }
Brazil Belarus
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 46
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:diplomatic_relation ?a . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?f = 46 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8643
P641
Q349
USER
What was the sport that Vicenza Calcio was a part of ?
(Q8643,P641,c(Q349))
action filter_type
action find
entity Q8643
relation P641
type Q349
['Q8643', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q8643 property:P641 ?t . ?t rdf:type ontology:Q349 }
Vicenza Calcio
action filter_type
action find
entity Vicenza Calcio
relation sport
type sport
['Vicenza Calcio', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Vicenza_Calcio property:sport ?t . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q8643,P641,c(Q349))
action filter_type
action find
entity Q8643
relation P641
type Q349
The sport that Vicenza Calcio was a part of was the [ANSWER]
['Q8643', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { resource:Q8643 property:P641 ?t . ?t rdf:type ontology:Q349 }
association football
The sport that Vicenza Calcio was a part of was the association football
association football
action filter_type
action find
entity Vicenza Calcio
relation sport
type sport
['Vicenza Calcio', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { resource:Vicenza_Calcio property:sport ?t . ?t rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8643
P115
Q483110
USER
Which stadium is the home field of Vicenza Calcio ?
(Q8643,P115,c(Q483110))
action filter_type
action find
entity Q8643
relation P115
type Q483110
['Q8643', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?w WHERE { resource:Q8643 property:P115 ?w . ?w rdf:type ontology:Q483110 }
Vicenza Calcio
action filter_type
action find
entity Vicenza Calcio
relation home venue
type stadium
['Vicenza Calcio', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?w WHERE { resource:Vicenza_Calcio property:home_venue ?w . ?w rdf:type ontology:stadium }
[]
stadium
Q94612
SYSTEM
Stadio Romeo Menti
Q94612
(Q8643,P115,c(Q483110))
action filter_type
action find
entity Q8643
relation P115
type Q483110
The [ANSWER] is the home field of Vicenza Calcio
['Q8643', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?w WHERE { resource:Q8643 property:P115 ?w . ?w rdf:type ontology:Q483110 }
Stadio Romeo Menti
The Stadio Romeo Menti is the home field of Vicenza Calcio
Stadio Romeo Menti
action filter_type
action find
entity Vicenza Calcio
relation home venue
type stadium
['Vicenza Calcio', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?w WHERE { resource:Vicenza_Calcio property:home_venue ?w . ?w rdf:type ontology:stadium }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12878793
Q483110
USER
And also tell me about Karmiotissa Pano Polemidion?
(Q12878793,P115,c(Q483110))
action filter_type
action find
entity Q12878793
relation P115
type Q483110
['Q12878793', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?b WHERE { resource:Q12878793 property:P115 ?b . ?b rdf:type ontology:Q483110 }
Karmiotissa Pano Polemidion
action filter_type
action find
entity Karmiotissa Pano Polemidion
relation home venue
type stadium
['Karmiotissa Pano Polemidion', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?b WHERE { resource:Karmiotissa_Pano_Polemidion property:home_venue ?b . ?b rdf:type ontology:stadium }
[]
stadium
Q582868 Q16467539 Q2760479
SYSTEM
Ammochostos Stadium, Pano Polemidhia Community Stadium, GSZ Stadium
Q582868 Q16467539 Q2760479
(Q12878793,P115,c(Q483110))
action filter_type
action find
entity Q12878793
relation P115
type Q483110
[ANSWERS]
['Q12878793', 'P115', {'concept': 'Q483110'}]
SELECT DISTINCT ?b WHERE { resource:Q12878793 property:P115 ?b . ?b rdf:type ontology:Q483110 }
Ammochostos Stadium Pano Polemidhia Community Stadium GSZ Stadium
Ammochostos Stadium Pano Polemidhia Community Stadium GSZ Stadium
action filter_type
action find
entity Karmiotissa Pano Polemidion
relation home venue
type stadium
['Karmiotissa Pano Polemidion', 'home venue', {'concept': 'stadium'}]
SELECT DISTINCT ?b WHERE { resource:Karmiotissa_Pano_Polemidion property:home_venue ?b . ?b rdf:type ontology:stadium }
[]