Simple Question (Direct)
Simple Question
Q3534600
P1344
Q18608583
USER
Which recurring sporting events did Bajrang Lal Takhar participate in ?
(Q3534600,P1344,c(Q18608583))
action filter_type
action find
entity Q3534600
relation P1344
type Q18608583
['Q3534600', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?c WHERE { resource:Q3534600 property:P1344 ?c . ?c rdf:type ontology:Q18608583 }
Bajrang Lal Takhar
action filter_type
action find
entity Bajrang Lal Takhar
relation participant of
type recurring sporting event
['Bajrang Lal Takhar', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?c WHERE { resource:Bajrang_Lal_Takhar property:participant_of ?c . ?c rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q495366 Q329679 Q244322
SYSTEM
2014 Asian Games, 2006 Asian Games, 2010 Asian Games
Q495366 Q329679 Q244322
(Q3534600,P1344,c(Q18608583))
action filter_type
action find
entity Q3534600
relation P1344
type Q18608583
Bajrang Lal Takhar participated in [ANSWERS]
['Q3534600', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?c WHERE { resource:Q3534600 property:P1344 ?c . ?c rdf:type ontology:Q18608583 }
2014 Asian Games 2006 Asian Games 2010 Asian Games
Bajrang Lal Takhar participated in 2014 Asian Games, 2006 Asian Games and 2010 Asian Games
2014 Asian Games 2006 Asian Games 2010 Asian Games
action filter_type
action find
entity Bajrang Lal Takhar
relation participant of
type recurring sporting event
['Bajrang Lal Takhar', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?c WHERE { resource:Bajrang_Lal_Takhar property:participant_of ?c . ?c rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3534600
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q495366,P19,c(Q56061)) (Q329679,P19,c(Q56061)) (Q244322,P19,c(Q56061))
action filter_type
action find
entity Q3534600
relation P19
type Q56061
['Q495366', 'P19', {'concept': 'Q56061'}] ['Q329679', 'P19', {'concept': 'Q56061'}] ['Q244322', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3534600 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Bajrang Lal Takhar
action filter_type
action find
entity Bajrang Lal Takhar
relation place of birth
type administrative territorial entity
['2014 Asian Games', 'place of birth', {'concept': 'administrative territorial entity'}] ['2006 Asian Games', 'place of birth', {'concept': 'administrative territorial entity'}] ['2010 Asian Games', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bajrang_Lal_Takhar property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33334
SYSTEM
Sikar
Q33334
(Q495366,P19,c(Q56061)) (Q329679,P19,c(Q56061)) (Q244322,P19,c(Q56061))
action filter_type
action find
entity Q3534600
relation P19
type Q56061
That person was born in [ANSWER]
['Q495366', 'P19', {'concept': 'Q56061'}] ['Q329679', 'P19', {'concept': 'Q56061'}] ['Q244322', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3534600 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Sikar
That person was born in Sikar
Sikar
action filter_type
action find
entity Bajrang Lal Takhar
relation place of birth
type administrative territorial entity
['2014 Asian Games', 'place of birth', {'concept': 'administrative territorial entity'}] ['2006 Asian Games', 'place of birth', {'concept': 'administrative territorial entity'}] ['2010 Asian Games', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Bajrang_Lal_Takhar property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3534600
P166
Q618779
USER
What was won by that person ?
(Q33334,P166,c(Q618779))
action filter_type
action find
entity Q3534600
relation P166
type Q618779
['Q33334', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q618779 . resource:Q3534600 property:P166 ?g }
Bajrang Lal Takhar
action filter_type
action find
entity Bajrang Lal Takhar
relation award received
type award
['Sikar', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:award . resource:Bajrang_Lal_Takhar property:award_received ?g }
[]
award
Q949193
SYSTEM
Padma Shri
Q949193
(Q33334,P166,c(Q618779))
action filter_type
action find
entity Q3534600
relation P166
type Q618779
The [ANSWER] was won by that person
['Q33334', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q618779 . resource:Q3534600 property:P166 ?g }
Padma Shri
The Padma Shri was won by that person
Padma Shri
action filter_type
action find
entity Bajrang Lal Takhar
relation award received
type award
['Sikar', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:award . resource:Bajrang_Lal_Takhar property:award_received ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244322
P17
Q15617994
USER
Which administrative territory is 2010 Asian Games a part of ?
(Q244322,P17,c(Q15617994))
action filter_type
action find
entity Q244322
relation P17
type Q15617994
['Q244322', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q244322 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
2010 Asian Games
action filter_type
action find
entity 2010 Asian Games
relation country
type designation for an administrative territorial entity
['2010 Asian Games', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:2010_Asian_Games property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q244322,P17,c(Q15617994))
action filter_type
action find
entity Q244322
relation P17
type Q15617994
[ANSWER] is 2010 Asian Games a part of
['Q244322', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q244322 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is 2010 Asian Games a part of
People's Republic of China
action filter_type
action find
entity 2010 Asian Games
relation country
type designation for an administrative territorial entity
['2010 Asian Games', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:2010_Asian_Games property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q796217
Q15617994
USER
And how about BK Ventspils?
(Q796217,P17,c(Q15617994))
action filter_type
action find
entity Q796217
relation P17
type Q15617994
['Q796217', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q796217 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
BK Ventspils
action filter_type
action find
entity BK Ventspils
relation country
type designation for an administrative territorial entity
['BK Ventspils', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:BK_Ventspils property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211
SYSTEM
Latvia
Q211
(Q796217,P17,c(Q15617994))
action filter_type
action find
entity Q796217
relation P17
type Q15617994
[ANSWER]
['Q796217', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q796217 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Latvia
Latvia
action filter_type
action find
entity BK Ventspils
relation country
type designation for an administrative territorial entity
['BK Ventspils', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:BK_Ventspils property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q717
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with more number of administrative territories than Venezuela ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?u ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q717 property:P530 ?r } } . FILTER ( ?u > ?h ) }
Venezuela
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?u ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Venezuela property:diplomatic_relation ?r } } . FILTER ( ?u > ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
50
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q822 Q241 Q32 Q31 Q30 Q928 Q929 Q39 Q38 Q230 Q27 Q843 Q184 Q225 Q222 Q347 Q17 Q902 Q114 Q212 Q213 Q218 Q79 Q858 Q948 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?u ) WHERE { ?j property:P530 ?a . ?j rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q717 property:P530 ?r } } . FILTER ( ?u > ?h ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Lebanon Cuba Luxembourg Belgium United States of America Philippines Central African Republic Switzerland Italy Georgia Ireland Pakistan Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Bangladesh Kenya Ukraine Czech Republic Romania Egypt Syria Tunisia Libya Cape Verde Zambia
50
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Venezuela
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?u ) WHERE { ?j property:diplomatic_relation ?a . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Venezuela property:diplomatic_relation ?r } } . FILTER ( ?u > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P915
Q838948
USER
Which work of art was filmed at People's Republic of China ?
(c(Q838948),P915,Q148)
action filter_type
action find_reverse
entity Q148
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q148']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q148 . ?z rdf:type ontology:Q838948 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', "People's Republic of China"]
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:People's_Republic_of_China . ?z rdf:type ontology:work_of_art }
[]
work of art
Q1129313
SYSTEM
Push
Q1129313
(c(Q838948),P915,Q148)
action filter_type
action find_reverse
entity Q148
relation P915
type Q838948
The [ANSWER] was filmed at People's Republic of China
[{'concept': 'Q838948'}, 'P915', 'Q148']
SELECT DISTINCT ?z WHERE { ?z property:P915 resource:Q148 . ?z rdf:type ontology:Q838948 }
Push
The Push was filmed at People's Republic of China
Push
action filter_type
action find_reverse
entity People's Republic of China
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', "People's Republic of China"]
SELECT DISTINCT ?z WHERE { ?z property:filming_location resource:People's_Republic_of_China . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P276
Q500834
USER
Which tournament is located at People's Republic of China ?
(c(Q500834),P276,Q148)
action filter_type
action find_reverse
entity Q148
relation P276
type Q500834
[{'concept': 'Q500834'}, 'P276', 'Q148']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q148 . ?r rdf:type ontology:Q500834 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation location
type tournament
[{'concept': 'tournament'}, 'location', "People's Republic of China"]
SELECT DISTINCT ?r WHERE { ?r property:location resource:People's_Republic_of_China . ?r rdf:type ontology:tournament }
[]
tournament
Q26879072
SYSTEM
2016 International Championship
Q26879072
(c(Q500834),P276,Q148)
action filter_type
action find_reverse
entity Q148
relation P276
type Q500834
[ANSWER] is located at People's Republic of China
[{'concept': 'Q500834'}, 'P276', 'Q148']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q148 . ?r rdf:type ontology:Q500834 }
2016 International Championship
2016 International Championship is located at People's Republic of China
2016 International Championship
action filter_type
action find_reverse
entity People's Republic of China
relation location
type tournament
[{'concept': 'tournament'}, 'location', "People's Republic of China"]
SELECT DISTINCT ?r WHERE { ?r property:location resource:People's_Republic_of_China . ?r rdf:type ontology:tournament }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q26879072,P30,c(Q2221906))
action filter_type
action find
entity Q148
relation P30
type Q2221906
['Q26879072', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q148 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
['2016 International Championship', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:People's_Republic_of_China property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q26879072,P30,c(Q2221906))
action filter_type
action find
entity Q148
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q26879072', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q148 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Asia
That administrative territory is situated in Asia
Asia
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
['2016 International Championship', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:People's_Republic_of_China property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17 Q148
P27
Q502895
USER
Which people are a native of People's Republic of China and Japan ?
AND((c(Q502895),P27,Q148), (c(Q502895),P27,Q17))
action filter_type
action intersection
action find_reverse
entity Q148
relation P27
action find_reverse
entity Q17
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q148'], [{'concept': 'Q502895'}, 'P27', 'Q17']]}
SELECT DISTINCT ?a WHERE { ?a property:P27 resource:Q148 . ?a property:P27 resource:Q17 . ?a rdf:type ontology:Q502895 }
Japan People's Republic of China
action filter_type
action intersection
action find_reverse
entity People's Republic of China
relation country of citizenship
action find_reverse
entity Japan
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', "People's Republic of China"], [{'concept': 'common name'}, 'country of citizenship', 'Japan']]}
SELECT DISTINCT ?a WHERE { ?a property:country_of_citizenship resource:People's_Republic_of_China . ?a property:country_of_citizenship resource:Japan . ?a rdf:type ontology:common_name }
[]
common name
Q4024346 Q717883 Q6424169
SYSTEM
Zhao Dayu, Emi Suzuki, Ko Reibun
Q4024346 Q717883 Q6424169
AND((c(Q502895),P27,Q148), (c(Q502895),P27,Q17))
action filter_type
action intersection
action find_reverse
entity Q148
relation P27
action find_reverse
entity Q17
relation P27
type Q502895
[ANSWERS] are a native of People's Republic of China and Japan
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q148'], [{'concept': 'Q502895'}, 'P27', 'Q17']]}
SELECT DISTINCT ?a WHERE { ?a property:P27 resource:Q148 . ?a property:P27 resource:Q17 . ?a rdf:type ontology:Q502895 }
Zhao Dayu Emi Suzuki Ko Reibun
Zhao Dayu, Emi Suzuki and Ko Reibun are a native of People's Republic of China and Japan
Zhao Dayu Emi Suzuki Ko Reibun
action filter_type
action intersection
action find_reverse
entity People's Republic of China
relation country of citizenship
action find_reverse
entity Japan
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', "People's Republic of China"], [{'concept': 'common name'}, 'country of citizenship', 'Japan']]}
SELECT DISTINCT ?a WHERE { ?a property:country_of_citizenship resource:People's_Republic_of_China . ?a property:country_of_citizenship resource:Japan . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4024346 Q717883 Q6424169
P21
Q290
USER
Which sexes do Zhao Dayu, Emi Suzuki and Ko Reibun possess ?
(Q4024346,P21,c(Q290)) (Q717883,P21,c(Q290)) (Q6424169,P21,c(Q290))
action union
action filter_type
action find
entity Q4024346
relation P21
type Q290
action filter_type
action find
entity Q717883
relation P21
type Q290
action filter_type
action find
entity Q6424169
relation P21
type Q290
['Q4024346', 'P21', {'concept': 'Q290'}] ['Q717883', 'P21', {'concept': 'Q290'}] ['Q6424169', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:Q717883 ) ( resource:Q4024346 ) } . ?q property:P21 ?v }
Zhao Dayu Emi Suzuki Ko Reibun
action union
action filter_type
action find
entity Zhao Dayu
relation gender
type sex
action filter_type
action find
entity Emi Suzuki
relation gender
type sex
action filter_type
action find
entity Ko Reibun
relation gender
type sex
['Zhao Dayu', 'gender', {'concept': 'sex'}] ['Emi Suzuki', 'gender', {'concept': 'sex'}] ['Ko Reibun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:Emi_Suzuki ) ( resource:Zhao_Dayu ) } . ?q property:gender ?v }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q4024346,P21,c(Q290)) (Q717883,P21,c(Q290)) (Q6424169,P21,c(Q290))
action union
action filter_type
action find
entity Q4024346
relation P21
type Q290
action filter_type
action find
entity Q717883
relation P21
type Q290
action filter_type
action find
entity Q6424169
relation P21
type Q290
[ANSWERS]
['Q4024346', 'P21', {'concept': 'Q290'}] ['Q717883', 'P21', {'concept': 'Q290'}] ['Q6424169', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:Q717883 ) ( resource:Q4024346 ) } . ?q property:P21 ?v }
male female male
Zhao Dayu , Emi Suzuki and Ko Reibun possess the male, female and male
male female male
action union
action filter_type
action find
entity Zhao Dayu
relation gender
type sex
action filter_type
action find
entity Emi Suzuki
relation gender
type sex
action filter_type
action find
entity Ko Reibun
relation gender
type sex
['Zhao Dayu', 'gender', {'concept': 'sex'}] ['Emi Suzuki', 'gender', {'concept': 'sex'}] ['Ko Reibun', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?q ) { ( resource:Emi_Suzuki ) ( resource:Zhao_Dayu ) } . ?q property:gender ?v }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Which person was educated at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P69 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?r WHERE { ?r property:educated_at resource:male . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6581097
SYSTEM
Did you mean male ?
Q6581097 Q6581072 Q6581097
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q6581072) (c(Q502895),P69,Q6581097)
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q6581072'] [{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P69 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male female male
Did you mean male ?
male
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'female'] [{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?r WHERE { ?r property:educated_at resource:male . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P69,Q6581097)
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
[{'concept': 'common name'}, 'educated at', 'male']
[]
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was educated at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P69 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
Aaron Parchem
Aaron Parchem was educated at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?r WHERE { ?r property:educated_at resource:male . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4662307
P69
Q290
USER
Which sex was that person educated at ?
(Q4662307,P69,c(Q290))
action filter_type
action find
entity Q4662307
relation P69
type Q290
['Q4662307', 'P69', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4662307 property:P69 ?h . ?h rdf:type ontology:Q290 }
Aaron Parchem
action filter_type
action find
entity Aaron Parchem
relation educated at
type sex
['Aaron Parchem', 'educated at', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Aaron_Parchem property:educated_at ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4662307,P69,c(Q290))
action filter_type
action find
entity Q4662307
relation P69
type Q290
That person was educated by [ANSWER]
['Q4662307', 'P69', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q4662307 property:P69 ?h . ?h rdf:type ontology:Q290 }
male
That person was educated by male
male
action filter_type
action find
entity Aaron Parchem
relation educated at
type sex
['Aaron Parchem', 'educated at', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Aaron_Parchem property:educated_at ?h . ?h rdf:type ontology:sex }
[]