Simple Question (Direct)
Simple Question
Q2382728
P162
Q502895
USER
Which person produced The Show of Shows ?
(Q2382728,P162,c(Q502895))
action filter_type
action find
entity Q2382728
relation P162
type Q502895
['Q2382728', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2382728 property:P162 ?a . ?a rdf:type ontology:Q502895 }
The Show of Shows
action filter_type
action find
entity The Show of Shows
relation producer
type common name
['The Show of Shows', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Show_of_Shows property:producer ?a . ?a rdf:type ontology:common_name }
[]
common name
Q364342
SYSTEM
Darryl F. Zanuck
Q364342
(Q2382728,P162,c(Q502895))
action filter_type
action find
entity Q2382728
relation P162
type Q502895
[ANSWER] produced The Show of Shows
['Q2382728', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q2382728 property:P162 ?a . ?a rdf:type ontology:Q502895 }
Darryl F. Zanuck
Darryl F. Zanuck produced The Show of Shows
Darryl F. Zanuck
action filter_type
action find
entity The Show of Shows
relation producer
type common name
['The Show of Shows', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:The_Show_of_Shows property:producer ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2382728
P364
Q34770
USER
Which language was used originally for the creation of The Show of Shows ?
(Q2382728,P364,c(Q34770))
action filter_type
action find
entity Q2382728
relation P364
type Q34770
['Q2382728', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q2382728 property:P364 ?m . ?m rdf:type ontology:Q34770 }
The Show of Shows
action filter_type
action find
entity The Show of Shows
relation original language of work
type language
['The Show of Shows', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:The_Show_of_Shows property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2382728,P364,c(Q34770))
action filter_type
action find
entity Q2382728
relation P364
type Q34770
In [ANSWER] was used originally for the creation of The Show of Shows
['Q2382728', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q2382728 property:P364 ?m . ?m rdf:type ontology:Q34770 }
English
In English was used originally for the creation of The Show of Shows
English
action filter_type
action find
entity The Show of Shows
relation original language of work
type language
['The Show of Shows', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:The_Show_of_Shows property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q364342
P1431
Q838948
USER
Which works of art are produced by Darryl F. Zanuck ?
(c(Q838948),P1431,Q364342)
action filter_type
action find_reverse
entity Q364342
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q364342']
SELECT DISTINCT ?q WHERE { ?q property:P1431 resource:Q364342 . ?q rdf:type ontology:Q838948 }
Darryl F. Zanuck
action filter_type
action find_reverse
entity Darryl F. Zanuck
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Darryl F. Zanuck']
SELECT DISTINCT ?q WHERE { ?q property:executive_producer resource:Darryl_F._Zanuck . ?q rdf:type ontology:work_of_art }
[]
work of art
Q331738 Q515528 Q645015
SYSTEM
Western Union, The Black Swan, That Wonderful Urge
Q4779186 Q331738 Q515528 Q7883119 Q4023084 Q645015
(c(Q838948),P1431,Q364342)
action filter_type
action find_reverse
entity Q364342
relation P1431
type Q838948
The [ANSWERS] are produced by Darryl F. Zanuck
[{'concept': 'Q838948'}, 'P1431', 'Q364342']
SELECT DISTINCT ?q WHERE { ?q property:P1431 resource:Q364342 . ?q rdf:type ontology:Q838948 }
Apartment for Peggy Western Union The Black Swan Under My Skin Your Uncle Dudley That Wonderful Urge
The Western Union, The Black Swan and That Wonderful Urge are produced by Darryl F. Zanuck
Western Union The Black Swan That Wonderful Urge
action filter_type
action find_reverse
entity Darryl F. Zanuck
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Darryl F. Zanuck']
SELECT DISTINCT ?q WHERE { ?q property:executive_producer resource:Darryl_F._Zanuck . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q364342
P58
Q838948
USER
Which works of art did that person do the screenwriting for ?
(c(Q838948),P58,Q331738) (c(Q838948),P58,Q515528) (c(Q838948),P58,Q645015)
action filter_type
action find_reverse
entity Q364342
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q331738'] [{'concept': 'Q838948'}, 'P58', 'Q515528'] [{'concept': 'Q838948'}, 'P58', 'Q645015']
SELECT DISTINCT ?e WHERE { ?e property:P58 resource:Q364342 . ?e rdf:type ontology:Q838948 }
Darryl F. Zanuck
action filter_type
action find_reverse
entity Darryl F. Zanuck
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Western Union'] [{'concept': 'work of art'}, 'screenwriter', 'The Black Swan'] [{'concept': 'work of art'}, 'screenwriter', 'That Wonderful Urge']
SELECT DISTINCT ?e WHERE { ?e property:screenwriter resource:Darryl_F._Zanuck . ?e rdf:type ontology:work_of_art }
[]
work of art
Q1619977 Q3012177 Q3517941
SYSTEM
Alexander's Ragtime Band, Noah's Ark, Ten Gentlemen from West Point
Q3517941 Q682702 Q6007651 Q3012177 Q7797908 Q18150027 Q3074976 Q3038938 Q2405890 Q1619977
(c(Q838948),P58,Q331738) (c(Q838948),P58,Q515528) (c(Q838948),P58,Q645015)
action filter_type
action find_reverse
entity Q364342
relation P58
type Q838948
[ANSWERS] that person did the screenwriting for
[{'concept': 'Q838948'}, 'P58', 'Q331738'] [{'concept': 'Q838948'}, 'P58', 'Q515528'] [{'concept': 'Q838948'}, 'P58', 'Q645015']
SELECT DISTINCT ?e WHERE { ?e property:P58 resource:Q364342 . ?e rdf:type ontology:Q838948 }
Ten Gentlemen from West Point Baby Face Maybe It's Love Noah's Ark Three Weeks in Paris Footloose Widows Folies Bergère de Paris Crack in the Mirror The Dark Horse Alexander's Ragtime Band
Alexander's Ragtime Band, Noah's Ark and Ten Gentlemen from West Point that person did the screenwriting for
Alexander's Ragtime Band Noah's Ark Ten Gentlemen from West Point
action filter_type
action find_reverse
entity Darryl F. Zanuck
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Western Union'] [{'concept': 'work of art'}, 'screenwriter', 'The Black Swan'] [{'concept': 'work of art'}, 'screenwriter', 'That Wonderful Urge']
SELECT DISTINCT ?e WHERE { ?e property:screenwriter resource:Darryl_F._Zanuck . ?e rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1756220
P495
Q15617994
USER
How many administrative territories are the origins of Mystery of Mamo ?
(Q1756220,P495,c(Q15617994))
action count
action filter_type
action find
entity Q1756220
relation P495
type Q15617994
['Q1756220', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Q1756220 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Mystery of Mamo
action count
action filter_type
action find
entity Mystery of Mamo
relation country of origin
type designation for an administrative territorial entity
['Mystery of Mamo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Mystery_of_Mamo property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q1756220,P495,c(Q15617994))
action count
action filter_type
action find
entity Q1756220
relation P495
type Q15617994
[ANSWER]
['Q1756220', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Q1756220 property:P495 ?c . ?c rdf:type ontology:Q15617994 }
Japan
1
action count
action filter_type
action find
entity Mystery of Mamo
relation country of origin
type designation for an administrative territorial entity
['Mystery of Mamo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Mystery_of_Mamo property:country_of_origin ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3077215
P495
Q15617994
USER
And also tell me about Forever and a Day?
(Q3077215,P495,c(Q15617994))
action count
action filter_type
action find
entity Q3077215
relation P495
type Q15617994
['Q3077215', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q3077215 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Forever and a Day
action count
action filter_type
action find
entity Forever and a Day
relation country of origin
type designation for an administrative territorial entity
['Forever and a Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Forever_and_a_Day property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q3077215,P495,c(Q15617994))
action count
action filter_type
action find
entity Q3077215
relation P495
type Q15617994
[ANSWER]
['Q3077215', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q3077215 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Forever and a Day
relation country of origin
type designation for an administrative territorial entity
['Forever and a Day', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Forever_and_a_Day property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12664045
Q15617994
USER
And how about LHV Pank?
(Q12664045,P495,c(Q15617994))
action count
action filter_type
action find
entity Q12664045
relation P495
type Q15617994
['Q12664045', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q12664045 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
LHV Pank
action count
action filter_type
action find
entity LHV Pank
relation country of origin
type designation for an administrative territorial entity
['LHV Pank', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:LHV_Pank property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q12664045,P495,c(Q15617994))
action count
action filter_type
action find
entity Q12664045
relation P495
type Q15617994
[ANSWER]
['Q12664045', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q12664045 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity LHV Pank
relation country of origin
type designation for an administrative territorial entity
['LHV Pank', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:LHV_Pank property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10754923 Q364342
P607
Q198
USER
Which wars was Darryl F. Zanuck or Dewitt Peck a part of ?
OR((Q364342,P607,c(Q198)), (Q10754923,P607,c(Q198)))
action filter_type
action union
action find
entity Q364342
relation P607
action find
entity Q10754923
relation P607
type Q198
{'OR': [['Q364342', 'P607', {'concept': 'Q198'}], ['Q10754923', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q198 . { ?i property:P607 ?s . VALUES ( ?i ) { ( resource:Q10754923 ) ( resource:Q364342 ) } } }
Dewitt Peck Darryl F. Zanuck
action filter_type
action union
action find
entity Darryl F. Zanuck
relation conflict
action find
entity Dewitt Peck
relation conflict
type war
{'OR': [['Darryl F. Zanuck', 'conflict', {'concept': 'war'}], ['Dewitt Peck', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:war . { ?i property:conflict ?s . VALUES ( ?i ) { ( resource:Dewitt_Peck ) ( resource:Darryl_F._Zanuck ) } } }
[]
war
Q362 Q179975 Q361
SYSTEM
World War II, Chinese Civil War, World War I
Q362 Q179975 Q361
OR((Q364342,P607,c(Q198)), (Q10754923,P607,c(Q198)))
action filter_type
action union
action find
entity Q364342
relation P607
action find
entity Q10754923
relation P607
type Q198
[ANSWERS] were Darryl F. Zanuck or Dewitt Peck a part of
{'OR': [['Q364342', 'P607', {'concept': 'Q198'}], ['Q10754923', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q198 . { ?i property:P607 ?s . VALUES ( ?i ) { ( resource:Q10754923 ) ( resource:Q364342 ) } } }
World War II Chinese Civil War World War I
World War II, Chinese Civil War and World War I were Darryl F. Zanuck or Dewitt Peck a part of
World War II Chinese Civil War World War I
action filter_type
action union
action find
entity Darryl F. Zanuck
relation conflict
action find
entity Dewitt Peck
relation conflict
type war
{'OR': [['Darryl F. Zanuck', 'conflict', {'concept': 'war'}], ['Dewitt Peck', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:war . { ?i property:conflict ?s . VALUES ( ?i ) { ( resource:Dewitt_Peck ) ( resource:Darryl_F._Zanuck ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16841159
P607
Q502895
USER
Did those wars fight in Gardner S. Hardee ?
(Q16841159,P607,Q362) (Q16841159,P607,Q179975) (Q16841159,P607,Q361)
action is_in
entity prev_answer
action find
entity Q16841159
relation P607
['Q16841159', 'P607', 'Q362'] ['Q16841159', 'P607', 'Q179975'] ['Q16841159', 'P607', 'Q361']
ASK WHERE { VALUES ( ?i ) { ( resource:Q362 ) ( resource:Q179975 ) ( resource:Q361 ) } . resource:Q16841159 property:P607 ?i }
Gardner S. Hardee
action is_in
entity prev_answer
action find
entity Gardner S. Hardee
relation conflict
['Gardner S. Hardee', 'conflict', 'World War II'] ['Gardner S. Hardee', 'conflict', 'Chinese Civil War'] ['Gardner S. Hardee', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?i ) { ( resource:World_War_II ) ( resource:Chinese_Civil_War ) ( resource:World_War_I ) } . resource:Gardner_S._Hardee property:conflict ?i }
[]
common name
SYSTEM
NO
(Q16841159,P607,Q362) (Q16841159,P607,Q179975) (Q16841159,P607,Q361)
action is_in
entity prev_answer
action find
entity Q16841159
relation P607
[ANSWER]
['Q16841159', 'P607', 'Q362'] ['Q16841159', 'P607', 'Q179975'] ['Q16841159', 'P607', 'Q361']
ASK WHERE { VALUES ( ?i ) { ( resource:Q362 ) ( resource:Q179975 ) ( resource:Q361 ) } . resource:Q16841159 property:P607 ?i }
No
action is_in
entity prev_answer
action find
entity Gardner S. Hardee
relation conflict
['Gardner S. Hardee', 'conflict', 'World War II'] ['Gardner S. Hardee', 'conflict', 'Chinese Civil War'] ['Gardner S. Hardee', 'conflict', 'World War I']
ASK WHERE { VALUES ( ?i ) { ( resource:World_War_II ) ( resource:Chinese_Civil_War ) ( resource:World_War_I ) } . resource:Gardner_S._Hardee property:conflict ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q364342 Q7885554
P27
Q15617994
USER
Is Union City School District the country of citizenship of Darryl F. Zanuck ?
(Q364342,P27,Q7885554)
action is_in
entity Q7885554
action find
entity Q364342
relation P27
['Q364342', 'P27', 'Q7885554']
ASK WHERE { resource:Q364342 property:P27 resource:Q7885554 }
Darryl F. Zanuck Union City School District
action is_in
entity Union City School District
action find
entity Darryl F. Zanuck
relation country of citizenship
['Darryl F. Zanuck', 'country of citizenship', 'Union City School District']
ASK WHERE { resource:Darryl_F._Zanuck property:country_of_citizenship resource:Union_City_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q364342,P27,Q7885554)
action is_in
entity Q7885554
action find
entity Q364342
relation P27
[ANSWER]
['Q364342', 'P27', 'Q7885554']
ASK WHERE { resource:Q364342 property:P27 resource:Q7885554 }
No
action is_in
entity Union City School District
action find
entity Darryl F. Zanuck
relation country of citizenship
['Darryl F. Zanuck', 'country of citizenship', 'Union City School District']
ASK WHERE { resource:Darryl_F._Zanuck property:country_of_citizenship resource:Union_City_School_District }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1192189
P1441
Q838948 Q502895 Q3895768
USER
How many works of art are more number of people and fictional locations shown in than The Other Man ?
(c(Q502895)|c(Q3895768),P1441,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
action count
action filter_multi_types
action find_reverse
entity Q1192189
relation P1441
type Q502895
type Q3895768
[[{'concept': 'Q502895'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { { ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q3895768 } } . ?j property:P1441 resource:Q1192189 } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?v WHERE { VALUES ( ?g ) { ( ontology:Q3895768 ) ( ontology:Q502895 ) } . ?b rdf:type ?g } GROUP BY ?v } }
The Other Man
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
action count
action filter_multi_types
action find_reverse
entity The Other Man
relation present in work
type common name
type fictional location
[[{'concept': 'common name'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { { ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:fictional_location } } . ?j property:present_in_work resource:The_Other_Man } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?v WHERE { VALUES ( ?g ) { ( ontology:fictional_location ) ( ontology:common_name ) } . ?b rdf:type ?g } GROUP BY ?v } }
[]
work of art common name fictional location
SYSTEM
37
Q3512046 Q6072886 Q3273477 Q384508 Q15043347 Q741878 Q18031184 Q1332299 Q20921603 Q1420651 Q1364029 Q17485699 Q748030 Q245227 Q14942871 Q18786473 Q217020 Q3031303 Q746733 Q167726 Q18067135 Q174385 Q14171368 Q1316253 Q18407657 Q7558541 Q1125566 Q590098 Q470665 Q318975 Q773293 Q15713892 Q833292 Q7768400 Q156519 Q1471230 Q567298
(c(Q502895)|c(Q3895768),P1441,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
action count
action filter_multi_types
action find_reverse
entity Q1192189
relation P1441
type Q502895
type Q3895768
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { { ?j rdf:type ontology:Q502895 } UNION { ?j rdf:type ontology:Q3895768 } } . ?j property:P1441 resource:Q1192189 } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?v WHERE { VALUES ( ?g ) { ( ontology:Q3895768 ) ( ontology:Q502895 ) } . ?b rdf:type ?g } GROUP BY ?v } }
Jurassic World Perros callejeros Ma and Pa Kettle Las adolescentes Million Dollar Arm Good Morning, Vietnam The Finest Hours Pete's Dragon Queen of Katwe Tombstone Peter Pan Alice Through the Looking Glass The 13th Warrior The Prince of Egypt Exodus: Gods and Kings Pete's Dragon Thor The Kingdom of Solomon The Ten Commandments Jurassic Park Bridge of Spies Alice in Wonderland Avengers: Age of Ultron Solomon and Sheba Captain America: Civil War Solomon & Sheba Duck Soup Ultimate Avengers 2 Secretariat Atlantis: The Lost Empire The Bible: In the Beginning Pan Night of the Seagulls The Ten Commandments Around the World in 80 Days History of the World, Part I The Last Trapper
37
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
action count
action filter_multi_types
action find_reverse
entity The Other Man
relation present in work
type common name
type fictional location
[[{'concept': 'common name'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { { ?j rdf:type ontology:common_name } UNION { ?j rdf:type ontology:fictional_location } } . ?j property:present_in_work resource:The_Other_Man } } . FILTER ( ?y > ?i ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?v WHERE { VALUES ( ?g ) { ( ontology:fictional_location ) ( ontology:common_name ) } . ?b rdf:type ?g } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q515528
P1040
Q502895
USER
Which person edited The Black Swan ?
(Q515528,P1040,c(Q502895))
action filter_type
action find
entity Q515528
relation P1040
type Q502895
['Q515528', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q515528 property:P1040 ?v . ?v rdf:type ontology:Q502895 }
The Black Swan
action filter_type
action find
entity The Black Swan
relation film editor
type common name
['The Black Swan', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Black_Swan property:film_editor ?v . ?v rdf:type ontology:common_name }
[]
common name
Q452236
SYSTEM
Barbara McLean
Q452236
(Q515528,P1040,c(Q502895))
action filter_type
action find
entity Q515528
relation P1040
type Q502895
The [ANSWER] edited The Black Swan
['Q515528', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q515528 property:P1040 ?v . ?v rdf:type ontology:Q502895 }
Barbara McLean
The Barbara McLean edited The Black Swan
Barbara McLean
action filter_type
action find
entity The Black Swan
relation film editor
type common name
['The Black Swan', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Black_Swan property:film_editor ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q515528
P86
Q502895
USER
Who was The Black Swan composed by ?
(Q515528,P86,c(Q502895))
action filter_type
action find
entity Q515528
relation P86
type Q502895
['Q515528', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q515528 property:P86 ?u . ?u rdf:type ontology:Q502895 }
The Black Swan
action filter_type
action find
entity The Black Swan
relation composer
type common name
['The Black Swan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Black_Swan property:composer ?u . ?u rdf:type ontology:common_name }
[]
common name
Q367032
SYSTEM
Alfred Newman
Q367032
(Q515528,P86,c(Q502895))
action filter_type
action find
entity Q515528
relation P86
type Q502895
[ANSWER] The Black Swan was composed by
['Q515528', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q515528 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Alfred Newman
Alfred Newman The Black Swan was composed by
Alfred Newman
action filter_type
action find
entity The Black Swan
relation composer
type common name
['The Black Swan', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Black_Swan property:composer ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q367032
P1346
Q4220917
USER
Where was that person decalred as a champion ?
(c(Q4220917),P1346,Q367032)
action filter_type
action find_reverse
entity Q367032
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q367032']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4220917 . ?r property:P1346 resource:Q367032 }
Alfred Newman
action filter_type
action find_reverse
entity Alfred Newman
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Alfred Newman']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:film_award . ?r property:winner resource:Alfred_Newman }
[]
film award
Q4671338
SYSTEM
Academy Award for Best Original Musical Score
Q4671338
(c(Q4220917),P1346,Q367032)
action filter_type
action find_reverse
entity Q367032
relation P1346
type Q4220917
That person was decalred as a champion [ANSWER]
[{'concept': 'Q4220917'}, 'P1346', 'Q367032']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4220917 . ?r property:P1346 resource:Q367032 }
Academy Award for Best Original Musical Score
That person was decalred as a champion Academy Award for Best Original Musical Score
Academy Award for Best Original Musical Score
action filter_type
action find_reverse
entity Alfred Newman
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Alfred Newman']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:film_award . ?r property:winner resource:Alfred_Newman }
[]