Simple Question (Direct)
Simple Question
Q1658184
P1196
Q1931388
USER
What situation did Chōkō Ikuta die in ?
(Q1658184,P1196,c(Q1931388))
action filter_type
action find
entity Q1658184
relation P1196
type Q1931388
['Q1658184', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1931388 . resource:Q1658184 property:P1196 ?j }
Chōkō Ikuta
action filter_type
action find
entity Chōkō Ikuta
relation manner of death
type cause of death
['Chōkō Ikuta', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:cause_of_death . resource:Chōkō_Ikuta property:manner_of_death ?j }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1658184,P1196,c(Q1931388))
action filter_type
action find
entity Q1658184
relation P1196
type Q1931388
Chōkō Ikuta died of [ANSWER]
['Q1658184', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1931388 . resource:Q1658184 property:P1196 ?j }
natural causes
Chōkō Ikuta died of natural causes
natural causes
action filter_type
action find
entity Chōkō Ikuta
relation manner of death
type cause of death
['Chōkō Ikuta', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:cause_of_death . resource:Chōkō_Ikuta property:manner_of_death ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1658184
P106
Q12737077
USER
What do Chōkō Ikuta do for a living ?
(Q1658184,P106,c(Q12737077))
action filter_type
action find
entity Q1658184
relation P106
type Q12737077
['Q1658184', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q1658184 property:P106 ?c }
Chōkō Ikuta
action filter_type
action find
entity Chōkō Ikuta
relation occupation
type occupation
['Chōkō Ikuta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Chōkō_Ikuta property:occupation ?c }
[]
occupation
Q4263842 Q333634 Q36180
SYSTEM
literary critic, translator, writer
Q4263842 Q333634 Q36180
(Q1658184,P106,c(Q12737077))
action filter_type
action find
entity Q1658184
relation P106
type Q12737077
Chōkō Ikuta do for a living as [ANSWERS]
['Q1658184', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q1658184 property:P106 ?c }
literary critic translator writer
Chōkō Ikuta do for a living as literary critic, translator and writer
literary critic translator writer
action filter_type
action find
entity Chōkō Ikuta
relation occupation
type occupation
['Chōkō Ikuta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Chōkō_Ikuta property:occupation ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1658184
P27
Q15617994
USER
Which administrative territory is Chōkō Ikuta an inhabitant of ?
(Q1658184,P27,c(Q15617994))
action filter_type
action find
entity Q1658184
relation P27
type Q15617994
['Q1658184', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1658184 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Chōkō Ikuta
action filter_type
action find
entity Chōkō Ikuta
relation country of citizenship
type designation for an administrative territorial entity
['Chōkō Ikuta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Chōkō_Ikuta property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1658184,P27,c(Q15617994))
action filter_type
action find
entity Q1658184
relation P27
type Q15617994
The [ANSWER] is Chōkō Ikuta an inhabitant of
['Q1658184', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1658184 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Japan
The Japan is Chōkō Ikuta an inhabitant of
Japan
action filter_type
action find
entity Chōkō Ikuta
relation country of citizenship
type designation for an administrative territorial entity
['Chōkō Ikuta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Chōkō_Ikuta property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1658184
P69
Q3918
USER
Which university is that person an alumni of ?
(Q17,P69,c(Q3918))
action filter_type
action find
entity Q1658184
relation P69
type Q3918
['Q17', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q1658184 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Chōkō Ikuta
action filter_type
action find
entity Chōkō Ikuta
relation educated at
type university
['Japan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Chōkō_Ikuta property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q17,P69,c(Q3918))
action filter_type
action find
entity Q1658184
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q17', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q1658184 property:P69 ?x . ?x rdf:type ontology:Q3918 }
University of Tokyo
University of Tokyo is that person an alumni of
University of Tokyo
action filter_type
action find
entity Chōkō Ikuta
relation educated at
type university
['Japan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Chōkō_Ikuta property:educated_at ?x . ?x rdf:type ontology:university }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q1792379 Q340169
USER
Which occupations are expressed in atleast 2 art genres and medias ?
(c(Q1792379)|c(Q340169),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q340169 ) ( ontology:Q1792379 ) } . ?x rdf:type ?t } GROUP BY ?k } . FILTER ( ?r >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { VALUES ( ?t ) { ( ontology:media ) ( ontology:art_genre ) } . ?x rdf:type ?t } GROUP BY ?k } . FILTER ( ?r >= 2 ) }
[]
occupation art genre media
Q4991371 Q20489032 Q639669
SYSTEM
soldier, salt pan worker, musician
Q4991371 Q20489032 Q639669
(c(Q1792379)|c(Q340169),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWERS] are expressed in atleast 2 art genres and medias
[[{'concept': 'Q1792379'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q340169 ) ( ontology:Q1792379 ) } . ?x rdf:type ?t } GROUP BY ?k } . FILTER ( ?r >= 2 ) }
soldier salt pan worker musician
Soldier, salt pan worker and musician are expressed in atleast 2 art genres and medias
soldier salt pan worker musician
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'art genre'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?k WHERE { VALUES ( ?t ) { ( ontology:media ) ( ontology:art_genre ) } . ?x rdf:type ?t } GROUP BY ?k } . FILTER ( ?r >= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4991371
P410
Q502895
USER
Who holds a military rank named that occupation ?
(c(Q502895),P410,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P410
type Q502895
[{'concept': 'Q502895'}, 'P410', 'Q4991371']
SELECT DISTINCT ?w WHERE { ?w property:P410 resource:Q4991371 . ?w rdf:type ontology:Q502895 }
soldier
action filter_type
action find_reverse
entity soldier
relation military rank
type common name
[{'concept': 'common name'}, 'military rank', 'soldier']
SELECT DISTINCT ?w WHERE { ?w property:military_rank resource:soldier . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q20489032
SYSTEM
Did you mean salt pan worker ?
Q4991371 Q20489032 Q639669
(c(Q502895),P410,Q4991371) (c(Q502895),P410,Q20489032) (c(Q502895),P410,Q639669)
[ANSWER]
[{'concept': 'Q502895'}, 'P410', 'Q4991371'] [{'concept': 'Q502895'}, 'P410', 'Q20489032'] [{'concept': 'Q502895'}, 'P410', 'Q639669']
SELECT DISTINCT ?w WHERE { ?w property:P410 resource:Q4991371 . ?w rdf:type ontology:Q502895 }
soldier salt pan worker musician
Did you mean salt pan worker ?
salt pan worker
[{'concept': 'common name'}, 'military rank', 'soldier'] [{'concept': 'common name'}, 'military rank', 'salt pan worker'] [{'concept': 'common name'}, 'military rank', 'musician']
SELECT DISTINCT ?w WHERE { ?w property:military_rank resource:soldier . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant soldier. Could you tell me the answer for that?
(c(Q502895),P410,Q4991371)
Q4991371
[{'concept': 'Q502895'}, 'P410', 'Q4991371']
[{'concept': 'common name'}, 'military rank', 'soldier']
[]
Q20727330
SYSTEM
Maurice Poedts
Q20727330
(c(Q502895),P410,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P410
type Q502895
[ANSWER] holds a military rank named that occupation
[{'concept': 'Q502895'}, 'P410', 'Q4991371']
SELECT DISTINCT ?w WHERE { ?w property:P410 resource:Q4991371 . ?w rdf:type ontology:Q502895 }
Maurice Poedts
Maurice Poedts holds a military rank named that occupation
Maurice Poedts
action filter_type
action find_reverse
entity soldier
relation military rank
type common name
[{'concept': 'common name'}, 'military rank', 'soldier']
SELECT DISTINCT ?w WHERE { ?w property:military_rank resource:soldier . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q20727330 Q6742789 Q20727355
P26
Q502895
USER
Is that person the spouse of Maldeo Rathore and Tilda Vleminck ?
(Q20727330,P26,Q6742789) (Q20727330,P26,Q20727355)
action is_in
entity Q20727330
action intersection
action find_reverse
entity Q6742789
relation P26
action find_reverse
entity Q20727355
relation P26
['Q20727330', 'P26', 'Q6742789'] ['Q20727330', 'P26', 'Q20727355']
ASK WHERE { resource:Q20727330 property:P26 resource:Q6742789 . resource:Q20727330 property:P26 resource:Q20727355 }
Maurice Poedts Maldeo Rathore Tilda Vleminck
action is_in
entity Maurice Poedts
action intersection
action find_reverse
entity Maldeo Rathore
relation spouse
action find_reverse
entity Tilda Vleminck
relation spouse
['Maurice Poedts', 'spouse', 'Maldeo Rathore'] ['Maurice Poedts', 'spouse', 'Tilda Vleminck']
ASK WHERE { resource:Maurice_Poedts property:spouse resource:Maldeo_Rathore . resource:Maurice_Poedts property:spouse resource:Tilda_Vleminck }
[]
common name
SYSTEM
NO and YES respectively
(Q20727330,P26,Q6742789) (Q20727330,P26,Q20727355)
action is_in
entity Q20727330
action intersection
action find_reverse
entity Q6742789
relation P26
action find_reverse
entity Q20727355
relation P26
[ANSWER]
['Q20727330', 'P26', 'Q6742789'] ['Q20727330', 'P26', 'Q20727355']
ASK WHERE { resource:Q20727330 property:P26 resource:Q6742789 . resource:Q20727330 property:P26 resource:Q20727355 }
NO and YES respectively
action is_in
entity Maurice Poedts
action intersection
action find_reverse
entity Maldeo Rathore
relation spouse
action find_reverse
entity Tilda Vleminck
relation spouse
['Maurice Poedts', 'spouse', 'Maldeo Rathore'] ['Maurice Poedts', 'spouse', 'Tilda Vleminck']
ASK WHERE { resource:Maurice_Poedts property:spouse resource:Maldeo_Rathore . resource:Maurice_Poedts property:spouse resource:Tilda_Vleminck }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 8287 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8287
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?i <= 8287 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P1303 ?q . ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8287
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?i <= 8287 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:instrument ?q . ?y rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 8287
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?i <= 8287 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P1303 ?q . ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 8287
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { FILTER ( ?i <= 8287 ) . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:instrument ?q . ?y rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4991371
P138
Q43229
USER
Which organization is the eponym of soldier ?
(c(Q43229),P138,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P138
type Q43229
[{'concept': 'Q43229'}, 'P138', 'Q4991371']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q4991371 . ?q rdf:type ontology:Q43229 }
soldier
action filter_type
action find_reverse
entity soldier
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'soldier']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:soldier . ?q rdf:type ontology:organization }
[]
organization
Q22340635
SYSTEM
Soldiers of Odin
Q22340635
(c(Q43229),P138,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P138
type Q43229
[ANSWER] is the eponym of soldier
[{'concept': 'Q43229'}, 'P138', 'Q4991371']
SELECT DISTINCT ?q WHERE { ?q property:P138 resource:Q4991371 . ?q rdf:type ontology:Q43229 }
Soldiers of Odin
Soldiers of Odin is the eponym of soldier
Soldiers of Odin
action filter_type
action find_reverse
entity soldier
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'soldier']
SELECT DISTINCT ?q WHERE { ?q property:named_after resource:soldier . ?q rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4991371
P417
Q502895
USER
What people are the patron saint of soldier ?
(Q4991371,P417,c(Q502895))
action filter_type
action find
entity Q4991371
relation P417
type Q502895
['Q4991371', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4991371 property:P417 ?h . ?h rdf:type ontology:Q502895 }
soldier
action filter_type
action find
entity soldier
relation patron saint
type common name
['soldier', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:soldier property:patron_saint ?h . ?h rdf:type ontology:common_name }
[]
common name
Q48438 Q192816 Q44281
SYSTEM
Saint George, Saint Barbara, Ignatius of Loyola
Q48438 Q192816 Q44281
(Q4991371,P417,c(Q502895))
action filter_type
action find
entity Q4991371
relation P417
type Q502895
[ANSWERS] are the patron saint of soldier
['Q4991371', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4991371 property:P417 ?h . ?h rdf:type ontology:Q502895 }
Saint George Saint Barbara Ignatius of Loyola
Saint George, Saint Barbara and Ignatius of Loyola are the patron saint of soldier
Saint George Saint Barbara Ignatius of Loyola
action filter_type
action find
entity soldier
relation patron saint
type common name
['soldier', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:soldier property:patron_saint ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q157195
Q502895
USER
And how about waiting staff?
(Q157195,P417,c(Q502895))
action filter_type
action find
entity Q157195
relation P417
type Q502895
['Q157195', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q157195 property:P417 ?r }
waiting staff
action filter_type
action find
entity waiting staff
relation patron saint
type common name
['waiting staff', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:waiting_staff property:patron_saint ?r }
[]
common name
Q744884
SYSTEM
Zita
Q744884
(Q157195,P417,c(Q502895))
action filter_type
action find
entity Q157195
relation P417
type Q502895
[ANSWER]
['Q157195', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q157195 property:P417 ?r }
Zita
Zita
action filter_type
action find
entity waiting staff
relation patron saint
type common name
['waiting staff', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:waiting_staff property:patron_saint ?r }
[]