Simple Question (Direct)
Simple Question
Q18149214
P607
Q198
USER
Which war did Lennox Broster take part in ?
(Q18149214,P607,c(Q198))
action filter_type
action find
entity Q18149214
relation P607
type Q198
['Q18149214', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q198 . resource:Q18149214 property:P607 ?h }
Lennox Broster
action filter_type
action find
entity Lennox Broster
relation conflict
type war
['Lennox Broster', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:war . resource:Lennox_Broster property:conflict ?h }
[]
war
Q361
SYSTEM
World War I
Q361
(Q18149214,P607,c(Q198))
action filter_type
action find
entity Q18149214
relation P607
type Q198
Lennox Broster took part in [ANSWER]
['Q18149214', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q198 . resource:Q18149214 property:P607 ?h }
World War I
Lennox Broster took part in World War I
World War I
action filter_type
action find
entity Lennox Broster
relation conflict
type war
['Lennox Broster', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:war . resource:Lennox_Broster property:conflict ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18149214
P69
Q1244442
USER
Which school building was Lennox Broster educated at ?
(Q18149214,P69,c(Q1244442))
action filter_type
action find
entity Q18149214
relation P69
type Q1244442
['Q18149214', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?s WHERE { resource:Q18149214 property:P69 ?s . ?s rdf:type ontology:Q1244442 }
Lennox Broster
action filter_type
action find
entity Lennox Broster
relation educated at
type school building
['Lennox Broster', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?s WHERE { resource:Lennox_Broster property:educated_at ?s . ?s rdf:type ontology:school_building }
[]
school building
Q73079
SYSTEM
Trinity College
Q73079
(Q18149214,P69,c(Q1244442))
action filter_type
action find
entity Q18149214
relation P69
type Q1244442
Lennox Broster was educated by [ANSWER]
['Q18149214', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?s WHERE { resource:Q18149214 property:P69 ?s . ?s rdf:type ontology:Q1244442 }
Trinity College
Lennox Broster was educated by Trinity College
Trinity College
action filter_type
action find
entity Lennox Broster
relation educated at
type school building
['Lennox Broster', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?s WHERE { resource:Lennox_Broster property:educated_at ?s . ?s rdf:type ontology:school_building }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11998073
Q1244442
USER
And also tell me about Robert Bourne?
(Q11998073,P69,c(Q1244442))
action filter_type
action find
entity Q11998073
relation P69
type Q1244442
['Q11998073', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?r WHERE { resource:Q11998073 property:P69 ?r . ?r rdf:type ontology:Q1244442 }
Robert Bourne
action filter_type
action find
entity Robert Bourne
relation educated at
type school building
['Robert Bourne', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?r WHERE { resource:Robert_Bourne property:educated_at ?r . ?r rdf:type ontology:school_building }
[]
school building
Q1376987
SYSTEM
New College
Q1376987
(Q11998073,P69,c(Q1244442))
action filter_type
action find
entity Q11998073
relation P69
type Q1244442
[ANSWER]
['Q11998073', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?r WHERE { resource:Q11998073 property:P69 ?r . ?r rdf:type ontology:Q1244442 }
New College
New College
action filter_type
action find
entity Robert Bourne
relation educated at
type school building
['Robert Bourne', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?r WHERE { resource:Robert_Bourne property:educated_at ?r . ?r rdf:type ontology:school_building }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1376987 Q723451
P112
Q502895
USER
New College ?
(Q1376987,P112,Q723451)
action is_in
entity Q723451
action find
entity Q1376987
relation P112
['Q1376987', 'P112', 'Q723451']
ASK WHERE { resource:Q1376987 property:P112 resource:Q723451 }
New College William of Wykeham
action is_in
entity William of Wykeham
action find
entity New College
relation founder
['New College', 'founder', 'William of Wykeham']
ASK WHERE { resource:New_College property:founder resource:William_of_Wykeham }
[]
common name
SYSTEM
YES
(Q1376987,P112,Q723451)
action is_in
entity Q723451
action find
entity Q1376987
relation P112
[ANSWER]
['Q1376987', 'P112', 'Q723451']
ASK WHERE { resource:Q1376987 property:P112 resource:Q723451 }
Yes
action is_in
entity William of Wykeham
action find
entity New College
relation founder
['New College', 'founder', 'William of Wykeham']
ASK WHERE { resource:New_College property:founder resource:William_of_Wykeham }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2168870 Q73079
P488 P161
Q502895
USER
Which people served as the chairperson of Trinity College or were casted in Red Salute ?
OR((Q73079,P488,c(Q502895)), (Q2168870,P161,c(Q502895)))
action filter_type
action union
action find
entity Q73079
relation P488
action find
entity Q2168870
relation P161
type Q502895
{'OR': [['Q73079', 'P488', {'concept': 'Q502895'}], ['Q2168870', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q2168870 property:P161 ?r } UNION { resource:Q73079 property:P488 ?r } } . ?r rdf:type ontology:Q502895 }
Red Salute Trinity College
action filter_type
action union
action find
entity Trinity College
relation chairperson
action find
entity Red Salute
relation cast member
type common name
{'OR': [['Trinity College', 'chairperson', {'concept': 'common name'}], ['Red Salute', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Red_Salute property:cast_member ?r } UNION { resource:Trinity_College property:chairperson ?r } } . ?r rdf:type ontology:common_name }
[]
common name
Q1158727 Q3127383 Q950376 Q3453610 Q937865 Q94002 Q516390 Q275771 Q2502092 Q1566398
SYSTEM
Some of them are Henry Kolker, Hardie Albright, Cliff Edwards, Ruth Donnelly, Ferdinand Gottschalk, Barbara Stanwyck, Robert Young, Nella Walker, Gordon Jones, Selmer Jackson
Q1158727 Q3127383 Q3453610 Q1566398 Q516390 Q275771 Q948544 Q2573935 Q950376 Q7153764 Q937865 Q94002 Q2502092
OR((Q73079,P488,c(Q502895)), (Q2168870,P161,c(Q502895)))
action filter_type
action union
action find
entity Q73079
relation P488
action find
entity Q2168870
relation P161
type Q502895
[ANSWERS] served as the chairperson of Trinity College or were casted in Red Salute
{'OR': [['Q73079', 'P488', {'concept': 'Q502895'}], ['Q2168870', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q2168870 property:P161 ?r } UNION { resource:Q73079 property:P488 ?r } } . ?r rdf:type ontology:Q502895 }
Henry Kolker Hardie Albright Ruth Donnelly Selmer Jackson Robert Young Nella Walker Ivor Roberts Purnell Pratt Cliff Edwards Paul Stanton Ferdinand Gottschalk Barbara Stanwyck Gordon Jones
Henry Kolker, Hardie Albright, Cliff Edwards, Ruth Donnelly, Ferdinand Gottschalk, Barbara Stanwyck, Robert Young, Nella Walker, Gordon Jones and Selmer Jackson served as the chairperson of Trinity College or were casted in Red Salute
Henry Kolker Hardie Albright Cliff Edwards Ruth Donnelly Ferdinand Gottschalk Barbara Stanwyck Robert Young Nella Walker Gordon Jones Selmer Jackson
action filter_type
action union
action find
entity Trinity College
relation chairperson
action find
entity Red Salute
relation cast member
type common name
{'OR': [['Trinity College', 'chairperson', {'concept': 'common name'}], ['Red Salute', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Red_Salute property:cast_member ?r } UNION { resource:Trinity_College property:chairperson ?r } } . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10918465
P161
Q838948
USER
Do those people star in Sunny ?
(Q10918465,P161,Q1158727) (Q10918465,P161,Q3127383) (Q10918465,P161,Q950376) (Q10918465,P161,Q3453610) (Q10918465,P161,Q937865) (Q10918465,P161,Q94002) (Q10918465,P161,Q516390) (Q10918465,P161,Q275771) (Q10918465,P161,Q2502092) (Q10918465,P161,Q1566398)
action is_in
entity prev_answer
action find
entity Q10918465
relation P161
['Q10918465', 'P161', 'Q1158727'] ['Q10918465', 'P161', 'Q3127383'] ['Q10918465', 'P161', 'Q950376'] ['Q10918465', 'P161', 'Q3453610'] ['Q10918465', 'P161', 'Q937865'] ['Q10918465', 'P161', 'Q94002'] ['Q10918465', 'P161', 'Q516390'] ['Q10918465', 'P161', 'Q275771'] ['Q10918465', 'P161', 'Q2502092'] ['Q10918465', 'P161', 'Q1566398']
ASK WHERE { resource:Q10918465 property:P161 ?i . VALUES ( ?i ) { ( resource:Q1158727 ) ( resource:Q3127383 ) ( resource:Q3453610 ) } }
Sunny
action is_in
entity prev_answer
action find
entity Sunny
relation cast member
['Sunny', 'cast member', 'Henry Kolker'] ['Sunny', 'cast member', 'Hardie Albright'] ['Sunny', 'cast member', 'Cliff Edwards'] ['Sunny', 'cast member', 'Ruth Donnelly'] ['Sunny', 'cast member', 'Ferdinand Gottschalk'] ['Sunny', 'cast member', 'Barbara Stanwyck'] ['Sunny', 'cast member', 'Robert Young'] ['Sunny', 'cast member', 'Nella Walker'] ['Sunny', 'cast member', 'Gordon Jones'] ['Sunny', 'cast member', 'Selmer Jackson']
ASK WHERE { resource:Sunny property:cast_member ?i . VALUES ( ?i ) { ( resource:Henry_Kolker ) ( resource:Hardie_Albright ) ( resource:Ruth_Donnelly ) } }
[]
work of art
SYSTEM
NO
(Q10918465,P161,Q1158727) (Q10918465,P161,Q3127383) (Q10918465,P161,Q950376) (Q10918465,P161,Q3453610) (Q10918465,P161,Q937865) (Q10918465,P161,Q94002) (Q10918465,P161,Q516390) (Q10918465,P161,Q275771) (Q10918465,P161,Q2502092) (Q10918465,P161,Q1566398)
action is_in
entity prev_answer
action find
entity Q10918465
relation P161
[ANSWER]
['Q10918465', 'P161', 'Q1158727'] ['Q10918465', 'P161', 'Q3127383'] ['Q10918465', 'P161', 'Q950376'] ['Q10918465', 'P161', 'Q3453610'] ['Q10918465', 'P161', 'Q937865'] ['Q10918465', 'P161', 'Q94002'] ['Q10918465', 'P161', 'Q516390'] ['Q10918465', 'P161', 'Q275771'] ['Q10918465', 'P161', 'Q2502092'] ['Q10918465', 'P161', 'Q1566398']
ASK WHERE { resource:Q10918465 property:P161 ?i . VALUES ( ?i ) { ( resource:Q1158727 ) ( resource:Q3127383 ) ( resource:Q3453610 ) } }
No
action is_in
entity prev_answer
action find
entity Sunny
relation cast member
['Sunny', 'cast member', 'Henry Kolker'] ['Sunny', 'cast member', 'Hardie Albright'] ['Sunny', 'cast member', 'Cliff Edwards'] ['Sunny', 'cast member', 'Ruth Donnelly'] ['Sunny', 'cast member', 'Ferdinand Gottschalk'] ['Sunny', 'cast member', 'Barbara Stanwyck'] ['Sunny', 'cast member', 'Robert Young'] ['Sunny', 'cast member', 'Nella Walker'] ['Sunny', 'cast member', 'Gordon Jones'] ['Sunny', 'cast member', 'Selmer Jackson']
ASK WHERE { resource:Sunny property:cast_member ?i . VALUES ( ?i ) { ( resource:Henry_Kolker ) ( resource:Hardie_Albright ) ( resource:Ruth_Donnelly ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q94002 Q3355265
P27
Q15617994
USER
How many administrative territories are the native countriesof Barbara Stanwyck or Sonderabteilung Lola ?
(Q94002,P27,c(Q15617994)) (Q3355265,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q94002
relation P27
type Q15617994
action filter_type
action find
entity Q3355265
relation P27
type Q15617994
['Q94002', 'P27', {'concept': 'Q15617994'}] ['Q3355265', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:Q94002 property:P27 ?d . ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q15617994 . resource:Q3355265 property:P27 ?d } }
Barbara Stanwyck Sonderabteilung Lola
action count
action union
action filter_type
action find
entity Barbara Stanwyck
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Sonderabteilung Lola
relation country of citizenship
type designation for an administrative territorial entity
['Barbara Stanwyck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sonderabteilung Lola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:Barbara_Stanwyck property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sonderabteilung_Lola property:country_of_citizenship ?d } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q20 Q30
(Q94002,P27,c(Q15617994)) (Q3355265,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q94002
relation P27
type Q15617994
action filter_type
action find
entity Q3355265
relation P27
type Q15617994
[ANSWER]
['Q94002', 'P27', {'concept': 'Q15617994'}] ['Q3355265', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:Q94002 property:P27 ?d . ?d rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q15617994 . resource:Q3355265 property:P27 ?d } }
Norway United States of America
2
action count
action union
action filter_type
action find
entity Barbara Stanwyck
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Sonderabteilung Lola
relation country of citizenship
type designation for an administrative territorial entity
['Barbara Stanwyck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sonderabteilung Lola', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { resource:Barbara_Stanwyck property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sonderabteilung_Lola property:country_of_citizenship ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 1858 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1858
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?q = 1858 ) . { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?z } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1858
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?q = 1858 ) . { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?z } }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1858
[ANSWERS] are played by around 1858 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?q = 1858 ) . { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P1303 ?z . ?z rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?z } }
bass guitar double bass trumpet cello organ drum kit
Bass guitar, double bass and trumpet are played by around 1858 people
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1858
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { FILTER ( ?q = 1858 ) . { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:instrument ?z . ?z rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?z } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 714 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 714
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?c = 714 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 714
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?c = 714 ) }
[]
musical instrument common name
SYSTEM
62
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 714
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?c = 714 ) }
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 cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 714
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?c = 714 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q950376
P106
Q151885 Q12737077
USER
How many concepts or occupations are the job of Cliff Edwards ?
(Q950376,P106,c(Q151885)) (Q950376,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q950376
relation P106
type Q151885
action filter_type
action find
entity Q950376
relation P106
type Q12737077
['Q950376', 'P106', {'concept': 'Q151885'}] ['Q950376', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { resource:Q950376 property:P106 ?l . ?l rdf:type ontology:Q151885 } UNION { ?l rdf:type ontology:Q12737077 . resource:Q950376 property:P106 ?l } }
Cliff Edwards
action count
action union
action filter_type
action find
entity Cliff Edwards
relation occupation
type concept
action filter_type
action find
entity Cliff Edwards
relation occupation
type occupation
['Cliff Edwards', 'occupation', {'concept': 'concept'}] ['Cliff Edwards', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { resource:Cliff_Edwards property:occupation ?l . ?l rdf:type ontology:concept } UNION { ?l rdf:type ontology:occupation . resource:Cliff_Edwards property:occupation ?l } }
[]
concept occupation
SYSTEM
6
Q11481802 Q15981151 Q177220 Q33999 Q7622988 Q855091
(Q950376,P106,c(Q151885)) (Q950376,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q950376
relation P106
type Q151885
action filter_type
action find
entity Q950376
relation P106
type Q12737077
[ANSWER]
['Q950376', 'P106', {'concept': 'Q151885'}] ['Q950376', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { resource:Q950376 property:P106 ?l . ?l rdf:type ontology:Q151885 } UNION { ?l rdf:type ontology:Q12737077 . resource:Q950376 property:P106 ?l } }
dub actor jazz musician singer actor street artist guitarist
6
action count
action union
action filter_type
action find
entity Cliff Edwards
relation occupation
type concept
action filter_type
action find
entity Cliff Edwards
relation occupation
type occupation
['Cliff Edwards', 'occupation', {'concept': 'concept'}] ['Cliff Edwards', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { resource:Cliff_Edwards property:occupation ?l . ?l rdf:type ontology:concept } UNION { ?l rdf:type ontology:occupation . resource:Cliff_Edwards property:occupation ?l } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q160432 Q1566398
P161
Q838948
USER
Which works of art have Selmer Jackson or Jude Law as actor ?
OR((c(Q838948),P161,Q1566398), (c(Q838948),P161,Q160432))
action filter_type
action union
action find_reverse
entity Q1566398
relation P161
action find_reverse
entity Q160432
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1566398'], [{'concept': 'Q838948'}, 'P161', 'Q160432']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P161 resource:Q1566398 } UNION { ?y property:P161 resource:Q160432 } } . ?y rdf:type ontology:Q838948 }
Jude Law Selmer Jackson
action filter_type
action union
action find_reverse
entity Selmer Jackson
relation cast member
action find_reverse
entity Jude Law
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Selmer Jackson'], [{'concept': 'work of art'}, 'cast member', 'Jude Law']]}
SELECT DISTINCT ?y WHERE { { { ?y property:cast_member resource:Selmer_Jackson } UNION { ?y property:cast_member resource:Jude_Law } } . ?y rdf:type ontology:work_of_art }
[]
work of art
Q206576 Q2824426 Q2464386 Q730888 Q15059365 Q468033 Q18811602 Q1653284 Q737348 Q2704699
SYSTEM
Some of them are Hugo, Remember the Day, Pitfall, Contagion, Black Sea, Road to Perdition, Genius, 360, Rage, That's My Boy
Q2963579 Q1470767 Q7733169 Q3072348 Q759339 Q243643 Q271006 Q2824426 Q730888 Q221113 Q200396 Q16679925 Q1609570 Q1653284 Q167687 Q3701907 Q1997533 Q578344 Q1119322 Q669628 Q80204 Q581964 Q695389 Q2464386 Q209012 Q390052 Q212098 Q390097 Q15059365 Q3804027 Q334763 Q16679996 Q7112967 Q241391 Q116905 Q2168870 Q2704699 Q608002 Q697393 Q1356395 Q250995 Q1460779 Q5469722 Q468033 Q18811602 Q3521099 Q201924 Q737650 Q1050838 Q12132403 Q478748 Q737348 Q1536124 Q731164 Q1157114 Q206576 Q4003622 Q16389838 Q4266472 Q491800 Q14369698 Q839825
OR((c(Q838948),P161,Q1566398), (c(Q838948),P161,Q160432))
action filter_type
action union
action find_reverse
entity Q1566398
relation P161
action find_reverse
entity Q160432
relation P161
type Q838948
[ANSWERS] have Selmer Jackson or Jude Law as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q1566398'], [{'concept': 'Q838948'}, 'P161', 'Q160432']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P161 resource:Q1566398 } UNION { ?y property:P161 resource:Q160432 } } . ?y rdf:type ontology:Q838948 }
Child of Divorce Midnight in the Garden of Good and Evil The Falcon Takes Over Final Cut The Atomic Submarine Sherlock Holmes: A Game of Shadows Enemy at the Gates Remember the Day Contagion A.I. Artificial Intelligence Sherlock Holmes This Is the Life Autumn Leaves 360 Music from Another Room Magnificent Brute Presence of Mind The Imaginarium of Doctor Parnassus Exit Through the Gift Shop Sky Captain and the World of Tomorrow Anna Karenina All the King's Men I Heart Huckabees Pitfall Sleuth The Talented Mr. Ripley Closer Cold Mountain Black Sea It Ain't Hay Side Effects Thru Different Eyes Outside These Walls Breaking and Entering Lemony Snicket's A Series of Unfortunate Events Red Salute That's My Boy I Love You, I Love You Not Bent Alfie Shopping Repo Men Forgotten Road to Perdition Genius The Grand Budapest Hotel The Aviator My Blueberry Nights Existenz West of Shanghai The Holiday Rage Each Dawn I Die The Wisdom of Crocodiles Margin for Error Hugo A Family Affair Spy Love, Honour and Obey Gattaca Dom Hemingway Wilde
Hugo, Remember the Day, Pitfall, Contagion, Black Sea, Road to Perdition, Genius, 360, Rage and That's My Boy have Selmer Jackson or Jude Law as actor
Hugo Remember the Day Pitfall Contagion Black Sea Road to Perdition Genius 360 Rage That's My Boy
action filter_type
action union
action find_reverse
entity Selmer Jackson
relation cast member
action find_reverse
entity Jude Law
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Selmer Jackson'], [{'concept': 'work of art'}, 'cast member', 'Jude Law']]}
SELECT DISTINCT ?y WHERE { { { ?y property:cast_member resource:Selmer_Jackson } UNION { ?y property:cast_member resource:Jude_Law } } . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q206576 Q2824426 Q2464386 Q730888 Q15059365 Q468033 Q18811602 Q1653284 Q737348 Q2704699
P495
Q15617994
USER
Which administrative territories are the origin of those works of art ?
(Q206576,P495,c(Q15617994)) (Q2824426,P495,c(Q15617994)) (Q2464386,P495,c(Q15617994)) (Q730888,P495,c(Q15617994)) (Q15059365,P495,c(Q15617994)) (Q468033,P495,c(Q15617994)) (Q18811602,P495,c(Q15617994)) (Q1653284,P495,c(Q15617994)) (Q737348,P495,c(Q15617994)) (Q2704699,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q206576', 'P495', {'concept': 'Q15617994'}] ['Q2824426', 'P495', {'concept': 'Q15617994'}] ['Q2464386', 'P495', {'concept': 'Q15617994'}] ['Q730888', 'P495', {'concept': 'Q15617994'}] ['Q15059365', 'P495', {'concept': 'Q15617994'}] ['Q468033', 'P495', {'concept': 'Q15617994'}] ['Q18811602', 'P495', {'concept': 'Q15617994'}] ['Q1653284', 'P495', {'concept': 'Q15617994'}] ['Q737348', 'P495', {'concept': 'Q15617994'}] ['Q2704699', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q2963579 ) ( resource:Q1470767 ) ( resource:Q7733169 ) } . ?c property:P495 ?t }
Hugo Remember the Day Pitfall Contagion Black Sea Road to Perdition Genius 360 Rage That's My Boy
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Hugo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Remember the Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Pitfall', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Contagion', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Black Sea', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Road to Perdition', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Genius', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['360', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Rage', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["That's My Boy", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Child_of_Divorce ) ( resource:Midnight_in_the_Garden_of_Good_and_Evil ) ( resource:The_Falcon_Takes_Over ) } . ?c property:country_of_origin ?t }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30 Q30 Q30 Q159 Q145 Q30 Q30 Q145 Q142 Q145 Q30 Q145 Q30
(Q206576,P495,c(Q15617994)) (Q2824426,P495,c(Q15617994)) (Q2464386,P495,c(Q15617994)) (Q730888,P495,c(Q15617994)) (Q15059365,P495,c(Q15617994)) (Q468033,P495,c(Q15617994)) (Q18811602,P495,c(Q15617994)) (Q1653284,P495,c(Q15617994)) (Q737348,P495,c(Q15617994)) (Q2704699,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the origin of those works of art
['Q206576', 'P495', {'concept': 'Q15617994'}] ['Q2824426', 'P495', {'concept': 'Q15617994'}] ['Q2464386', 'P495', {'concept': 'Q15617994'}] ['Q730888', 'P495', {'concept': 'Q15617994'}] ['Q15059365', 'P495', {'concept': 'Q15617994'}] ['Q468033', 'P495', {'concept': 'Q15617994'}] ['Q18811602', 'P495', {'concept': 'Q15617994'}] ['Q1653284', 'P495', {'concept': 'Q15617994'}] ['Q737348', 'P495', {'concept': 'Q15617994'}] ['Q2704699', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q2963579 ) ( resource:Q1470767 ) ( resource:Q7733169 ) } . ?c property:P495 ?t }
United States of America United States of America United States of America United States of America United States of America Russia United Kingdom United States of America United States of America United Kingdom France United Kingdom United States of America United Kingdom United States of America
United States of America, United States of America and United States of America are the origin of those works of art
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Hugo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Remember the Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Pitfall', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Contagion', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Black Sea', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Road to Perdition', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Genius', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['360', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Rage', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["That's My Boy", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Child_of_Divorce ) ( resource:Midnight_in_the_Garden_of_Good_and_Evil ) ( resource:The_Falcon_Takes_Over ) } . ?c property:country_of_origin ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q206576
P166
Q4220917
USER
Which film awards were Hugo awarded with ?
(Q206576,P166,c(Q4220917))
action filter_type
action find
entity Q206576
relation P166
type Q4220917
['Q206576', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q206576 property:P166 ?j . ?j rdf:type ontology:Q4220917 }
Hugo
action filter_type
action find
entity Hugo
relation award received
type film award
['Hugo', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:Hugo property:award_received ?j . ?j rdf:type ontology:film_award }
[]
film award
Q131520 Q277751 Q830079
SYSTEM
Academy Award for Best Cinematography, Academy Award for Best Production Design, Academy Award for Best Sound Mixing
Q131520 Q277751 Q830079 Q488645 Q393686
(Q206576,P166,c(Q4220917))
action filter_type
action find
entity Q206576
relation P166
type Q4220917
Hugo were awarded the [ANSWERS]
['Q206576', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?j WHERE { resource:Q206576 property:P166 ?j . ?j rdf:type ontology:Q4220917 }
Academy Award for Best Cinematography Academy Award for Best Production Design Academy Award for Best Sound Mixing Academy Award for Best Sound Editing Academy Award for Best Visual Effects
Hugo were awarded the Academy Award for Best Cinematography, Academy Award for Best Production Design and Academy Award for Best Sound Mixing
Academy Award for Best Cinematography Academy Award for Best Production Design Academy Award for Best Sound Mixing
action filter_type
action find
entity Hugo
relation award received
type film award
['Hugo', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?j WHERE { resource:Hugo property:award_received ?j . ?j rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q950376
P725
Q11424
USER
Which films did Cliff Edwards do the dubbing for ?
(c(Q11424),P725,Q950376)
action filter_type
action find_reverse
entity Q950376
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', 'Q950376']
SELECT DISTINCT ?n WHERE { ?n property:P725 resource:Q950376 . ?n rdf:type ontology:Q11424 }
Cliff Edwards
action filter_type
action find_reverse
entity Cliff Edwards
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'Cliff Edwards']
SELECT DISTINCT ?n WHERE { ?n property:voice_actor resource:Cliff_Edwards . ?n rdf:type ontology:film }
[]
film
Q4341553 Q853718 Q40895
SYSTEM
Pinocchio, Fun and Fancy Free, Dumbo
Q4341553 Q853718 Q40895
(c(Q11424),P725,Q950376)
action filter_type
action find_reverse
entity Q950376
relation P725
type Q11424
Cliff Edwards did the dubbing of [ANSWERS]
[{'concept': 'Q11424'}, 'P725', 'Q950376']
SELECT DISTINCT ?n WHERE { ?n property:P725 resource:Q950376 . ?n rdf:type ontology:Q11424 }
Pinocchio Fun and Fancy Free Dumbo
Cliff Edwards did the dubbing of Pinocchio, Fun and Fancy Free and Dumbo
Pinocchio Fun and Fancy Free Dumbo
action filter_type
action find_reverse
entity Cliff Edwards
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'Cliff Edwards']
SELECT DISTINCT ?n WHERE { ?n property:voice_actor resource:Cliff_Edwards . ?n rdf:type ontology:film }
[]