Simple Question (Direct)
Simple Question
Q325903
P21
Q290
USER
What is the sex of Yasuo Tanaka ?
(Q325903,P21,c(Q290))
action filter_type
action find
entity Q325903
relation P21
type Q290
['Q325903', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q325903 property:P21 ?e }
Yasuo Tanaka
action filter_type
action find
entity Yasuo Tanaka
relation gender
type sex
['Yasuo Tanaka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Yasuo_Tanaka property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q325903,P21,c(Q290))
action filter_type
action find
entity Q325903
relation P21
type Q290
The sex of Yasuo Tanaka is a [ANSWER]
['Q325903', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q325903 property:P21 ?e }
male
The sex of Yasuo Tanaka is a male
male
action filter_type
action find
entity Yasuo Tanaka
relation gender
type sex
['Yasuo Tanaka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:Yasuo_Tanaka property:gender ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325903
P138
Q17444909
USER
Which astronomical object type is named after Yasuo Tanaka ?
(c(Q17444909),P138,Q325903)
action filter_type
action find_reverse
entity Q325903
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q325903']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q17444909 . ?u property:P138 resource:Q325903 }
Yasuo Tanaka
action filter_type
action find_reverse
entity Yasuo Tanaka
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Yasuo Tanaka']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:astronomical_object_type . ?u property:named_after resource:Yasuo_Tanaka }
[]
astronomical object type
Q153883
SYSTEM
4387 Tanaka
Q153883
(c(Q17444909),P138,Q325903)
action filter_type
action find_reverse
entity Q325903
relation P138
type Q17444909
[ANSWER] is named after Yasuo Tanaka
[{'concept': 'Q17444909'}, 'P138', 'Q325903']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q17444909 . ?u property:P138 resource:Q325903 }
4387 Tanaka
4387 Tanaka is named after Yasuo Tanaka
4387 Tanaka
action filter_type
action find_reverse
entity Yasuo Tanaka
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Yasuo Tanaka']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:astronomical_object_type . ?u property:named_after resource:Yasuo_Tanaka }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325903
P108
Q3918
USER
Which university is the employer of Yasuo Tanaka ?
(Q325903,P108,c(Q3918))
action filter_type
action find
entity Q325903
relation P108
type Q3918
['Q325903', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3918 . resource:Q325903 property:P108 ?u }
Yasuo Tanaka
action filter_type
action find
entity Yasuo Tanaka
relation employer
type university
['Yasuo Tanaka', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:university . resource:Yasuo_Tanaka property:employer ?u }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q325903,P108,c(Q3918))
action filter_type
action find
entity Q325903
relation P108
type Q3918
Tokyo [ANSWER] is the employer of Yasuo Tanaka
['Q325903', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3918 . resource:Q325903 property:P108 ?u }
University of Tokyo
Tokyo University of Tokyo is the employer of Yasuo Tanaka
University of Tokyo
action filter_type
action find
entity Yasuo Tanaka
relation employer
type university
['Yasuo Tanaka', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:university . resource:Yasuo_Tanaka property:employer ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325903
P27
Q15617994
USER
Which administrative territory is Yasuo Tanaka a civilian of ?
(Q325903,P27,c(Q15617994))
action filter_type
action find
entity Q325903
relation P27
type Q15617994
['Q325903', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q325903 property:P27 ?p }
Yasuo Tanaka
action filter_type
action find
entity Yasuo Tanaka
relation country of citizenship
type designation for an administrative territorial entity
['Yasuo Tanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yasuo_Tanaka property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q325903,P27,c(Q15617994))
action filter_type
action find
entity Q325903
relation P27
type Q15617994
The [ANSWER] is Yasuo Tanaka a civilian of
['Q325903', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q325903 property:P27 ?p }
Japan
The Japan is Yasuo Tanaka a civilian of
Japan
action filter_type
action find
entity Yasuo Tanaka
relation country of citizenship
type designation for an administrative territorial entity
['Yasuo Tanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Yasuo_Tanaka property:country_of_citizenship ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q43229 Q874405
USER
How many organizations or social groups were that administrative territory a member of ?
(Q17,P463,c(Q43229)) (Q17,P463,c(Q874405)) (Q17,P463,c(Q43229)) (Q17,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q43229
action filter_type
action find
entity Q17
relation P463
type Q874405
['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q874405'}] ['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } }
action count
action union
action filter_type
action find
entity Japan
relation member of
type organization
action filter_type
action find
entity Japan
relation member of
type social group
['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'social group'}] ['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:social_group ) ( ontology:organization ) } }
[]
organization social group
SYSTEM
9
Q340195 Q191384 Q899770 Q41550 Q782942 Q656801 Q7825 Q170481 Q827525
(Q17,P463,c(Q43229)) (Q17,P463,c(Q874405)) (Q17,P463,c(Q43229)) (Q17,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q43229
action filter_type
action find
entity Q17
relation P463
type Q874405
[ANSWER]
['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q874405'}] ['Q17', 'P463', {'concept': 'Q43229'}] ['Q17', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Australia Group International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
9
action count
action union
action filter_type
action find
entity Japan
relation member of
type organization
action filter_type
action find
entity Japan
relation member of
type social group
['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'social group'}] ['Japan', 'member of', {'concept': 'organization'}] ['Japan', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ?d . VALUES ( ?d ) { ( ontology:social_group ) ( ontology:organization ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q325903
P734
Q82799
USER
Who has the surname Yasuo Tanaka ?
(Q325903,P734,c(Q82799))
action filter_type
action find
entity Q325903
relation P734
type Q82799
['Q325903', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q325903 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Yasuo Tanaka
action filter_type
action find
entity Yasuo Tanaka
relation family name
type name
['Yasuo Tanaka', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Yasuo_Tanaka property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q12159869
SYSTEM
Tanaka
Q12159869
(Q325903,P734,c(Q82799))
action filter_type
action find
entity Q325903
relation P734
type Q82799
To [ANSWER] has the surname Yasuo [ANSWER]
['Q325903', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q325903 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Tanaka
To Tanaka has the surname Yasuo Tanaka
Tanaka
action filter_type
action find
entity Yasuo Tanaka
relation family name
type name
['Yasuo Tanaka', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Yasuo_Tanaka property:family_name ?d . ?d rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q12159869 Q11575617
P734
Q502895
USER
Does Keiko Tanaka have that one as last name ?
(Q11575617,P734,Q12159869)
action is_in
entity Q12159869
action find
entity Q11575617
relation P734
['Q11575617', 'P734', 'Q12159869']
ASK WHERE { resource:Q11575617 property:P734 resource:Q12159869 }
Tanaka Keiko Tanaka
action is_in
entity Tanaka
action find
entity Keiko Tanaka
relation family name
['Keiko Tanaka', 'family name', 'Tanaka']
ASK WHERE { resource:Keiko_Tanaka property:family_name resource:Tanaka }
[]
common name
SYSTEM
YES
(Q11575617,P734,Q12159869)
action is_in
entity Q12159869
action find
entity Q11575617
relation P734
[ANSWER]
['Q11575617', 'P734', 'Q12159869']
ASK WHERE { resource:Q11575617 property:P734 resource:Q12159869 }
Yes
action is_in
entity Tanaka
action find
entity Keiko Tanaka
relation family name
['Keiko Tanaka', 'family name', 'Tanaka']
ASK WHERE { resource:Keiko_Tanaka property:family_name resource:Tanaka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q153883 Q5335043 Q312255
P61
Q502895
USER
Was 4387 Tanaka invented or discovered by Ed Klieman and Tom Gehrels ?
(Q153883,P61,Q5335043) (Q153883,P61,Q312255)
action is_in
entity Q153883
action intersection
action find_reverse
entity Q5335043
relation P61
action find_reverse
entity Q312255
relation P61
['Q153883', 'P61', 'Q5335043'] ['Q153883', 'P61', 'Q312255']
ASK WHERE { resource:Q153883 property:P61 resource:Q5335043 . resource:Q153883 property:P61 resource:Q312255 }
4387 Tanaka Ed Klieman Tom Gehrels
action is_in
entity 4387 Tanaka
action intersection
action find_reverse
entity Ed Klieman
relation discoverer or inventor
action find_reverse
entity Tom Gehrels
relation discoverer or inventor
['4387 Tanaka', 'discoverer or inventor', 'Ed Klieman'] ['4387 Tanaka', 'discoverer or inventor', 'Tom Gehrels']
ASK WHERE { resource:4387_Tanaka property:discoverer_or_inventor resource:Ed_Klieman . resource:4387_Tanaka property:discoverer_or_inventor resource:Tom_Gehrels }
[]
common name
SYSTEM
NO and YES respectively
(Q153883,P61,Q5335043) (Q153883,P61,Q312255)
action is_in
entity Q153883
action intersection
action find_reverse
entity Q5335043
relation P61
action find_reverse
entity Q312255
relation P61
[ANSWER]
['Q153883', 'P61', 'Q5335043'] ['Q153883', 'P61', 'Q312255']
ASK WHERE { resource:Q153883 property:P61 resource:Q5335043 . resource:Q153883 property:P61 resource:Q312255 }
NO and YES respectively
action is_in
entity 4387 Tanaka
action intersection
action find_reverse
entity Ed Klieman
relation discoverer or inventor
action find_reverse
entity Tom Gehrels
relation discoverer or inventor
['4387 Tanaka', 'discoverer or inventor', 'Ed Klieman'] ['4387 Tanaka', 'discoverer or inventor', 'Tom Gehrels']
ASK WHERE { resource:4387_Tanaka property:discoverer_or_inventor resource:Ed_Klieman . resource:4387_Tanaka property:discoverer_or_inventor resource:Tom_Gehrels }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153883
P196
Q6999
USER
Which astronomical object is known as the minor planet group of that astronomical object type ?
action filter_type
action find
entity Q153883
relation P196
type Q6999
SELECT DISTINCT ?r WHERE { resource:Q153883 property:P196 ?r . ?r rdf:type ontology:Q6999 }
4387 Tanaka
action filter_type
action find
entity 4387 Tanaka
relation minor planet group
type astronomical object
SELECT DISTINCT ?r WHERE { resource:4387_Tanaka property:minor_planet_group ?r . ?r rdf:type ontology:astronomical_object }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
action filter_type
action find
entity Q153883
relation P196
type Q6999
[ANSWER] is known as the minor planet group of that astronomical object type
SELECT DISTINCT ?r WHERE { resource:Q153883 property:P196 ?r . ?r rdf:type ontology:Q6999 }
asteroid belt
Asteroid belt is known as the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 4387 Tanaka
relation minor planet group
type astronomical object
SELECT DISTINCT ?r WHERE { resource:4387_Tanaka property:minor_planet_group ?r . ?r rdf:type ontology:astronomical_object }
[]