Simple Question (Direct)
Simple Question
Q3431634
P19
Q56061
USER
Where was Terhi Mertanen born ?
(Q3431634,P19,c(Q56061))
action filter_type
action find
entity Q3431634
relation P19
type Q56061
['Q3431634', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3431634 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Terhi Mertanen
action filter_type
action find
entity Terhi Mertanen
relation place of birth
type administrative territorial entity
['Terhi Mertanen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Terhi_Mertanen property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q186237
SYSTEM
Joensuu
Q186237
(Q3431634,P19,c(Q56061))
action filter_type
action find
entity Q3431634
relation P19
type Q56061
Terhi Mertanen was born in [ANSWER]
['Q3431634', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3431634 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Joensuu
Terhi Mertanen was born in Joensuu
Joensuu
action filter_type
action find
entity Terhi Mertanen
relation place of birth
type administrative territorial entity
['Terhi Mertanen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Terhi_Mertanen property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3431634
P641
Q349
USER
Which sport was Terhi Mertanen a part of ?
(Q3431634,P641,c(Q349))
action filter_type
action find
entity Q3431634
relation P641
type Q349
['Q3431634', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q3431634 property:P641 ?r }
Terhi Mertanen
action filter_type
action find
entity Terhi Mertanen
relation sport
type sport
['Terhi Mertanen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Terhi_Mertanen property:sport ?r }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3431634,P641,c(Q349))
action filter_type
action find
entity Q3431634
relation P641
type Q349
The [ANSWER] was Terhi Mertanen a part of
['Q3431634', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q3431634 property:P641 ?r }
ice hockey
The ice hockey was Terhi Mertanen a part of
ice hockey
action filter_type
action find
entity Terhi Mertanen
relation sport
type sport
['Terhi Mertanen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Terhi_Mertanen property:sport ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6760169
Q349
USER
And what about Margarita Shirokova?
(Q6760169,P641,c(Q349))
action filter_type
action find
entity Q6760169
relation P641
type Q349
['Q6760169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6760169 property:P641 ?i . ?i rdf:type ontology:Q349 }
Margarita Shirokova
action filter_type
action find
entity Margarita Shirokova
relation sport
type sport
['Margarita Shirokova', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Margarita_Shirokova property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6760169,P641,c(Q349))
action filter_type
action find
entity Q6760169
relation P641
type Q349
[ANSWER]
['Q6760169', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q6760169 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Margarita Shirokova
relation sport
type sport
['Margarita Shirokova', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Margarita_Shirokova property:sport ?i . ?i rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q6189148
P641
Q502895
USER
Is Jetsada Boonruangrod associated with playing that sport ?
(Q6189148,P641,Q2736)
action is_in
entity Q2736
action find
entity Q6189148
relation P641
['Q6189148', 'P641', 'Q2736']
ASK WHERE { resource:Q6189148 property:P641 resource:Q2736 }
association football Jetsada Boonruangrod
action is_in
entity association football
action find
entity Jetsada Boonruangrod
relation sport
['Jetsada Boonruangrod', 'sport', 'association football']
ASK WHERE { resource:Jetsada_Boonruangrod property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q6189148,P641,Q2736)
action is_in
entity Q2736
action find
entity Q6189148
relation P641
[ANSWER]
['Q6189148', 'P641', 'Q2736']
ASK WHERE { resource:Q6189148 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Jetsada Boonruangrod
relation sport
['Jetsada Boonruangrod', 'sport', 'association football']
ASK WHERE { resource:Jetsada_Boonruangrod property:sport resource:association_football }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3431634 Q33 Q27147366
P27
Q15617994
USER
Is Terhi Mertanen a citizen of Finland and Eurobin ?
(Q3431634,P27,Q33) (Q3431634,P27,Q27147366)
action is_in
entity Q3431634
action intersection
action find_reverse
entity Q33
relation P27
action find_reverse
entity Q27147366
relation P27
['Q3431634', 'P27', 'Q33'] ['Q3431634', 'P27', 'Q27147366']
ASK WHERE { resource:Q3431634 property:P27 resource:Q33 . resource:Q3431634 property:P27 resource:Q27147366 }
Terhi Mertanen Finland Eurobin
action is_in
entity Terhi Mertanen
action intersection
action find_reverse
entity Finland
relation country of citizenship
action find_reverse
entity Eurobin
relation country of citizenship
['Terhi Mertanen', 'country of citizenship', 'Finland'] ['Terhi Mertanen', 'country of citizenship', 'Eurobin']
ASK WHERE { resource:Terhi_Mertanen property:country_of_citizenship resource:Finland . resource:Terhi_Mertanen property:country_of_citizenship resource:Eurobin }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3431634,P27,Q33) (Q3431634,P27,Q27147366)
action is_in
entity Q3431634
action intersection
action find_reverse
entity Q33
relation P27
action find_reverse
entity Q27147366
relation P27
[ANSWER]
['Q3431634', 'P27', 'Q33'] ['Q3431634', 'P27', 'Q27147366']
ASK WHERE { resource:Q3431634 property:P27 resource:Q33 . resource:Q3431634 property:P27 resource:Q27147366 }
YES and NO respectively
action is_in
entity Terhi Mertanen
action intersection
action find_reverse
entity Finland
relation country of citizenship
action find_reverse
entity Eurobin
relation country of citizenship
['Terhi Mertanen', 'country of citizenship', 'Finland'] ['Terhi Mertanen', 'country of citizenship', 'Eurobin']
ASK WHERE { resource:Terhi_Mertanen property:country_of_citizenship resource:Finland . resource:Terhi_Mertanen property:country_of_citizenship resource:Eurobin }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1341874 Q6189148
P27
Q15617994
USER
Which administrative territories do Jetsada Boonruangrod or Jorge Bolaño belong to ?
OR((Q6189148,P27,c(Q15617994)), (Q1341874,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6189148
relation P27
action find
entity Q1341874
relation P27
type Q15617994
{'OR': [['Q6189148', 'P27', {'concept': 'Q15617994'}], ['Q1341874', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Q6189148 ) ( resource:Q1341874 ) } . ?i property:P27 ?u } . ?u rdf:type ontology:Q15617994 }
Jorge Bolaño Jetsada Boonruangrod
action filter_type
action union
action find
entity Jetsada Boonruangrod
relation country of citizenship
action find
entity Jorge Bolaño
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jetsada Boonruangrod', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jorge Bolaño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Jetsada_Boonruangrod ) ( resource:Jorge_Bolaño ) } . ?i property:country_of_citizenship ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q739
SYSTEM
Thailand, Colombia
Q869 Q739
OR((Q6189148,P27,c(Q15617994)), (Q1341874,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6189148
relation P27
action find
entity Q1341874
relation P27
type Q15617994
Jetsada Boonruangrod or Jorge Bolaño belong to both [ANSWERS]
{'OR': [['Q6189148', 'P27', {'concept': 'Q15617994'}], ['Q1341874', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Q6189148 ) ( resource:Q1341874 ) } . ?i property:P27 ?u } . ?u rdf:type ontology:Q15617994 }
Thailand Colombia
Jetsada Boonruangrod or Jorge Bolaño belong to both Thailand and Colombia
Thailand Colombia
action filter_type
action union
action find
entity Jetsada Boonruangrod
relation country of citizenship
action find
entity Jorge Bolaño
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jetsada Boonruangrod', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jorge Bolaño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?i ) { ( resource:Jetsada_Boonruangrod ) ( resource:Jorge_Bolaño ) } . ?i property:country_of_citizenship ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q811979 Q2424752
USER
Which sports are considered to be the main utilization of atmost 1 architectural structures or products ?
(c(Q811979)|c(Q2424752),P366,c(Q349))
action atmost
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P366 ?j . ?j rdf:type ontology:Q349 . ?n rdf:type ontology:Q811979 } UNION { ?n property:P366 ?j . ?j rdf:type ontology:Q349 . ?n rdf:type ontology:Q2424752 } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:use ?j . ?j rdf:type ontology:sport . ?n rdf:type ontology:architectural_structure } UNION { ?n property:use ?j . ?j rdf:type ontology:sport . ?n rdf:type ontology:product } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
[]
sport architectural structure product
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q1875777 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q811979)|c(Q2424752),P366,c(Q349))
action atmost
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[ANSWERS] are considered to be the main utilization of atmost 1 architectural structures or products
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P366 ?j . ?j rdf:type ontology:Q349 . ?n rdf:type ontology:Q811979 } UNION { ?n property:P366 ?j . ?j rdf:type ontology:Q349 . ?n rdf:type ontology:Q2424752 } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running air racing archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey climbing harness racing American football badminton
Floorball, handball and bandy are considered to be the main utilization of atmost 1 architectural structures or products
floorball handball bandy
action atmost
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:use ?j . ?j rdf:type ontology:sport . ?n rdf:type ontology:architectural_structure } UNION { ?n property:use ?j . ?j rdf:type ontology:sport . ?n rdf:type ontology:product } } GROUP BY ?j } . FILTER ( ?c <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q186237
P931
Q62447
USER
Which aerodrome serves Joensuu ?
(c(Q62447),P931,Q186237)
action filter_type
action find_reverse
entity Q186237
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q186237']
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q186237 . ?j rdf:type ontology:Q62447 }
Joensuu
action filter_type
action find_reverse
entity Joensuu
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Joensuu']
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:Joensuu . ?j rdf:type ontology:aerodrome }
[]
aerodrome
Q370924
SYSTEM
Joensuu Airport
Q370924
(c(Q62447),P931,Q186237)
action filter_type
action find_reverse
entity Q186237
relation P931
type Q62447
Airport [ANSWER] serves Joensuu
[{'concept': 'Q62447'}, 'P931', 'Q186237']
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q186237 . ?j rdf:type ontology:Q62447 }
Joensuu Airport
Airport Joensuu Airport serves Joensuu
Joensuu Airport
action filter_type
action find_reverse
entity Joensuu
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Joensuu']
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:Joensuu . ?j rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q370924
P17
Q15617994
USER
Which administrative territory is that aerodrome situated in ?
(Q370924,P17,c(Q15617994))
action filter_type
action find
entity Q370924
relation P17
type Q15617994
['Q370924', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q370924 property:P17 ?x }
Joensuu Airport
action filter_type
action find
entity Joensuu Airport
relation country
type designation for an administrative territorial entity
['Joensuu Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joensuu_Airport property:country ?x }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q370924,P17,c(Q15617994))
action filter_type
action find
entity Q370924
relation P17
type Q15617994
That aerodrome is situated in [ANSWER]
['Q370924', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q370924 property:P17 ?x }
Finland
That aerodrome is situated in Finland
Finland
action filter_type
action find
entity Joensuu Airport
relation country
type designation for an administrative territorial entity
['Joensuu Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joensuu_Airport property:country ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P276
Q350604
USER
Which armed conflict has its location as that administrative territory ?
(c(Q350604),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q350604
[{'concept': 'Q350604'}, 'P276', 'Q33']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q33 . ?q rdf:type ontology:Q350604 }
Finland
action filter_type
action find_reverse
entity Finland
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Finland']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Finland . ?q rdf:type ontology:armed_conflict }
[]
armed conflict
Q134949
SYSTEM
Winter War
Q134949
(c(Q350604),P276,Q33)
action filter_type
action find_reverse
entity Q33
relation P276
type Q350604
War [ANSWER] has its location as that administrative territory
[{'concept': 'Q350604'}, 'P276', 'Q33']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q33 . ?q rdf:type ontology:Q350604 }
Winter War
War Winter War has its location as that administrative territory
Winter War
action filter_type
action find_reverse
entity Finland
relation location
type armed conflict
[{'concept': 'armed conflict'}, 'location', 'Finland']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Finland . ?q rdf:type ontology:armed_conflict }
[]