Simple Question (Direct)
Simple Question
Q678318
P27
Q1048835
USER
Which political territory is the country of citizenship of Armando Fernández ?
(Q678318,P27,c(Q1048835))
action filter_type
action find
entity Q678318
relation P27
type Q1048835
['Q678318', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q678318 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Armando Fernández
action filter_type
action find
entity Armando Fernández
relation country of citizenship
type political territorial entity
['Armando Fernández', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Armando_Fernández property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q678318,P27,c(Q1048835))
action filter_type
action find
entity Q678318
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Armando Fernández
['Q678318', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q678318 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Armando Fernández
Germany
action filter_type
action find
entity Armando Fernández
relation country of citizenship
type political territorial entity
['Armando Fernández', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Armando_Fernández property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P915
Q838948
USER
Which works of art were filmed in the location that political territory ?
(c(Q838948),P915,Q183)
action filter_type
action find_reverse
entity Q183
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ?d WHERE { ?d property:P915 resource:Q183 . ?d rdf:type ontology:Q838948 }
Germany
action filter_type
action find_reverse
entity Germany
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ?d WHERE { ?d property:filming_location resource:Germany . ?d rdf:type ontology:work_of_art }
[]
work of art
Q18407657 Q159063 Q3521099
SYSTEM
Captain America: Civil War, The Reader, The Grand Budapest Hotel
Q797445 Q7879141 Q587566 Q270061 Q1171442 Q17014725 Q7758601 Q16249045 Q3088260 Q7924385 Q2524426 Q541354 Q490076 Q2500178 Q474425 Q18713033 Q16249196 Q671631 Q5896770 Q666707 Q679833 Q12485037 Q936327 Q7138266 Q7745749 Q421583 Q188159 Q204398 Q971985 Q5967392 Q157879 Q15715216 Q167411 Q895543 Q7749543 Q313764 Q1630478 Q2906966 Q164813 Q15140361 Q540624 Q1575773 Q1302032 Q19315473 Q5002116 Q207916 Q15040678 Q819084 Q313819 Q1283810 Q158759 Q159063 Q16494458 Q6818502 Q16251439 Q694781 Q892039 Q664234 Q378754 Q153723 Q1169101 Q1195819 Q3560411 Q3560415 Q18407657 Q12137068 Q571583 Q842720 Q152857 Q6750834 Q325648 Q2251852 Q1218840 Q5395738 Q185658 Q652251 Q166696 Q3045056 Q3346699 Q3210569 Q228554 Q170268 Q637849 Q4666737 Q478793 Q455555 Q488316 Q1454148 Q2394581 Q250971 Q14952480 Q15040657 Q1467237 Q1637791 Q12123479 Q13564191 Q760989 Q498287 Q14511981 Q1347086 Q127021 Q643847 Q481310 Q180416 Q5943675 Q3246496 Q705871 Q1192054 Q1806709 Q3352751 Q671718 Q309248 Q163549 Q5619208 Q677347 Q216269 Q314942 Q4536024 Q18067135 Q21065355 Q627209 Q158398 Q107914 Q3521099 Q1033396 Q3206615 Q4407383 Q4656385 Q498442 Q926309 Q1524596 Q1430155 Q1203252 Q535628 Q546900 Q3016883 Q158023
(c(Q838948),P915,Q183)
action filter_type
action find_reverse
entity Q183
relation P915
type Q838948
[ANSWERS] were filmed in the location that political territory
[{'concept': 'Q838948'}, 'P915', 'Q183']
SELECT DISTINCT ?d WHERE { ?d property:P915 resource:Q183 . ?d rdf:type ontology:Q838948 }
Baader Ullasa Paravaigal Stroszek 7 Zwerge – Der Wald ist nicht genug The Silence Under the Pavement Lies the Strand The Prosecutor Hallers Unfinished Business Pola X Via Mala Viktor Vogel – Commercial Man Faust Night Crossing Urban Explorer Nekromantik 2 Hunter's Prayer Amour Fou Ninja Assassin Honor Bound The Bridesmaid Black Death Habibie & Ainun Willy Wonka & the Chocolate Factory Parker The Last Escape Lore A Dangerous Method Octopussy Target I, Anna The Ghost Writer Hitman: Agent 47 The Counterfeiters Among Vultures The Magician of Lublin The Tin Drum The Good Neighbour Blood Trails Perfume: The Story of a Murderer Porobashinee Germany, Year Zero Hannah Arendt Chicken with Plums Snowden Buster's Bedroom Tomorrow Never Dies The Voices Before the Fall Anonymous One, Two, Three Unknown The Reader Run Boy Run Mercilessly Betrayed A Hologram for the King The American Friend Bon Appétit Itinéraire d'un enfant gâté The Church Inglourious Basterds Dr. M $ Violent Shit II: Mother Hold My Hand Violent Shit Captain America: Civil War The Eye of Evil Laser Mission Hostel Downfall Manniac Head-On F for Fake The Last Company Errors of the Human Body Indiana Jones and the Last Crusade Nekromantik The Baader Meinhof Complex Disengagement Nymphomaniac The Mark of the Angels – Miserere Trains'n'Roses Hanna The Damned Abendland Berlin 36 Anatomy 2 Anatomy Free Land Les Misérables Young Goethe in Love Early to Bed K3: Prison of Hell Ruby Cairo Chitty Chitty Bang Bang Fuck for Forest 102 Years in the Heart of Europe: A Portrait of Ernst Jünger Moscow on the Hudson Hansel and Gretel: Witch Hunters The Book Thief Slasher M Smilla's Sense of Snow Visions of Eight Das Experiment Az Karkheh ta Rhein House of Boys The Edge of Heaven The Holcroft Covenant Last Hippie Standing Only Lovers Left Alive The Search The Three Musketeers Black Book Gunner Palace The Countess 23 Pandorum The Apparition Bridge of Spies Look Who's Back Rollerball Iron Sky Diamonds Are Forever The Grand Budapest Hotel Cannibal Beauty and the Beast Monuments Men A Defeated People Spaceballs Brüno Chalet Girl The Angel's Melancholy Don 2 First Spaceship on Venus Suspiria Passion The White Ribbon
Captain America: Civil War, The Reader and The Grand Budapest Hotel were filmed in the location that political territory
Captain America: Civil War The Reader The Grand Budapest Hotel
action filter_type
action find_reverse
entity Germany
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Germany']
SELECT DISTINCT ?d WHERE { ?d property:filming_location resource:Germany . ?d rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q18407657
P1441
Q3895768 Q95074
USER
How many fictional locations and fictional characters are featured in Captain America: Civil War ?
(c(Q3895768),P1441,Q18407657) (c(Q95074),P1441,Q18407657)
action count
action union
action filter_type
action find_reverse
entity Q18407657
relation P1441
type Q3895768
action filter_type
action find_reverse
entity Q18407657
relation P1441
type Q95074
[{'concept': 'Q3895768'}, 'P1441', 'Q18407657'] [{'concept': 'Q95074'}, 'P1441', 'Q18407657']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q3895768 ) ( ontology:Q95074 ) } . ?l rdf:type ?s }
Captain America: Civil War
action count
action union
action filter_type
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional location
action filter_type
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional character
[{'concept': 'fictional location'}, 'present in work', 'Captain America: Civil War'] [{'concept': 'fictional character'}, 'present in work', 'Captain America: Civil War']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:fictional_location ) ( ontology:fictional_character ) } . ?l rdf:type ?s }
[]
fictional location fictional character
SYSTEM
1 fictional locations and 1 fictional characters
Q26760958 Q24040951
(c(Q3895768),P1441,Q18407657) (c(Q95074),P1441,Q18407657)
action count
action union
action filter_type
action find_reverse
entity Q18407657
relation P1441
type Q3895768
action filter_type
action find_reverse
entity Q18407657
relation P1441
type Q95074
[ANSWER]
[{'concept': 'Q3895768'}, 'P1441', 'Q18407657'] [{'concept': 'Q95074'}, 'P1441', 'Q18407657']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q3895768 ) ( ontology:Q95074 ) } . ?l rdf:type ?s }
Wakanda F.R.I.D.A.Y.
1 fictional locations and 1 fictional characters
action count
action union
action filter_type
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional location
action filter_type
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional character
[{'concept': 'fictional location'}, 'present in work', 'Captain America: Civil War'] [{'concept': 'fictional character'}, 'present in work', 'Captain America: Civil War']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:fictional_location ) ( ontology:fictional_character ) } . ?l rdf:type ?s }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q642878 Q18407657
P1080 P1441
Q6619679
USER
Which fictional humanoids are featured in Captain America: Civil War and appears in Marvel Cinematic Universe ?
AND((c(Q6619679),P1441,Q18407657), (c(Q6619679),P1080,Q642878))
action filter_type
action intersection
action find_reverse
entity Q18407657
relation P1441
action find_reverse
entity Q642878
relation P1080
type Q6619679
{'AND': [[{'concept': 'Q6619679'}, 'P1441', 'Q18407657'], [{'concept': 'Q6619679'}, 'P1080', 'Q642878']]}
SELECT DISTINCT ?h WHERE { ?h property:P1441 resource:Q18407657 . ?h property:P1080 resource:Q642878 . ?h rdf:type ontology:Q6619679 }
Marvel Cinematic Universe Captain America: Civil War
action filter_type
action intersection
action find_reverse
entity Captain America: Civil War
relation present in work
action find_reverse
entity Marvel Cinematic Universe
relation from fictional universe
type fictional humanoid
{'AND': [[{'concept': 'fictional humanoid'}, 'present in work', 'Captain America: Civil War'], [{'concept': 'fictional humanoid'}, 'from fictional universe', 'Marvel Cinematic Universe']]}
SELECT DISTINCT ?h WHERE { ?h property:present_in_work resource:Captain_America:_Civil_War . ?h property:from_fictional_universe resource:Marvel_Cinematic_Universe . ?h rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q23895063 Q24040958 Q24027486 Q24040742 Q24022345 Q24040968 Q24040949 Q24022542 Q24004905 Q24026688
SYSTEM
Some of them are Natasha Romanoff / Black Widow, FedEx Driver, Sharon Carter / Agent 13, Brock Rumlow / Crossbones, Sam Wilson / Falcon, Karpov, Miriam, Wanda Maximoff / Scarlet Witch, T'Chaka, Clint Barton / Hawkeye
Q24022457 Q24022542 Q24040968 Q24022098 Q24040949 Q23894967 Q23991129 Q23900446 Q24027486 Q23991271 Q24040958 Q26758863 Q24040913 Q24040935 Q24027376 Q24022345 Q24004905 Q24040742 Q24026688 Q24026703 Q24004885 Q23895063 Q23991694
AND((c(Q6619679),P1441,Q18407657), (c(Q6619679),P1080,Q642878))
action filter_type
action intersection
action find_reverse
entity Q18407657
relation P1441
action find_reverse
entity Q642878
relation P1080
type Q6619679
[ANSWERS] are featured in Captain America: Civil War and appears in Marvel Cinematic Universe
{'AND': [[{'concept': 'Q6619679'}, 'P1441', 'Q18407657'], [{'concept': 'Q6619679'}, 'P1080', 'Q642878']]}
SELECT DISTINCT ?h WHERE { ?h property:P1441 resource:Q18407657 . ?h property:P1080 resource:Q642878 . ?h rdf:type ontology:Q6619679 }
Zemo Wanda Maximoff / Scarlet Witch Karpov Steve Rogers Miriam Tony Stark / Iron Man Peter Parker / Spider-Man Howard Stark Sharon Carter / Agent 13 May Parker FedEx Driver Ayo Everett K. Ross Maria Stark Thaddeus Ross Sam Wilson / Falcon T'Chaka Brock Rumlow / Crossbones Clint Barton / Hawkeye Scott Lang / Ant-Man T'Challa / Black Panther Natasha Romanoff / Black Widow Bucky Barnes / Winter Soldier
Natasha Romanoff / Black Widow, FedEx Driver, Sharon Carter / Agent 13, Brock Rumlow / Crossbones, Sam Wilson / Falcon, Karpov, Miriam, Wanda Maximoff / Scarlet Witch, T'Chaka and Clint Barton / Hawkeye are featured in Captain America: Civil War and appears in Marvel Cinematic Universe
Natasha Romanoff / Black Widow FedEx Driver Sharon Carter / Agent 13 Brock Rumlow / Crossbones Sam Wilson / Falcon Karpov Miriam Wanda Maximoff / Scarlet Witch T'Chaka Clint Barton / Hawkeye
action filter_type
action intersection
action find_reverse
entity Captain America: Civil War
relation present in work
action find_reverse
entity Marvel Cinematic Universe
relation from fictional universe
type fictional humanoid
{'AND': [[{'concept': 'fictional humanoid'}, 'present in work', 'Captain America: Civil War'], [{'concept': 'fictional humanoid'}, 'from fictional universe', 'Marvel Cinematic Universe']]}
SELECT DISTINCT ?h WHERE { ?h property:present_in_work resource:Captain_America:_Civil_War . ?h property:from_fictional_universe resource:Marvel_Cinematic_Universe . ?h rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q386724 Q3305213
USER
Which works of art are depicted in max number of works or paintings ?
(c(Q386724)|c(Q3305213),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q386724'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?p ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?z ) WHERE { { ?w property:P180 ?u . ?u rdf:type ontology:Q838948 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P180 ?u . ?u rdf:type ontology:Q838948 . ?w rdf:type ontology:Q3305213 } } GROUP BY ?u } } . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3305213 ) ( ontology:Q386724 ) } } GROUP BY ?e } . FILTER ( ?s = ?p ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
[[{'concept': 'work'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?p ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?z ) WHERE { { ?w property:depicts ?u . ?u rdf:type ontology:work_of_art . ?w rdf:type ontology:work } UNION { ?w property:depicts ?u . ?u rdf:type ontology:work_of_art . ?w rdf:type ontology:painting } } GROUP BY ?u } } . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:painting ) ( ontology:work ) } } GROUP BY ?e } . FILTER ( ?s = ?p ) }
[]
work of art work painting
Q3305213
SYSTEM
painting
Q3305213
(c(Q386724)|c(Q3305213),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
The [ANSWER] is depicted in max number of works or [ANSWER]s
[[{'concept': 'Q386724'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?p ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?z ) WHERE { { ?w property:P180 ?u . ?u rdf:type ontology:Q838948 . ?w rdf:type ontology:Q386724 } UNION { ?w property:P180 ?u . ?u rdf:type ontology:Q838948 . ?w rdf:type ontology:Q3305213 } } GROUP BY ?u } } . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:Q3305213 ) ( ontology:Q386724 ) } } GROUP BY ?e } . FILTER ( ?s = ?p ) }
painting
The painting is depicted in max number of works or paintings
painting
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
[[{'concept': 'work'}, {'concept': 'painting'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?p ) { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?z ) WHERE { { ?w property:depicts ?u . ?u rdf:type ontology:work_of_art . ?w rdf:type ontology:work } UNION { ?w property:depicts ?u . ?u rdf:type ontology:work_of_art . ?w rdf:type ontology:painting } } GROUP BY ?u } } . { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?s ) WHERE { ?k rdf:type ?c . VALUES ( ?c ) { ( ontology:painting ) ( ontology:work ) } } GROUP BY ?e } . FILTER ( ?s = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1056
Q838948 Q4830453 Q43229
USER
How many works of art are made by less number of business enterprises or organizations than that work of art ?
(c(Q4830453)|c(Q43229),P1056,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q838948
type Q4830453
action find_reverse_tuple_counts
relation P1056
type Q838948
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q3305213
relation P1056
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?t WHERE { VALUES ( ?j ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?u rdf:type ?j } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:Q4830453 } UNION { ?v rdf:type ontology:Q43229 } } . ?v property:P1056 resource:Q3305213 } } . FILTER ( ?c < ?n ) }
action count
action less
action union
action find_reverse_tuple_counts
relation product
type work of art
type business enterprise
action find_reverse_tuple_counts
relation product
type work of art
type organization
action count
action filter_multi_types
action find_reverse
entity painting
relation product
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'product', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?t WHERE { VALUES ( ?j ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?u rdf:type ?j } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:business_enterprise } UNION { ?v rdf:type ontology:organization } } . ?v property:product resource:painting } } . FILTER ( ?c < ?n ) }
[]
work of art business enterprise organization
SYSTEM
0
(c(Q4830453)|c(Q43229),P1056,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q838948
type Q4830453
action find_reverse_tuple_counts
relation P1056
type Q838948
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q3305213
relation P1056
type Q4830453
type Q43229
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?t WHERE { VALUES ( ?j ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?u rdf:type ?j } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:Q4830453 } UNION { ?v rdf:type ontology:Q43229 } } . ?v property:P1056 resource:Q3305213 } } . FILTER ( ?c < ?n ) }
0
action count
action less
action union
action find_reverse_tuple_counts
relation product
type work of art
type business enterprise
action find_reverse_tuple_counts
relation product
type work of art
type organization
action count
action filter_multi_types
action find_reverse
entity painting
relation product
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'product', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?t WHERE { VALUES ( ?j ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?u rdf:type ?j } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:business_enterprise } UNION { ?v rdf:type ontology:organization } } . ?v property:product resource:painting } } . FILTER ( ?c < ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P157
Q636497 Q6619679 Q6619679
USER
Which fictional humanoids were assasinated by exactly 1 stock characters and fictional humanoids ?
(c(Q6619679),P157,c(Q636497)|c(Q6619679))
action equal
action union
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action find_tuple_counts
relation P157
type Q6619679
type Q6619679
value 1
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q636497'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:P157 ?z . ?q rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q636497 } UNION { ?q property:P157 ?z . ?q rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q6619679 } } GROUP BY ?q } . FILTER ( ?v = 1 ) }
action equal
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional humanoid
value 1
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'stock character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:killed_by ?z . ?q rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:stock_character } UNION { ?q property:killed_by ?z . ?q rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:fictional_humanoid } } GROUP BY ?q } . FILTER ( ?v = 1 ) }
[]
stock character fictional humanoid fictional humanoid
Q7624009 Q23900446 Q2461109
SYSTEM
Stringer Bell, Howard Stark, General Ourumov
Q21431308 Q2142742 Q20818052 Q26741401 Q21431307 Q2461109 Q14920993 Q2130544 Q14921007 Q23900446 Q15118476 Q2089037 Q21411069 Q21431283 Q7624009 Q18535424 Q24040935 Q21431277 Q1095612 Q2307276 Q20001183 Q15223888 Q2439551 Q2609344 Q21489880 Q27624318 Q18535363 Q3870091 Q3836775 Q10264220 Q21282852 Q1916185 Q9010739 Q642549
(c(Q6619679),P157,c(Q636497)|c(Q6619679))
action equal
action union
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action find_tuple_counts
relation P157
type Q6619679
type Q6619679
value 1
[ANSWERS] were assasinated by exactly 1 stock characters and fictional humanoids
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q636497'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:P157 ?z . ?q rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q636497 } UNION { ?q property:P157 ?z . ?q rdf:type ontology:Q6619679 . ?z rdf:type ontology:Q6619679 } } GROUP BY ?q } . FILTER ( ?v = 1 ) }
Queen Eva Emilio Largo Rhaegar Targaryen Conrad King Leopold General Ourumov Kevin Carroll Tracy Bond Mark DeSalvo Howard Stark Julius Solange Peter Pan Cora Mills Stringer Bell Rashek Maria Stark Maid Marian Teri Bauer Rosa Klebb Killian Jones Janduin Isam Jonathan Levinson King Fergus Lucian/Strong Zealot Kelsier Nancy Lord Luc Dario Rachel Banks Sergei Barsov Jamey Farrell Francisco Scaramanga
Stringer Bell, Howard Stark and General Ourumov were assasinated by exactly 1 stock characters and fictional humanoids
Stringer Bell Howard Stark General Ourumov
action equal
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional humanoid
value 1
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'stock character'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:killed_by ?z . ?q rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:stock_character } UNION { ?q property:killed_by ?z . ?q rdf:type ontology:fictional_humanoid . ?z rdf:type ontology:fictional_humanoid } } GROUP BY ?q } . FILTER ( ?v = 1 ) }
[]