Simple Question (Direct)
Simple Question
Q469708
P86
Q502895
USER
Who did the compostion for It's All About Love ?
(Q469708,P86,c(Q502895))
action filter_type
action find
entity Q469708
relation P86
type Q502895
['Q469708', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q469708 property:P86 ?b . ?b rdf:type ontology:Q502895 }
It's All About Love
action filter_type
action find
entity It's All About Love
relation composer
type common name
["It's All About Love", 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:It's_All_About_Love property:composer ?b . ?b rdf:type ontology:common_name }
[]
common name
Q168155
SYSTEM
Zbigniew Preisner
Q168155
(Q469708,P86,c(Q502895))
action filter_type
action find
entity Q469708
relation P86
type Q502895
[ANSWER] did the compostion for It's All About Love
['Q469708', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q469708 property:P86 ?b . ?b rdf:type ontology:Q502895 }
Zbigniew Preisner
Zbigniew Preisner did the compostion for It's All About Love
Zbigniew Preisner
action filter_type
action find
entity It's All About Love
relation composer
type common name
["It's All About Love", 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:It's_All_About_Love property:composer ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q469708
P57
Q502895
USER
Who was that work of art directed by ?
(Q168155,P57,c(Q502895))
action filter_type
action find
entity Q469708
relation P57
type Q502895
['Q168155', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q469708 property:P57 ?z . ?z rdf:type ontology:Q502895 }
It's All About Love
action filter_type
action find
entity It's All About Love
relation director
type common name
['Zbigniew Preisner', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:It's_All_About_Love property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q314287
SYSTEM
Thomas Vinterberg
Q314287
(Q168155,P57,c(Q502895))
action filter_type
action find
entity Q469708
relation P57
type Q502895
By that work of art directed was by [ANSWER]
['Q168155', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q469708 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Thomas Vinterberg
By that work of art directed was by Thomas Vinterberg
Thomas Vinterberg
action filter_type
action find
entity It's All About Love
relation director
type common name
['Zbigniew Preisner', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:It's_All_About_Love property:director ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 1319 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1319
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?o rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 . ?f property:P1303 ?o } GROUP BY ?o } . FILTER ( ?m >= 1319 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1319
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?o rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name . ?f property:instrument ?o } GROUP BY ?o } . FILTER ( ?m >= 1319 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1319
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?o rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 . ?f property:P1303 ?o } GROUP BY ?o } . FILTER ( ?m >= 1319 ) }
bass guitar piano trumpet violin organ drum kit
6
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1319
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?m ) WHERE { ?o rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name . ?f property:instrument ?o } GROUP BY ?o } . FILTER ( ?m >= 1319 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q168155
P86
Q2342494 Q15416
USER
How many collectables or television programs have Zbigniew Preisner as the composer ?
(c(Q2342494),P86,Q168155) (c(Q15416),P86,Q168155)
action count
action union
action filter_type
action find_reverse
entity Q168155
relation P86
type Q2342494
action filter_type
action find_reverse
entity Q168155
relation P86
type Q15416
[{'concept': 'Q2342494'}, 'P86', 'Q168155'] [{'concept': 'Q15416'}, 'P86', 'Q168155']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { ?b property:P86 resource:Q168155 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P86 resource:Q168155 . ?b rdf:type ontology:Q15416 } }
Zbigniew Preisner
action count
action union
action filter_type
action find_reverse
entity Zbigniew Preisner
relation composer
type collectable
action filter_type
action find_reverse
entity Zbigniew Preisner
relation composer
type television program
[{'concept': 'collectable'}, 'composer', 'Zbigniew Preisner'] [{'concept': 'television program'}, 'composer', 'Zbigniew Preisner']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { ?b property:composer resource:Zbigniew_Preisner . ?b rdf:type ontology:collectable } UNION { ?b property:composer resource:Zbigniew_Preisner . ?b rdf:type ontology:television_program } }
[]
collectable television program
SYSTEM
12
Q1080648 Q1183564 Q1080602 Q1080666 Q575998 Q1183562 Q1080682 Q1199395 Q1080629 Q1080638 Q59783 Q1080701
(c(Q2342494),P86,Q168155) (c(Q15416),P86,Q168155)
action count
action union
action filter_type
action find_reverse
entity Q168155
relation P86
type Q2342494
action filter_type
action find_reverse
entity Q168155
relation P86
type Q15416
[ANSWER]
[{'concept': 'Q2342494'}, 'P86', 'Q168155'] [{'concept': 'Q15416'}, 'P86', 'Q168155']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { ?b property:P86 resource:Q168155 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P86 resource:Q168155 . ?b rdf:type ontology:Q15416 } }
Decalogue VIII Decalogue VI Decalogue III Decalogue IV Decalogue I Decalogue V Decalogue II The Last September Decalogue IX Decalogue VII The Decalogue Decalogue X
12
action count
action union
action filter_type
action find_reverse
entity Zbigniew Preisner
relation composer
type collectable
action filter_type
action find_reverse
entity Zbigniew Preisner
relation composer
type television program
[{'concept': 'collectable'}, 'composer', 'Zbigniew Preisner'] [{'concept': 'television program'}, 'composer', 'Zbigniew Preisner']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { { ?b property:composer resource:Zbigniew_Preisner . ?b rdf:type ontology:collectable } UNION { ?b property:composer resource:Zbigniew_Preisner . ?b rdf:type ontology:television_program } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q604538
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than Temple block ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q604538 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?r > ?z ) }
Temple block
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Temple_block property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?r > ?z ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[ANSWERS] are played by more number of people than Temple block
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q604538 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?r > ?z ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot are played by more number of people than Temple block
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Temple_block property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?r > ?z ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q168155
P364 P86
Q838948
USER
Which works of art are Zbigniew Preisner a composer of and are known to be originally created in English language ?
AND((c(Q838948),P86,Q168155), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q168155
relation P86
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P86', 'Q168155'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?p WHERE { ?p property:P86 resource:Q168155 . ?p property:P364 resource:Q1860 . ?p rdf:type ontology:Q838948 }
English Zbigniew Preisner
action filter_type
action intersection
action find_reverse
entity Zbigniew Preisner
relation composer
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'composer', 'Zbigniew Preisner'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?p WHERE { ?p property:composer resource:Zbigniew_Preisner . ?p property:original_language_of_work resource:English . ?p rdf:type ontology:work_of_art }
[]
work of art
Q525421 Q469708 Q3422806 Q5439538 Q1191318 Q1928695 Q1754287 Q5372496 Q4373827 Q1768754
SYSTEM
Some of them are The Secret Garden, It's All About Love, The Island on Bird Street, Feast of July, Between Strangers, When a Man Loves a Woman, At Play in the Fields of the Lord, Eminent Domain, The Last September, Aberdeen
Q1759154 Q5372496 Q525421 Q469708 Q1953910 Q1542915 Q1768754 Q5439538 Q1754287 Q1928695 Q4373827 Q3422806 Q1191318
AND((c(Q838948),P86,Q168155), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q168155
relation P86
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] are Zbigniew Preisner a composer of and are known to be originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P86', 'Q168155'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?p WHERE { ?p property:P86 resource:Q168155 . ?p property:P364 resource:Q1860 . ?p rdf:type ontology:Q838948 }
The Beautiful Country Eminent Domain The Secret Garden It's All About Love FairyTale: A True Story Damage Aberdeen Feast of July At Play in the Fields of the Lord When a Man Loves a Woman The Last September The Island on Bird Street Between Strangers
The Secret Garden, It's All About Love, The Island on Bird Street, Feast of July, Between Strangers, When a Man Loves a Woman, At Play in the Fields of the Lord, Eminent Domain, The Last September and Aberdeen are Zbigniew Preisner a composer of and are known to be originally created in English language
The Secret Garden It's All About Love The Island on Bird Street Feast of July Between Strangers When a Man Loves a Woman At Play in the Fields of the Lord Eminent Domain The Last September Aberdeen
action filter_type
action intersection
action find_reverse
entity Zbigniew Preisner
relation composer
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'composer', 'Zbigniew Preisner'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?p WHERE { ?p property:composer resource:Zbigniew_Preisner . ?p property:original_language_of_work resource:English . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q6619679 Q502895
USER
Which works of art are approximately 5 fictional humanoids or people present in ?
(c(Q6619679)|c(Q502895),P1441,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
value 5
[[{'concept': 'Q6619679'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?f WHERE { { ?t property:P1441 ?f . ?f rdf:type ontology:Q838948 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P1441 ?f . ?f rdf:type ontology:Q838948 . ?t rdf:type ontology:Q6619679 } } GROUP BY ?f } . FILTER ( ?n = 5 ) }
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
value 5
[[{'concept': 'fictional humanoid'}, {'concept': 'common name'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?f WHERE { { ?t property:present_in_work ?f . ?f rdf:type ontology:work_of_art . ?t rdf:type ontology:common_name } UNION { ?t property:present_in_work ?f . ?f rdf:type ontology:work_of_art . ?t rdf:type ontology:fictional_humanoid } } GROUP BY ?f } . FILTER ( ?n = 5 ) }
[]
work of art fictional humanoid common name
Q192724 Q134773 Q104123
SYSTEM
Iron Man, Forrest Gump, Pulp Fiction
Q86440 Q3512046 Q1002100 Q164813 Q190588 Q4008453 Q6072886 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q1507513 Q221947 Q7750966 Q3273477 Q327713 Q22665878 Q130283 Q512415 Q1388653 Q182692 Q2566505 Q786019 Q46717 Q25043 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q181803 Q388360 Q54274 Q5095462 Q7756461 Q1139454 Q7742105 Q484675 Q158759 Q26154237 Q842106 Q719915 Q332387 Q24815 Q22957393 Q537407 Q4655870 Q134773 Q27587130 Q477365 Q58972 Q458629 Q388319 Q15304052 Q7283713 Q230558 Q1196177 Q230552 Q886675 Q385798 Q1765358 Q108543 Q506418 Q3211484 Q132351 Q628154 Q28891 Q1248487 Q2527293 Q1293934 Q181598 Q431140 Q384508 Q15043347 Q934036 Q2891244 Q1229857 Q51416 Q784444 Q714941 Q200873 Q5887360 Q2806739 Q1196264 Q4253250 Q64110 Q592457 Q146673 Q370326 Q741878 Q83186 Q743194 Q27061795 Q7707180 Q475693 Q218458 Q181795 Q42051 Q464933 Q195710 Q1332299 Q171669 Q6481017 Q161087 Q659037 Q1355072 Q1740704 Q17509388 Q881000 Q436988 Q939143 Q1192536 Q23010088 Q212792 Q431660 Q844836 Q133654 Q426828 Q1140762 Q883197 Q1232349 Q72276 Q1147689 Q24272881 Q16781911 Q8561227 Q1420651 Q753899 Q467053 Q2855777 Q2207300 Q302490 Q1364029 Q919649 Q1271824 Q961492 Q903819 Q2497086 Q183304 Q7561043 Q841114 Q844296 Q836298 Q50861 Q3039787 Q631855 Q1433571 Q106871 Q568928 Q179215 Q505790 Q759383 Q471746 Q1050533 Q1649282 Q1325217 Q538438 Q16997069 Q748030 Q174284 Q2363062 Q18402 Q1962005 Q130851 Q222939 Q951949 Q2386746 Q221236 Q977372 Q483941 Q19946102 Q10350033 Q105702 Q245227 Q4189330 Q1102396 Q220713 Q26970 Q1166264 Q137109 Q2340655 Q1167434 Q303040 Q1710012 Q220591 Q182373 Q24278982 Q466781 Q7764815 Q1471358 Q1048916 Q165847 Q785461 Q650063 Q14942871 Q1469426 Q2836733 Q15140437 Q219421 Q105598 Q4208812 Q4208814 Q182218 Q185658 Q19842746 Q2247470 Q2296376 Q1248429 Q20001199 Q1046295 Q1749553 Q466423 Q23823458 Q1304560 Q1595630 Q1962426 Q1962032 Q7774950 Q41567 Q2608065 Q548303 Q217020 Q24871 Q753907 Q2568261 Q1102220 Q124612 Q160618 Q180279 Q1971726 Q1122571 Q886719 Q550558 Q635632 Q497850 Q3031303 Q1075182 Q165325 Q543403 Q1198611 Q1059703 Q176568 Q1325828 Q641492 Q1702819 Q165713 Q626483 Q26833 Q746733 Q740143 Q167726 Q156539 Q518863 Q106440 Q641362 Q33191 Q123742 Q2293972 Q1217234 Q18067135 Q665446 Q1758112 Q1810461 Q19590955 Q302174 Q3754344 Q245172 Q18200409 Q104814 Q3311826 Q387674 Q337078 Q536139 Q637021 Q169082 Q7741587 Q26904729 Q21403132 Q810012 Q507994 Q1125262 Q1639322 Q20711488 Q969098 Q726464 Q14513321 Q206400 Q284641 Q114819 Q83656 Q1306939 Q105624 Q1057015 Q274167 Q807742 Q27566067 Q8873426 Q109331 Q1540124 Q207698 Q3739484 Q80379 Q1749311 Q2081291 Q379873 Q1158528 Q1209853 Q1888547 Q588470 Q18786433 Q174385 Q23780734 Q971630 Q490464 Q170250 Q421777 Q161687 Q11060926 Q47075 Q184843 Q156597 Q263460 Q715374 Q1316253 Q153723 Q105993 Q110206 Q1193096 Q7558541 Q22000000 Q554843 Q776302 Q949228 Q302682 Q5466971 Q23781129 Q729782 Q1125566 Q525128 Q18703028 Q19481099 Q2003850 Q1211716 Q6402953 Q532006 Q691611 Q2090255 Q2529482 Q16254109 Q628851 Q27204 Q515931 Q2836545 Q6074 Q1330582 Q477865 Q19032697 Q753298 Q156608 Q1616185 Q107226 Q181086 Q590098 Q1141727 Q662342 Q288173 Q19648591 Q2419344 Q2257944 Q502153 Q307620 Q1354162 Q470665 Q3024211 Q1193324 Q192142 Q504697 Q184768 Q209538 Q15005 Q318975 Q1168778 Q275120 Q636038 Q154581 Q1224659 Q9125658 Q226944 Q777591 Q624603 Q773293 Q329127 Q1105359 Q13582568 Q3114616 Q164963 Q15713892 Q248775 Q280186 Q13091172 Q819972 Q221211 Q4752758 Q474033 Q47221 Q15624215 Q1189436 Q868483 Q3985991 Q277080 Q3522637 Q58439 Q17738 Q19264018 Q118713 Q268824 Q673153 Q1305497 Q458852 Q3522995 Q1187607 Q835650 Q1583966 Q104871 Q18815806 Q237572 Q495954 Q211009 Q3519310 Q3282983 Q478626 Q106316 Q815550 Q18170549 Q7913393 Q162255 Q858508 Q209170 Q3282491 Q749624 Q591272 Q1741232 Q170564 Q24953 Q388873 Q158559 Q205447 Q833292 Q1146570 Q612323 Q3489000 Q174811 Q1201853 Q7768400 Q339693 Q16857406 Q103569 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q458314 Q156519 Q23781155 Q1471230 Q192724 Q1057584 Q3120992 Q612740 Q1757288 Q192979 Q1367163 Q1609444 Q15715647 Q17103010 Q608261 Q223163 Q1467237 Q226773 Q1759684 Q183555 Q171300 Q102244 Q190050 Q1196673 Q673198 Q3224298 Q1322906 Q172271 Q7752052 Q8594 Q464716 Q1140085 Q587921 Q1249536 Q567298 Q722682 Q18167809 Q2406987 Q1192024 Q1192189 Q179411 Q722267 Q1178292 Q181069 Q23780914 Q104123 Q15046091 Q15040681 Q3476432 Q263930
(c(Q6619679)|c(Q502895),P1441,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
value 5
[ANSWERS] are approximately 5 fictional humanoids or people present in
[[{'concept': 'Q6619679'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?f WHERE { { ?t property:P1441 ?f . ?f rdf:type ontology:Q838948 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P1441 ?f . ?f rdf:type ontology:Q838948 . ?t rdf:type ontology:Q6619679 } } GROUP BY ?f } . FILTER ( ?n = 5 ) }
The Tempest Jurassic World Miracle at St. Anna Perfume: The Story of a Murderer Love Actually Vampirella Perros callejeros Ethan Frome Gone with the Wind Les Misérables Soul Food Run All Night Popeye Business is business Tremors 3: Back to Perfection The Jungle Book 2 The Memorandum Ma and Pa Kettle Men in Black 3 Thor: Ragnarok Macbeth Macross Frontier Pacific Rim Apocalypse Now Father of the Bride The Haunting Pirates of the Caribbean: The Curse of the Black Pearl Monty Python and the Holy Grail Creed Julius Caesar Transformers Za-la-mort Cradle Will Rock Star Wars Episode VI: Return of the Jedi National Treasure: Book of Secrets Pirates of the Caribbean: At World's End Chicago The Pee-wee Herman Show The Straight Story The Innocent Léon: The Professional Unknown Descendants 2 A Streetcar Named Desire The Hobbit: The Desolation of Smaug The Taming of the Shrew Citizen Kane Ant-Man and the Wasp Mulan A Chinese Tall Story Forrest Gump Sworn to Silence 101 Dalmatians II: Patch's London Adventure Masters of the Universe Billy Elliot Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction Raid Homeward Bound: The Incredible Journey Son of Flubber Back to the Future Part III My Bloody Valentine Under Siege Captain America: The Winter Soldier Alien 3 The Princess Bride Me Two The Usual Suspects Mission: Impossible – Ghost Protocol Wreck-It Ralph Satisfaction The Creature Walks Among Us Fright Night II King Lear Hocus Pocus Las adolescentes Million Dollar Arm Fiddler on the Roof Una Película de Huevos Old Dogs Men in Black G-Force Love Is a Many-Splendored Thing The Lost World: Jurassic Park Guardians of the Galaxy Deadline The Good Mother Journey to the West: Conquering the Demons 20,000 Leagues Under the Sea The Enforcer Basic Instinct Eraser Good Morning, Vietnam Romeo and Juliet The Winter's Tale The Wacky World of Dr. Morgus Tevye and His Seven Daughters Oldboy 25th Hour The Empire Strikes Back Star Wars: Episode III – Revenge of the Sith Ocean's 11 Krull Pete's Dragon One Flew Over the Cuckoo's Nest Lamb Pirates of the Caribbean: Dead Man's Chest Angels in the Outfield Under Siege 2: Dark Territory The Rocketeer ABCD: Any Body Can Dance 2 Blacula Operation Dumbo Drop Spamalot Biggles: Adventures in Time Spider-Man: Homecoming Bolt Godzilla: Final Wars The Merry Wives of Windsor The Silence of the Lambs 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 Scott Pilgrim vs. the World A Bridge Too Far Non-Stop Summer Magic The Mission Peter Pan The Hobbit: The Battle of the Five Armies Cleopatra Jones OSS 117: Lost in Rio Breakfast on Pluto Under Suspicion Troilus and Cressida Final Destination Transporter 2 One Good Cop The Omen Live Free or Die Hard Glengarry Glen Ross Henry IV, Part 1 Tremors 2: Aftershocks Die Hard with a Vengeance Garfield: The Movie Indiana Jones and the Temple of Doom Mission: Impossible II A Prayer for the Dying The A-Team Catch-22 Duet for One Flubber Shining Through The Divergent Series: Insurgent The 13th Warrior Raiders of the Lost Ark 3 Ninjas La Strada Bloodfist II Much Ado About Nothing Jumanji Cuore di cane The Possessed Star Trek: First Contact New York Stories Schindler's List Beauty and the Beast Pirates of the Caribbean: Dead Men Tell No Tales Dr. Strangelove The Prince of Egypt Kamen Rider Blade: Missing Ace That Darn Cat! American Pie Joy Ride Darkman The Shaggy Dog Inside Llewyn Davis Phantasm III: Lord of the Dead American Reunion Joy Ride 2: Dead Ahead Hannah Montana: The Movie Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 All the President's Men The Sleepy Twinkle Star Jack Cyrano de Bergerac 102 Dalmatians Sudden Impact The Seagull Exodus: Gods and Kings The Santa Clause 2 Alice on the Farm Terminator Genisys The Mask Die Hard How the Steel Was Tempered How the Steel Was Tempered The Avengers Indiana Jones and the Last Crusade Teenage Mutant Ninja Turtles: Out of the Shadows Snow White and the Seven Dwarfs The Joy Luck Club Police Academy Guardians of the Galaxy Vol. 2 The Princess Diaries Everest American Wedding I, Daniel Blake Father of the Bride Part II Phantasm IV: Oblivion A Low Down Dirty Shame Bloodfist The Wildest Dream Hamlet The Lego Movie The Tailor of Panama Thor 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 Manhunter 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 Star Wars: Episode I – The Phantom Menace Tron Othello The Ten Commandments Husbands and Wives Jurassic Park 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 Springtime with Roo Rogue One: A Star Wars Story I Know What You Did Last Summer The Opium Den Prince of Persia: The Sands of Time A Monster Calls Aliens Mickey's Follies Final Fantasy VII: Advent Children The Big Lebowski Phantasm II The Golden Compass 10 Things I Hate About You The Impossible Kid Le Chemin de crête Agent 00 Basic Instinct 2 The Hunt for Red October Mad Max 2 Our American Cousin Harry Potter and the Cursed Child Phèdre Bedtime Stories Warcraft The Merchant of Venice Timon of Athens Dune Kinsey I'll Be Home for Christmas The Bourne Identity Taken 2 The Exorcist 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 Adventures of Buratino The Hobbit: An Unexpected Journey Tremors 4: The Legend Begins The Apple Dumpling Gang Who Framed Roger Rabbit Damien: Omen II Dick Tracy Hondo Ernest Goes to Camp Victoria Alice in Wonderland Black Panther The Delta Force Enchanted Bicentennial Man Napoleon and Samantha Harry Potter and the Half-Blood Prince A Walk Among the Tombstones Scarface Blade Runner Men in Black II The Dead Pool Initial D Solomon and Sheba Inglourious Basterds Die Hard 2 Dirty Harry 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 Jason Bourne Next of Kin The Bounty Khumba Les Vacances de Monsieur Hulot Serenity So Dear to My Heart Chimes at Midnight Phantasm: Ravager Mirror Mirror Live and Let Die Willow Alice Cans the Cannibals Star Wars: The Force Awakens Keeping the Faith The Sorcerer's Apprentice Peter Pan, or The Boy Who Wouldn't Grow Up Uncle Vanya The Bourne Supremacy Tom and Huck The Bourne Ultimatum 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 Disappearance of Haruhi Suzumiya Terminator 3: Rise of the Machines WarGames The Godfather Part II Iron Man 3 Woe from Wit Atlantis: The Lost Empire The House by the Cemetery Captain America: The First Avenger Gun Shy Gangs of New York Digimon Adventure: Bokura no War Game! Red Dragon The Shaggy D.A. For Love of the Game Snow White and the Huntsman The Bible: In the Beginning American Pie 2 Cocktail A Million Ways to Die in the West Hannibal Rising The Lord of the Rings: The Two Towers Pan Mad Max Disney's The Kid Big Hero 6 The Transporter Twelfth Night Anchorman: The Legend Continues Battleship Taxi Driver Lucy OSS 117: Cairo, Nest of Spies A Chinese Odyssey The Black Cobra 2 Taken The Secret Life of Walter Mitty Teenage Mutant Ninja Turtles Star Wars Episode IV: A New Hope Tremors 5: Bloodline Freaky Friday Fright Night Same Old Song Freaky Friday Magnum Force Third Person Edge of Tomorrow Tremors Underdog A Midsummer Night's Dream Pokémon the Movie: Hoopa and the Clash of Ages As You Like It Henry V Van Helsing Tex O Auto da Compadecida Starship Troopers Dead Poets Society Transporter 3 The Transporter Legacy Van Helsing: The London Assignment The Terminator Sky High Mary Poppins Trigun: Badlands Rumble Tuck Everlasting Casino Royale Mission: Impossible Terminator 2: Judgment Day 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 Thor: The Dark World The Ten Commandments Mafia! The Jungle Book Alien Wreck-It Ralph 2 High Spirits Mathias Sandorf The Dukes of Hazzard Oz: The Great and Powerful Big Top Pee-wee Alien: Resurrection Around the World in 80 Days Untitled Avengers Movie History of the World, Part I Iron Man Crossing the Bridge Gus Phantasm Mad Max: Fury Road Clash of the Titans Swiss Family Robinson Herbie Rides Again Survivor Za La Mort Assemblywomen The Emperor's New Groove Ruby Cairo Wrath of the Titans Atragon Pirates of the Caribbean: On Stranger Tides The Princess and the Frog Harry Potter and the Chamber of Secrets Fight Club Leap of Faith Star Trek: Insurrection Tangled Ever After Centurion Maleficent The Monkey King 101 Dalmatians Phenomenon Crimson Tide Garfield: A Tail of Two Kitties The Scarlet Pimpernel The Last Trapper Hannibal The Prophet Squanto: A Warrior's Tale Gone Fishin' The Other Man A Very Merry Pooh Year Beverly Hills Cop Before and After Star Wars Episode II: Attack of the Clones Avengers: Infinity War Pulp Fiction Cinderella Fright Night 2: New Blood Scream Blacula Scream The Next Three Days
Iron Man, Forrest Gump and Pulp Fiction are approximately 5 fictional humanoids or people present in
Iron Man Forrest Gump Pulp Fiction
action approx
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
value 5
[[{'concept': 'fictional humanoid'}, {'concept': 'common name'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?f WHERE { { ?t property:present_in_work ?f . ?f rdf:type ontology:work_of_art . ?t rdf:type ontology:common_name } UNION { ?t property:present_in_work ?f . ?f rdf:type ontology:work_of_art . ?t rdf:type ontology:fictional_humanoid } } GROUP BY ?f } . FILTER ( ?n = 5 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q192724
P144
Q15619164
USER
Which abstract being is that work of art a fork of ?
(Q192724,P144,c(Q15619164))
action filter_type
action find
entity Q192724
relation P144
type Q15619164
['Q192724', 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ?f WHERE { resource:Q192724 property:P144 ?f . ?f rdf:type ontology:Q15619164 }
Iron Man
action filter_type
action find
entity Iron Man
relation based on
type abstract being
['Iron Man', 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ?f WHERE { resource:Iron_Man property:based_on ?f . ?f rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q104123
SYSTEM
Did you mean Pulp Fiction ?
Q192724 Q134773 Q104123
(Q192724,P144,c(Q15619164)) (Q134773,P144,c(Q15619164)) (Q104123,P144,c(Q15619164))
[ANSWER]
['Q192724', 'P144', {'concept': 'Q15619164'}] ['Q134773', 'P144', {'concept': 'Q15619164'}] ['Q104123', 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ?f WHERE { resource:Q192724 property:P144 ?f . ?f rdf:type ontology:Q15619164 }
Iron Man Forrest Gump Pulp Fiction
Did you mean Pulp Fiction ?
Pulp Fiction
['Iron Man', 'based on', {'concept': 'abstract being'}] ['Forrest Gump', 'based on', {'concept': 'abstract being'}] ['Pulp Fiction', 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ?f WHERE { resource:Iron_Man property:based_on ?f . ?f rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
No, I meant Iron Man. Could you tell me the answer for that?
(Q192724,P144,c(Q15619164))
Q192724
['Q192724', 'P144', {'concept': 'Q15619164'}]
['Iron Man', 'based on', {'concept': 'abstract being'}]
[]
Q180704
SYSTEM
Iron Man
Q180704
(Q192724,P144,c(Q15619164))
action filter_type
action find
entity Q192724
relation P144
type Q15619164
[ANSWER] is that work of art a fork of
['Q192724', 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ?f WHERE { resource:Q192724 property:P144 ?f . ?f rdf:type ontology:Q15619164 }
Iron Man
Iron Man is that work of art a fork of
Iron Man
action filter_type
action find
entity Iron Man
relation based on
type abstract being
['Iron Man', 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ?f WHERE { resource:Iron_Man property:based_on ?f . ?f rdf:type ontology:abstract_being }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q180704 Q6199124
P144
Q838948
USER
Is Jim the World's Greatest adapted from that abstract being ?
(Q6199124,P144,Q180704)
action is_in
entity Q6199124
action find
entity Q180704
relation P144
['Q6199124', 'P144', 'Q180704']
ASK WHERE { resource:Q180704 property:P144 resource:Q6199124 }
Iron Man Jim the World's Greatest
action is_in
entity Jim the World's Greatest
action find
entity Iron Man
relation based on
["Jim the World's Greatest", 'based on', 'Iron Man']
ASK WHERE { resource:Iron_Man property:based_on resource:Jim_the_World's_Greatest }
[]
work of art
SYSTEM
NO
(Q6199124,P144,Q180704)
action is_in
entity Q6199124
action find
entity Q180704
relation P144
[ANSWER]
['Q6199124', 'P144', 'Q180704']
ASK WHERE { resource:Q180704 property:P144 resource:Q6199124 }
No
action is_in
entity Jim the World's Greatest
action find
entity Iron Man
relation based on
["Jim the World's Greatest", 'based on', 'Iron Man']
ASK WHERE { resource:Iron_Man property:based_on resource:Jim_the_World's_Greatest }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q314287 Q4217343
P27
Q1048835
USER
Is Katerynivka the country of citizenship of Thomas Vinterberg ?
(Q314287,P27,Q4217343)
action is_in
entity Q4217343
action find
entity Q314287
relation P27
['Q314287', 'P27', 'Q4217343']
ASK WHERE { resource:Q314287 property:P27 resource:Q4217343 }
Thomas Vinterberg Katerynivka
action is_in
entity Katerynivka
action find
entity Thomas Vinterberg
relation country of citizenship
['Thomas Vinterberg', 'country of citizenship', 'Katerynivka']
ASK WHERE { resource:Thomas_Vinterberg property:country_of_citizenship resource:Katerynivka }
[]
political territorial entity
SYSTEM
NO
(Q314287,P27,Q4217343)
action is_in
entity Q4217343
action find
entity Q314287
relation P27
[ANSWER]
['Q314287', 'P27', 'Q4217343']
ASK WHERE { resource:Q314287 property:P27 resource:Q4217343 }
No
action is_in
entity Katerynivka
action find
entity Thomas Vinterberg
relation country of citizenship
['Thomas Vinterberg', 'country of citizenship', 'Katerynivka']
ASK WHERE { resource:Thomas_Vinterberg property:country_of_citizenship resource:Katerynivka }
[]