Simple Question (Direct)
Simple Question
Q5740249
P27
Q15617994
USER
Which administrative territory is the native country of Calixto Ruiz de Gauna ?
(Q5740249,P27,c(Q15617994))
action filter_type
action find
entity Q5740249
relation P27
type Q15617994
['Q5740249', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q5740249 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Calixto Ruiz de Gauna
action filter_type
action find
entity Calixto Ruiz de Gauna
relation country of citizenship
type designation for an administrative territorial entity
['Calixto Ruiz de Gauna', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Calixto_Ruiz_de_Gauna property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q5740249,P27,c(Q15617994))
action filter_type
action find
entity Q5740249
relation P27
type Q15617994
[ANSWER] is the native country of Calixto Ruiz de Gauna
['Q5740249', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q5740249 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Argentina
Argentina is the native country of Calixto Ruiz de Gauna
Argentina
action filter_type
action find
entity Calixto Ruiz de Gauna
relation country of citizenship
type designation for an administrative territorial entity
['Calixto Ruiz de Gauna', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Calixto_Ruiz_de_Gauna property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P915
Q838948
USER
Which work of art was filmed at that administrative territory ?
(c(Q838948),P915,Q414)
action filter_type
action find_reverse
entity Q414
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q414']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q414 . ?h rdf:type ontology:Q838948 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Argentina']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:Argentina . ?h rdf:type ontology:work_of_art }
[]
work of art
Q18002795
SYSTEM
The Revenant
Q18002795
(c(Q838948),P915,Q414)
action filter_type
action find_reverse
entity Q414
relation P915
type Q838948
[ANSWER] was filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q414']
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q414 . ?h rdf:type ontology:Q838948 }
The Revenant
The Revenant was filmed at that administrative territory
The Revenant
action filter_type
action find_reverse
entity Argentina
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Argentina']
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:Argentina . ?h rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to assemble max number of works of art ?
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?a ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P2079 ?k . ?k rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?k } } . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P2079 ?y . ?y rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 } GROUP BY ?y } . FILTER ( ?z = ?a ) }
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?a ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:fabrication_method ?k . ?k rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?k } } . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:fabrication_method ?y . ?y rdf:type ontology:technics . ?u rdf:type ontology:work_of_art } GROUP BY ?y } . FILTER ( ?z = ?a ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used to assemble max number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?a ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P2079 ?k . ?k rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?k } } . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:P2079 ?y . ?y rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 } GROUP BY ?y } . FILTER ( ?z = ?a ) }
gilding collage
Gilding and collage are used to assemble max number of works of art
gilding collage
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?a ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:fabrication_method ?k . ?k rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?k } } . { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { ?u property:fabrication_method ?y . ?y rdf:type ontology:technics . ?u rdf:type ontology:work_of_art } GROUP BY ?y } . FILTER ( ?z = ?a ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P2079
Q2695280 Q3305213
USER
Which technicss are used for fabrication of greater number of paintings than that technics ?
(c(Q3305213),P2079,c(Q2695280))
[{'concept': 'Q3305213'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?y WHERE { ?z property:P2079 ?y . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q2695280 }
[{'concept': 'painting'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?y WHERE { ?z property:fabrication_method ?y . ?z rdf:type ontology:painting . ?y rdf:type ontology:technics }
[]
technics painting
Comparative|More/Less|Single entity type|Clarification
Q1334300
SYSTEM
Did you mean gilding ?
(c(Q3305213),P2079,c(Q2695280))
[ANSWER]
[{'concept': 'Q3305213'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?y WHERE { ?z property:P2079 ?y . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q2695280 }
Did you mean gilding ?
gilding
[{'concept': 'painting'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?y WHERE { ?z property:fabrication_method ?y . ?z rdf:type ontology:painting . ?y rdf:type ontology:technics }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q3305213),P2079,c(Q2695280))
[{'concept': 'Q3305213'}, 'P2079', {'concept': 'Q2695280'}]
[{'concept': 'painting'}, 'fabrication method', {'concept': 'technics'}]
[]
Q133036
SYSTEM
lithography
Q133036
(c(Q3305213),P2079,c(Q2695280))
[ANSWER] is used for fabrication of greater number of paintings than that technics
[{'concept': 'Q3305213'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?y WHERE { ?z property:P2079 ?y . ?z rdf:type ontology:Q19925980 . ?y rdf:type ontology:Q2695280 }
lithography
Lithography is used for fabrication of greater number of paintings than that technics
lithography
[{'concept': 'painting'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?y WHERE { ?z property:fabrication_method ?y . ?z rdf:type ontology:painting . ?y rdf:type ontology:technics }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q811979 Q82799 Q838948
USER
Which works of art are named after atmost 1 architectural structures or names ?
(c(Q838948),P138,c(Q811979)|c(Q82799))
action atmost
action union
action find_tuple_counts
relation P138
type Q838948
type Q811979
action find_tuple_counts
relation P138
type Q838948
type Q82799
value 1
[{'concept': 'Q838948'}, 'P138', [{'concept': 'Q811979'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h property:P138 ?f . ?h rdf:type ontology:Q838948 . ?f rdf:type ontology:Q82799 } UNION { ?h property:P138 ?f . ?f rdf:type ontology:Q811979 . ?h rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?p <= 1 ) }
action atmost
action union
action find_tuple_counts
relation named after
type work of art
type architectural structure
action find_tuple_counts
relation named after
type work of art
type name
value 1
[{'concept': 'work of art'}, 'named after', [{'concept': 'architectural structure'}, {'concept': 'name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h property:named_after ?f . ?h rdf:type ontology:work_of_art . ?f rdf:type ontology:name } UNION { ?h property:named_after ?f . ?f rdf:type ontology:architectural_structure . ?h rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?p <= 1 ) }
[]
architectural structure name work of art
Q689842 Q106428 Q15624215
SYSTEM
Invictus, Apollo 13, Lucy
Q1530239 Q27478577 Q3972841 Q16677629 Q193570 Q1658450 Q2628907 Q706373 Q6698602 Q3658251 Q2608537 Q3862670 Q19427109 Q723416 Q15624215 Q12347248 Q819565 Q3141113 Q19336881 Q3207829 Q1308548 Q220515 Q15274344 Q10602158 Q27795079 Q26768828 Q565143 Q806450 Q766263 Q1514643 Q2584017 Q5149127 Q7135100 Q3808245 Q18343111 Q3350093 Q1233645 Q3922118 Q4851207 Q3437340 Q17485699 Q2115110 Q10481124 Q1036073 Q2439030 Q16254281 Q1109523 Q25043 Q174284 Q3067091 Q3905306 Q13405854 Q6698309 Q15534639 Q615461 Q2467712 Q3502612 Q160946 Q20717207 Q585241 Q5240859 Q1972788 Q987167 Q10144 Q733893 Q2580812 Q17447652 Q18175799 Q18959341 Q206461 Q7130921 Q302750 Q3576800 Q576371 Q1363166 Q1754126 Q1870178 Q4481165 Q23038971 Q741823 Q890132 Q106428 Q6770076 Q203388 Q619135 Q24953 Q20860425 Q4343053 Q689842 Q109767 Q5466971 Q2437806 Q5265546 Q7561135 Q346741 Q3129339 Q14775069 Q1873754 Q3616322 Q2402286 Q131397 Q1873753 Q26775830 Q7261254 Q2241996 Q6774033 Q488655 Q16980272 Q312522 Q2064234 Q820243 Q19089 Q16270923 Q19937008 Q691611 Q6400442 Q1532311 Q25136850 Q27679552 Q15620269 Q20743653 Q22338613 Q4343200 Q3351917 Q3624825 Q891422 Q746818 Q24943520 Q14915757 Q11293893 Q19794109 Q5072675 Q6064258 Q3284136 Q2056463 Q902631 Q4006586 Q217189 Q4729856 Q24871 Q20814582 Q3398765 Q3198000 Q7244071 Q20967634 Q5338532 Q12308526 Q12011313 Q3512719 Q1432001 Q691284 Q204725 Q6823445 Q24634873 Q26233899 Q371752 Q1139250 Q209015 Q18638352 Q617203 Q11228 Q2515769 Q184605 Q3042882 Q2647864 Q7746918 Q3862679 Q909250 Q6074825 Q11895563 Q738916 Q106440 Q3328420 Q152402 Q2332610 Q25136748 Q15052408 Q216269 Q3643954 Q13561018 Q3150366 Q154077 Q1161497 Q152185 Q2313918 Q212792 Q6078103 Q21203448 Q465910 Q11893320 Q1248136 Q5978113 Q7758822 Q13033442 Q2822119 Q10478920 Q7758824 Q1334320 Q12013827 Q3212960 Q22087691 Q15052318 Q702658 Q203765 Q2482564
(c(Q838948),P138,c(Q811979)|c(Q82799))
action atmost
action union
action find_tuple_counts
relation P138
type Q838948
type Q811979
action find_tuple_counts
relation P138
type Q838948
type Q82799
value 1
[ANSWERS] are named after atmost 1 architectural structures or names
[{'concept': 'Q838948'}, 'P138', [{'concept': 'Q811979'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h property:P138 ?f . ?h rdf:type ontology:Q838948 . ?f rdf:type ontology:Q82799 } UNION { ?h property:P138 ?f . ?f rdf:type ontology:Q811979 . ?h rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?p <= 1 ) }
Venus of Mauern Artemis of Ephesus Raimondi Stela Sous les jupes des filles Sunset Boulevard Paul Is Live – The New World Tour The Prince and the Pauper Night and Fog Lucy in London Caravan petrol Fuenteovejuna Monumento alla Bella Italia Meleager Pio-Clementino French Cancan Lucy Esperanto memorial Berger memorial Hotdorix Monument a Joan Amades Möbius I'm with Lucy The Pursuit of Happyness Sagrat Cor de Jesus Trysil-Knut Le Pétomane Teit meistä kauniin H.P. Lovecraft's: Necronomicon Bang Rajan Chungking Express If Lucy Fell Sibelius Monument Colosseum and Juicy Lucy Param Vir Chakra Jezioro Bodenskie Atyeo Oksana Out of Uniform Andria The Prince and the Pauper Ball Lightning Blood Road Alice Through the Looking Glass Mystery Play of Elche Eldhs fountain Carhenge St. Peter's Baldacchino The Prince and the Pauper King of Kings Monty Python and the Holy Grail Raiders of the Lost Ark Fast, Cheap & Out of Control Pinocchio Penny's Shadow Lucy Gallant Bust of Charlemagne The Darwin Awards Route Irish Fundamentalism Paris, Texas Mohr-Gruber-Denkmal Archibald Fountain Fando y Lis Annie Oakley Dögkeselyű Fontaine Bartholdi Chair of Saint Peter Prestwich Medal DMZ Dolmen de Dalí Sworn Virgin Excalibur Pangborn-Herndon Memorial Site Life of Galileo And the Pursuit of Happiness Round Midnight Incubus The Winter War Lloyd Memorial Phar Lap Baldwin Apple Monument JFK The War Is Over Apollo 13 Mark Twain One Eight Seven Apollo Belvedere Monty Python’s Life of Brian Gangster Ka Monument to Alexander II of Russia Invictus The Blues Brothers For Your Height Only Monument to Giuseppe Garibaldi Det var paa Rundetaarn Song of Norway Adagio in G minor Hedwig's Theme Clouds of Sils Maria Lucy the Elephant Andria Tell Monument Venus of Willendorf Lucy Pikachu Purim spiel RAF monument Marsyas Groundhog Day Black Hills gold jewelry Venus of Hohle Fels Venus Tauride Bismarck monument GoldenEye Vlas Chubar momument in the Kiev Socialisation of a Bull Serenity Khao Chon Kai Akseli and Elina Brexit: The Movie crucifixion group Giuseppe Mazzini's monument L'Hermine Nadčlovek Monument to Saints Cyril and Methodius Omar Killed Me The Voroshilov Shooter Boll Weevil Monument Esther Bust of Auguste Rodin Marina Retable of Saint Ermengol Barschel: A Murder in Geneva Chantilly Lace Ezo Gelin I ragazzi di via Panisperna Cardinal Richelieu Starbuck The Pursuit of Happiness The Seventh Seal All Watched Over by Machines of Loving Grace Avatar Je suis Charlie Roddick Gates Knight of Cups Prince Henry the Navigator Heneral Luna Edith Dircksey Cowan Memorial One Saturday Evening Emiliekilde Tabarly Torquato Tasso Venus of Langenzersdorf Addams Family Values Meteora Telescope Trst calvary Crazy Horse Memorial 1 Night in Paris You are my destiny The Method Lion de la Feuillée Vergeßt Mozart 2012 Le Tallec's patterns All Souls Day The Lena Baker Story equestrian monument to Giuseppe Garibaldi Real, The Movie Piantadino Sydämeni laulu The Blonde with Bare Breasts Goldfinger Musette avatar Starcevich memorial monument Weiner The Power of Good: Nicholas Winton 23 Livingstone Memorial Veronica Mars Samsara Walk the Line Le bon roi Dagobert The Legend of Lucy Keyes Per Aspera Ad Astra Bolt Platero The Confusion of Tongues Phone Booth Sibelius Antinous Mondragone I Love Lucy The Pursuit of Happiness Škloŭ Idol Abused Confidence Eastman fountain The Pursuit of Happiness Elvis Has Left the Building Jappeloup Rookie of the Year 'O schiaffo Jodorowsky's Dune Lion man of the Hohlenstein Stadel Venus of Laussel diorama sculpted from wood or ivory
Invictus, Apollo 13 and Lucy are named after atmost 1 architectural structures or names
Invictus Apollo 13 Lucy
action atmost
action union
action find_tuple_counts
relation named after
type work of art
type architectural structure
action find_tuple_counts
relation named after
type work of art
type name
value 1
[{'concept': 'work of art'}, 'named after', [{'concept': 'architectural structure'}, {'concept': 'name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h property:named_after ?f . ?h rdf:type ontology:work_of_art . ?f rdf:type ontology:name } UNION { ?h property:named_after ?f . ?f rdf:type ontology:architectural_structure . ?h rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?p <= 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P361
Q6619679 Q636497
USER
How many fictional humanoids or stock characters are a component of that work of art ?
(c(Q6619679),P361,Q15624215) (c(Q636497),P361,Q15624215) (c(Q6619679),P361,Q689842) (c(Q636497),P361,Q689842) (c(Q6619679),P361,Q106428) (c(Q636497),P361,Q106428) (c(Q6619679),P361,Q15624215) (c(Q636497),P361,Q15624215)
[{'concept': 'Q6619679'}, 'P361', 'Q15624215'] [{'concept': 'Q636497'}, 'P361', 'Q15624215'] [{'concept': 'Q6619679'}, 'P361', 'Q689842'] [{'concept': 'Q636497'}, 'P361', 'Q689842'] [{'concept': 'Q6619679'}, 'P361', 'Q106428'] [{'concept': 'Q636497'}, 'P361', 'Q106428'] [{'concept': 'Q6619679'}, 'P361', 'Q15624215'] [{'concept': 'Q636497'}, 'P361', 'Q15624215']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 resource:Q27147401 } UNION { ?y property:P361 resource:Q27147401 } UNION { ?z property:P361 resource:Q689842 } UNION { ?y property:P361 resource:Q689842 } UNION { ?z property:P361 resource:Q4780280 } UNION { ?y property:P361 resource:Q4780280 } UNION { ?z property:P361 resource:Q27147401 } UNION { ?y property:P361 resource:Q27147401 } } . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q636497 }
[{'concept': 'fictional humanoid'}, 'part of', 'Lucy'] [{'concept': 'stock character'}, 'part of', 'Lucy'] [{'concept': 'fictional humanoid'}, 'part of', 'Invictus'] [{'concept': 'stock character'}, 'part of', 'Invictus'] [{'concept': 'fictional humanoid'}, 'part of', 'Apollo 13'] [{'concept': 'stock character'}, 'part of', 'Apollo 13'] [{'concept': 'fictional humanoid'}, 'part of', 'Lucy'] [{'concept': 'stock character'}, 'part of', 'Lucy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of resource:Lucy } UNION { ?y property:part_of resource:Lucy } UNION { ?z property:part_of resource:Invictus } UNION { ?y property:part_of resource:Invictus } UNION { ?z property:part_of resource:Apollo_13 } UNION { ?y property:part_of resource:Apollo_13 } UNION { ?z property:part_of resource:Lucy } UNION { ?y property:part_of resource:Lucy } } . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:stock_character }
[]
fictional humanoid stock character
Quantitative|Count|Mult. entity type|Clarification
Q15624215
SYSTEM
Did you mean Lucy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 resource:Q27147401 } UNION { ?y property:P361 resource:Q27147401 } UNION { ?z property:P361 resource:Q689842 } UNION { ?y property:P361 resource:Q689842 } UNION { ?z property:P361 resource:Q4780280 } UNION { ?y property:P361 resource:Q4780280 } UNION { ?z property:P361 resource:Q27147401 } UNION { ?y property:P361 resource:Q27147401 } } . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q636497 }
Did you mean Lucy ?
Lucy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of resource:Lucy } UNION { ?y property:part_of resource:Lucy } UNION { ?z property:part_of resource:Invictus } UNION { ?y property:part_of resource:Invictus } UNION { ?z property:part_of resource:Apollo_13 } UNION { ?y property:part_of resource:Apollo_13 } UNION { ?z property:part_of resource:Lucy } UNION { ?y property:part_of resource:Lucy } } . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:stock_character }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q6619679),P361,Q15624215) (c(Q636497),P361,Q15624215) (c(Q6619679),P361,Q689842) (c(Q636497),P361,Q689842) (c(Q6619679),P361,Q106428) (c(Q636497),P361,Q106428) (c(Q6619679),P361,Q15624215) (c(Q636497),P361,Q15624215)
[{'concept': 'Q6619679'}, 'P361', 'Q15624215'] [{'concept': 'Q636497'}, 'P361', 'Q15624215'] [{'concept': 'Q6619679'}, 'P361', 'Q689842'] [{'concept': 'Q636497'}, 'P361', 'Q689842'] [{'concept': 'Q6619679'}, 'P361', 'Q106428'] [{'concept': 'Q636497'}, 'P361', 'Q106428'] [{'concept': 'Q6619679'}, 'P361', 'Q15624215'] [{'concept': 'Q636497'}, 'P361', 'Q15624215']
[{'concept': 'fictional humanoid'}, 'part of', 'Lucy'] [{'concept': 'stock character'}, 'part of', 'Lucy'] [{'concept': 'fictional humanoid'}, 'part of', 'Invictus'] [{'concept': 'stock character'}, 'part of', 'Invictus'] [{'concept': 'fictional humanoid'}, 'part of', 'Apollo 13'] [{'concept': 'stock character'}, 'part of', 'Apollo 13'] [{'concept': 'fictional humanoid'}, 'part of', 'Lucy'] [{'concept': 'stock character'}, 'part of', 'Lucy']
[]
SYSTEM
2
Q17374529 Q17417420
(c(Q6619679),P361,Q15624215) (c(Q636497),P361,Q15624215) (c(Q6619679),P361,Q689842) (c(Q636497),P361,Q689842) (c(Q6619679),P361,Q106428) (c(Q636497),P361,Q106428) (c(Q6619679),P361,Q15624215) (c(Q636497),P361,Q15624215)
[ANSWER]
[{'concept': 'Q6619679'}, 'P361', 'Q15624215'] [{'concept': 'Q636497'}, 'P361', 'Q15624215'] [{'concept': 'Q6619679'}, 'P361', 'Q689842'] [{'concept': 'Q636497'}, 'P361', 'Q689842'] [{'concept': 'Q6619679'}, 'P361', 'Q106428'] [{'concept': 'Q636497'}, 'P361', 'Q106428'] [{'concept': 'Q6619679'}, 'P361', 'Q15624215'] [{'concept': 'Q636497'}, 'P361', 'Q15624215']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P361 resource:Q27147401 } UNION { ?y property:P361 resource:Q27147401 } UNION { ?z property:P361 resource:Q689842 } UNION { ?y property:P361 resource:Q689842 } UNION { ?z property:P361 resource:Q4780280 } UNION { ?y property:P361 resource:Q4780280 } UNION { ?z property:P361 resource:Q27147401 } UNION { ?y property:P361 resource:Q27147401 } } . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q636497 }
Lucy Pierre Del Rio
2
[{'concept': 'fictional humanoid'}, 'part of', 'Lucy'] [{'concept': 'stock character'}, 'part of', 'Lucy'] [{'concept': 'fictional humanoid'}, 'part of', 'Invictus'] [{'concept': 'stock character'}, 'part of', 'Invictus'] [{'concept': 'fictional humanoid'}, 'part of', 'Apollo 13'] [{'concept': 'stock character'}, 'part of', 'Apollo 13'] [{'concept': 'fictional humanoid'}, 'part of', 'Lucy'] [{'concept': 'stock character'}, 'part of', 'Lucy']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:part_of resource:Lucy } UNION { ?y property:part_of resource:Lucy } UNION { ?z property:part_of resource:Invictus } UNION { ?y property:part_of resource:Invictus } UNION { ?z property:part_of resource:Apollo_13 } UNION { ?y property:part_of resource:Apollo_13 } UNION { ?z property:part_of resource:Lucy } UNION { ?y property:part_of resource:Lucy } } . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:stock_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15624215
P1441
Q15619164
USER
Which abstract beings are from the works of Lucy ?
(c(Q15619164),P1441,Q15624215)
action filter_type
action find_reverse
entity Q15624215
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ?p WHERE { ?p property:P1441 resource:Q15624215 . ?p rdf:type ontology:Q15619164 }
Lucy
action filter_type
action find_reverse
entity Lucy
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ?p WHERE { ?p property:present_in_work resource:Lucy . ?p rdf:type ontology:abstract_being }
[]
abstract being
Q17417423 Q17417427 Q17417431
SYSTEM
Regent Hotel Concierge #2, French Mule, Lucy’s Driver
Q17420051 Q17417436 Q17417438 Q17417428 Q17417440 Q17417427 Q17417442 Q17417443 Q17417431 Q17417430 Q17417433 Q17417432 Q17420617 Q17419858 Q17417423 Q17419952 Q17417425 Q17419658 Q17419649
(c(Q15619164),P1441,Q15624215)
action filter_type
action find_reverse
entity Q15624215
relation P1441
type Q15619164
[ANSWERS] are from the works of Lucy
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ?p WHERE { ?p property:P1441 resource:Q15624215 . ?p rdf:type ontology:Q15619164 }
Rubik's Cube Boy Chinese Doctor Drug Addict Cop Daniel Warehouse Man Driver French Mule Mahjong Room Man The Receptionist Lucy’s Driver Airport Nurse Italian Mule Jii Airport Doctor Cop Robert Regent Hotel Concierge #2 Cop Sergeant Cabin Manager Business Man Plane Taipei Surgeon
Regent Hotel Concierge #2, French Mule and Lucy’s Driver are from the works of Lucy
Regent Hotel Concierge #2 French Mule Lucy’s Driver
action filter_type
action find_reverse
entity Lucy
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ?p WHERE { ?p property:present_in_work resource:Lucy . ?p rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17417423 Q17417427 Q17417431
P1441
Q838948
USER
Where are those abstract beings shown in ?
(Q17417423,P1441,c(Q838948)) (Q17417427,P1441,c(Q838948)) (Q17417431,P1441,c(Q838948))
action filter_type
action find
entity prev_answer
relation P1441
type Q838948
['Q17417423', 'P1441', {'concept': 'Q838948'}] ['Q17417427', 'P1441', {'concept': 'Q838948'}] ['Q17417431', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?v property:P1441 ?s . VALUES ( ?v ) { ( resource:Q17420051 ) ( resource:Q17417436 ) ( resource:Q17417438 ) } }
Regent Hotel Concierge #2 French Mule Lucy’s Driver
action filter_type
action find
entity prev_answer
relation present in work
type work of art
['Regent Hotel Concierge #2', 'present in work', {'concept': 'work of art'}] ['French Mule', 'present in work', {'concept': 'work of art'}] ['Lucy’s Driver', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?v property:present_in_work ?s . VALUES ( ?v ) { ( resource:Rubik's_Cube_Boy ) ( resource:Chinese_Doctor ) ( resource:Drug_Addict ) } }
[]
work of art
Q15624215 Q15624215 Q15624215
SYSTEM
Lucy
Q15624215 Q15624215 Q15624215
(Q17417423,P1441,c(Q838948)) (Q17417427,P1441,c(Q838948)) (Q17417431,P1441,c(Q838948))
action filter_type
action find
entity prev_answer
relation P1441
type Q838948
Those abstract beings shown in are [ANSWER], [ANSWER] and [ANSWER]
['Q17417423', 'P1441', {'concept': 'Q838948'}] ['Q17417427', 'P1441', {'concept': 'Q838948'}] ['Q17417431', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q838948 . ?v property:P1441 ?s . VALUES ( ?v ) { ( resource:Q17420051 ) ( resource:Q17417436 ) ( resource:Q17417438 ) } }
Lucy Lucy Lucy
Those abstract beings shown in are Lucy, Lucy and Lucy
Lucy Lucy Lucy
action filter_type
action find
entity prev_answer
relation present in work
type work of art
['Regent Hotel Concierge #2', 'present in work', {'concept': 'work of art'}] ['French Mule', 'present in work', {'concept': 'work of art'}] ['Lucy’s Driver', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:work_of_art . ?v property:present_in_work ?s . VALUES ( ?v ) { ( resource:Rubik's_Cube_Boy ) ( resource:Chinese_Doctor ) ( resource:Drug_Addict ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15624215
P136
Q1792379
USER
What can be considered as category for Lucy ?
(Q15624215,P136,c(Q1792379))
action filter_type
action find
entity Q15624215
relation P136
type Q1792379
['Q15624215', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q15624215 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
Lucy
action filter_type
action find
entity Lucy
relation genre
type art genre
['Lucy', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Lucy property:genre ?f . ?f rdf:type ontology:art_genre }
[]
art genre
Q471839 Q1776156 Q188473
SYSTEM
science fiction film, girls with guns, action film
Q471839 Q1776156 Q188473
(Q15624215,P136,c(Q1792379))
action filter_type
action find
entity Q15624215
relation P136
type Q1792379
[ANSWERS] can be considered as category for Lucy
['Q15624215', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q15624215 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
science fiction film girls with guns action film
Science fiction film, girls with guns and action film can be considered as category for Lucy
science fiction film girls with guns action film
action filter_type
action find
entity Lucy
relation genre
type art genre
['Lucy', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Lucy property:genre ?f . ?f rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15624215
P361
Q6619679
USER
What is a part of that work of art ?
(c(Q6619679),P361,Q471839) (c(Q6619679),P361,Q1776156) (c(Q6619679),P361,Q188473)
action filter_type
action find_reverse
entity Q15624215
relation P361
type Q6619679
[{'concept': 'Q6619679'}, 'P361', 'Q471839'] [{'concept': 'Q6619679'}, 'P361', 'Q1776156'] [{'concept': 'Q6619679'}, 'P361', 'Q188473']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q15624215 . ?x rdf:type ontology:Q6619679 }
Lucy
action filter_type
action find_reverse
entity Lucy
relation part of
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'part of', 'science fiction film'] [{'concept': 'fictional humanoid'}, 'part of', 'girls with guns'] [{'concept': 'fictional humanoid'}, 'part of', 'action film']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Lucy . ?x rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q17417420
SYSTEM
Pierre Del Rio
Q17417420
(c(Q6619679),P361,Q471839) (c(Q6619679),P361,Q1776156) (c(Q6619679),P361,Q188473)
action filter_type
action find_reverse
entity Q15624215
relation P361
type Q6619679
A part of that work of art is called [ANSWER]
[{'concept': 'Q6619679'}, 'P361', 'Q471839'] [{'concept': 'Q6619679'}, 'P361', 'Q1776156'] [{'concept': 'Q6619679'}, 'P361', 'Q188473']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q15624215 . ?x rdf:type ontology:Q6619679 }
Pierre Del Rio
A part of that work of art is called Pierre Del Rio
Pierre Del Rio
action filter_type
action find_reverse
entity Lucy
relation part of
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'part of', 'science fiction film'] [{'concept': 'fictional humanoid'}, 'part of', 'girls with guns'] [{'concept': 'fictional humanoid'}, 'part of', 'action film']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Lucy . ?x rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q838948 Q15619164 Q95074
USER
Which works of art do min number of abstract beings and fictional characters appear ?
(c(Q15619164)|c(Q95074),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
[[{'concept': 'Q15619164'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?e ) WHERE { { ?m property:P1441 ?d . ?d rdf:type ontology:Q838948 . ?m rdf:type ontology:Q15619164 } UNION { ?m rdf:type ontology:Q95074 . ?d rdf:type ontology:Q838948 . ?m property:P1441 ?d } } GROUP BY ?d } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?l rdf:type ontology:Q15619164 } UNION { ?l property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?l rdf:type ontology:Q95074 } } GROUP BY ?j } } }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
[[{'concept': 'abstract being'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?e ) WHERE { { ?m property:present_in_work ?d . ?d rdf:type ontology:work_of_art . ?m rdf:type ontology:abstract_being } UNION { ?m rdf:type ontology:fictional_character . ?d rdf:type ontology:work_of_art . ?m property:present_in_work ?d } } GROUP BY ?d } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?l rdf:type ontology:abstract_being } UNION { ?l property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?l rdf:type ontology:fictional_character } } GROUP BY ?j } } }
[]
work of art abstract being fictional character
Q134773 Q104123 Q466611
SYSTEM
Forrest Gump, Pulp Fiction, The Incredible Hulk
Q3512046 Q1002100 Q164813 Q190588 Q6072886 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q7750966 Q3273477 Q204398 Q327713 Q309289 Q130283 Q512415 Q1388653 Q182692 Q2566505 Q786019 Q46717 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q388360 Q54274 Q5095462 Q1139454 Q102754 Q7742105 Q158759 Q26154237 Q842106 Q16937096 Q24815 Q22957393 Q4655870 Q134773 Q27587130 Q388319 Q15304052 Q332368 Q7283713 Q230558 Q1196177 Q230552 Q385798 Q1765358 Q506418 Q3211484 Q132351 Q628154 Q28891 Q1248487 Q2527293 Q431140 Q384508 Q15043347 Q934036 Q2891244 Q107894 Q1229857 Q51416 Q784444 Q714941 Q200873 Q2806739 Q1196264 Q4253250 Q64110 Q741878 Q83186 Q18031184 Q7707180 Q475693 Q218458 Q181795 Q2345 Q464933 Q195710 Q466611 Q1332299 Q171669 Q6481017 Q20921603 Q659037 Q1355072 Q17509388 Q436988 Q939143 Q1192536 Q23010088 Q212792 Q14775069 Q431660 Q844836 Q426828 Q1140762 Q883197 Q1232349 Q72276 Q1147689 Q24272881 Q16781911 Q8561227 Q1420651 Q320423 Q467053 Q2855777 Q2207300 Q302490 Q1364029 Q961492 Q903819 Q2497086 Q841114 Q844296 Q836298 Q50861 Q3039787 Q631855 Q106871 Q505790 Q759383 Q471746 Q1050533 Q1649282 Q538438 Q16997069 Q748030 Q106571 Q2363062 Q222939 Q951949 Q2386746 Q212145 Q221236 Q977372 Q483941 Q10350033 Q245227 Q4189330 Q1102396 Q26970 Q309366 Q1166264 Q137109 Q2340655 Q1167434 Q1710012 Q220591 Q466781 Q334780 Q1471358 Q1048916 Q650063 Q181540 Q14942871 Q1469426 Q2836733 Q18786473 Q105598 Q4208812 Q107724 Q4208814 Q2247470 Q2296376 Q20001199 Q19089 Q1046295 Q1749553 Q23823458 Q1304560 Q1595630 Q1962426 Q7774950 Q41567 Q2608065 Q24871 Q753907 Q2568261 Q1102220 Q124612 Q160618 Q180279 Q1971726 Q1122571 Q550558 Q635632 Q497850 Q3031303 Q1075182 Q165325 Q543403 Q1198611 Q1059703 Q176568 Q1325828 Q641492 Q1702819 Q626483 Q746733 Q740143 Q156539 Q518863 Q106440 Q641362 Q33191 Q123742 Q2293972 Q1217234 Q18067135 Q665446 Q1758112 Q4941 Q19590955 Q3754344 Q245172 Q3311826 Q337078 Q536139 Q637021 Q169082 Q7741587 Q26904729 Q21403132 Q507994 Q1125262 Q332330 Q20711488 Q726464 Q206400 Q114819 Q19689203 Q83656 Q1306939 Q1057015 Q807742 Q27566067 Q8873426 Q109331 Q1540124 Q207698 Q80379 Q2081291 Q1158528 Q1209853 Q1888547 Q107761 Q18786433 Q207916 Q174385 Q23780734 Q971630 Q490464 Q170250 Q421777 Q161687 Q47075 Q272064 Q1316253 Q105993 Q1193096 Q7558541 Q22000000 Q554843 Q776302 Q949228 Q302682 Q5466971 Q23781129 Q729782 Q1125566 Q525128 Q18703028 Q2003850 Q1211716 Q532006 Q691611 Q2090255 Q2529482 Q16254109 Q628851 Q27204 Q2836545 Q1330582 Q477865 Q753298 Q1616185 Q181086 Q590098 Q1141727 Q662342 Q288173 Q19648591 Q2419344 Q2257944 Q502153 Q307620 Q1354162 Q470665 Q3024211 Q184768 Q318975 Q275120 Q636038 Q154581 Q226944 Q777591 Q624603 Q107914 Q773293 Q1105359 Q13582568 Q15713892 Q248775 Q280186 Q13091172 Q819972 Q221211 Q4752758 Q474033 Q30931 Q47221 Q1189436 Q868483 Q277080 Q3522637 Q58439 Q118713 Q673153 Q1305497 Q3522995 Q1187607 Q1583966 Q104871 Q18815806 Q237572 Q495954 Q3519310 Q3282983 Q478626 Q106316 Q815550 Q18170549 Q858508 Q209170 Q749624 Q591272 Q1741232 Q24953 Q388873 Q158559 Q205447 Q833292 Q1146570 Q612323 Q3489000 Q174811 Q151904 Q7768400 Q339693 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q156519 Q23781155 Q1471230 Q1057584 Q3120992 Q612740 Q1757288 Q1367163 Q1609444 Q15715647 Q17103010 Q608261 Q309086 Q223163 Q1467237 Q1759684 Q183555 Q102244 Q1196673 Q673198 Q7752052 Q464716 Q1140085 Q587921 Q1249536 Q567298 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q1178292 Q23780914 Q104123 Q263930
(c(Q15619164)|c(Q95074),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
[ANSWERS] min number of abstract beings and fictional characters appear
[[{'concept': 'Q15619164'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?e ) WHERE { { ?m property:P1441 ?d . ?d rdf:type ontology:Q838948 . ?m rdf:type ontology:Q15619164 } UNION { ?m rdf:type ontology:Q95074 . ?d rdf:type ontology:Q838948 . ?m property:P1441 ?d } } GROUP BY ?d } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?l rdf:type ontology:Q15619164 } UNION { ?l property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?l rdf:type ontology:Q95074 } } GROUP BY ?j } } }
Jurassic World Miracle at St. Anna Perfume: The Story of a Murderer Love Actually Perros callejeros Ethan Frome Gone with the Wind Les Misérables Soul Food Run All Night Popeye Business is business The Memorandum Ma and Pa Kettle Octopussy Men in Black 3 The Man with the Golden Gun Macbeth Macross Frontier Pacific Rim Apocalypse Now Father of the Bride The Haunting Pirates of the Caribbean: The Curse of the Black Pearl Creed Julius Caesar Transformers Za-la-mort Cradle Will Rock National Treasure: Book of Secrets Pirates of the Caribbean: At World's End Chicago The Straight Story Dr. No The Innocent Unknown Descendants 2 A Streetcar Named Desire Pride Citizen Kane Ant-Man and the Wasp A Chinese Tall Story Forrest Gump Sworn to Silence Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction A View to a Kill Raid Homeward Bound: The Incredible Journey Son of Flubber Back to the Future Part III Under Siege Captain America: The Winter Soldier The Princess Bride Me Two The Usual Suspects Mission: Impossible – Ghost Protocol Wreck-It Ralph Satisfaction The Creature Walks Among Us Hocus Pocus Las adolescentes Million Dollar Arm Fiddler on the Roof Una Película de Huevos On Her Majesty's Secret Service Old Dogs Men in Black G-Force Love Is a Many-Splendored Thing The Lost World: Jurassic Park Deadline The Good Mother Journey to the West: Conquering the Demons 20,000 Leagues Under the Sea Good Morning, Vietnam Romeo and Juliet The Finest Hours Tevye and His Seven Daughters Oldboy 25th Hour The Empire Strikes Back 12 Angry Men Ocean's 11 Krull The Incredible Hulk Pete's Dragon One Flew Over the Cuckoo's Nest Lamb Queen of Katwe Angels in the Outfield Under Siege 2: Dark Territory ABCD: Any Body Can Dance 2 Operation Dumbo Drop Spamalot Biggles: Adventures in Time Spider-Man: Homecoming Bolt Clouds of Sils Maria Godzilla: Final Wars The Merry Wives of Windsor Donnie Darko Sister Act 2: Back in the Habit Blaze Henry IV, Part 2 A Good Day to Die Hard The Grey Mary Poppins Returns Taken 3 Divergent Tombstone The Spy Who Loved Me A Bridge Too Far Non-Stop Summer Magic The Mission Peter Pan OSS 117: Lost in Rio Breakfast on Pluto Under Suspicion Transporter 2 One Good Cop The Omen Live Free or Die Hard Glengarry Glen Ross Henry IV, Part 1 Die Hard with a Vengeance Mission: Impossible II A Prayer for the Dying The A-Team Catch-22 Duet for One Shining Through The Divergent Series: Insurgent The 13th Warrior From Russia with Love 3 Ninjas Jumanji Cuore di cane The Possessed The World Is Not Enough Star Trek: First Contact New York Stories Schindler's List Pirates of the Caribbean: Dead Men Tell No Tales The Prince of Egypt Kamen Rider Blade: Missing Ace That Darn Cat! Joy Ride National Treasure Darkman The Shaggy Dog Inside Llewyn Davis Phantasm III: Lord of the Dead Joy Ride 2: Dead Ahead Hannah Montana: The Movie All the President's Men Moonraker Jack Cyrano de Bergerac The Seagull Quantum of Solace Exodus: Gods and Kings The Santa Clause 2 Alice on the Farm Pete's Dragon Die Hard How the Steel Was Tempered Thunderball How the Steel Was Tempered Snow White and the Seven Dwarfs The Joy Luck Club Guardians of the Galaxy Vol. 2 GoldenEye The Princess Diaries Everest I, Daniel Blake Father of the Bride Part II Phantasm IV: Oblivion A Low Down Dirty Shame The Wildest Dream Hamlet The Lego Movie Avatar Lysistrata Les Mauvais Bergers Jurassic Park III Creature from the Black Lagoon Brokeback Mountain Never Say Never Again Suspect The Unbearable Lightness of Being The Muppets Ocean's Thirteen The Santa Clause The Kingdom of Solomon Chloe Kill Bill Volume 1 Dead Silence The Absent-Minded Professor One Magic Christmas The Forbidden Kingdom The Santa Clause 3: The Escape Clause Herbie: Fully Loaded Secret of the Wings Tron The Ten Commandments Husbands and Wives Highlander The Omen Goldfinger Monsters University People Like Us Cloverfield Pee-Wee's Big Adventure The Parent Trap Bridge of Spies Measure for Measure Ender's Game Skyfall Rogue One: A Star Wars Story The Opium Den Prince of Persia: The Sands of Time Mickey's Follies The Big Lebowski Phantasm II The Golden Compass 10 Things I Hate About You The Impossible Kid Le Chemin de crête Agent 00 The Hunt for Red October Mad Max 2 For Your Eyes Only Harry Potter and the Cursed Child Bedtime Stories The Merchant of Venice Dune The BFG Kinsey I'll Be Home for Christmas Taken 2 Omen III: The Final Conflict The Commuter Voyage to the Bottom of the Sea Back to the Future Part II Three Men and a Baby Kingdom of Heaven The Hobbit: An Unexpected Journey The Apple Dumpling Gang Damien: Omen II Dick Tracy Hondo You Only Live Twice Victoria Tomorrow Never Dies Alice in Wonderland Black Panther The Delta Force Enchanted Bicentennial Man Napoleon and Samantha Harry Potter and the Half-Blood Prince Scarface The Living Daylights Solomon and Sheba Die Hard 2 Les Misérables Solomon & Sheba Circus of Love Ernest Saves Christmas Sister Act Sholay Oscar For Your Height Only Captain Marvel The Parent Trap Duck Soup Mighty Joe Young Now You See Me: The Second Act Next of Kin The Bounty Les Vacances de Monsieur Hulot Serenity So Dear to My Heart Chimes at Midnight Phantasm: Ravager Mirror Mirror Live and Let Die Alice Cans the Cannibals Keeping the Faith The Sorcerer's Apprentice Uncle Vanya Tom and Huck A Clockwork Orange Ultimate Avengers 2 Rob Roy K-19: The Widowmaker Mission: Impossible III The Divergent Series: Allegiant Revenge of the Creature She's Gotta Have It The Snow Maiden Heart of a Dog Seraphim Falls Secretariat La Cité de la peur The Godfather Part II Atlantis: The Lost Empire Captain America: The First Avenger Gun Shy Gangs of New York The Shaggy D.A. For Love of the Game Snow White and the Huntsman Diamonds Are Forever The Bible: In the Beginning Cocktail A Million Ways to Die in the West Pan Mad Max Disney's The Kid Big Hero 6 The Transporter Twelfth Night Anchorman: The Legend Continues Battleship Die Another Day Taxi Driver OSS 117: Cairo, Nest of Spies A Chinese Odyssey Taken The Secret Life of Walter Mitty Teenage Mutant Ninja Turtles Freaky Friday Same Old Song Freaky Friday Third Person Edge of Tomorrow Underdog A Midsummer Night's Dream Pokémon the Movie: Hoopa and the Clash of Ages As You Like It Henry V Tex O Auto da Compadecida Starship Troopers Dead Poets Society Transporter 3 The Transporter Legacy Sky High Mary Poppins Tuck Everlasting Casino Royale Mission: Impossible Monty Python’s Life of Brian After.Life Man of the House Ocean's Eleven Night of the Seagulls Howard the Duck Nell The Big Man Up Casino Royale The Ten Commandments Mafia! Wreck-It Ralph 2 High Spirits Mathias Sandorf The Dukes of Hazzard Oz: The Great and Powerful Big Top Pee-wee Around the World in 80 Days Untitled Avengers Movie History of the World, Part I Crossing the Bridge Gus Phantasm Mad Max: Fury Road Swiss Family Robinson Herbie Rides Again Survivor Za La Mort Assemblywomen Licence to Kill The Emperor's New Groove Ruby Cairo Atragon Pirates of the Caribbean: On Stranger Tides Harry Potter and the Chamber of Secrets Leap of Faith Star Trek: Insurrection The Monkey King Phenomenon Crimson Tide Garfield: A Tail of Two Kitties The Scarlet Pimpernel The Last Trapper The Prophet Squanto: A Warrior's Tale Gone Fishin' Spectre The Other Man Before and After Avengers: Infinity War Pulp Fiction The Next Three Days
Forrest Gump, Pulp Fiction and The Incredible Hulk min number of abstract beings and fictional characters appear
Forrest Gump Pulp Fiction The Incredible Hulk
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
[[{'concept': 'abstract being'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?e ) WHERE { { ?m property:present_in_work ?d . ?d rdf:type ontology:work_of_art . ?m rdf:type ontology:abstract_being } UNION { ?m rdf:type ontology:fictional_character . ?d rdf:type ontology:work_of_art . ?m property:present_in_work ?d } } GROUP BY ?d } . FILTER ( ?e = ?c ) . { SELECT DISTINCT ( MIN ( ?f ) AS ?c ) { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { { ?l property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?l rdf:type ontology:abstract_being } UNION { ?l property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?l rdf:type ontology:fictional_character } } GROUP BY ?j } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q170593
P136 P21
Q502895
USER
Which people have collage as their category and have male as the sex ?
AND((c(Q502895),P136,Q170593), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q170593
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q170593'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P21 resource:Q6581097 . ?o property:P136 resource:Q170593 . ?o rdf:type ontology:Q502895 }
male collage
action filter_type
action intersection
action find_reverse
entity collage
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', 'collage'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:gender resource:male . ?o property:genre resource:collage . ?o rdf:type ontology:common_name }
[]
common name
Q522397 Q2438604
SYSTEM
David Koloane, Danny Matthys
Q522397 Q2438604
AND((c(Q502895),P136,Q170593), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q170593
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have collage as their category and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q170593'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P21 resource:Q6581097 . ?o property:P136 resource:Q170593 . ?o rdf:type ontology:Q502895 }
David Koloane Danny Matthys
David Koloane and Danny Matthys have collage as their category and have male as the sex
David Koloane Danny Matthys
action filter_type
action intersection
action find_reverse
entity collage
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', 'collage'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:gender resource:male . ?o property:genre resource:collage . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3489000 Q15624215
P1441
Q6619679
USER
Which fictional humanoids appear in Lucy or The Big Man ?
OR((c(Q6619679),P1441,Q15624215), (c(Q6619679),P1441,Q3489000))
action filter_type
action union
action find_reverse
entity Q15624215
relation P1441
action find_reverse
entity Q3489000
relation P1441
type Q6619679
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q15624215'], [{'concept': 'Q6619679'}, 'P1441', 'Q3489000']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P1441 resource:Q15624215 } UNION { ?y property:P1441 resource:Q3489000 } } . ?y rdf:type ontology:Q6619679 }
The Big Man Lucy
action filter_type
action union
action find_reverse
entity Lucy
relation present in work
action find_reverse
entity The Big Man
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Lucy'], [{'concept': 'fictional humanoid'}, 'present in work', 'The Big Man']]}
SELECT DISTINCT ?y WHERE { { { ?y property:present_in_work resource:Lucy } UNION { ?y property:present_in_work resource:The_Big_Man } } . ?y rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q17417418 Q17419764 Q17417421 Q17417422 Q27518190 Q17417424 Q17417419 Q17417434 Q17420007 Q17417420
SYSTEM
Some of them are Professor Norman, Customs Officer, The Limey, Richard, Danny Scoular, Caroline, Mr. Jang, Regent Hotel Concierge #1, Marco Brezzi, Pierre Del Rio
Q17419764 Q17417429 Q17417434 Q17417424 Q17417418 Q17417422 Q17417420 Q17417421 Q27518190 Q17420007 Q17417419
OR((c(Q6619679),P1441,Q15624215), (c(Q6619679),P1441,Q3489000))
action filter_type
action union
action find_reverse
entity Q15624215
relation P1441
action find_reverse
entity Q3489000
relation P1441
type Q6619679
[ANSWERS] appear in Lucy or The Big Man
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q15624215'], [{'concept': 'Q6619679'}, 'P1441', 'Q3489000']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P1441 resource:Q15624215 } UNION { ?y property:P1441 resource:Q3489000 } } . ?y rdf:type ontology:Q6619679 }
Customs Officer Berlin Custom Officer Regent Hotel Concierge #1 Caroline Professor Norman Richard Pierre Del Rio The Limey Danny Scoular Marco Brezzi Mr. Jang
Professor Norman, Customs Officer, The Limey, Richard, Danny Scoular, Caroline, Mr. Jang, Regent Hotel Concierge #1, Marco Brezzi and Pierre Del Rio appear in Lucy or The Big Man
Professor Norman Customs Officer The Limey Richard Danny Scoular Caroline Mr. Jang Regent Hotel Concierge #1 Marco Brezzi Pierre Del Rio
action filter_type
action union
action find_reverse
entity Lucy
relation present in work
action find_reverse
entity The Big Man
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Lucy'], [{'concept': 'fictional humanoid'}, 'present in work', 'The Big Man']]}
SELECT DISTINCT ?y WHERE { { { ?y property:present_in_work resource:Lucy } UNION { ?y property:present_in_work resource:The_Big_Man } } . ?y rdf:type ontology:fictional_humanoid }
[]