Simple Question (Direct)
Simple Question
Q2156538
P140
Q879146
USER
Which Christian denomination is the religion of Robert Bell Clune ?
(Q2156538,P140,c(Q879146))
action filter_type
action find
entity Q2156538
relation P140
type Q879146
['Q2156538', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q2156538 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Robert Bell Clune
action filter_type
action find
entity Robert Bell Clune
relation religion
type Christian denomination
['Robert Bell Clune', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Bell_Clune property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q2156538,P140,c(Q879146))
action filter_type
action find
entity Q2156538
relation P140
type Q879146
[ANSWER] is the religion of Robert Bell Clune
['Q2156538', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q2156538 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church is the religion of Robert Bell Clune
Roman Catholic Church
action filter_type
action find
entity Robert Bell Clune
relation religion
type Christian denomination
['Robert Bell Clune', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Bell_Clune property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2156538
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q9592,P19,c(Q56061))
action filter_type
action find
entity Q2156538
relation P19
type Q56061
['Q9592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2156538 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Robert Bell Clune
action filter_type
action find
entity Robert Bell Clune
relation place of birth
type administrative territorial entity
['Roman Catholic Church', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Robert_Bell_Clune property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q9592,P19,c(Q56061))
action filter_type
action find
entity Q2156538
relation P19
type Q56061
That person was born in [ANSWER]
['Q9592', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2156538 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Toronto
That person was born in Toronto
Toronto
action filter_type
action find
entity Robert Bell Clune
relation place of birth
type administrative territorial entity
['Roman Catholic Church', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Robert_Bell_Clune property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2156538
P20
Q56061
USER
Where did Robert Bell Clune die ?
(Q2156538,P20,c(Q56061))
action filter_type
action find
entity Q2156538
relation P20
type Q56061
['Q2156538', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2156538 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Robert Bell Clune
action filter_type
action find
entity Robert Bell Clune
relation place of death
type administrative territorial entity
['Robert Bell Clune', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Robert_Bell_Clune property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q2156538,P20,c(Q56061))
action filter_type
action find
entity Q2156538
relation P20
type Q56061
Robert Bell Clune died in [ANSWER]
['Q2156538', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2156538 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Toronto
Robert Bell Clune died in Toronto
Toronto
action filter_type
action find
entity Robert Bell Clune
relation place of death
type administrative territorial entity
['Robert Bell Clune', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Robert_Bell_Clune property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12026644
Q56061
USER
And what about Josef Svátek?
(Q12026644,P20,c(Q56061))
action filter_type
action find
entity Q12026644
relation P20
type Q56061
['Q12026644', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q12026644 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Josef Svátek
action filter_type
action find
entity Josef Svátek
relation place of death
type administrative territorial entity
['Josef Svátek', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Josef_Svátek property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q12026644,P20,c(Q56061))
action filter_type
action find
entity Q12026644
relation P20
type Q56061
[ANSWER]
['Q12026644', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q12026644 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Prague
Prague
action filter_type
action find
entity Josef Svátek
relation place of death
type administrative territorial entity
['Josef Svátek', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Josef_Svátek property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q65 Q172
P915
Q838948
USER
Which works of art were filmed at Toronto but not Los Angeles ?
AND((c(Q838948),P915,Q172), NOT((c(Q838948),P915,Q65)))
action filter_type
action difference
action find_reverse
entity Q172
relation P915
action find_reverse
entity Q65
relation P915
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q172'], {'NOT': [[{'concept': 'Q838948'}, 'P915', 'Q65']]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P915 resource:Q172 . FILTER NOT EXISTS { ?a property:P915 resource:Q65 } }
Los Angeles Toronto
action filter_type
action difference
action find_reverse
entity Toronto
relation filming location
action find_reverse
entity Los Angeles
relation filming location
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Toronto'], {'NOT': [[{'concept': 'work of art'}, 'filming location', 'Los Angeles']]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:filming_location resource:Toronto . FILTER NOT EXISTS { ?a property:filming_location resource:Los_Angeles } }
[]
work of art
Q1349363 Q3429263 Q911128 Q15068238 Q1524365 Q1435058 Q4370209 Q276392 Q1766681 Q747551
SYSTEM
Some of them are Gone Dark, Blade, Cheaper by the Dozen 2, Kingsman: The Secret Service, Harvard Man, Focus, TC 2000, Saw III, The Caveman's Valentine, Videodrome
Q1182609 Q18747239 Q468700 Q965859 Q753899 Q377043 Q1645263 Q15729025 Q1349363 Q1209189 Q3823177 Q185053 Q5227152 Q1470582 Q656664 Q3989273 Q1577763 Q1522064 Q2201 Q749011 Q1165314 Q4784308 Q1763191 Q2816414 Q326319 Q1766873 Q631103 Q14948567 Q387414 Q556933 Q18275975 Q832732 Q1753731 Q3429263 Q864518 Q6092008 Q389911 Q637021 Q193835 Q2528642 Q839133 Q1141116 Q83542 Q909749 Q15040721 Q1524365 Q535395 Q1196264 Q858842 Q7960579 Q1384202 Q1540124 Q531675 Q686249 Q634493 Q2909475 Q2723328 Q267672 Q1215549 Q222041 Q64151 Q1388653 Q14949732 Q7137159 Q125452 Q641723 Q1215038 Q1345585 Q484844 Q834327 Q7044978 Q663528 Q634810 Q5121489 Q7799140 Q13218136 Q509799 Q1750419 Q1305746 Q12124716 Q1304457 Q3830900 Q5123181 Q4779176 Q16672410 Q17639520 Q1141457 Q2390402 Q930663 Q7561043 Q29446 Q6673059 Q1405126 Q1424234 Q1951409 Q6946380 Q1423971 Q17508863 Q2214610 Q587669 Q1383916 Q135315 Q2628332 Q559664 Q587029 Q18150437 Q387868 Q49018 Q597846 Q16962660 Q497850 Q153484 Q470652 Q6772945 Q1228304 Q911128 Q14320 Q3234280 Q1003845 Q917006 Q607643 Q1167735 Q2177752 Q270410 Q466533 Q1460779 Q845157 Q320417 Q3396071 Q1339513 Q1129069 Q1198420 Q3537479 Q14949718 Q3053255 Q4141403 Q1365106 Q1213942 Q3959696 Q290490 Q1755864 Q17101080 Q679373 Q2844879 Q2564571 Q848297 Q785406 Q788256 Q5128023 Q1971748 Q1475765 Q661833 Q18154496 Q2765056 Q621587 Q2005019 Q5976139 Q737055 Q1168623 Q747551 Q300439 Q2474634 Q59346 Q942134 Q3178984 Q1435058 Q2713024 Q1585018 Q1248429 Q1132912 Q221168 Q83612 Q4978520 Q7826520 Q159638 Q4879412 Q926789 Q12126477 Q7263007 Q3278712 Q18703032 Q5692532 Q430521 Q113149 Q7435305 Q1140439 Q388944 Q747940 Q637842 Q246228 Q5648513 Q180008 Q589896 Q916221 Q1135394 Q200873 Q1206820 Q1513017 Q8057410 Q2290094 Q647546 Q522389 Q1540008 Q1075182 Q662342 Q1327370 Q1192363 Q4370209 Q971468 Q1304902 Q761740 Q372299 Q1129506 Q7745944 Q161400 Q1277329 Q507490 Q1050838 Q1570923 Q633133 Q1219558 Q324557 Q5913593 Q1346729 Q189889 Q635569 Q1031262 Q127897 Q1059028 Q501374 Q525415 Q3490545 Q1854693 Q2093198 Q219187 Q1758468 Q17108504 Q549249 Q795169 Q1196277 Q604533 Q472271 Q12135427 Q6009077 Q17182905 Q466611 Q110397 Q1536329 Q258754 Q541079 Q1140309 Q1492988 Q2699480 Q4659081 Q276392 Q1336107 Q45384 Q1500141 Q7204223 Q219776 Q1140028 Q326177 Q665126 Q551823 Q14522920 Q7621346 Q467840 Q727893 Q4955742 Q15522237 Q1168399 Q15068238 Q7771400 Q7786169 Q3367195 Q934004 Q1766681 Q610435 Q466329 Q4812331 Q1090811 Q1423555 Q14949756 Q7841733 Q7721996 Q4952034 Q5521249 Q5597951 Q763024 Q1214972 Q106182 Q1190492 Q2447577 Q644041 Q3542561 Q494582 Q1656994 Q676284 Q1427248 Q572437 Q484987 Q916856 Q602600 Q4415155 Q17145464 Q2853415
AND((c(Q838948),P915,Q172), NOT((c(Q838948),P915,Q65)))
action filter_type
action difference
action find_reverse
entity Q172
relation P915
action find_reverse
entity Q65
relation P915
type Q838948
[ANSWERS] were filmed at Toronto but not Los Angeles
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q172'], {'NOT': [[{'concept': 'Q838948'}, 'P915', 'Q65']]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P915 resource:Q172 . FILTER NOT EXISTS { ?a property:P915 resource:Q65 } }
Defendor Hellions The Fly Freddy vs. Jason Scott Pilgrim vs. the World Splice Heaven on Earth Crimson Peak Gone Dark Diary of the Dead The Gate II: Trespassers The Paper Chase Steal This Movie! Man of the Year The Love Guru The Shrine Look Who's Talking Now Starship Invasions Kick-Ass Dawn of the Dead Max Payne Arasangam The Amateur 388 Arletta Avenue Saw IV The Ladies Man Mean Girls I Declare War Orphan A Christmas Story The Mortal Instruments: City of Ashes The Hurricane Hedwig and the Angry Inch Blade RoboCop It Seemed Like a Good Idea at the Time The Brood The Golden Compass Good Will Hunting Dream House Crash The Recruit Resident Evil: Retribution The Thing Poltergeist Harvard Man Scrooged The Good Mother RED Waiting for Summer Exotica Three Men and a Baby Angel Eyes Prom Night The Tuxedo Bollywood/Hollywood Bruiser Superman II Against the Ropes Hairspray Cruel Intentions Pacific Rim Victoria Day Paris, France From the Drain Get Rich or Die Tryin' Adventures in Babysitting Breach The Tracey Fragments Saw VI No Skin Off My Ass Searching for Bobby Fischer Total Recall Circle of Two Thunderground Blood Pressure The Boondock Saints The Silent Partner The In-Laws Haunter Detroit Rock City Leslie, My Name Is Evil City Girl Apartment Hunting Regression Stonewall John Q Talk to Me Millennium Final Destination Mama Long Pigs American Psycho Resurrection Mr. and Mrs. Bridge My Side of the Mountain The Virgin Suicides A Fighting Man How She Move Stereo Exit Wounds The Sweet Hereafter Touch of Pink Never Talk to Strangers Ice Princess Debug Guilty as Sin Fly Away Home Honey Dr. Cabbie The Santa Clause Resident Evil Trapped in Paradise Married in Canada Dirty Work Cheaper by the Dozen 2 The Day After Tomorrow Sesame Street Presents Follow That Bird Frequency Left Behind: World at War Harold & Kumar Go to White Castle Assault on Precinct 13 Down in the Delta Saw II American Psycho 2 Repo Men Booty Call A Map of the World Pompeii Pushing Tin Johnny Mnemonic The Boondock Saints II: All Saints Day Transfer Cold Blooded Empire State Jesus Henry Christ Factory Girl Class of 1984 Shoot Bogus Naked Lunch The Dirties The Verdict Enemy Highwaymen Death Wish V: The Face of Death The Time Traveler's Wife Switching Channels Class of '44 Murder at 1600 Police Academy 4: Citizens on Patrol Youngblood Spotlight Pitch Sucker Punch Short Circuit 2 I Am a Hotel Cosmopolis The Changeling Videodrome A History of Violence Men with Brooms The Mortal Instruments: City of Bones My Name Is Tanino Jiminy Glick in Lalawood Focus Nurse 3D Hard Rain Police Academy Cube 2: Hypercube X-Men: The Last Stand The Skulls Bruce and Pepper Wayne Gacy's Home Movies Toronto Stories Blade II Bedroom Eyes Lars and the Real Girl Neil Young Journeys Pygmalion On the Line Room Heartaches Shoot 'Em Up Take This Waltz Score: A Hockey Musical Finding Forrester Wrong Turn Urban Legend Silent Hill Confessions of a Teenage Drama Queen Hank and Mike Canadian Bacon Police Academy 2: Their First Assignment Glitter The Corruptor The Lost World: Jurassic Park Devil Repo! The Genetic Opera You Might as Well Live It's a Boy Girl Thing Cinderella Man The Vow Simon Birch Chloe K-19: The Widowmaker How to Lose a Guy in 10 Days The Pacifier TC 2000 Serendipity Fever Pitch Take the Lead Billy Madison Tangled The Last Pogo Resident Evil: Apocalypse Survival of the Dead Kal Ho Naa Ho Existenz Half Baked The 6th Day The Mask Resident Evil: Afterlife House Calls The Nanny Diaries Chicago Dead Ringers Hellraiser: Bloodline Jersey Girl Pontypool Silver Streak My Big Fat Greek Wedding The Stupids Get Over It Undercover Brother Zombie King and the Legion of Doom Kick-Ass 2 The Last Will and Testament of Rosalind Leigh Charlie Bartlett Beer The Prince and Me Taal Owning Mahowny The Yo-Yo Gang In Between Days Pixels The Incredible Hulk True Lies Traitor Bulletproof Monk Jumper The Path to 9/11 Gambling, Gods and LSD Killshot A Pyromaniac's Love Story Saw III Moonstruck Carrie Land of the Dead Please Kill Mr. Know It All X2 Crimes of the Future Saw V Three to Tango Scanners The F Word Strange Brew Cube Bless the Child Brain Candy Love, Rosie The Long Kiss Goodnight Kingsman: The Secret Service The Understudy: Graveyard Shift II This Movie Is Broken A Cool, Dry Place Harriet the Spy The Caveman's Valentine Police Academy 3: Back in Training American Pie Presents: Beta House At Home by Myself...With You Hearts of Fire Mimic Picture Day Triggermen The Chair Boy, Girl Gangster Exchange Graveyard Shift Hellraiser III: Hell on Earth In the Mouth of Madness X-Men P2 Young People Fucking Tommy Boy Twist The Killing Fields Narc Saw 3D Flash of Genius Don't Say a Word Dracula 2000 Jack and Jill vs. the World Death to Smoochy Family Viewing Ten Thousand Saints Antiviral
Gone Dark, Blade, Cheaper by the Dozen 2, Kingsman: The Secret Service, Harvard Man, Focus, TC 2000, Saw III, The Caveman's Valentine and Videodrome were filmed at Toronto but not Los Angeles
Gone Dark Blade Cheaper by the Dozen 2 Kingsman: The Secret Service Harvard Man Focus TC 2000 Saw III The Caveman's Valentine Videodrome
action filter_type
action difference
action find_reverse
entity Toronto
relation filming location
action find_reverse
entity Los Angeles
relation filming location
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Toronto'], {'NOT': [[{'concept': 'work of art'}, 'filming location', 'Los Angeles']]}]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:filming_location resource:Toronto . FILTER NOT EXISTS { ?a property:filming_location resource:Los_Angeles } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q15707583 Q3895768
USER
How many works of art are exactly 1 fictional taxons or fictional locations shown in ?
(c(Q15707583)|c(Q3895768),P1441,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
value 1
[[{'concept': 'Q15707583'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { { ?x property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 } UNION { ?x property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q3895768 } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
value 1
[[{'concept': 'fictional taxon'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { { ?x property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon } UNION { ?x property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_location } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
work of art fictional taxon fictional location
SYSTEM
16
Q3512046 Q3273477 Q1388653 Q1332299 Q1364029 Q17485699 Q18786473 Q1702819 Q167726 Q18407657 Q1125566 Q19032697 Q590098 Q15713892 Q104871 Q1201853
(c(Q15707583)|c(Q3895768),P1441,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q3895768
value 1
[ANSWER]
[[{'concept': 'Q15707583'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { { ?x property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q15707583 } UNION { ?x property:P1441 ?r . ?r rdf:type ontology:Q838948 . ?x rdf:type ontology:Q3895768 } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
Jurassic World Ma and Pa Kettle Pacific Rim Pete's Dragon Peter Pan Alice Through the Looking Glass Pete's Dragon Secret of the Wings Jurassic Park Captain America: Civil War Duck Soup Peter Pan, or The Boy Who Wouldn't Grow Up Ultimate Avengers 2 Pan A Midsummer Night's Dream Thor: The Dark World
16
action count
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional location
value 1
[[{'concept': 'fictional taxon'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?r WHERE { { ?x property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_taxon } UNION { ?x property:present_in_work ?r . ?r rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_location } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q838948 Q11424
USER
Which works of art inspired around 1 works of art or films ?
(c(Q838948)|c(Q11424),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?z WHERE { { ?b property:P941 ?z . ?z rdf:type ontology:Q838948 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P941 ?z . ?z rdf:type ontology:Q838948 . ?b rdf:type ontology:Q11424 } } GROUP BY ?z } . FILTER ( ?j = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
value 1
[[{'concept': 'work of art'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?z WHERE { { ?b property:inspired_by ?z . ?z rdf:type ontology:work_of_art . ?b rdf:type ontology:work_of_art } UNION { ?b property:inspired_by ?z . ?z rdf:type ontology:work_of_art . ?b rdf:type ontology:film } } GROUP BY ?z } . FILTER ( ?j = 1 ) }
[]
work of art work of art film
Q17738 Q107724 Q465478
SYSTEM
Star Wars Episode IV: A New Hope, Thunderball, Star Trek II: The Wrath of Khan
Q1136305 Q107724 Q1217787 Q1852671 Q17738 Q181598 Q753298 Q1754737 Q41567 Q186014 Q734834 Q375786 Q465478
(c(Q838948)|c(Q11424),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
value 1
[ANSWERS] inspired around 1 works of art or films
[[{'concept': 'Q838948'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?z WHERE { { ?b property:P941 ?z . ?z rdf:type ontology:Q838948 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P941 ?z . ?z rdf:type ontology:Q838948 . ?b rdf:type ontology:Q11424 } } GROUP BY ?z } . FILTER ( ?j = 1 ) }
Doryphoros Thunderball The Time Machine Carnival of Souls Star Wars Episode IV: A New Hope King Lear Uncle Vanya Lady Snowblood Hamlet Zeitgeist: The Movie Ghent Altarpiece Hippolytus Star Trek II: The Wrath of Khan
Star Wars Episode IV: A New Hope, Thunderball and Star Trek II: The Wrath of Khan inspired around 1 works of art or films
Star Wars Episode IV: A New Hope Thunderball Star Trek II: The Wrath of Khan
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
value 1
[[{'concept': 'work of art'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?z WHERE { { ?b property:inspired_by ?z . ?z rdf:type ontology:work_of_art . ?b rdf:type ontology:work_of_art } UNION { ?b property:inspired_by ?z . ?z rdf:type ontology:work_of_art . ?b rdf:type ontology:film } } GROUP BY ?z } . FILTER ( ?j = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1720855 Q15068238
P162
Q502895
USER
Which people are the creators of Kingsman: The Secret Service or Kaboom ?
OR((Q15068238,P162,c(Q502895)), (Q1720855,P162,c(Q502895)))
action filter_type
action union
action find
entity Q15068238
relation P162
action find
entity Q1720855
relation P162
type Q502895
{'OR': [['Q15068238', 'P162', {'concept': 'Q502895'}], ['Q1720855', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Q15068238 ) ( resource:Q1720855 ) } . ?s property:P162 ?n } . ?n rdf:type ontology:Q502895 }
Kaboom Kingsman: The Secret Service
action filter_type
action union
action find
entity Kingsman: The Secret Service
relation producer
action find
entity Kaboom
relation producer
type common name
{'OR': [['Kingsman: The Secret Service', 'producer', {'concept': 'common name'}], ['Kaboom', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Kingsman:_The_Secret_Service ) ( resource:Kaboom ) } . ?s property:producer ?n } . ?n rdf:type ontology:common_name }
[]
common name
Q708899 Q4755284 Q17167548 Q17167550 Q2593
SYSTEM
Gregg Araki, Andrea Sperling, Adam Bohling, David Reid, Matthew Vaughn
Q708899 Q4755284 Q17167548 Q17167550 Q2593
OR((Q15068238,P162,c(Q502895)), (Q1720855,P162,c(Q502895)))
action filter_type
action union
action find
entity Q15068238
relation P162
action find
entity Q1720855
relation P162
type Q502895
[ANSWERS] are the creators of Kingsman: The Secret Service or Kaboom
{'OR': [['Q15068238', 'P162', {'concept': 'Q502895'}], ['Q1720855', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Q15068238 ) ( resource:Q1720855 ) } . ?s property:P162 ?n } . ?n rdf:type ontology:Q502895 }
Gregg Araki Andrea Sperling Adam Bohling David Reid Matthew Vaughn
Gregg Araki, Andrea Sperling, Adam Bohling, David Reid and Matthew Vaughn are the creators of Kingsman: The Secret Service or Kaboom
Gregg Araki Andrea Sperling Adam Bohling David Reid Matthew Vaughn
action filter_type
action union
action find
entity Kingsman: The Secret Service
relation producer
action find
entity Kaboom
relation producer
type common name
{'OR': [['Kingsman: The Secret Service', 'producer', {'concept': 'common name'}], ['Kaboom', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Kingsman:_The_Secret_Service ) ( resource:Kaboom ) } . ?s property:producer ?n } . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres have been dubbed by exactly 10 people ?
(c(Q15961987),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 10
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?o ) WHERE { ?w property:P725 ?l . ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15961987 } GROUP BY ?w } . FILTER ( ?o = 10 ) }
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 10
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?o ) WHERE { ?w property:voice_actor ?l . ?l rdf:type ontology:common_name . ?w rdf:type ontology:television_genre } GROUP BY ?w } . FILTER ( ?o = 10 ) }
[]
common name television genre
Q53093
SYSTEM
Adventure Time
Q53093
(c(Q15961987),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 10
[ANSWER] have been dubbed by exactly 10 people
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?o ) WHERE { ?w property:P725 ?l . ?l rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15961987 } GROUP BY ?w } . FILTER ( ?o = 10 ) }
Adventure Time
Adventure Time have been dubbed by exactly 10 people
Adventure Time
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 10
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?o ) WHERE { ?w property:voice_actor ?l . ?l rdf:type ontology:common_name . ?w rdf:type ontology:television_genre } GROUP BY ?w } . FILTER ( ?o = 10 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3039496 Q3429263
P840 P20
Q56061
USER
Which administrative territories are Blade set in or did Driss Joumad expire ?
OR((Q3429263,P840,c(Q56061)), (Q3039496,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3429263
relation P840
action find
entity Q3039496
relation P20
type Q56061
{'OR': [['Q3429263', 'P840', {'concept': 'Q56061'}], ['Q3039496', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3429263 property:P840 ?n } UNION { resource:Q3039496 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Driss Joumad Blade
action filter_type
action union
action find
entity Blade
relation narrative location
action find
entity Driss Joumad
relation place of death
type administrative territorial entity
{'OR': [['Blade', 'narrative location', {'concept': 'administrative territorial entity'}], ['Driss Joumad', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Blade property:narrative_location ?n } UNION { resource:Driss_Joumad property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3551 Q649
SYSTEM
Rabat, Moscow
Q3551 Q649
OR((Q3429263,P840,c(Q56061)), (Q3039496,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3429263
relation P840
action find
entity Q3039496
relation P20
type Q56061
[ANSWERS] are Blade set in or did Driss Joumad expire
{'OR': [['Q3429263', 'P840', {'concept': 'Q56061'}], ['Q3039496', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3429263 property:P840 ?n } UNION { resource:Q3039496 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Rabat Moscow
Rabat and Moscow are Blade set in or did Driss Joumad expire
Rabat Moscow
action filter_type
action union
action find
entity Blade
relation narrative location
action find
entity Driss Joumad
relation place of death
type administrative territorial entity
{'OR': [['Blade', 'narrative location', {'concept': 'administrative territorial entity'}], ['Driss Joumad', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Blade property:narrative_location ?n } UNION { resource:Driss_Joumad property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5196957
P190
Q56061
USER
Are Cutteslowe a sister city of those ones ?
(Q5196957,P190,Q3551) (Q5196957,P190,Q649)
action is_in
entity prev_answer
action find
entity Q5196957
relation P190
['Q5196957', 'P190', 'Q3551'] ['Q5196957', 'P190', 'Q649']
ASK WHERE { resource:Q5196957 property:P190 ?f . VALUES ( ?f ) { ( resource:Q3551 ) ( resource:Q649 ) } }
Cutteslowe
action is_in
entity prev_answer
action find
entity Cutteslowe
relation sister city
['Cutteslowe', 'sister city', 'Rabat'] ['Cutteslowe', 'sister city', 'Moscow']
ASK WHERE { resource:Cutteslowe property:sister_city ?f . VALUES ( ?f ) { ( resource:Rabat ) ( resource:Moscow ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q5196957,P190,Q3551) (Q5196957,P190,Q649)
action is_in
entity prev_answer
action find
entity Q5196957
relation P190
[ANSWER]
['Q5196957', 'P190', 'Q3551'] ['Q5196957', 'P190', 'Q649']
ASK WHERE { resource:Q5196957 property:P190 ?f . VALUES ( ?f ) { ( resource:Q3551 ) ( resource:Q649 ) } }
No
action is_in
entity prev_answer
action find
entity Cutteslowe
relation sister city
['Cutteslowe', 'sister city', 'Rabat'] ['Cutteslowe', 'sister city', 'Moscow']
ASK WHERE { resource:Cutteslowe property:sister_city ?f . VALUES ( ?f ) { ( resource:Rabat ) ( resource:Moscow ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q60 Q649
P840
Q838948
USER
Which works of art have a setting location of Moscow and New York City ?
AND((c(Q838948),P840,Q649), (c(Q838948),P840,Q60))
action filter_type
action intersection
action find_reverse
entity Q649
relation P840
action find_reverse
entity Q60
relation P840
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q649'], [{'concept': 'Q838948'}, 'P840', 'Q60']]}
SELECT DISTINCT ?h WHERE { ?h property:P840 resource:Q649 . ?h property:P840 resource:Q60 . ?h rdf:type ontology:Q838948 }
New York City Moscow
action filter_type
action intersection
action find_reverse
entity Moscow
relation narrative location
action find_reverse
entity New York City
relation narrative location
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Moscow'], [{'concept': 'work of art'}, 'narrative location', 'New York City']]}
SELECT DISTINCT ?h WHERE { ?h property:narrative_location resource:Moscow . ?h property:narrative_location resource:New_York_City . ?h rdf:type ontology:work_of_art }
[]
work of art
Q4985891 Q83542 Q1444720 Q760989 Q107226 Q902672 Q205028 Q1200034 Q156608 Q72276
SYSTEM
X-Men: Days of Future Past, Resident Evil: Retribution, Destroy All Monsters, Moscow on the Hudson, The Bourne Ultimatum, Jack Ryan: Shadow Recruit, Iron Man 2, In Like Flint, The Bourne Supremacy, A Good Day to Die Hard
Q4985891 Q83542 Q1444720 Q760989 Q107226 Q902672 Q205028 Q1200034 Q156608 Q72276
AND((c(Q838948),P840,Q649), (c(Q838948),P840,Q60))
action filter_type
action intersection
action find_reverse
entity Q649
relation P840
action find_reverse
entity Q60
relation P840
type Q838948
X-Men: Days of Future Past, Resident Evil: Retribution, Destroy All Monsters, Moscow on the Hudson, The Bourne Ultimatum, Jack Ryan: Shadow Recruit, Iron Man 2, In Like Flint, The Bourne Supremacy and A Good Day to die Hard have a setting location of Moscow and New York City
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q649'], [{'concept': 'Q838948'}, 'P840', 'Q60']]}
SELECT DISTINCT ?h WHERE { ?h property:P840 resource:Q649 . ?h property:P840 resource:Q60 . ?h rdf:type ontology:Q838948 }
X-Men: Days of Future Past Resident Evil: Retribution Destroy All Monsters Moscow on the Hudson The Bourne Ultimatum Jack Ryan: Shadow Recruit Iron Man 2 In Like Flint The Bourne Supremacy A Good Day to Die Hard
X-Men: Days of Future Past, Resident Evil: Retribution, Destroy All Monsters, Moscow on the Hudson, The Bourne Ultimatum, Jack Ryan: Shadow Recruit, Iron Man 2, In Like Flint, The Bourne Supremacy and A Good Day to die Hard have a setting location of Moscow and New York City
X-Men: Days of Future Past Resident Evil: Retribution Destroy All Monsters Moscow on the Hudson The Bourne Ultimatum Jack Ryan: Shadow Recruit Iron Man 2 In Like Flint The Bourne Supremacy A Good Day to Die Hard
action filter_type
action intersection
action find_reverse
entity Moscow
relation narrative location
action find_reverse
entity New York City
relation narrative location
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Moscow'], [{'concept': 'work of art'}, 'narrative location', 'New York City']]}
SELECT DISTINCT ?h WHERE { ?h property:narrative_location resource:Moscow . ?h property:narrative_location resource:New_York_City . ?h rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4985891 Q83542 Q1444720 Q760989 Q107226 Q902672 Q205028 Q1200034 Q156608 Q72276
P162
Q502895
USER
Who produced those works of art ?
(Q4985891,P162,c(Q502895)) (Q83542,P162,c(Q502895)) (Q1444720,P162,c(Q502895)) (Q760989,P162,c(Q502895)) (Q107226,P162,c(Q502895)) (Q902672,P162,c(Q502895)) (Q205028,P162,c(Q502895)) (Q1200034,P162,c(Q502895)) (Q156608,P162,c(Q502895)) (Q72276,P162,c(Q502895))
action filter_type
action find
entity prev_answer
relation P162
type Q502895
['Q4985891', 'P162', {'concept': 'Q502895'}] ['Q83542', 'P162', {'concept': 'Q502895'}] ['Q1444720', 'P162', {'concept': 'Q502895'}] ['Q760989', 'P162', {'concept': 'Q502895'}] ['Q107226', 'P162', {'concept': 'Q502895'}] ['Q902672', 'P162', {'concept': 'Q502895'}] ['Q205028', 'P162', {'concept': 'Q502895'}] ['Q1200034', 'P162', {'concept': 'Q502895'}] ['Q156608', 'P162', {'concept': 'Q502895'}] ['Q72276', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?n property:P162 ?a . VALUES ( ?n ) { ( resource:Q4985891 ) ( resource:Q83542 ) ( resource:Q1444720 ) } }
X-Men: Days of Future Past Resident Evil: Retribution Destroy All Monsters Moscow on the Hudson The Bourne Ultimatum Jack Ryan: Shadow Recruit Iron Man 2 In Like Flint The Bourne Supremacy A Good Day to Die Hard
action filter_type
action find
entity prev_answer
relation producer
type common name
['X-Men: Days of Future Past', 'producer', {'concept': 'common name'}] ['Resident Evil: Retribution', 'producer', {'concept': 'common name'}] ['Destroy All Monsters', 'producer', {'concept': 'common name'}] ['Moscow on the Hudson', 'producer', {'concept': 'common name'}] ['The Bourne Ultimatum', 'producer', {'concept': 'common name'}] ['Jack Ryan: Shadow Recruit', 'producer', {'concept': 'common name'}] ['Iron Man 2', 'producer', {'concept': 'common name'}] ['In Like Flint', 'producer', {'concept': 'common name'}] ['The Bourne Supremacy', 'producer', {'concept': 'common name'}] ['A Good Day to Die Hard', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?n property:producer ?a . VALUES ( ?n ) { ( resource:X-Men:_Days_of_Future_Past ) ( resource:Resident_Evil:_Retribution ) ( resource:Destroy_All_Monsters ) } }
[]
common name
Q270560 Q549570 Q549570
SYSTEM
Paul Mazursky for 1st, Frank Marshall for 2nd, 3rd
Q219507 Q469795 Q2593 Q380608 Q1239033 Q1228933 Q652228 Q270560 Q549570 Q24250859 Q636664 Q345683 Q515161 Q7427287 Q549570 Q24250859 Q4718035
(Q4985891,P162,c(Q502895)) (Q83542,P162,c(Q502895)) (Q1444720,P162,c(Q502895)) (Q760989,P162,c(Q502895)) (Q107226,P162,c(Q502895)) (Q902672,P162,c(Q502895)) (Q205028,P162,c(Q502895)) (Q1200034,P162,c(Q502895)) (Q156608,P162,c(Q502895)) (Q72276,P162,c(Q502895))
action filter_type
action find
entity prev_answer
relation P162
type Q502895
[ANSWERS]
['Q4985891', 'P162', {'concept': 'Q502895'}] ['Q83542', 'P162', {'concept': 'Q502895'}] ['Q1444720', 'P162', {'concept': 'Q502895'}] ['Q760989', 'P162', {'concept': 'Q502895'}] ['Q107226', 'P162', {'concept': 'Q502895'}] ['Q902672', 'P162', {'concept': 'Q502895'}] ['Q205028', 'P162', {'concept': 'Q502895'}] ['Q1200034', 'P162', {'concept': 'Q502895'}] ['Q156608', 'P162', {'concept': 'Q502895'}] ['Q72276', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?n property:P162 ?a . VALUES ( ?n ) { ( resource:Q4985891 ) ( resource:Q83542 ) ( resource:Q1444720 ) } }
Simon Kinberg Lauren Shuler Donner Matthew Vaughn Paul W. S. Anderson Don Carmody Samuel Hadida Tomoyuki Tanaka Paul Mazursky Frank Marshall Patrick Crowley Lorenzo di Bonaventura Mace Neufeld Kevin Feige Saul David Frank Marshall Patrick Crowley Alex Young
Paul Mazursky, Frank Marshall and Frank Marshall produced those works of art
Paul Mazursky Frank Marshall Frank Marshall
action filter_type
action find
entity prev_answer
relation producer
type common name
['X-Men: Days of Future Past', 'producer', {'concept': 'common name'}] ['Resident Evil: Retribution', 'producer', {'concept': 'common name'}] ['Destroy All Monsters', 'producer', {'concept': 'common name'}] ['Moscow on the Hudson', 'producer', {'concept': 'common name'}] ['The Bourne Ultimatum', 'producer', {'concept': 'common name'}] ['Jack Ryan: Shadow Recruit', 'producer', {'concept': 'common name'}] ['Iron Man 2', 'producer', {'concept': 'common name'}] ['In Like Flint', 'producer', {'concept': 'common name'}] ['The Bourne Supremacy', 'producer', {'concept': 'common name'}] ['A Good Day to Die Hard', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?n property:producer ?a . VALUES ( ?n ) { ( resource:X-Men:_Days_of_Future_Past ) ( resource:Resident_Evil:_Retribution ) ( resource:Destroy_All_Monsters ) } }
[]