Simple Question (Direct)
Simple Question
Q474231
P921
Q198
USER
What was the main subject in the work Dark of the Sun ?
(Q474231,P921,c(Q198))
action filter_type
action find
entity Q474231
relation P921
type Q198
['Q474231', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q474231 property:P921 ?t . ?t rdf:type ontology:Q198 }
Dark of the Sun
action filter_type
action find
entity Dark of the Sun
relation main subject
type war
['Dark of the Sun', 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Dark_of_the_Sun property:main_subject ?t . ?t rdf:type ontology:war }
[]
war
Q8683
SYSTEM
Cold War
Q8683
(Q474231,P921,c(Q198))
action filter_type
action find
entity Q474231
relation P921
type Q198
The main subject in the work Dark of the Sun was a [ANSWER]
['Q474231', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q474231 property:P921 ?t . ?t rdf:type ontology:Q198 }
Cold War
The main subject in the work Dark of the Sun was a Cold War
Cold War
action filter_type
action find
entity Dark of the Sun
relation main subject
type war
['Dark of the Sun', 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Dark_of_the_Sun property:main_subject ?t . ?t rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q474231
P86
Q502895
USER
Who was Dark of the Sun composed by ?
(Q474231,P86,c(Q502895))
action filter_type
action find
entity Q474231
relation P86
type Q502895
['Q474231', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q474231 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Dark of the Sun
action filter_type
action find
entity Dark of the Sun
relation composer
type common name
['Dark of the Sun', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Dark_of_the_Sun property:composer ?u . ?u rdf:type ontology:common_name }
[]
common name
Q561320
SYSTEM
Jacques Loussier
Q561320
(Q474231,P86,c(Q502895))
action filter_type
action find
entity Q474231
relation P86
type Q502895
[ANSWER] by Dark of the Sun was composed
['Q474231', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q474231 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Jacques Loussier
Jacques Loussier by Dark of the Sun was composed
Jacques Loussier
action filter_type
action find
entity Dark of the Sun
relation composer
type common name
['Dark of the Sun', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Dark_of_the_Sun property:composer ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q474231
P50
Q502895
USER
Who was the writer of that work of art ?
(Q561320,P50,c(Q502895))
action filter_type
action find
entity Q474231
relation P50
type Q502895
['Q561320', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q474231 property:P50 ?n . ?n rdf:type ontology:Q502895 }
Dark of the Sun
action filter_type
action find
entity Dark of the Sun
relation author
type common name
['Jacques Loussier', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Dark_of_the_Sun property:author ?n . ?n rdf:type ontology:common_name }
[]
common name
Q357970
SYSTEM
Wilbur Smith
Q357970
(Q561320,P50,c(Q502895))
action filter_type
action find
entity Q474231
relation P50
type Q502895
The writer of that work of art was the [ANSWER]
['Q561320', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q474231 property:P50 ?n . ?n rdf:type ontology:Q502895 }
Wilbur Smith
The writer of that work of art was the Wilbur Smith
Wilbur Smith
action filter_type
action find
entity Dark of the Sun
relation author
type common name
['Jacques Loussier', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Dark_of_the_Sun property:author ?n . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q8683
P364 P921
Q838948
USER
Which works of art were mainly based on Cold War and were done in English language during their inception ?
AND((c(Q838948),P921,Q8683), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q8683
relation P921
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P921', 'Q8683'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q8683 . ?n property:P364 resource:Q1860 . ?n rdf:type ontology:Q838948 }
English Cold War
action filter_type
action intersection
action find_reverse
entity Cold War
relation main subject
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'main subject', 'Cold War'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?n WHERE { ?n property:main_subject resource:Cold_War . ?n property:original_language_of_work resource:English . ?n rdf:type ontology:work_of_art }
[]
work of art
Q474231 Q3416446 Q1660701 Q18204605 Q1754248 Q5759531 Q431836 Q1754611 Q7619773 Q162182
SYSTEM
Some of them are Dark of the Sun, The Young Lovers, The Shoes of the Fisherman, Canada's Air Defence, The Red Danube, Highly Dangerous, When the Wind Blows, Seven Days in May, Stop Train 349, Watchmen
Q1345242 Q979256 Q1149389 Q1143625 Q2140247 Q665192 Q5457122 Q1347666 Q1153280 Q490076 Q6470750 Q29733 Q14949834 Q3282923 Q3794394 Q517912 Q4959324 Q1193038 Q1111873 Q7749971 Q1754248 Q1570560 Q7774445 Q678306 Q392355 Q1529877 Q1626245 Q1123006 Q4185581 Q830556 Q5519938 Q1470342 Q939970 Q1660701 Q128730 Q7574514 Q7574515 Q1089140 Q3208216 Q1283810 Q223596 Q1425534 Q6533596 Q105702 Q1451264 Q2215067 Q12124828 Q18127471 Q499144 Q506400 Q2066531 Q7745886 Q431836 Q1141420 Q182373 Q7305259 Q387638 Q14954326 Q824784 Q5759531 Q2365654 Q1763155 Q514293 Q7362739 Q3203631 Q1279807 Q162182 Q425992 Q867283 Q8048656 Q3411738 Q318016 Q4352302 Q174153 Q502189 Q14948480 Q1136724 Q2832700 Q383814 Q653473 Q2267474 Q3207403 Q2880615 Q7896984 Q1138425 Q3824327 Q826387 Q2709431 Q7442352 Q2947823 Q1151145 Q319783 Q1539667 Q846987 Q464653 Q1560704 Q1197185 Q1454273 Q3203617 Q7068013 Q1740610 Q3416446 Q1312200 Q7619773 Q1769236 Q2061752 Q18204605 Q453088 Q7759896 Q7748679 Q319061 Q1328227 Q504697 Q312394 Q4078526 Q4115358 Q3847937 Q7785923 Q1198689 Q4926571 Q5099545 Q474231 Q3008352 Q271830 Q126266 Q1193113 Q1444134 Q1050558 Q431531 Q7715494 Q7382116 Q4354625 Q1113039 Q7711923 Q814766 Q150949 Q1215857 Q478333 Q1754611 Q1304886 Q8328 Q4900103 Q3835818 Q820298 Q1219171 Q5330298 Q573210 Q14488725
AND((c(Q838948),P921,Q8683), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q8683
relation P921
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] were mainly based on Cold War and were done in English language during their inception
{'AND': [[{'concept': 'Q838948'}, 'P921', 'Q8683'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q8683 . ?n property:P364 resource:Q1860 . ?n rdf:type ontology:Q838948 }
White Nights Soldier of Fortune Czechoslovakia 1968 The Wilby Conspiracy Under Fire Six-String Samurai Flame Never Let Me Go The Package Night Crossing Ladybug Ladybug Apollo 18 Night Without Stars Bulletproof The Whip Hand Telefon Break in the Circle Oh Shucks! Here Comes UNTAG Colossus: The Forbin Project The Man Who Saved the World The Red Danube Doppelgänger The Whistle Blower Blast from the Past Rambo III Meteor Invasion U.S.A. Superman IV: The Quest for Peace Homerun The Beast Game for Vultures The Good German The Manhattan Project The Shoes of the Fisherman Thirteen Days Special Delivery Special Delivery Scorcher The Last Grenade One, Two, Three X-Men: First Class The Atomic Cafe Letter to Brezhnev Dr. Strangelove Little Nikita Ishtar Hong Kong Red Army Duck and Cover Red Dawn Lost Command The Last Mercenary When the Wind Blows October Sky Indiana Jones and the Kingdom of the Crystal Skull Red Zone Cuba Rocky IV Sky Commando Countdown Highly Dangerous The Experts Orion's Belt Red Heat Romanoff and Juliet Lisbon The Fourth War Watchmen The Day the Earth Stood Still The Iron Giant Yangtse Incident Peking Express Twilight's Last Gleaming Action of the Tiger Stripes Space Cowboys Firehead The Journey World for Ransom The Mouse on the Moon Buffalo Soldiers The House in the Middle The Fearmakers Namibia: The Struggle for Liberation Unknown World The Thing from Another World Shack Out on 101 Question 7 Batman: The Dark Knight Returns Sebastian Red Heat Red Scorpion Rambo: First Blood Part II Matinee Not with My Wife, You Don't! The Quiet American The Assignment The Right Stuff Freiheit That Man in Istanbul Nuclear Tipping Point Leviathan The Young Lovers Miracle Stop Train 349 The Damned Kiss Me Deadly Canada's Air Defence Invasion U.S.A. The Red Menace The Lost Missile Good Night, and Good Luck. The Secret Ways WarGames The House of the Spirits Barcelona Rise and Fall of Idi Amin Big Jim McLain This Is Not a Test Blood Alley Blind Justice China: The Roots of Madness Dark of the Sun Satan Never Sleeps The Third Man Albino The Ugly American Born American Catch a Fire The Quiet American The Bamboo Saucer Russian Roulette I Was a Communist for the FBI The Dancer Upstairs The 49th Man The 7th Dawn The Power of One The Russians Are Coming, the Russians Are Coming The Green Berets Seven Days in May Man on a Tightrope Gotcha! Beyond the Curtain I Married a Communist Escape from East Berlin Fantastic Voyage Red Nightmare Company Business The Man from U.N.C.L.E.
Dark of the Sun, The Young Lovers, The Shoes of the Fisherman, Canada's Air Defence, The Red Danube, Highly Dangerous, When the Wind Blows, Seven Days in May, Stop Train 349 and Watchmen were mainly based on Cold War and were done in English language during their inception
Dark of the Sun The Young Lovers The Shoes of the Fisherman Canada's Air Defence The Red Danube Highly Dangerous When the Wind Blows Seven Days in May Stop Train 349 Watchmen
action filter_type
action intersection
action find_reverse
entity Cold War
relation main subject
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'main subject', 'Cold War'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?n WHERE { ?n property:main_subject resource:Cold_War . ?n property:original_language_of_work resource:English . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q474231 Q3416446 Q1660701 Q18204605 Q1754248 Q5759531 Q431836 Q1754611 Q7619773 Q162182
P364
Q34770
USER
Which languages were used originally for the creation of those works of art ?
(Q474231,P364,c(Q34770)) (Q3416446,P364,c(Q34770)) (Q1660701,P364,c(Q34770)) (Q18204605,P364,c(Q34770)) (Q1754248,P364,c(Q34770)) (Q5759531,P364,c(Q34770)) (Q431836,P364,c(Q34770)) (Q1754611,P364,c(Q34770)) (Q7619773,P364,c(Q34770)) (Q162182,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
['Q474231', 'P364', {'concept': 'Q34770'}] ['Q3416446', 'P364', {'concept': 'Q34770'}] ['Q1660701', 'P364', {'concept': 'Q34770'}] ['Q18204605', 'P364', {'concept': 'Q34770'}] ['Q1754248', 'P364', {'concept': 'Q34770'}] ['Q5759531', 'P364', {'concept': 'Q34770'}] ['Q431836', 'P364', {'concept': 'Q34770'}] ['Q1754611', 'P364', {'concept': 'Q34770'}] ['Q7619773', 'P364', {'concept': 'Q34770'}] ['Q162182', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . ?k property:P364 ?w . VALUES ( ?k ) { ( resource:Q1345242 ) ( resource:Q979256 ) ( resource:Q1149389 ) } }
Dark of the Sun The Young Lovers The Shoes of the Fisherman Canada's Air Defence The Red Danube Highly Dangerous When the Wind Blows Seven Days in May Stop Train 349 Watchmen
action filter_type
action find
entity prev_answer
relation original language of work
type language
['Dark of the Sun', 'original language of work', {'concept': 'language'}] ['The Young Lovers', 'original language of work', {'concept': 'language'}] ['The Shoes of the Fisherman', 'original language of work', {'concept': 'language'}] ["Canada's Air Defence", 'original language of work', {'concept': 'language'}] ['The Red Danube', 'original language of work', {'concept': 'language'}] ['Highly Dangerous', 'original language of work', {'concept': 'language'}] ['When the Wind Blows', 'original language of work', {'concept': 'language'}] ['Seven Days in May', 'original language of work', {'concept': 'language'}] ['Stop Train 349', 'original language of work', {'concept': 'language'}] ['Watchmen', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . ?k property:original_language_of_work ?w . VALUES ( ?k ) { ( resource:White_Nights ) ( resource:Soldier_of_Fortune ) ( resource:Czechoslovakia_1968 ) } }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q397 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860 Q1860
(Q474231,P364,c(Q34770)) (Q3416446,P364,c(Q34770)) (Q1660701,P364,c(Q34770)) (Q18204605,P364,c(Q34770)) (Q1754248,P364,c(Q34770)) (Q5759531,P364,c(Q34770)) (Q431836,P364,c(Q34770)) (Q1754611,P364,c(Q34770)) (Q7619773,P364,c(Q34770)) (Q162182,P364,c(Q34770))
action filter_type
action find
entity prev_answer
relation P364
type Q34770
[ANSWER], [ANSWER] and [ANSWER] were used originally for the creation of those works of art
['Q474231', 'P364', {'concept': 'Q34770'}] ['Q3416446', 'P364', {'concept': 'Q34770'}] ['Q1660701', 'P364', {'concept': 'Q34770'}] ['Q18204605', 'P364', {'concept': 'Q34770'}] ['Q1754248', 'P364', {'concept': 'Q34770'}] ['Q5759531', 'P364', {'concept': 'Q34770'}] ['Q431836', 'P364', {'concept': 'Q34770'}] ['Q1754611', 'P364', {'concept': 'Q34770'}] ['Q7619773', 'P364', {'concept': 'Q34770'}] ['Q162182', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . ?k property:P364 ?w . VALUES ( ?k ) { ( resource:Q1345242 ) ( resource:Q979256 ) ( resource:Q1149389 ) } }
English English Latin English English English English English English English English
English, English and English were used originally for the creation of those works of art
English English English
action filter_type
action find
entity prev_answer
relation original language of work
type language
['Dark of the Sun', 'original language of work', {'concept': 'language'}] ['The Young Lovers', 'original language of work', {'concept': 'language'}] ['The Shoes of the Fisherman', 'original language of work', {'concept': 'language'}] ["Canada's Air Defence", 'original language of work', {'concept': 'language'}] ['The Red Danube', 'original language of work', {'concept': 'language'}] ['Highly Dangerous', 'original language of work', {'concept': 'language'}] ['When the Wind Blows', 'original language of work', {'concept': 'language'}] ['Seven Days in May', 'original language of work', {'concept': 'language'}] ['Stop Train 349', 'original language of work', {'concept': 'language'}] ['Watchmen', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . ?k property:original_language_of_work ?w . VALUES ( ?k ) { ( resource:White_Nights ) ( resource:Soldier_of_Fortune ) ( resource:Czechoslovakia_1968 ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q162182
P57
Q502895
USER
Who was Watchmen directed by ?
(Q162182,P57,c(Q502895))
action filter_type
action find
entity Q162182
relation P57
type Q502895
['Q162182', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q162182 property:P57 ?s }
Watchmen
action filter_type
action find
entity Watchmen
relation director
type common name
['Watchmen', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Watchmen property:director ?s }
[]
common name
Q139890
SYSTEM
Zack Snyder
Q139890
(Q162182,P57,c(Q502895))
action filter_type
action find
entity Q162182
relation P57
type Q502895
Watchmen was directed by Snyder [ANSWER]
['Q162182', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q162182 property:P57 ?s }
Zack Snyder
Watchmen was directed by Snyder Zack Snyder
Zack Snyder
action filter_type
action find
entity Watchmen
relation director
type common name
['Watchmen', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Watchmen property:director ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q162182
P58
Q502895
USER
Who were the screenwriters for Watchmen ?
(Q162182,P58,c(Q502895))
action filter_type
action find
entity Q162182
relation P58
type Q502895
['Q162182', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q162182 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Watchmen
action filter_type
action find
entity Watchmen
relation screenwriter
type common name
['Watchmen', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Watchmen property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
common name
Q205739 Q711792 Q445765
SYSTEM
Alan Moore, David Hayter, Dave Gibbons
Q205739 Q445765 Q3610731 Q711792
(Q162182,P58,c(Q502895))
action filter_type
action find
entity Q162182
relation P58
type Q502895
The screenwriters for Watchmen were [ANSWERS]
['Q162182', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q162182 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Alan Moore Dave Gibbons Alex Tse David Hayter
The screenwriters for Watchmen were Alan Moore, David Hayter and Dave Gibbons
Alan Moore David Hayter Dave Gibbons
action filter_type
action find
entity Watchmen
relation screenwriter
type common name
['Watchmen', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Watchmen property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q205739 Q711792 Q445765
P58
Q838948
USER
Which works of art are Alan Moore, David Hayter and Dave Gibbons a screenwriter of ?
(c(Q838948),P58,Q205739) (c(Q838948),P58,Q711792) (c(Q838948),P58,Q445765)
action union
action filter_type
action find_reverse
entity Q205739
relation P58
type Q838948
action filter_type
action find_reverse
entity Q711792
relation P58
type Q838948
action filter_type
action find_reverse
entity Q445765
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q205739'] [{'concept': 'Q838948'}, 'P58', 'Q711792'] [{'concept': 'Q838948'}, 'P58', 'Q445765']
SELECT DISTINCT ?x WHERE { { ?x property:P58 resource:Q711792 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P58 resource:Q205739 . ?x rdf:type ontology:Q838948 } }
Alan Moore David Hayter Dave Gibbons
action union
action filter_type
action find_reverse
entity Alan Moore
relation screenwriter
type work of art
action filter_type
action find_reverse
entity David Hayter
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Dave Gibbons
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Alan Moore'] [{'concept': 'work of art'}, 'screenwriter', 'David Hayter'] [{'concept': 'work of art'}, 'screenwriter', 'Dave Gibbons']
SELECT DISTINCT ?x WHERE { { ?x property:screenwriter resource:David_Hayter . ?x rdf:type ontology:work_of_art } UNION { ?x property:screenwriter resource:Alan_Moore . ?x rdf:type ontology:work_of_art } }
[]
work of art
Q106182 Q162182 Q162182
SYSTEM
X-Men for 1st, Watchmen for 2nd, 3rd
Q567577 Q470771 Q162182 Q461682 Q3569742 Q219776 Q162182 Q106182 Q162182
(c(Q838948),P58,Q205739) (c(Q838948),P58,Q711792) (c(Q838948),P58,Q445765)
action union
action filter_type
action find_reverse
entity Q205739
relation P58
type Q838948
action filter_type
action find_reverse
entity Q711792
relation P58
type Q838948
action filter_type
action find_reverse
entity Q445765
relation P58
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P58', 'Q205739'] [{'concept': 'Q838948'}, 'P58', 'Q711792'] [{'concept': 'Q838948'}, 'P58', 'Q445765']
SELECT DISTINCT ?x WHERE { { ?x property:P58 resource:Q711792 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P58 resource:Q205739 . ?x rdf:type ontology:Q838948 } }
The League of Extraordinary Gentlemen From Hell Watchmen The Scorpion King Wolves X2 Watchmen X-Men Watchmen
X-Men, Watchmen and Watchmen are Alan Moore, David Hayter and Dave Gibbons a screenwriter of
X-Men Watchmen Watchmen
action union
action filter_type
action find_reverse
entity Alan Moore
relation screenwriter
type work of art
action filter_type
action find_reverse
entity David Hayter
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Dave Gibbons
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Alan Moore'] [{'concept': 'work of art'}, 'screenwriter', 'David Hayter'] [{'concept': 'work of art'}, 'screenwriter', 'Dave Gibbons']
SELECT DISTINCT ?x WHERE { { ?x property:screenwriter resource:David_Hayter . ?x rdf:type ontology:work_of_art } UNION { ?x property:screenwriter resource:Alan_Moore . ?x rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q162182
P1040
Q502895
USER
Who is the editor of Watchmen ?
(Q162182,P1040,c(Q502895))
action filter_type
action find
entity Q162182
relation P1040
type Q502895
['Q162182', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q162182 property:P1040 ?m . ?m rdf:type ontology:Q502895 }
Watchmen
action filter_type
action find
entity Watchmen
relation film editor
type common name
['Watchmen', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Watchmen property:film_editor ?m . ?m rdf:type ontology:common_name }
[]
common name
Q977397
SYSTEM
William Hoy
Q977397
(Q162182,P1040,c(Q502895))
action filter_type
action find
entity Q162182
relation P1040
type Q502895
The editor of Watchmen is John [ANSWER]
['Q162182', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q162182 property:P1040 ?m . ?m rdf:type ontology:Q502895 }
William Hoy
The editor of Watchmen is John William Hoy
William Hoy
action filter_type
action find
entity Watchmen
relation film editor
type common name
['Watchmen', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Watchmen property:film_editor ?m . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1009229 Q18204605
P495
Q1048835
USER
Which political territories are the origin of Canada's Air Defence or Bundesvision Song Contest 2013 ?
OR((Q18204605,P495,c(Q1048835)), (Q1009229,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q18204605
relation P495
action find
entity Q1009229
relation P495
type Q1048835
{'OR': [['Q18204605', 'P495', {'concept': 'Q1048835'}], ['Q1009229', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1009229 property:P495 ?c } UNION { resource:Q18204605 property:P495 ?c } } . ?c rdf:type ontology:Q1048835 }
Bundesvision Song Contest 2013 Canada's Air Defence
action filter_type
action union
action find
entity Canada's Air Defence
relation country of origin
action find
entity Bundesvision Song Contest 2013
relation country of origin
type political territorial entity
{'OR': [["Canada's Air Defence", 'country of origin', {'concept': 'political territorial entity'}], ['Bundesvision Song Contest 2013', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Bundesvision_Song_Contest_2013 property:country_of_origin ?c } UNION { resource:Canada's_Air_Defence property:country_of_origin ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q18204605,P495,c(Q1048835)), (Q1009229,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q18204605
relation P495
action find
entity Q1009229
relation P495
type Q1048835
[ANSWERS] are the origin of Canada's Air Defence or Bundesvision Song Contest 2013
{'OR': [['Q18204605', 'P495', {'concept': 'Q1048835'}], ['Q1009229', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1009229 property:P495 ?c } UNION { resource:Q18204605 property:P495 ?c } } . ?c rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are the origin of Canada's Air Defence or Bundesvision Song Contest 2013
Canada Germany
action filter_type
action union
action find
entity Canada's Air Defence
relation country of origin
action find
entity Bundesvision Song Contest 2013
relation country of origin
type political territorial entity
{'OR': [["Canada's Air Defence", 'country of origin', {'concept': 'political territorial entity'}], ['Bundesvision Song Contest 2013', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Bundesvision_Song_Contest_2013 property:country_of_origin ?c } UNION { resource:Canada's_Air_Defence property:country_of_origin ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7775423
P495
Q838948
USER
Did The Wolf Dog originate in those political territories ?
(Q7775423,P495,Q16) (Q7775423,P495,Q183)
action is_in
entity prev_answer
action find
entity Q7775423
relation P495
['Q7775423', 'P495', 'Q16'] ['Q7775423', 'P495', 'Q183']
ASK WHERE { resource:Q7775423 property:P495 ?a . VALUES ( ?a ) { ( resource:Q16 ) ( resource:Q183 ) } }
The Wolf Dog
action is_in
entity prev_answer
action find
entity The Wolf Dog
relation country of origin
['The Wolf Dog', 'country of origin', 'Canada'] ['The Wolf Dog', 'country of origin', 'Germany']
ASK WHERE { resource:The_Wolf_Dog property:country_of_origin ?a . VALUES ( ?a ) { ( resource:Canada ) ( resource:Germany ) } }
[]
work of art
SYSTEM
NO
(Q7775423,P495,Q16) (Q7775423,P495,Q183)
action is_in
entity prev_answer
action find
entity Q7775423
relation P495
[ANSWER]
['Q7775423', 'P495', 'Q16'] ['Q7775423', 'P495', 'Q183']
ASK WHERE { resource:Q7775423 property:P495 ?a . VALUES ( ?a ) { ( resource:Q16 ) ( resource:Q183 ) } }
No
action is_in
entity prev_answer
action find
entity The Wolf Dog
relation country of origin
['The Wolf Dog', 'country of origin', 'Canada'] ['The Wolf Dog', 'country of origin', 'Germany']
ASK WHERE { resource:The_Wolf_Dog property:country_of_origin ?a . VALUES ( ?a ) { ( resource:Canada ) ( resource:Germany ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q838948 Q3895768 Q6619679
USER
Which works of art are min number of fictional locations and fictional humanoids present in ?
(c(Q3895768)|c(Q6619679),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
[[{'concept': 'Q3895768'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q3895768 ) ( ontology:Q6619679 ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?q WHERE { { ?q rdf:type ontology:Q838948 . ?p rdf:type ontology:Q3895768 . ?p property:P1441 ?q } UNION { ?p property:P1441 ?q . ?q rdf:type ontology:Q838948 . ?p rdf:type ontology:Q6619679 } } GROUP BY ?q } . FILTER ( ?a = ?n ) }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
[[{'concept': 'fictional location'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:fictional_location ) ( ontology:fictional_humanoid ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?q WHERE { { ?q rdf:type ontology:work_of_art . ?p rdf:type ontology:fictional_location . ?p property:present_in_work ?q } UNION { ?p property:present_in_work ?q . ?q rdf:type ontology:work_of_art . ?p rdf:type ontology:fictional_humanoid } } GROUP BY ?q } . FILTER ( ?a = ?n ) }
[]
work of art fictional location fictional humanoid
Q107226 Q102244 Q2875
SYSTEM
The Bourne Ultimatum, Harry Potter and the Chamber of Secrets, Gone with the Wind
Q4008453 Q6072886 Q2875 Q28234 Q1140272 Q1507513 Q221947 Q7750966 Q1388653 Q215750 Q171453 Q484675 Q719915 Q537407 Q4655870 Q58972 Q458629 Q388319 Q15304052 Q886675 Q108543 Q3211484 Q2527293 Q1293934 Q181598 Q384508 Q15043347 Q2891244 Q4253250 Q146673 Q370326 Q83186 Q743194 Q27061795 Q181795 Q42051 Q171669 Q881000 Q431660 Q133654 Q8561227 Q1420651 Q467053 Q919649 Q1271824 Q183304 Q7561043 Q1433571 Q179215 Q16997069 Q174284 Q18402 Q1962005 Q130851 Q222939 Q221236 Q19946102 Q105702 Q245227 Q4189330 Q220713 Q303040 Q182373 Q24278982 Q466781 Q7764815 Q785461 Q14942871 Q15140437 Q219421 Q185658 Q19842746 Q1248429 Q466423 Q1962032 Q41567 Q548303 Q24871 Q124612 Q886719 Q3031303 Q543403 Q176568 Q1702819 Q746733 Q156539 Q641362 Q123742 Q18067135 Q1810461 Q18200409 Q104814 Q3311826 Q810012 Q507994 Q1125262 Q1639322 Q20711488 Q969098 Q14513321 Q114819 Q274167 Q8873426 Q3739484 Q80379 Q1749311 Q379873 Q588470 Q170250 Q161687 Q11060926 Q715374 Q1316253 Q153723 Q110206 Q7558541 Q949228 Q18703028 Q6402953 Q691611 Q515931 Q107226 Q19648591 Q2419344 Q470665 Q3024211 Q192142 Q15005 Q318975 Q1168778 Q1224659 Q9125658 Q777591 Q773293 Q329127 Q3114616 Q164963 Q248775 Q868483 Q3985991 Q58439 Q19264018 Q268824 Q673153 Q458852 Q835650 Q1583966 Q18815806 Q211009 Q7913393 Q162255 Q170564 Q833292 Q1146570 Q7768400 Q103569 Q458314 Q1471230 Q1757288 Q192979 Q15715647 Q608261 Q226773 Q1759684 Q171300 Q102244 Q190050 Q673198 Q3224298 Q1322906 Q172271 Q7752052 Q567298 Q179411 Q722267 Q181069 Q15046091 Q15040681 Q3476432
(c(Q3895768)|c(Q6619679),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
[ANSWERS] are min number of fictional locations and fictional humanoids present in
[[{'concept': 'Q3895768'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q3895768 ) ( ontology:Q6619679 ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?q WHERE { { ?q rdf:type ontology:Q838948 . ?p rdf:type ontology:Q3895768 . ?p property:P1441 ?q } UNION { ?p property:P1441 ?q . ?q rdf:type ontology:Q838948 . ?p rdf:type ontology:Q6619679 } } GROUP BY ?q } . FILTER ( ?a = ?n ) }
Vampirella Perros callejeros Gone with the Wind Les Misérables Soul Food Tremors 3: Back to Perfection The Jungle Book 2 The Memorandum Pacific Rim Julius Caesar Transformers Léon: The Professional The Hobbit: The Desolation of Smaug Mulan A Chinese Tall Story Masters of the Universe Billy Elliot Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction My Bloody Valentine Alien 3 Me Two The Creature Walks Among Us Fright Night II King Lear Las adolescentes Million Dollar Arm Una Película de Huevos Journey to the West: Conquering the Demons Basic Instinct Eraser Romeo and Juliet The Winter's Tale The Wacky World of Dr. Morgus The Empire Strikes Back Star Wars: Episode III – Revenge of the Sith One Flew Over the Cuckoo's Nest Blacula Godzilla: Final Wars The Silence of the Lambs Divergent Tombstone A Bridge Too Far The Hobbit: The Battle of the Five Armies Cleopatra Jones Troilus and Cressida Final Destination Tremors 2: Aftershocks Indiana Jones and the Temple of Doom The Divergent Series: Insurgent Raiders of the Lost Ark La Strada Bloodfist II Much Ado About Nothing Jumanji Star Trek: First Contact Beauty and the Beast Dr. Strangelove The Prince of Egypt Kamen Rider Blade: Missing Ace American Pie American Reunion Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 All the President's Men The Sleepy Twinkle Star Sudden Impact Exodus: Gods and Kings Terminator Genisys The Mask Indiana Jones and the Last Crusade Teenage Mutant Ninja Turtles: Out of the Shadows Police Academy American Wedding Bloodfist Hamlet The Tailor of Panama Avatar Creature from the Black Lagoon Manhunter The Kingdom of Solomon Dead Silence The Forbidden Kingdom Secret of the Wings The Ten Commandments Highlander Monsters University Cloverfield Bridge of Spies Springtime with Roo A Monster Calls Aliens Mickey's Follies Basic Instinct 2 The Hunt for Red October Mad Max 2 Our American Cousin Harry Potter and the Cursed Child Phèdre Warcraft Dune The Exorcist Voyage to the Bottom of the Sea The Adventures of Buratino The Hobbit: An Unexpected Journey Tremors 4: The Legend Begins Who Framed Roger Rabbit Ernest Goes to Camp Bicentennial Man Harry Potter and the Half-Blood Prince A Walk Among the Tombstones Initial D Solomon and Sheba Inglourious Basterds Dirty Harry Solomon & Sheba Sholay Now You See Me: The Second Act Khumba Serenity Willow The Bourne Ultimatum The Divergent Series: Allegiant Revenge of the Creature Secretariat La Cité de la peur Terminator 3: Rise of the Machines Woe from Wit Atlantis: The Lost Empire The House by the Cemetery Digimon Adventure: Bokura no War Game! Red Dragon For Love of the Game The Bible: In the Beginning American Pie 2 Hannibal Rising The Lord of the Rings: The Two Towers Mad Max A Chinese Odyssey The Black Cobra 2 Teenage Mutant Ninja Turtles Tremors 5: Bloodline Fright Night Same Old Song Magnum Force Tremors Underdog Pokémon the Movie: Hoopa and the Clash of Ages Van Helsing Van Helsing: The London Assignment The Terminator Terminator 2: Judgment Day Night of the Seagulls Howard the Duck The Ten Commandments Alien Alien: Resurrection History of the World, Part I Mad Max: Fury Road Clash of the Titans Survivor Assemblywomen Wrath of the Titans Atragon The Princess and the Frog Harry Potter and the Chamber of Secrets Fight Club Star Trek: Insurrection Tangled Ever After Centurion Maleficent The Monkey King The Last Trapper A Very Merry Pooh Year Beverly Hills Cop Star Wars Episode II: Attack of the Clones Cinderella Fright Night 2: New Blood Scream Blacula Scream
The Bourne Ultimatum, Harry Potter and the Chamber of Secrets and Gone with the Wind are min number of fictional locations and fictional humanoids present in
The Bourne Ultimatum Harry Potter and the Chamber of Secrets Gone with the Wind
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
[[{'concept': 'fictional location'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:fictional_location ) ( ontology:fictional_humanoid ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?q WHERE { { ?q rdf:type ontology:work_of_art . ?p rdf:type ontology:fictional_location . ?p property:present_in_work ?q } UNION { ?p property:present_in_work ?q . ?q rdf:type ontology:work_of_art . ?p rdf:type ontology:fictional_humanoid } } GROUP BY ?q } . FILTER ( ?a = ?n ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2875
P915
Q852446
USER
Which location was that work of art filmed ?
(Q2875,P915,c(Q852446))
action filter_type
action find
entity Q2875
relation P915
type Q852446
['Q2875', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q2875 property:P915 ?l . ?l rdf:type ontology:Q852446 }
Gone with the Wind
action filter_type
action find
entity Gone with the Wind
relation filming location
type administrative territorial entity of the United States
['Gone with the Wind', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Gone_with_the_Wind property:filming_location ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Clarification for simple ques.
Q107226
SYSTEM
Did you mean The Bourne Ultimatum ?
Q107226 Q102244 Q2875
(Q107226,P915,c(Q852446)) (Q102244,P915,c(Q852446)) (Q2875,P915,c(Q852446))
[ANSWER]
['Q107226', 'P915', {'concept': 'Q852446'}] ['Q102244', 'P915', {'concept': 'Q852446'}] ['Q2875', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q2875 property:P915 ?l . ?l rdf:type ontology:Q852446 }
The Bourne Ultimatum Harry Potter and the Chamber of Secrets Gone with the Wind
Did you mean The Bourne Ultimatum ?
The Bourne Ultimatum
['The Bourne Ultimatum', 'filming location', {'concept': 'administrative territorial entity of the United States'}] ['Harry Potter and the Chamber of Secrets', 'filming location', {'concept': 'administrative territorial entity of the United States'}] ['Gone with the Wind', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Gone_with_the_Wind property:filming_location ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
USER
No, I meant Gone with the Wind. Could you tell me the answer for that?
(Q2875,P915,c(Q852446))
Q2875
['Q2875', 'P915', {'concept': 'Q852446'}]
['Gone with the Wind', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
[]
Q99
SYSTEM
California
Q99
(Q2875,P915,c(Q852446))
action filter_type
action find
entity Q2875
relation P915
type Q852446
The [ANSWER] was that work of art filmed
['Q2875', 'P915', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q2875 property:P915 ?l . ?l rdf:type ontology:Q852446 }
California
The California was that work of art filmed
California
action filter_type
action find
entity Gone with the Wind
relation filming location
type administrative territorial entity of the United States
['Gone with the Wind', 'filming location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Gone_with_the_Wind property:filming_location ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]