Simple Question (Direct)
Simple Question
Q202823
P54
Q618123
USER
What is the team that Seimone Augustus is a member of ?
(Q202823,P54,c(Q618123))
action filter_type
action find
entity Q202823
relation P54
type Q618123
['Q202823', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?l WHERE { resource:Q202823 property:P54 ?l . ?l rdf:type ontology:Q618123 }
Seimone Augustus
action filter_type
action find
entity Seimone Augustus
relation member of sports team
type geographical object
['Seimone Augustus', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?l WHERE { resource:Seimone_Augustus property:member_of_sports_team ?l . ?l rdf:type ontology:geographical_object }
[]
geographical object
Q43134
SYSTEM
Galatasaray S.K.
Q43134
(Q202823,P54,c(Q618123))
action filter_type
action find
entity Q202823
relation P54
type Q618123
The team that Seimone Augustus is a member of is the [ANSWER]
['Q202823', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?l WHERE { resource:Q202823 property:P54 ?l . ?l rdf:type ontology:Q618123 }
Galatasaray S.K.
The team that Seimone Augustus is a member of is the Galatasaray S.K.
Galatasaray S.K.
action filter_type
action find
entity Seimone Augustus
relation member of sports team
type geographical object
['Seimone Augustus', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?l WHERE { resource:Seimone_Augustus property:member_of_sports_team ?l . ?l rdf:type ontology:geographical_object }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43134
P17
Q15617994
USER
Which administrative territory is that geographical object situated in ?
(Q43134,P17,c(Q15617994))
action filter_type
action find
entity Q43134
relation P17
type Q15617994
['Q43134', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q43134 property:P17 ?d }
Galatasaray S.K.
action filter_type
action find
entity Galatasaray S.K.
relation country
type designation for an administrative territorial entity
['Galatasaray S.K.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Galatasaray_S.K. property:country ?d }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q43134,P17,c(Q15617994))
action filter_type
action find
entity Q43134
relation P17
type Q15617994
That geographical object is situated in [ANSWER]
['Q43134', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q43134 property:P17 ?d }
Turkey
That geographical object is situated in Turkey
Turkey
action filter_type
action find
entity Galatasaray S.K.
relation country
type designation for an administrative territorial entity
['Galatasaray S.K.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Galatasaray_S.K. property:country ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q43 Q5817334
P530
Q1048835
USER
Does La Florida District have diplomatic relationships with that administrative territory ?
(Q43,P530,Q5817334)
action is_in
entity Q5817334
action find
entity Q43
relation P530
['Q43', 'P530', 'Q5817334']
ASK WHERE { resource:Q43 property:P530 resource:Q5817334 }
Turkey La Florida District
action is_in
entity La Florida District
action find
entity Turkey
relation diplomatic relation
['Turkey', 'diplomatic relation', 'La Florida District']
ASK WHERE { resource:Turkey property:diplomatic_relation resource:La_Florida_District }
[]
political territorial entity
SYSTEM
NO
(Q43,P530,Q5817334)
action is_in
entity Q5817334
action find
entity Q43
relation P530
[ANSWER]
['Q43', 'P530', 'Q5817334']
ASK WHERE { resource:Q43 property:P530 resource:Q5817334 }
No
action is_in
entity La Florida District
action find
entity Turkey
relation diplomatic relation
['Turkey', 'diplomatic relation', 'La Florida District']
ASK WHERE { resource:Turkey property:diplomatic_relation resource:La_Florida_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q202823 Q30
P27
Q15617994
USER
Does Seimone Augustus belong to United States of America ?
(Q202823,P27,Q30)
action is_in
entity Q30
action find
entity Q202823
relation P27
['Q202823', 'P27', 'Q30']
ASK WHERE { resource:Q202823 property:P27 resource:Q30 }
Seimone Augustus United States of America
action is_in
entity United States of America
action find
entity Seimone Augustus
relation country of citizenship
['Seimone Augustus', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Seimone_Augustus property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q202823,P27,Q30)
action is_in
entity Q30
action find
entity Q202823
relation P27
[ANSWER]
['Q202823', 'P27', 'Q30']
ASK WHERE { resource:Q202823 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Seimone Augustus
relation country of citizenship
['Seimone Augustus', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Seimone_Augustus property:country_of_citizenship resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2823148 Q43
P6 P22
Q502895
USER
Which people have Turkey as their heads of government or were the father of Ashot the Swift ?
OR((Q43,P6,c(Q502895)), (Q2823148,P22,c(Q502895)))
action filter_type
action union
action find
entity Q43
relation P6
action find
entity Q2823148
relation P22
type Q502895
{'OR': [['Q43', 'P6', {'concept': 'Q502895'}], ['Q2823148', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . { { resource:Q2823148 property:P22 ?s } UNION { resource:Q43 property:P6 ?s } } }
Ashot the Swift Turkey
action filter_type
action union
action find
entity Turkey
relation head of government
action find
entity Ashot the Swift
relation father
type common name
{'OR': [['Turkey', 'head of government', {'concept': 'common name'}], ['Ashot the Swift', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . { { resource:Ashot_the_Swift property:father ?s } UNION { resource:Turkey property:head_of_government ?s } } }
[]
common name
Q1348747 Q558287 Q208377 Q192634 Q375687 Q366692 Q863496 Q42852 Q243550 Q180280
SYSTEM
Some of them are Erdal İnönü, Yıldırım Akbulut, Tansu Çiller, Bülent Ecevit, Bülend Ulusu, Mesut Yılmaz, Binali Yıldırım, Abdullah Gül, Necmettin Erbakan, Turgut Özal
Q863496 Q366692 Q58198 Q151729 Q39259 Q243550 Q2879199 Q42852 Q375687 Q180280 Q192634 Q558287 Q208377 Q1348747
OR((Q43,P6,c(Q502895)), (Q2823148,P22,c(Q502895)))
action filter_type
action union
action find
entity Q43
relation P6
action find
entity Q2823148
relation P22
type Q502895
[ANSWERS] have Turkey as their heads of government or were the father of Ashot the Swift
{'OR': [['Q43', 'P6', {'concept': 'Q502895'}], ['Q2823148', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . { { resource:Q2823148 property:P22 ?s } UNION { resource:Q43 property:P6 ?s } } }
Binali Yıldırım Mesut Yılmaz Ahmet Davutoğlu Süleyman Demirel Recep Tayyip Erdoğan Necmettin Erbakan Bagrat I of Klarjeti Abdullah Gül Bülend Ulusu Turgut Özal Bülent Ecevit Yıldırım Akbulut Tansu Çiller Erdal İnönü
Erdal İnönü, Yıldırım Akbulut, Tansu Çiller, Bülent Ecevit, Bülend Ulusu, Mesut Yılmaz, Binali Yıldırım, Abdullah Gül, Necmettin Erbakan and Turgut Özal have Turkey as their heads of government or were the father of Ashot the Swift
Erdal İnönü Yıldırım Akbulut Tansu Çiller Bülent Ecevit Bülend Ulusu Mesut Yılmaz Binali Yıldırım Abdullah Gül Necmettin Erbakan Turgut Özal
action filter_type
action union
action find
entity Turkey
relation head of government
action find
entity Ashot the Swift
relation father
type common name
{'OR': [['Turkey', 'head of government', {'concept': 'common name'}], ['Ashot the Swift', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . { { resource:Ashot_the_Swift property:father ?s } UNION { resource:Turkey property:head_of_government ?s } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q786024
P6
Q15617994
USER
Do Stammham have their government headed by those people ?
(Q786024,P6,Q1348747) (Q786024,P6,Q558287) (Q786024,P6,Q208377) (Q786024,P6,Q192634) (Q786024,P6,Q375687) (Q786024,P6,Q366692) (Q786024,P6,Q863496) (Q786024,P6,Q42852) (Q786024,P6,Q243550) (Q786024,P6,Q180280)
action is_in
entity prev_answer
action find
entity Q786024
relation P6
['Q786024', 'P6', 'Q1348747'] ['Q786024', 'P6', 'Q558287'] ['Q786024', 'P6', 'Q208377'] ['Q786024', 'P6', 'Q192634'] ['Q786024', 'P6', 'Q375687'] ['Q786024', 'P6', 'Q366692'] ['Q786024', 'P6', 'Q863496'] ['Q786024', 'P6', 'Q42852'] ['Q786024', 'P6', 'Q243550'] ['Q786024', 'P6', 'Q180280']
ASK WHERE { resource:Q786024 property:P6 ?b . VALUES ( ?b ) { ( resource:Q863496 ) ( resource:Q366692 ) ( resource:Q58198 ) } }
Stammham
action is_in
entity prev_answer
action find
entity Stammham
relation head of government
['Stammham', 'head of government', 'Erdal İnönü'] ['Stammham', 'head of government', 'Yıldırım Akbulut'] ['Stammham', 'head of government', 'Tansu Çiller'] ['Stammham', 'head of government', 'Bülent Ecevit'] ['Stammham', 'head of government', 'Bülend Ulusu'] ['Stammham', 'head of government', 'Mesut Yılmaz'] ['Stammham', 'head of government', 'Binali Yıldırım'] ['Stammham', 'head of government', 'Abdullah Gül'] ['Stammham', 'head of government', 'Necmettin Erbakan'] ['Stammham', 'head of government', 'Turgut Özal']
ASK WHERE { resource:Stammham property:head_of_government ?b . VALUES ( ?b ) { ( resource:Binali_Yıldırım ) ( resource:Mesut_Yılmaz ) ( resource:Ahmet_Davutoğlu ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q786024,P6,Q1348747) (Q786024,P6,Q558287) (Q786024,P6,Q208377) (Q786024,P6,Q192634) (Q786024,P6,Q375687) (Q786024,P6,Q366692) (Q786024,P6,Q863496) (Q786024,P6,Q42852) (Q786024,P6,Q243550) (Q786024,P6,Q180280)
action is_in
entity prev_answer
action find
entity Q786024
relation P6
[ANSWER]
['Q786024', 'P6', 'Q1348747'] ['Q786024', 'P6', 'Q558287'] ['Q786024', 'P6', 'Q208377'] ['Q786024', 'P6', 'Q192634'] ['Q786024', 'P6', 'Q375687'] ['Q786024', 'P6', 'Q366692'] ['Q786024', 'P6', 'Q863496'] ['Q786024', 'P6', 'Q42852'] ['Q786024', 'P6', 'Q243550'] ['Q786024', 'P6', 'Q180280']
ASK WHERE { resource:Q786024 property:P6 ?b . VALUES ( ?b ) { ( resource:Q863496 ) ( resource:Q366692 ) ( resource:Q58198 ) } }
No
action is_in
entity prev_answer
action find
entity Stammham
relation head of government
['Stammham', 'head of government', 'Erdal İnönü'] ['Stammham', 'head of government', 'Yıldırım Akbulut'] ['Stammham', 'head of government', 'Tansu Çiller'] ['Stammham', 'head of government', 'Bülent Ecevit'] ['Stammham', 'head of government', 'Bülend Ulusu'] ['Stammham', 'head of government', 'Mesut Yılmaz'] ['Stammham', 'head of government', 'Binali Yıldırım'] ['Stammham', 'head of government', 'Abdullah Gül'] ['Stammham', 'head of government', 'Necmettin Erbakan'] ['Stammham', 'head of government', 'Turgut Özal']
ASK WHERE { resource:Stammham property:head_of_government ?b . VALUES ( ?b ) { ( resource:Binali_Yıldırım ) ( resource:Mesut_Yılmaz ) ( resource:Ahmet_Davutoğlu ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q11424
USER
Which films did min number of people dub for ?
(c(Q11424),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q11424
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?d ) WHERE { ?c property:P725 ?m . ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q11424 } GROUP BY ?c } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { ?w rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 . ?w property:P725 ?o } GROUP BY ?w } . FILTER ( ?g = ?x ) }
action argmin
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?d ) WHERE { ?c property:voice_actor ?m . ?m rdf:type ontology:common_name . ?c rdf:type ontology:film } GROUP BY ?c } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { ?w rdf:type ontology:film . ?o rdf:type ontology:common_name . ?w property:voice_actor ?o } GROUP BY ?w } . FILTER ( ?g = ?x ) }
[]
common name film
Q943192
SYSTEM
Fantasia
Q943192
(c(Q11424),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q11424
type Q502895
Min number of people dubbed [ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?d ) WHERE { ?c property:P725 ?m . ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q11424 } GROUP BY ?c } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { ?w rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 . ?w property:P725 ?o } GROUP BY ?w } . FILTER ( ?g = ?x ) }
Fantasia
Min number of people dubbed Fantasia
Fantasia
action argmin
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?x ) { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?d ) WHERE { ?c property:voice_actor ?m . ?m rdf:type ontology:common_name . ?c rdf:type ontology:film } GROUP BY ?c } } . { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { ?w rdf:type ontology:film . ?o rdf:type ontology:common_name . ?w property:voice_actor ?o } GROUP BY ?w } . FILTER ( ?g = ?x ) }
[]