Simple Question (Direct)
Simple Question
Q438865
P27
Q15617994
USER
Which administrative territory is the native country of Dolores Fuller ?
(Q438865,P27,c(Q15617994))
action filter_type
action find
entity Q438865
relation P27
type Q15617994
['Q438865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q438865 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Dolores Fuller
action filter_type
action find
entity Dolores Fuller
relation country of citizenship
type designation for an administrative territorial entity
['Dolores Fuller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Dolores_Fuller property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q438865,P27,c(Q15617994))
action filter_type
action find
entity Q438865
relation P27
type Q15617994
The [ANSWER] is the native country of Dolores Fuller
['Q438865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q438865 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Dolores Fuller
United States of America
action filter_type
action find
entity Dolores Fuller
relation country of citizenship
type designation for an administrative territorial entity
['Dolores Fuller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Dolores_Fuller property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q438865
P161
Q838948
USER
Which works of art do that person star in ?
(c(Q838948),P161,Q30)
action filter_type
action find_reverse
entity Q438865
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q30']
SELECT DISTINCT ?h WHERE { ?h property:P161 resource:Q438865 . ?h rdf:type ontology:Q838948 }
Dolores Fuller
action filter_type
action find_reverse
entity Dolores Fuller
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h property:cast_member resource:Dolores_Fuller . ?h rdf:type ontology:work_of_art }
[]
work of art
Q367216 Q2309514 Q366975
SYSTEM
Bride of the Monster, The Blue Gardenia, Jail Bait
Q366975 Q1129503 Q367216 Q2309514
(c(Q838948),P161,Q30)
action filter_type
action find_reverse
entity Q438865
relation P161
type Q838948
That person star [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q30']
SELECT DISTINCT ?h WHERE { ?h property:P161 resource:Q438865 . ?h rdf:type ontology:Q838948 }
Jail Bait Glen or Glenda Bride of the Monster The Blue Gardenia
That person star Bride of the Monster, The Blue Gardenia and Jail Bait
Bride of the Monster The Blue Gardenia Jail Bait
action filter_type
action find_reverse
entity Dolores Fuller
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'United States of America']
SELECT DISTINCT ?h WHERE { ?h property:cast_member resource:Dolores_Fuller . ?h rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4540370 Q2309514
P161
Q502895
USER
Which people are in The Blue Gardenia or &ME ?
OR((Q2309514,P161,c(Q502895)), (Q4540370,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2309514
relation P161
action find
entity Q4540370
relation P161
type Q502895
{'OR': [['Q2309514', 'P161', {'concept': 'Q502895'}], ['Q4540370', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2309514 property:P161 ?o } UNION { resource:Q4540370 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
&ME The Blue Gardenia
action filter_type
action union
action find
entity The Blue Gardenia
relation cast member
action find
entity &ME
relation cast member
type common name
{'OR': [['The Blue Gardenia', 'cast member', {'concept': 'common name'}], ['&ME', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Blue_Gardenia property:cast_member ?o } UNION { resource:&ME property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
common name
Q137042 Q734043 Q85232 Q438865 Q266626 Q275769 Q14941763 Q336877 Q456850 Q15649817
SYSTEM
Some of them are Nat King Cole, Richard Conte, Celia Lovsky, Dolores Fuller, Rossy de Palmo, Jeff Donnell, Hugh Sanders, Raymond Burr, Verónica Echegui, Howard Charles
Q2149430 Q15069891 Q456850 Q137042 Q336877 Q868662 Q734043 Q14941763 Q266626 Q15649817 Q275769 Q7349739 Q235289 Q96103 Q228906 Q342537 Q438865 Q85232
OR((Q2309514,P161,c(Q502895)), (Q4540370,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2309514
relation P161
action find
entity Q4540370
relation P161
type Q502895
[ANSWERS] are in The Blue Gardenia or &ME
{'OR': [['Q2309514', 'P161', {'concept': 'Q502895'}], ['Q4540370', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2309514 property:P161 ?o } UNION { resource:Q4540370 property:P161 ?o } } . ?o rdf:type ontology:Q502895 }
Richard Erdman Ray Walker Verónica Echegui Nat King Cole Raymond Burr Teun Luijkx Richard Conte Hugh Sanders Rossy de Palmo Howard Charles Jeff Donnell Robert Shayne Ann Sothern Mark Waschke Anne Baxter George Reeves Dolores Fuller Celia Lovsky
Nat King Cole, Richard Conte, Celia Lovsky, Dolores Fuller, Rossy de Palmo, Jeff Donnell, Hugh Sanders, Raymond Burr, Verónica Echegui and Howard Charles are in The Blue Gardenia or &ME
Nat King Cole Richard Conte Celia Lovsky Dolores Fuller Rossy de Palmo Jeff Donnell Hugh Sanders Raymond Burr Verónica Echegui Howard Charles
action filter_type
action union
action find
entity The Blue Gardenia
relation cast member
action find
entity &ME
relation cast member
type common name
{'OR': [['The Blue Gardenia', 'cast member', {'concept': 'common name'}], ['&ME', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?o WHERE { { { resource:The_Blue_Gardenia property:cast_member ?o } UNION { resource:&ME property:cast_member ?o } } . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by exactly 1 person ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?o ) WHERE { ?j rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 . ?z property:P1303 ?j } GROUP BY ?j } . FILTER ( ?o = 1 ) }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?o ) WHERE { ?j rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name . ?z property:instrument ?j } GROUP BY ?j } . FILTER ( ?o = 1 ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1
[ANSWERS] are played by exactly 1 person
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?o ) WHERE { ?j rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 . ?z property:P1303 ?j } GROUP BY ?j } . FILTER ( ?o = 1 ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir are played by exactly 1 person
davul Wurlitzer electric piano Bendir
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?o ) WHERE { ?j rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name . ?z property:instrument ?j } GROUP BY ?j } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q137042
P172
Q2472587
USER
Which ethnic group does Nat King Cole belong ?
(Q137042,P172,c(Q2472587))
action filter_type
action find
entity Q137042
relation P172
type Q2472587
['Q137042', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { resource:Q137042 property:P172 ?h . ?h rdf:type ontology:Q2472587 }
Nat King Cole
action filter_type
action find
entity Nat King Cole
relation ethnic group
type people
['Nat King Cole', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { resource:Nat_King_Cole property:ethnic_group ?h . ?h rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q137042,P172,c(Q2472587))
action filter_type
action find
entity Q137042
relation P172
type Q2472587
Nat King Cole belongs to [ANSWER]
['Q137042', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?h WHERE { resource:Q137042 property:P172 ?h . ?h rdf:type ontology:Q2472587 }
African Americans
Nat King Cole belongs to African Americans
African Americans
action filter_type
action find
entity Nat King Cole
relation ethnic group
type people
['Nat King Cole', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?h WHERE { resource:Nat_King_Cole property:ethnic_group ?h . ?h rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q137042
P734
Q82799
USER
Who is associated with that person ?
(Q49085,P734,c(Q82799))
action filter_type
action find
entity Q137042
relation P734
type Q82799
['Q49085', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q137042 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Nat King Cole
action filter_type
action find
entity Nat King Cole
relation family name
type name
['African Americans', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Nat_King_Cole property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q1128028
SYSTEM
Cole
Q1128028
(Q49085,P734,c(Q82799))
action filter_type
action find
entity Q137042
relation P734
type Q82799
[ANSWER] is associated with that person
['Q49085', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q137042 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Cole
Cole is associated with that person
Cole
action filter_type
action find
entity Nat King Cole
relation family name
type name
['African Americans', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Nat_King_Cole property:family_name ?j . ?j rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1128028 Q18331972
P407
Q34770
USER
Is Hilalians dialects the language of work for Cole ?
(Q1128028,P407,Q18331972)
action is_in
entity Q18331972
action find
entity Q1128028
relation P407
['Q1128028', 'P407', 'Q18331972']
ASK WHERE { resource:Q1128028 property:P407 resource:Q18331972 }
Cole Hilalians dialects
action is_in
entity Hilalians dialects
action find
entity Cole
relation language of work or name
['Cole', 'language of work or name', 'Hilalians dialects']
ASK WHERE { resource:Cole property:language_of_work_or_name resource:Hilalians_dialects }
[]
language
SYSTEM
NO
(Q1128028,P407,Q18331972)
action is_in
entity Q18331972
action find
entity Q1128028
relation P407
[ANSWER]
['Q1128028', 'P407', 'Q18331972']
ASK WHERE { resource:Q1128028 property:P407 resource:Q18331972 }
No
action is_in
entity Hilalians dialects
action find
entity Cole
relation language of work or name
['Cole', 'language of work or name', 'Hilalians dialects']
ASK WHERE { resource:Cole property:language_of_work_or_name resource:Hilalians_dialects }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q438865 Q23768 Q3866
P20
Q515
USER
Does Dolores Fuller have Las Vegas and Dodoma as the location of death ?
(Q438865,P20,Q23768) (Q438865,P20,Q3866)
action is_in
entity Q438865
action intersection
action find_reverse
entity Q23768
relation P20
action find_reverse
entity Q3866
relation P20
['Q438865', 'P20', 'Q23768'] ['Q438865', 'P20', 'Q3866']
ASK WHERE { resource:Q438865 property:P20 resource:Q23768 . resource:Q438865 property:P20 resource:Q3866 }
Dolores Fuller Las Vegas Dodoma
action is_in
entity Dolores Fuller
action intersection
action find_reverse
entity Las Vegas
relation place of death
action find_reverse
entity Dodoma
relation place of death
['Dolores Fuller', 'place of death', 'Las Vegas'] ['Dolores Fuller', 'place of death', 'Dodoma']
ASK WHERE { resource:Dolores_Fuller property:place_of_death resource:Las_Vegas . resource:Dolores_Fuller property:place_of_death resource:Dodoma }
[]
city
SYSTEM
YES and NO respectively
(Q438865,P20,Q23768) (Q438865,P20,Q3866)
action is_in
entity Q438865
action intersection
action find_reverse
entity Q23768
relation P20
action find_reverse
entity Q3866
relation P20
[ANSWER]
['Q438865', 'P20', 'Q23768'] ['Q438865', 'P20', 'Q3866']
ASK WHERE { resource:Q438865 property:P20 resource:Q23768 . resource:Q438865 property:P20 resource:Q3866 }
YES and NO respectively
action is_in
entity Dolores Fuller
action intersection
action find_reverse
entity Las Vegas
relation place of death
action find_reverse
entity Dodoma
relation place of death
['Dolores Fuller', 'place of death', 'Las Vegas'] ['Dolores Fuller', 'place of death', 'Dodoma']
ASK WHERE { resource:Dolores_Fuller property:place_of_death resource:Las_Vegas . resource:Dolores_Fuller property:place_of_death resource:Dodoma }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P162
Q838948
USER
What has been developed by United States of America ?
(c(Q838948),P162,Q30)
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q30']
SELECT DISTINCT ?t WHERE { ?t property:P162 resource:Q30 . ?t rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'United States of America']
SELECT DISTINCT ?t WHERE { ?t property:producer resource:United_States_of_America . ?t rdf:type ontology:work_of_art }
[]
work of art
Q1193742
SYSTEM
The Thief of Bagdad
Q1193742
(c(Q838948),P162,Q30)
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[ANSWER] has been developed by United States of America
[{'concept': 'Q838948'}, 'P162', 'Q30']
SELECT DISTINCT ?t WHERE { ?t property:P162 resource:Q30 . ?t rdf:type ontology:Q838948 }
The Thief of Bagdad
The Thief of Bagdad has been developed by United States of America
The Thief of Bagdad
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'United States of America']
SELECT DISTINCT ?t WHERE { ?t property:producer resource:United_States_of_America . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q137042
P26
Q502895
USER
Who is married to Nat King Cole ?
(Q137042,P26,c(Q502895))
action filter_type
action find
entity Q137042
relation P26
type Q502895
['Q137042', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q137042 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Nat King Cole
action filter_type
action find
entity Nat King Cole
relation spouse
type common name
['Nat King Cole', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Nat_King_Cole property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q431124
SYSTEM
Maria Cole
Q431124
(Q137042,P26,c(Q502895))
action filter_type
action find
entity Q137042
relation P26
type Q502895
To [ANSWER] is married to Nat King Cole
['Q137042', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q137042 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Maria Cole
To Maria Cole is married to Nat King Cole
Maria Cole
action filter_type
action find
entity Nat King Cole
relation spouse
type common name
['Nat King Cole', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Nat_King_Cole property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15416
USER
Which television programs have been dubbed by max number of people ?
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:P725 ?z . ?c rdf:type ontology:Q15416 . ?z rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?b ) WHERE { ?a property:P725 ?l . ?a rdf:type ontology:Q15416 . ?l rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?b = ?o ) }
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:voice_actor ?z . ?c rdf:type ontology:television_program . ?z rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?b ) WHERE { ?a property:voice_actor ?l . ?a rdf:type ontology:television_program . ?l rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?b = ?o ) }
[]
common name television program
Q23558
SYSTEM
House
Q23558
(c(Q15416),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15416
type Q502895
[ANSWER] have been dubbed by max number of people
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:P725 ?z . ?c rdf:type ontology:Q15416 . ?z rdf:type ontology:Q502895 } GROUP BY ?c } } . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?b ) WHERE { ?a property:P725 ?l . ?a rdf:type ontology:Q15416 . ?l rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?b = ?o ) }
House
House have been dubbed by max number of people
House
action argmax
action find_tuple_counts
relation voice actor
type television program
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?d ) WHERE { ?c property:voice_actor ?z . ?c rdf:type ontology:television_program . ?z rdf:type ontology:common_name } GROUP BY ?c } } . { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?b ) WHERE { ?a property:voice_actor ?l . ?a rdf:type ontology:television_program . ?l rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?b = ?o ) }
[]