Simple Question (Direct)
Simple Question
Q257818
P161
Q502895
USER
Which people starred in Throne of Blood ?
(Q257818,P161,c(Q502895))
action filter_type
action find
entity Q257818
relation P161
type Q502895
['Q257818', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q257818 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Throne of Blood
action filter_type
action find
entity Throne of Blood
relation cast member
type common name
['Throne of Blood', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Throne_of_Blood property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
Q453584 Q922612 Q37001
SYSTEM
Isuzu Yamada, Seiji Miyaguchi, Toshirō Mifune
Q975630 Q453584 Q40070 Q922612 Q1861772 Q37001 Q418778
(Q257818,P161,c(Q502895))
action filter_type
action find
entity Q257818
relation P161
type Q502895
[ANSWERS] starred in Throne of Blood
['Q257818', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q257818 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Minoru Chiaki Isuzu Yamada Takashi Shimura Seiji Miyaguchi Yoshio Inaba Toshirō Mifune Akira Kubo
Isuzu Yamada, Seiji Miyaguchi and Toshirō Mifune starred in Throne of Blood
Isuzu Yamada Seiji Miyaguchi Toshirō Mifune
action filter_type
action find
entity Throne of Blood
relation cast member
type common name
['Throne of Blood', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Throne_of_Blood property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q257818
P57
Q502895
USER
Which person directed Throne of Blood ?
(Q257818,P57,c(Q502895))
action filter_type
action find
entity Q257818
relation P57
type Q502895
['Q257818', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q257818 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Throne of Blood
action filter_type
action find
entity Throne of Blood
relation director
type common name
['Throne of Blood', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Throne_of_Blood property:director ?w . ?w rdf:type ontology:common_name }
[]
common name
Q8006
SYSTEM
Akira Kurosawa
Q8006
(Q257818,P57,c(Q502895))
action filter_type
action find
entity Q257818
relation P57
type Q502895
[ANSWER] directed Throne of Blood
['Q257818', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q257818 property:P57 ?w . ?w rdf:type ontology:Q502895 }
Akira Kurosawa
Akira Kurosawa directed Throne of Blood
Akira Kurosawa
action filter_type
action find
entity Throne of Blood
relation director
type common name
['Throne of Blood', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Throne_of_Blood property:director ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8006 Q17
P551
Q15617994
USER
Was Japan the place of residence of Akira Kurosawa ?
(Q8006,P551,Q17)
action is_in
entity Q17
action find
entity Q8006
relation P551
['Q8006', 'P551', 'Q17']
ASK WHERE { resource:Q8006 property:P551 resource:Q17 }
Akira Kurosawa Japan
action is_in
entity Japan
action find
entity Akira Kurosawa
relation residence
['Akira Kurosawa', 'residence', 'Japan']
ASK WHERE { resource:Akira_Kurosawa property:residence resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q8006,P551,Q17)
action is_in
entity Q17
action find
entity Q8006
relation P551
[ANSWER]
['Q8006', 'P551', 'Q17']
ASK WHERE { resource:Q8006 property:P551 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity Akira Kurosawa
relation residence
['Akira Kurosawa', 'residence', 'Japan']
ASK WHERE { resource:Akira_Kurosawa property:residence resource:Japan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8006
P21
Q290
USER
Which sex does that person belong to ?
action filter_type
action find
entity Q8006
relation P21
type Q290
SELECT DISTINCT ?y WHERE { resource:Q8006 property:P21 ?y . ?y rdf:type ontology:Q290 }
Akira Kurosawa
action filter_type
action find
entity Akira Kurosawa
relation gender
type sex
SELECT DISTINCT ?y WHERE { resource:Akira_Kurosawa property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q8006
relation P21
type Q290
That person belongs to [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q8006 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Akira Kurosawa
relation gender
type sex
SELECT DISTINCT ?y WHERE { resource:Akira_Kurosawa property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8006
P551
Q15617994
USER
How many administrative territories did Akira Kurosawa reside ?
(Q8006,P551,c(Q15617994))
action count
action filter_type
action find
entity Q8006
relation P551
type Q15617994
['Q8006', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q8006 property:P551 ?p . ?p rdf:type ontology:Q15617994 }
Akira Kurosawa
action count
action filter_type
action find
entity Akira Kurosawa
relation residence
type designation for an administrative territorial entity
['Akira Kurosawa', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Akira_Kurosawa property:residence ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q8006,P551,c(Q15617994))
action count
action filter_type
action find
entity Q8006
relation P551
type Q15617994
[ANSWER]
['Q8006', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q8006 property:P551 ?p . ?p rdf:type ontology:Q15617994 }
Japan
1
action count
action filter_type
action find
entity Akira Kurosawa
relation residence
type designation for an administrative territorial entity
['Akira Kurosawa', 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Akira_Kurosawa property:residence ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q19361970
Q15617994
USER
And what about Russel O'Farrell?
(Q19361970,P551,c(Q15617994))
action count
action filter_type
action find
entity Q19361970
relation P551
type Q15617994
['Q19361970', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q19361970 property:P551 ?l }
Russel O'Farrell
action count
action filter_type
action find
entity Russel O'Farrell
relation residence
type designation for an administrative territorial entity
["Russel O'Farrell", 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Russel_O'Farrell property:residence ?l }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q19361970,P551,c(Q15617994))
action count
action filter_type
action find
entity Q19361970
relation P551
type Q15617994
[ANSWER]
['Q19361970', 'P551', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q19361970 property:P551 ?l }
1
action count
action filter_type
action find
entity Russel O'Farrell
relation residence
type designation for an administrative territorial entity
["Russel O'Farrell", 'residence', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Russel_O'Farrell property:residence ?l }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2834871 Q922612
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Seiji Miyaguchi or Mauricio Peña ?
OR((Q922612,P27,c(Q15617994)), (Q2834871,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q922612
relation P27
action find
entity Q2834871
relation P27
type Q15617994
{'OR': [['Q922612', 'P27', {'concept': 'Q15617994'}], ['Q2834871', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q922612 property:P27 ?v } UNION { resource:Q2834871 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Mauricio Peña Seiji Miyaguchi
action filter_type
action union
action find
entity Seiji Miyaguchi
relation country of citizenship
action find
entity Mauricio Peña
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Seiji Miyaguchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mauricio Peña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Seiji_Miyaguchi property:country_of_citizenship ?v } UNION { resource:Mauricio_Peña property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q96
SYSTEM
Japan, Mexico
Q17 Q96
OR((Q922612,P27,c(Q15617994)), (Q2834871,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q922612
relation P27
action find
entity Q2834871
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Seiji Miyaguchi or Mauricio Peña
{'OR': [['Q922612', 'P27', {'concept': 'Q15617994'}], ['Q2834871', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q922612 property:P27 ?v } UNION { resource:Q2834871 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Japan Mexico
Japan and Mexico are the countries of citizenship of Seiji Miyaguchi or Mauricio Peña
Japan Mexico
action filter_type
action union
action find
entity Seiji Miyaguchi
relation country of citizenship
action find
entity Mauricio Peña
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Seiji Miyaguchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mauricio Peña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Seiji_Miyaguchi property:country_of_citizenship ?v } UNION { resource:Mauricio_Peña property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2834871
P509
Q2057971
USER
What caused the death of Mauricio Peña?
(Q17,P509,c(Q2057971)) (Q96,P509,c(Q2057971))
action filter_type
action find
entity Q2834871
relation P509
type Q2057971
['Q17', 'P509', {'concept': 'Q2057971'}] ['Q96', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2057971 . resource:Q2834871 property:P509 ?i }
Mauricio Peña
action filter_type
action find
entity Mauricio Peña
relation cause of death
type health problem
['Japan', 'cause of death', {'concept': 'health problem'}] ['Mexico', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:health_problem . resource:Mauricio_Peña property:cause_of_death ?i }
[]
health problem
Q206901
SYSTEM
amyotrophic lateral sclerosis
Q206901
(Q17,P509,c(Q2057971)) (Q96,P509,c(Q2057971))
action filter_type
action find
entity Q2834871
relation P509
type Q2057971
The [ANSWER] caused the death of Mauricio Peña
['Q17', 'P509', {'concept': 'Q2057971'}] ['Q96', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2057971 . resource:Q2834871 property:P509 ?i }
amyotrophic lateral sclerosis
The amyotrophic lateral sclerosis caused the death of Mauricio Peña
amyotrophic lateral sclerosis
action filter_type
action find
entity Mauricio Peña
relation cause of death
type health problem
['Japan', 'cause of death', {'concept': 'health problem'}] ['Mexico', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:health_problem . resource:Mauricio_Peña property:cause_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2834871
P641
Q349
USER
Which sport was that person a part of ?
(Q206901,P641,c(Q349))
action filter_type
action find
entity Q2834871
relation P641
type Q349
['Q206901', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q2834871 property:P641 ?b . ?b rdf:type ontology:Q349 }
Mauricio Peña
action filter_type
action find
entity Mauricio Peña
relation sport
type sport
['amyotrophic lateral sclerosis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Mauricio_Peña property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q206901,P641,c(Q349))
action filter_type
action find
entity Q2834871
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q206901', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q2834871 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Mauricio Peña
relation sport
type sport
['amyotrophic lateral sclerosis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Mauricio_Peña property:sport ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2834871
P1412
Q34770
USER
Which language is spoken by that person ?
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q2834871
relation P1412
type Q34770
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q2834871 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Mauricio Peña
action filter_type
action find
entity Mauricio Peña
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Mauricio_Peña property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q2834871
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q2834871 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Mauricio Peña
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Mauricio_Peña property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q2424752 Q334453
USER
Which people are the chief executive officer of around 1 products or divisions ?
(c(Q2424752)|c(Q334453),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2424752
action find_reverse_tuple_counts
relation P169
type Q502895
type Q334453
value 1
[[{'concept': 'Q2424752'}, {'concept': 'Q334453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?p WHERE { { ?b property:P169 ?p . ?p rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2424752 } UNION { ?b rdf:type ontology:Q334453 . ?p rdf:type ontology:Q502895 . ?b property:P169 ?p } } GROUP BY ?p } . FILTER ( ?x = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type product
action find_reverse_tuple_counts
relation chief executive officer
type common name
type division
value 1
[[{'concept': 'product'}, {'concept': 'division'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?p WHERE { { ?b property:chief_executive_officer ?p . ?p rdf:type ontology:common_name . ?b rdf:type ontology:product } UNION { ?b rdf:type ontology:division . ?p rdf:type ontology:common_name . ?b property:chief_executive_officer ?p } } GROUP BY ?p } . FILTER ( ?x = 1 ) }
[]
common name product division
Q429046 Q491580 Q1608491
SYSTEM
Jay Park, Eric Mun, Mike Davis
Q11898683 Q491580 Q429046 Q12588013 Q5214356 Q7608947 Q1608491 Q12606246 Q186601 Q2756226 Q6307615 Q10321870
(c(Q2424752)|c(Q334453),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2424752
action find_reverse_tuple_counts
relation P169
type Q502895
type Q334453
value 1
[ANSWERS] are the chief executive officer of around 1 products or divisions
[[{'concept': 'Q2424752'}, {'concept': 'Q334453'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?p WHERE { { ?b property:P169 ?p . ?p rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2424752 } UNION { ?b rdf:type ontology:Q334453 . ?p rdf:type ontology:Q502895 . ?b property:P169 ?p } } GROUP BY ?p } . FILTER ( ?x = 1 ) }
Tuomo Saikkonen Eric Mun Jay Park Kim Youngmin Dan Schulman Stephen Cooper Mike Davis Yang Min-suk Lee Min-woo Simon Dominic Julian Stone Lyor Cohen
Jay Park, Eric Mun and Mike Davis are the chief executive officer of around 1 products or divisions
Jay Park Eric Mun Mike Davis
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type product
action find_reverse_tuple_counts
relation chief executive officer
type common name
type division
value 1
[[{'concept': 'product'}, {'concept': 'division'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?p WHERE { { ?b property:chief_executive_officer ?p . ?p rdf:type ontology:common_name . ?b rdf:type ontology:product } UNION { ?b rdf:type ontology:division . ?p rdf:type ontology:common_name . ?b property:chief_executive_officer ?p } } GROUP BY ?p } . FILTER ( ?x = 1 ) }
[]