Simple Question (Direct)
Simple Question
Q7761607
P58
Q502895
USER
Who wrote the script for The Rough Riders ?
(Q7761607,P58,c(Q502895))
action filter_type
action find
entity Q7761607
relation P58
type Q502895
['Q7761607', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7761607 property:P58 ?s . ?s rdf:type ontology:Q502895 }
The Rough Riders
action filter_type
action find
entity The Rough Riders
relation screenwriter
type common name
['The Rough Riders', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Rough_Riders property:screenwriter ?s . ?s rdf:type ontology:common_name }
[]
common name
Q1762306 Q6382900 Q1507856
SYSTEM
Robert N. Lee, Keene Thompson, George Marion, Jr.
Q1762306 Q6382900 Q1507856
(Q7761607,P58,c(Q502895))
action filter_type
action find
entity Q7761607
relation P58
type Q502895
[ANSWERS]
['Q7761607', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7761607 property:P58 ?s . ?s rdf:type ontology:Q502895 }
Robert N. Lee Keene Thompson George Marion, Jr.
Robert N. Lee, Keene Thompson and George Marion, Jr. wrote the script for The Rough Riders
Robert N. Lee Keene Thompson George Marion, Jr.
action filter_type
action find
entity The Rough Riders
relation screenwriter
type common name
['The Rough Riders', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Rough_Riders property:screenwriter ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1762306 Q6382900 Q1507856
P58
Q838948
USER
Which works of art are those people a screwriter of ?
(c(Q838948),P58,Q1762306) (c(Q838948),P58,Q6382900) (c(Q838948),P58,Q1507856)
action filter_type
action find_reverse
entity prev_answer
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1762306'] [{'concept': 'Q838948'}, 'P58', 'Q6382900'] [{'concept': 'Q838948'}, 'P58', 'Q1507856']
SELECT DISTINCT ?k WHERE { ?k property:P58 ?z . VALUES ( ?z ) { ( resource:Q1762306 ) ( resource:Q6382900 ) ( resource:Q1507856 ) } . ?k rdf:type ontology:Q838948 }
Robert N. Lee Keene Thompson George Marion, Jr.
action filter_type
action find_reverse
entity prev_answer
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Robert N. Lee'] [{'concept': 'work of art'}, 'screenwriter', 'Keene Thompson'] [{'concept': 'work of art'}, 'screenwriter', 'George Marion, Jr.']
SELECT DISTINCT ?k WHERE { ?k property:screenwriter ?z . VALUES ( ?z ) { ( resource:Robert_N._Lee ) ( resource:Keene_Thompson ) ( resource:George_Marion,_Jr. ) } . ?k rdf:type ontology:work_of_art }
[]
work of art
Q947098 Q1194224 Q1331849
SYSTEM
The Gay Divorcee, Tower of London, Love Me Tonight
Q839419 Q16683288 Q1194224 Q21402014 Q7761607 Q7847590 Q6745304 Q12126886 Q2928319 Q7761607 Q947098 Q7761607 Q1331849 Q20649973
(c(Q838948),P58,Q1762306) (c(Q838948),P58,Q6382900) (c(Q838948),P58,Q1507856)
action filter_type
action find_reverse
entity prev_answer
relation P58
type Q838948
The Gay Divorcee, Tower of London and love Me Tonight are those people a screwriter of
[{'concept': 'Q838948'}, 'P58', 'Q1762306'] [{'concept': 'Q838948'}, 'P58', 'Q6382900'] [{'concept': 'Q838948'}, 'P58', 'Q1507856']
SELECT DISTINCT ?k WHERE { ?k property:P58 ?z . VALUES ( ?z ) { ( resource:Q1762306 ) ( resource:Q6382900 ) ( resource:Q1507856 ) } . ?k rdf:type ontology:Q838948 }
Captain Kidd While the Patient Slept Tower of London In Love with Love The Rough Riders True to the Navy Mama Loves Papa Paris in Spring Fighting Caravans The Rough Riders The Gay Divorcee The Rough Riders Love Me Tonight Three Cheers for Love
The Gay Divorcee, Tower of London and love Me Tonight are those people a screwriter of
The Gay Divorcee Tower of London Love Me Tonight
action filter_type
action find_reverse
entity prev_answer
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Robert N. Lee'] [{'concept': 'work of art'}, 'screenwriter', 'Keene Thompson'] [{'concept': 'work of art'}, 'screenwriter', 'George Marion, Jr.']
SELECT DISTINCT ?k WHERE { ?k property:screenwriter ?z . VALUES ( ?z ) { ( resource:Robert_N._Lee ) ( resource:Keene_Thompson ) ( resource:George_Marion,_Jr. ) } . ?k rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7761607
P162
Q502895
USER
Which people produced The Rough Riders ?
(Q7761607,P162,c(Q502895))
action filter_type
action find
entity Q7761607
relation P162
type Q502895
['Q7761607', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7761607 property:P162 ?k . ?k rdf:type ontology:Q502895 }
The Rough Riders
action filter_type
action find
entity The Rough Riders
relation producer
type common name
['The Rough Riders', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Rough_Riders property:producer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q285357 Q1873395
SYSTEM
B. P. Schulberg, Lucien Hubbard
Q285357 Q1873395
(Q7761607,P162,c(Q502895))
action filter_type
action find
entity Q7761607
relation P162
type Q502895
The [ANSWERS] produced The Rough Riders
['Q7761607', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q7761607 property:P162 ?k . ?k rdf:type ontology:Q502895 }
B. P. Schulberg Lucien Hubbard
The B. P. Schulberg and Lucien Hubbard produced The Rough Riders
B. P. Schulberg Lucien Hubbard
action filter_type
action find
entity The Rough Riders
relation producer
type common name
['The Rough Riders', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:The_Rough_Riders property:producer ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1762306
P1196
Q1931388
USER
What situation did Robert N. Lee die in ?
(Q1762306,P1196,c(Q1931388))
action filter_type
action find
entity Q1762306
relation P1196
type Q1931388
['Q1762306', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q1762306 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Robert N. Lee
action filter_type
action find
entity Robert N. Lee
relation manner of death
type cause of death
['Robert N. Lee', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Robert_N._Lee property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1762306,P1196,c(Q1931388))
action filter_type
action find
entity Q1762306
relation P1196
type Q1931388
Robert N did her [ANSWER]
['Q1762306', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q1762306 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Robert N did her natural causes
natural causes
action filter_type
action find
entity Robert N. Lee
relation manner of death
type cause of death
['Robert N. Lee', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Robert_N._Lee property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 7681 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7681
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?w <= 7681 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7681
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?w <= 7681 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7681
Atmost 7681 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?w <= 7681 ) }
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
Atmost 7681 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7681
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?w <= 7681 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2903935 Q7761607
P364
Q34770
USER
Which languages are the original languages of creation of The Rough Riders or The Lost Prince ?
OR((Q7761607,P364,c(Q34770)), (Q2903935,P364,c(Q34770)))
action filter_type
action union
action find
entity Q7761607
relation P364
action find
entity Q2903935
relation P364
type Q34770
{'OR': [['Q7761607', 'P364', {'concept': 'Q34770'}], ['Q2903935', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Q2903935 ) ( resource:Q7761607 ) } . ?j property:P364 ?i } . ?i rdf:type ontology:Q34770 }
The Lost Prince The Rough Riders
action filter_type
action union
action find
entity The Rough Riders
relation original language of work
action find
entity The Lost Prince
relation original language of work
type language
{'OR': [['The Rough Riders', 'original language of work', {'concept': 'language'}], ['The Lost Prince', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:The_Lost_Prince ) ( resource:The_Rough_Riders ) } . ?j property:original_language_of_work ?i } . ?i rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q7761607,P364,c(Q34770)), (Q2903935,P364,c(Q34770)))
action filter_type
action union
action find
entity Q7761607
relation P364
action find
entity Q2903935
relation P364
type Q34770
[ANSWER] is the original languages of creation of The Rough Riders or The Lost Prince
{'OR': [['Q7761607', 'P364', {'concept': 'Q34770'}], ['Q2903935', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:Q2903935 ) ( resource:Q7761607 ) } . ?j property:P364 ?i } . ?i rdf:type ontology:Q34770 }
English
English is the original languages of creation of The Rough Riders or The Lost Prince
English
action filter_type
action union
action find
entity The Rough Riders
relation original language of work
action find
entity The Lost Prince
relation original language of work
type language
{'OR': [['The Rough Riders', 'original language of work', {'concept': 'language'}], ['The Lost Prince', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?j ) { ( resource:The_Lost_Prince ) ( resource:The_Rough_Riders ) } . ?j property:original_language_of_work ?i } . ?i rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q285357
P26
Q502895
USER
Which person is the spouse of B. P. Schulberg ?
(Q285357,P26,c(Q502895))
action filter_type
action find
entity Q285357
relation P26
type Q502895
['Q285357', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q285357 property:P26 ?j . ?j rdf:type ontology:Q502895 }
B. P. Schulberg
action filter_type
action find
entity B. P. Schulberg
relation spouse
type common name
['B. P. Schulberg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:B._P._Schulberg property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q22582765
SYSTEM
Adeline Jaffe
Q22582765
(Q285357,P26,c(Q502895))
action filter_type
action find
entity Q285357
relation P26
type Q502895
[ANSWER] is the spouse of B. P. Schulberg
['Q285357', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q285357 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Adeline Jaffe
Adeline Jaffe is the spouse of B. P. Schulberg
Adeline Jaffe
action filter_type
action find
entity B. P. Schulberg
relation spouse
type common name
['B. P. Schulberg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:B._P._Schulberg property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22582765
P9
Q502895
USER
Who is that one a sister of ?
(c(Q502895),P9,Q22582765)
action filter_type
action find_reverse
entity Q22582765
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q22582765']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q22582765 . ?k rdf:type ontology:Q502895 }
Adeline Jaffe
action filter_type
action find_reverse
entity Adeline Jaffe
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Adeline Jaffe']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Adeline_Jaffe . ?k rdf:type ontology:common_name }
[]
common name
Q3470508
SYSTEM
Sam Jaffe
Q3470508
(c(Q502895),P9,Q22582765)
action filter_type
action find_reverse
entity Q22582765
relation P9
type Q502895
That one a sister of is [ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q22582765']
SELECT DISTINCT ?k WHERE { ?k property:P9 resource:Q22582765 . ?k rdf:type ontology:Q502895 }
Sam Jaffe
That one a sister of is Sam Jaffe
Sam Jaffe
action filter_type
action find_reverse
entity Adeline Jaffe
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Adeline Jaffe']
SELECT DISTINCT ?k WHERE { ?k property:sister resource:Adeline_Jaffe . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3470508
P19
Q486972
USER
Which human settlement was that person born in ?
(Q3470508,P19,c(Q486972))
action filter_type
action find
entity Q3470508
relation P19
type Q486972
['Q3470508', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q3470508 property:P19 ?w }
Sam Jaffe
action filter_type
action find
entity Sam Jaffe
relation place of birth
type human settlement
['Sam Jaffe', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:Sam_Jaffe property:place_of_birth ?w }
[]
human settlement
Q189074
SYSTEM
Harlem
Q189074
(Q3470508,P19,c(Q486972))
action filter_type
action find
entity Q3470508
relation P19
type Q486972
That person was born in [ANSWER]
['Q3470508', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q3470508 property:P19 ?w }
Harlem
That person was born in Harlem
Harlem
action filter_type
action find
entity Sam Jaffe
relation place of birth
type human settlement
['Sam Jaffe', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:Sam_Jaffe property:place_of_birth ?w }
[]