Simple Question (Direct)
Simple Question
Q11399306
P106
Q12737077
USER
Which occupations are the professions of Masayuki Katō ?
(Q11399306,P106,c(Q12737077))
action filter_type
action find
entity Q11399306
relation P106
type Q12737077
['Q11399306', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q11399306 property:P106 ?j }
Masayuki Katō
action filter_type
action find
entity Masayuki Katō
relation occupation
type occupation
['Masayuki Katō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Masayuki_Katō property:occupation ?j }
[]
occupation
Q33999 Q622807
SYSTEM
actor, seiyū
Q33999 Q622807
(Q11399306,P106,c(Q12737077))
action filter_type
action find
entity Q11399306
relation P106
type Q12737077
The professions of Masayuki Katō are an [ANSWERS]
['Q11399306', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q11399306 property:P106 ?j }
actor seiyū
The professions of Masayuki Katō are an actor and seiyū
actor seiyū
action filter_type
action find
entity Masayuki Katō
relation occupation
type occupation
['Masayuki Katō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Masayuki_Katō property:occupation ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11399306
P172
Q2472587
USER
Which people does Masayuki Katō have as ethnic origin ?
(Q11399306,P172,c(Q2472587))
action filter_type
action find
entity Q11399306
relation P172
type Q2472587
['Q11399306', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2472587 . resource:Q11399306 property:P172 ?u }
Masayuki Katō
action filter_type
action find
entity Masayuki Katō
relation ethnic group
type people
['Masayuki Katō', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:people . resource:Masayuki_Katō property:ethnic_group ?u }
[]
people
Q161652
SYSTEM
Japanese people
Q161652
(Q11399306,P172,c(Q2472587))
action filter_type
action find
entity Q11399306
relation P172
type Q2472587
Masayuki Katō has identified [ANSWER] as ethnic origin
['Q11399306', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2472587 . resource:Q11399306 property:P172 ?u }
Japanese people
Masayuki Katō has identified Japanese people as ethnic origin
Japanese people
action filter_type
action find
entity Masayuki Katō
relation ethnic group
type people
['Masayuki Katō', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:people . resource:Masayuki_Katō property:ethnic_group ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11399306
P734
Q82799
USER
Who has the surname Masayuki Katō ?
(Q11399306,P734,c(Q82799))
action filter_type
action find
entity Q11399306
relation P734
type Q82799
['Q11399306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q11399306 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Masayuki Katō
action filter_type
action find
entity Masayuki Katō
relation family name
type name
['Masayuki Katō', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Masayuki_Katō property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q15985375
SYSTEM
Kato
Q15985375
(Q11399306,P734,c(Q82799))
action filter_type
action find
entity Q11399306
relation P734
type Q82799
To [ANSWER] has the surname Masayuki Katō
['Q11399306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q11399306 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Kato
To Kato has the surname Masayuki Katō
Kato
action filter_type
action find
entity Masayuki Katō
relation family name
type name
['Masayuki Katō', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Masayuki_Katō property:family_name ?x . ?x rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16264509
Q82799
USER
And how about Tomomi Uchida?
(Q16264509,P734,c(Q82799))
action filter_type
action find
entity Q16264509
relation P734
type Q82799
['Q16264509', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q16264509 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Tomomi Uchida
action filter_type
action find
entity Tomomi Uchida
relation family name
type name
['Tomomi Uchida', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Tomomi_Uchida property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q21450181
SYSTEM
Uchida
Q21450181
(Q16264509,P734,c(Q82799))
action filter_type
action find
entity Q16264509
relation P734
type Q82799
[ANSWER]
['Q16264509', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q16264509 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Uchida
Uchida
action filter_type
action find
entity Tomomi Uchida
relation family name
type name
['Tomomi Uchida', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Tomomi_Uchida property:family_name ?q . ?q rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1846372 Q11399306
P27 P17
Q15617994
USER
Which administrative territories are Masayuki Katō an inhabitant of or are Federal Public Service present in ?
OR((Q11399306,P27,c(Q15617994)), (Q1846372,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11399306
relation P27
action find
entity Q1846372
relation P17
type Q15617994
{'OR': [['Q11399306', 'P27', {'concept': 'Q15617994'}], ['Q1846372', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1846372 property:P17 ?v } UNION { resource:Q11399306 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Federal Public Service Masayuki Katō
action filter_type
action union
action find
entity Masayuki Katō
relation country of citizenship
action find
entity Federal Public Service
relation country
type designation for an administrative territorial entity
{'OR': [['Masayuki Katō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Federal Public Service', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Federal_Public_Service property:country ?v } UNION { resource:Masayuki_Katō property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q31
SYSTEM
Japan, Belgium
Q17 Q31
OR((Q11399306,P27,c(Q15617994)), (Q1846372,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11399306
relation P27
action find
entity Q1846372
relation P17
type Q15617994
[ANSWERS] are Masayuki Katō an inhabitant of or are Federal Public Service present in
{'OR': [['Q11399306', 'P27', {'concept': 'Q15617994'}], ['Q1846372', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1846372 property:P17 ?v } UNION { resource:Q11399306 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Japan Belgium
Japan and Belgium are Masayuki Katō an inhabitant of or are Federal Public Service present in
Japan Belgium
action filter_type
action union
action find
entity Masayuki Katō
relation country of citizenship
action find
entity Federal Public Service
relation country
type designation for an administrative territorial entity
{'OR': [['Masayuki Katō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Federal Public Service', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Federal_Public_Service property:country ?v } UNION { resource:Masayuki_Katō property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2122270 Q11399306
P27 P17
Q15617994
USER
Which administrative territories are Masayuki Katō an inhabitant of or are Quantum Sports Cars present in ?
OR((Q11399306,P27,c(Q15617994)), (Q2122270,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11399306
relation P27
action find
entity Q2122270
relation P17
type Q15617994
{'OR': [['Q11399306', 'P27', {'concept': 'Q15617994'}], ['Q2122270', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2122270 property:P17 ?x } UNION { resource:Q11399306 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Quantum Sports Cars Masayuki Katō
action filter_type
action union
action find
entity Masayuki Katō
relation country of citizenship
action find
entity Quantum Sports Cars
relation country
type designation for an administrative territorial entity
{'OR': [['Masayuki Katō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Quantum Sports Cars', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Quantum_Sports_Cars property:country ?x } UNION { resource:Masayuki_Katō property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q145
SYSTEM
Japan, United Kingdom
Q17 Q145
OR((Q11399306,P27,c(Q15617994)), (Q2122270,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q11399306
relation P27
action find
entity Q2122270
relation P17
type Q15617994
[ANSWERS] are Masayuki Katō an inhabitant of or are Quantum Sports Cars present in
{'OR': [['Q11399306', 'P27', {'concept': 'Q15617994'}], ['Q2122270', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q2122270 property:P17 ?x } UNION { resource:Q11399306 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Japan United Kingdom
Japan and United Kingdom are Masayuki Katō an inhabitant of or are Quantum Sports Cars present in
Japan United Kingdom
action filter_type
action union
action find
entity Masayuki Katō
relation country of citizenship
action find
entity Quantum Sports Cars
relation country
type designation for an administrative territorial entity
{'OR': [['Masayuki Katō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Quantum Sports Cars', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Quantum_Sports_Cars property:country ?x } UNION { resource:Masayuki_Katō property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1005787
P17
Q16510064
USER
Are Judo at the 2012 Summer Olympics – Men's 81 kg present in those administrative territories ?
(Q1005787,P17,Q17) (Q1005787,P17,Q145)
action is_in
entity prev_answer
action find
entity Q1005787
relation P17
['Q1005787', 'P17', 'Q17'] ['Q1005787', 'P17', 'Q145']
ASK WHERE { VALUES ( ?g ) { ( resource:Q17 ) ( resource:Q145 ) } . resource:Q1005787 property:P17 ?g }
Judo at the 2012 Summer Olympics – Men's 81 kg
action is_in
entity prev_answer
action find
entity Judo at the 2012 Summer Olympics – Men's 81 kg
relation country
["Judo at the 2012 Summer Olympics – Men's 81 kg", 'country', 'Japan'] ["Judo at the 2012 Summer Olympics – Men's 81 kg", 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?g ) { ( resource:Japan ) ( resource:United_Kingdom ) } . resource:Judo_at_the_2012_Summer_Olympics_–_Men's_81_kg property:country ?g }
[]
sporting event
SYSTEM
YES
(Q1005787,P17,Q17) (Q1005787,P17,Q145)
action is_in
entity prev_answer
action find
entity Q1005787
relation P17
[ANSWER]
['Q1005787', 'P17', 'Q17'] ['Q1005787', 'P17', 'Q145']
ASK WHERE { VALUES ( ?g ) { ( resource:Q17 ) ( resource:Q145 ) } . resource:Q1005787 property:P17 ?g }
Yes
action is_in
entity prev_answer
action find
entity Judo at the 2012 Summer Olympics – Men's 81 kg
relation country
["Judo at the 2012 Summer Olympics – Men's 81 kg", 'country', 'Japan'] ["Judo at the 2012 Summer Olympics – Men's 81 kg", 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?g ) { ( resource:Japan ) ( resource:United_Kingdom ) } . resource:Judo_at_the_2012_Summer_Olympics_–_Men's_81_kg property:country ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11399306
P19
Q56061
USER
Which administrative territory was Masayuki Katō born at ?
(Q11399306,P19,c(Q56061))
action filter_type
action find
entity Q11399306
relation P19
type Q56061
['Q11399306', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q11399306 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Masayuki Katō
action filter_type
action find
entity Masayuki Katō
relation place of birth
type administrative territorial entity
['Masayuki Katō', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Masayuki_Katō property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q516373
SYSTEM
Kokura
Q516373
(Q11399306,P19,c(Q56061))
action filter_type
action find
entity Q11399306
relation P19
type Q56061
Masayuki Katō was born in [ANSWER]
['Q11399306', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q11399306 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Kokura
Masayuki Katō was born in Kokura
Kokura
action filter_type
action find
entity Masayuki Katō
relation place of birth
type administrative territorial entity
['Masayuki Katō', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Masayuki_Katō property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17495983
Q56061
USER
And also tell me about Rajashree Warrier?
(Q17495983,P19,c(Q56061))
action filter_type
action find
entity Q17495983
relation P19
type Q56061
['Q17495983', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q17495983 property:P19 ?v }
Rajashree Warrier
action filter_type
action find
entity Rajashree Warrier
relation place of birth
type administrative territorial entity
['Rajashree Warrier', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Rajashree_Warrier property:place_of_birth ?v }
[]
administrative territorial entity
Q167715
SYSTEM
Thiruvananthapuram
Q167715
(Q17495983,P19,c(Q56061))
action filter_type
action find
entity Q17495983
relation P19
type Q56061
[ANSWER]
['Q17495983', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q17495983 property:P19 ?v }
Thiruvananthapuram
Thiruvananthapuram
action filter_type
action find
entity Rajashree Warrier
relation place of birth
type administrative territorial entity
['Rajashree Warrier', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Rajashree_Warrier property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17495983
P21
Q290
USER
Which sex does that person belong to ?
(Q167715,P21,c(Q290))
action filter_type
action find
entity Q17495983
relation P21
type Q290
['Q167715', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q17495983 property:P21 ?q }
Rajashree Warrier
action filter_type
action find
entity Rajashree Warrier
relation gender
type sex
['Thiruvananthapuram', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Rajashree_Warrier property:gender ?q }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q167715,P21,c(Q290))
action filter_type
action find
entity Q17495983
relation P21
type Q290
That person belongs to [ANSWER]
['Q167715', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q17495983 property:P21 ?q }
female
That person belongs to female
female
action filter_type
action find
entity Rajashree Warrier
relation gender
type sex
['Thiruvananthapuram', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Rajashree_Warrier property:gender ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q39546 Q2221906 Q82799
USER
How many names have approximately 1 tools and geographic locations as their namesake ?
(c(Q82799),P138,c(Q39546)|c(Q2221906))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q2221906
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:P138 ?u . ?t rdf:type ontology:Q82799 . ?u rdf:type ontology:Q39546 } UNION { ?t property:P138 ?u . ?t rdf:type ontology:Q82799 . ?u rdf:type ontology:Q2221906 } } GROUP BY ?t } }
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type geographic location
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:named_after ?u . ?t rdf:type ontology:name . ?u rdf:type ontology:tool } UNION { ?t property:named_after ?u . ?t rdf:type ontology:name . ?u rdf:type ontology:geographic_location } } GROUP BY ?t } }
[]
tool geographic location name
SYSTEM
4
Q25058808 Q21493520 Q17625919 Q22922124
(c(Q82799),P138,c(Q39546)|c(Q2221906))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:P138 ?u . ?t rdf:type ontology:Q82799 . ?u rdf:type ontology:Q39546 } UNION { ?t property:P138 ?u . ?t rdf:type ontology:Q82799 . ?u rdf:type ontology:Q2221906 } } GROUP BY ?t } }
Dumoulin Bergmann Du Moulin von Mecklenburg-Schwerin
4
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type geographic location
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:named_after ?u . ?t rdf:type ontology:name . ?u rdf:type ontology:tool } UNION { ?t property:named_after ?u . ?t rdf:type ontology:name . ?u rdf:type ontology:geographic_location } } GROUP BY ?t } }
[]