Simple Question (Direct)
Simple Question
Q6112549
P19
Q56061
USER
Which administrative territory is the place of birth of Roser Aguilar ?
(Q6112549,P19,c(Q56061))
action filter_type
action find
entity Q6112549
relation P19
type Q56061
['Q6112549', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q6112549 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Roser Aguilar
action filter_type
action find
entity Roser Aguilar
relation place of birth
type administrative territorial entity
['Roser Aguilar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Roser_Aguilar property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q6112549,P19,c(Q56061))
action filter_type
action find
entity Q6112549
relation P19
type Q56061
[ANSWER] is the place of birth of Roser Aguilar
['Q6112549', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q6112549 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Barcelona
Barcelona is the place of birth of Roser Aguilar
Barcelona
action filter_type
action find
entity Roser Aguilar
relation place of birth
type administrative territorial entity
['Roser Aguilar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Roser_Aguilar property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1492
P915
Q838948
USER
Which works of art were filmed at that administrative territory ?
(c(Q838948),P915,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1492']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q1492 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Barcelona']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:Barcelona }
[]
work of art
Q507285 Q1146503 Q284917
SYSTEM
Lumière and Company, Love & Basketball, Voyage of the Damned
Q1405950 Q462149 Q507285 Q7732880 Q705247 Q3051699 Q593615 Q519910 Q3286029 Q733000 Q519548 Q4008436 Q1544046 Q7732705 Q879174 Q375454 Q923911 Q1188348 Q212123 Q2060283 Q249350 Q3223618 Q1146503 Q560123 Q2529482 Q677636 Q4078526 Q2581918 Q3067446 Q3206424 Q5431513 Q4403815 Q1213584 Q2569575 Q2249443 Q4156191 Q3482397 Q1092932 Q386714 Q1365797 Q666484 Q3928247 Q169227 Q3042451 Q1558443 Q828725 Q2277666 Q1050065 Q902391 Q277203 Q2260885 Q284917 Q16782 Q591175 Q3113698 Q754474 Q1807861 Q2850202 Q618479 Q246391 Q3531639 Q1498454 Q3277324 Q2983218 Q845252 Q2701566 Q2616450 Q3819616 Q639067 Q1216772 Q1632620 Q5826620 Q16960397 Q13823993 Q164813 Q598548 Q624566 Q3259795 Q3936036 Q60792 Q1844760 Q329805
(c(Q838948),P915,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q1492']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q1492 }
Our Agent Tiger The Castle of Fu Manchu Lumière and Company The Exquisite Cadaver Delusions of Grandeur Els Nens Salvatges The Sea Inside Eva Manmadan Ambu Red Lights The Nun Diary of a Nymphomaniac Jamón Jamón The Evil Forest Biutiful Agent 3S3, Massacre in the Sun The Orphanage Fermat's Room Vicky Cristina Barcelona Savage Grace Haywire En brazos de la mujer madura Love & Basketball A Friend of Mine Chimes at Midnight Lisa and the Devil Barcelona Tirant lo Blanc Faust: Love of the Damned La Bandera Fakers The Wine of Summer Hell of the Living Dead Nico and Dani Little Ashes The Bilingual Lover Eskalofrío Circus World Count Dracula L'Auberge espagnole Beloved/Friend REC 4: Apocalypse 11-11-11 La ciutat cremada L'espoir The Passenger Rottweiler REC 2 Winning Streak Fragile Anguish Voyage of the Damned Buried The Life of David Gale Grand Piano REC Salvador Anita Takes a Chance Agustina of Aragon REC 3: Genesis The Big Hit of Surcouf Uncovered Mindscape Tengo ganas de ti The Machinist Sleep Tight Eloïse's Lover In the City Honey The Tit and the Moon Los Tarantos Sex of Angels Afflicted The Gunman Perfume: The Story of a Murderer The Mosquito Net Arachnid Los últimos días The Texican Wheels on Meals Meeting People Is Easy All About My Mother
Lumière and Company, Love & Basketball and Voyage of the Damned were filmed at that administrative territory
Lumière and Company Love & Basketball Voyage of the Damned
action filter_type
action find_reverse
entity Barcelona
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Barcelona']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:Barcelona }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?n property:P1445 ?o . ?n rdf:type ontology:Q386724 . ?o rdf:type ontology:Q838948 } GROUP BY ?n } . { SELECT DISTINCT ( MAX ( ?j ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?j ) WHERE { ?l property:P1445 ?b . ?b rdf:type ontology:Q838948 . ?l rdf:type ontology:Q386724 } GROUP BY ?l } } }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?n property:fictional_universe_described_in ?o . ?n rdf:type ontology:work . ?o rdf:type ontology:work_of_art } GROUP BY ?n } . { SELECT DISTINCT ( MAX ( ?j ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?j ) WHERE { ?l property:fictional_universe_described_in ?b . ?b rdf:type ontology:work_of_art . ?l rdf:type ontology:work } GROUP BY ?l } } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] represents a fictional universe described in max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?n property:P1445 ?o . ?n rdf:type ontology:Q386724 . ?o rdf:type ontology:Q838948 } GROUP BY ?n } . { SELECT DISTINCT ( MAX ( ?j ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?j ) WHERE { ?l property:P1445 ?b . ?b rdf:type ontology:Q838948 . ?l rdf:type ontology:Q386724 } GROUP BY ?l } } }
Pirates of the Caribbean
Pirates of the Caribbean represents a fictional universe described in max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?k = ?d ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?n property:fictional_universe_described_in ?o . ?n rdf:type ontology:work . ?o rdf:type ontology:work_of_art } GROUP BY ?n } . { SELECT DISTINCT ( MAX ( ?j ) AS ?d ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?j ) WHERE { ?l property:fictional_universe_described_in ?b . ?b rdf:type ontology:work_of_art . ?l rdf:type ontology:work } GROUP BY ?l } } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q384426 Q7209522
P1445
Q36649
USER
Does Police Story describe the fictional universe Pirates of the Caribbean ?
(Q384426,P1445,Q7209522)
action is_in
entity Q7209522
action find
entity Q384426
relation P1445
['Q384426', 'P1445', 'Q7209522']
ASK WHERE { resource:Q384426 property:P1445 resource:Q7209522 }
Pirates of the Caribbean Police Story
action is_in
entity Police Story
action find
entity Pirates of the Caribbean
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'Police Story']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Police_Story }
[]
visual arts
SYSTEM
NO
(Q384426,P1445,Q7209522)
action is_in
entity Q7209522
action find
entity Q384426
relation P1445
[ANSWER]
['Q384426', 'P1445', 'Q7209522']
ASK WHERE { resource:Q384426 property:P1445 resource:Q7209522 }
No
action is_in
entity Police Story
action find
entity Pirates of the Caribbean
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'Police Story']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Police_Story }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q931597 Q384426
P1080
Q6619679
USER
Which fictional humanoids appear in Pirates of the Caribbean or Marvel Universe ?
OR((c(Q6619679),P1080,Q384426), (c(Q6619679),P1080,Q931597))
action filter_type
action union
action find_reverse
entity Q384426
relation P1080
action find_reverse
entity Q931597
relation P1080
type Q6619679
{'OR': [[{'concept': 'Q6619679'}, 'P1080', 'Q384426'], [{'concept': 'Q6619679'}, 'P1080', 'Q931597']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P1080 resource:Q384426 } UNION { ?r property:P1080 resource:Q931597 } } . ?r rdf:type ontology:Q6619679 }
Marvel Universe Pirates of the Caribbean
action filter_type
action union
action find_reverse
entity Pirates of the Caribbean
relation from fictional universe
action find_reverse
entity Marvel Universe
relation from fictional universe
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'from fictional universe', 'Pirates of the Caribbean'], [{'concept': 'fictional humanoid'}, 'from fictional universe', 'Marvel Universe']]}
SELECT DISTINCT ?r WHERE { { { ?r property:from_fictional_universe resource:Pirates_of_the_Caribbean } UNION { ?r property:from_fictional_universe resource:Marvel_Universe } } . ?r rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q6725939 Q1623086 Q1623044 Q2998614 Q2071077 Q6701876 Q7248180 Q15229036 Q2859252 Q734861
SYSTEM
Some of them are Mad Dog, Hector Barbossa, Elizabeth Swann, Cottonmouth, Agent K, Luke Carlyle, Professor Power, Elaine Grey, Aqueduct, Valeria Richards
Q24022642 Q2837209 Q1429836 Q593185 Q7855923 Q1638503 Q2278783 Q2500449 Q10335959 Q20708637 Q2749614 Q3139744 Q3570193 Q3422776 Q3115789 Q2723539 Q12964820 Q1644750 Q2576706 Q4411035 Q2366096 Q1994866 Q3224463 Q2569703 Q4897724 Q5534974 Q3321155 Q6880186 Q5931323 Q1990090 Q2859252 Q2720199 Q6725939 Q840202 Q3288683 Q913359 Q5377357 Q7248180 Q15228910 Q5036547 Q671915 Q2732063 Q2297886 Q3610734 Q3303309 Q2998614 Q2299139 Q15229036 Q1623044 Q20745564 Q6701876 Q601747 Q8345266 Q2071077 Q640871 Q1319784 Q3545388 Q1621261 Q3105409 Q2298077 Q3020780 Q3640940 Q3567749 Q7909135 Q2723286 Q4782765 Q3481153 Q2658347 Q27231263 Q1623086 Q3080800 Q1317406 Q3483137 Q654588 Q734861 Q3183266 Q17405299 Q20979222 Q616633 Q6183819 Q3027480 Q2283843 Q12961400 Q19880512 Q2962576 Q1096719 Q6523499 Q3603774 Q202857 Q1984020 Q1764242 Q4789634 Q1812152
OR((c(Q6619679),P1080,Q384426), (c(Q6619679),P1080,Q931597))
action filter_type
action union
action find_reverse
entity Q384426
relation P1080
action find_reverse
entity Q931597
relation P1080
type Q6619679
[ANSWERS] appear in Pirates of the Caribbean or Marvel Universe
{'OR': [[{'concept': 'Q6619679'}, 'P1080', 'Q384426'], [{'concept': 'Q6619679'}, 'P1080', 'Q931597']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P1080 resource:Q384426 } UNION { ?r property:P1080 resource:Q931597 } } . ?r rdf:type ontology:Q6619679 }
T'Chaka Alistair Smythe Galactus James Norrington Turner D. Century Crossfire Tia Dalma Silvermane Ned Horrocks Christine Everhart Tyrannus Man-Ape Wyatt Wingfoot Red Shift Graviton Externals Human Cannonball Man-Killer Bill Turner Jean DeWolff Brothers Grimm Beyonder Gamesmaster Strong Guy Bethany Cabe Geoffrey Wilder Living Monolith Mister M Hugh Jones Hydro-Man Aqueduct Valerie Cooper Mad Dog Davy Jones Weatherby Swann Elektra Enforcer Professor Power Dr. John Grey Captain Atlas Cutler Beckett Sao Feng Electro Alex Wilder Hate-Monger Cottonmouth Uncle Ben Elaine Grey Elizabeth Swann Heinz Kruger Luke Carlyle Joshamee Gibbs Chester Phillips Agent K Angar the Screamer Maria Hill Jazz Venom Gideon Karen Page Deathurge Blind Al Whirlwind Val Rhymin Dark Beast Aquarius Shades Daken Harold Meachum Hector Barbossa Spencer Smythe Teague Sparrow Sidewinder Kraven the Hunter Valeria Richards Jonas Harrow Rhomann Dey Everett K. Ross Betty Ross Jerry Jaxon Doctor Demonicus Mysterio Alva Xar Hope Pym Chemistro Foggy Nelson Leo Abraham Erskine Captain Jack Sparrow Terrax Will Turner Argo the Almighty Demogoblin
Mad Dog, Hector Barbossa, Elizabeth Swann, Cottonmouth, Agent K, Luke Carlyle, Professor Power, Elaine Grey, Aqueduct and Valeria Richards appear in Pirates of the Caribbean or Marvel Universe
Mad Dog Hector Barbossa Elizabeth Swann Cottonmouth Agent K Luke Carlyle Professor Power Elaine Grey Aqueduct Valeria Richards
action filter_type
action union
action find_reverse
entity Pirates of the Caribbean
relation from fictional universe
action find_reverse
entity Marvel Universe
relation from fictional universe
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'from fictional universe', 'Pirates of the Caribbean'], [{'concept': 'fictional humanoid'}, 'from fictional universe', 'Marvel Universe']]}
SELECT DISTINCT ?r WHERE { { { ?r property:from_fictional_universe resource:Pirates_of_the_Caribbean } UNION { ?r property:from_fictional_universe resource:Marvel_Universe } } . ?r rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3189665
P674
Q6619679 Q5398426 Q234460
USER
Which fictional humanoids plays a role in less number of television series or texts than Julien Sorel ?
(c(Q5398426)|c(Q234460),P674,c(Q6619679))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q3189665
relation P674
type Q5398426
type Q234460
[[{'concept': 'Q5398426'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q5398426 ) ( ontology:Q234460 ) } . ?f rdf:type ?y } GROUP BY ?g } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P674 resource:Q3189665 . { { ?d rdf:type ontology:Q5398426 } UNION { ?d rdf:type ontology:Q234460 } } } } }
Julien Sorel
action less
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type television series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type text
action count
action filter_multi_types
action find_reverse
entity Julien Sorel
relation characters
type television series
type text
[[{'concept': 'television series'}, {'concept': 'text'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { VALUES ( ?y ) { ( ontology:television_series ) ( ontology:text ) } . ?f rdf:type ?y } GROUP BY ?g } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:characters resource:Julien_Sorel . { { ?d rdf:type ontology:television_series } UNION { ?d rdf:type ontology:text } } } } }
[]
fictional humanoid television series text
Q211414 Q1779543 Q1104987
SYSTEM
Miss Moneypenny, Felix Leiter, Ernst Stavro Blofeld
Q20919501 Q1610690 Q3308890 Q3309268 Q15707554 Q15970888 Q3682552 Q11479883 Q2916375 Q15966912 Q15966911 Q7685373 Q15220681 Q1504498 Q1538721 Q575889 Q20730767 Q2305538 Q1120793 Q5800500 Q1458168 Q15888981 Q1148698 Q1994420 Q774810 Q3921991 Q15118440 Q15972417 Q928202 Q727156 Q1158157 Q614762 Q1750813 Q2633642 Q15972376 Q2477882 Q2568029 Q3307708 Q1684606 Q15726751 Q23758900 Q15972540 Q15972543 Q1918366 Q15972421 Q7364607 Q1655364 Q21197542 Q1996763 Q19117480 Q2992629 Q2607099 Q2519257 Q15888914 Q15889005 Q2725594 Q18543619 Q3048189 Q2896018 Q898615 Q21008378 Q2094514 Q6171290 Q968748 Q16920618 Q11699724 Q19988292 Q2324009 Q1634668 Q2530488 Q2940832 Q15888960 Q7911035 Q931 Q1977348 Q3079238 Q779920 Q19799435 Q1642566 Q21426753 Q21426759 Q15888939 Q1503352 Q19998525 Q20826327 Q1511184 Q18524116 Q988862 Q1130740 Q1462644 Q21013659 Q3222411 Q965855 Q2480288 Q634983 Q2726964 Q12056060 Q92440 Q6252292 Q3304979 Q4195615 Q2206150 Q11715581 Q745472 Q18707014 Q458019 Q430315 Q2435983 Q15911264 Q11875313 Q3757417 Q20931979 Q17716439 Q3796490 Q2130544 Q2885862 Q2778291 Q223684 Q15118476 Q15969939 Q11851921 Q11704223 Q13403064 Q2315146 Q21483134 Q840368 Q15972517 Q9338892 Q2294047 Q3874182 Q3771747 Q4778807 Q16934501 Q10302353 Q2446175 Q917583 Q2721597 Q3809610 Q3531310 Q944203 Q944201 Q2471023 Q17428688 Q15711517 Q716636 Q599685 Q16920437 Q2708078 Q1504550 Q2970639 Q11609133 Q3560698 Q24285726 Q11866978 Q15020948 Q15972518 Q19799430 Q1423956 Q6270587 Q9054901 Q2330719 Q2715495 Q928321 Q626756 Q1640313 Q11687745 Q614889 Q4339528 Q3426611 Q1156620 Q15966907 Q11889739 Q1503301 Q48479 Q1622359 Q7885319 Q15966884 Q3826637 Q15966889 Q1470014 Q27075739 Q11857393 Q19796006 Q1634927 Q1785956 Q1469475 Q15726744 Q2696235 Q9292465 Q4008842 Q10406147 Q280608 Q15966876 Q8045205 Q3140443 Q15966979 Q2454065 Q2455222 Q4066184 Q17255299 Q3880820 Q20081073 Q18073923 Q18397642 Q11757618 Q14907064 Q11850992 Q189169 Q4902502 Q17382075 Q21015520 Q1771228 Q5721186 Q981290 Q2320164 Q2264318 Q20807843 Q135143 Q15967020 Q18120435 Q2989781 Q2346693 Q15968426 Q2002477 Q17383302 Q24939119 Q15971024 Q17355556 Q3649320 Q2591461 Q924817 Q2492223 Q2636135 Q19988191 Q18519993 Q15970109 Q637202 Q851814 Q1640063 Q1740 Q4385215 Q4885761 Q20252389 Q7620503 Q3215995 Q20919489 Q15968326 Q17716070 Q10357223 Q27099739 Q1989887 Q1639626 Q13685096 Q3304898 Q20826334 Q20826335 Q6967705 Q9321709 Q716835 Q2695156 Q1514450 Q2607112 Q1751497 Q21013661 Q2471541 Q3965831 Q1342302 Q5036534 Q1504628 Q1644810 Q20252385 Q4221952 Q2608715 Q4451381 Q1780654 Q18710691 Q1408697 Q155755 Q2873226 Q13014759 Q1233109 Q15732115 Q798823 Q2363179 Q2713628 Q1264776 Q19988918 Q9354848 Q6321887 Q1504526 Q18710699 Q11703515 Q16711815 Q15968819 Q4075196 Q2111000 Q2898482 Q15972527 Q1627590 Q385299 Q15972522 Q646166 Q931582 Q4251176 Q2362626 Q17381829 Q19988385 Q7911184 Q2072688 Q4992177 Q994344 Q2409096 Q15888930 Q1458159 Q2704414 Q1411101 Q16991095 Q2411295 Q20724361 Q613901 Q11874541 Q15732741 Q771213 Q1912438 Q1054270 Q15968673 Q2466726 Q15967016 Q12255480 Q11850398 Q11680307 Q11890737 Q21065702 Q5201145 Q7994952 Q20987196 Q4490996 Q2859264 Q7887081 Q11853219 Q1150281 Q19799441 Q1163861 Q1766178 Q864751 Q26869142 Q4128790 Q3656777 Q2479670 Q1381592 Q15970074 Q2386582 Q5163561 Q3036003 Q2039948 Q5646692 Q1073739 Q2561830 Q3316519 Q3223487 Q1509213 Q2857830 Q15966892 Q2714871 Q2875111 Q3188509 Q2914803 Q732939 Q20190268 Q1068314 Q15968501 Q3810007 Q2232602 Q1749168 Q2091177 Q1504586 Q11900361 Q611295 Q18822150 Q4953161 Q8011423 Q18707036 Q18707034 Q2587533 Q2628415 Q1779543 Q15911246 Q674319 Q2651471 Q116113 Q15972354 Q1511072 Q19792294 Q1999658 Q2027772 Q3665163 Q4902480 Q2346769 Q806945 Q10870658 Q1091233 Q745077 Q15733240 Q324430 Q15966856 Q4424324 Q4572479 Q720235 Q830561 Q9256678 Q1504443 Q20823077 Q2627135 Q715597 Q18002425 Q3893231 Q4083088 Q6665881 Q582234 Q24030250 Q1983092 Q15888946 Q2456753 Q193531 Q6194149 Q3340010 Q1503373 Q2499865 Q1084219 Q738325 Q4705602 Q1511163 Q17255307 Q3307719 Q11714681 Q1933207 Q20730814 Q5047185 Q4346196 Q3275368 Q4226652 Q2755277 Q9160116 Q15660517 Q5361253 Q2629101 Q15972394 Q15969989 Q1589536 Q943141 Q15733721 Q3901680 Q11514862 Q3290653 Q3178958 Q211414 Q1812955 Q20919488 Q9392016 Q18918303 Q15972445 Q3143575 Q18710697 Q3047468 Q2481487 Q1952877 Q11899640 Q2585477 Q4086728 Q15118454 Q15118450 Q11677249 Q15972366 Q8428650 Q2422491 Q3313177 Q2630009 Q194705 Q15972439 Q2168244 Q3141938 Q15972537 Q3719954 Q15972432 Q2960713 Q3656931 Q969535 Q27067938 Q519239 Q15910989 Q1884939 Q277545 Q15970159 Q1756333 Q11820476 Q5219335 Q2533737 Q3355753 Q371774 Q623732 Q1994909 Q17745428 Q13583916 Q1076932 Q2053228 Q7782906 Q3857828 Q3779598 Q835154 Q1077286 Q20643105 Q5371628 Q3784954 Q15650243 Q4118056 Q7070245 Q17301560 Q2307276 Q25439486 Q7048121 Q2846779 Q170241 Q1767 Q5400904 Q3183235 Q1046049 Q2304083 Q20826316 Q20826317 Q14906180 Q384546 Q20826313 Q4776379 Q6679455 Q3566632 Q15027304 Q2604250 Q2715294 Q1641818 Q2335886 Q3513000 Q5563337 Q20826325 Q25446598 Q2601499 Q3162938 Q3658168 Q6009607 Q3040800 Q1568413 Q1358761 Q1104987 Q15966950 Q573988 Q11382982 Q16663769 Q4058976 Q15238532 Q18002419 Q5560816 Q2820864 Q6051120 Q7582307 Q11709806 Q15967271 Q1638892 Q20807826 Q11719930 Q1191282 Q21483127 Q15970871 Q524177 Q660377 Q2748192 Q19988509 Q3414055 Q959519 Q11868027 Q3127428 Q9156058 Q7231797 Q5511259 Q5156367 Q9074573 Q603292 Q1640004 Q6668 Q2340973 Q9356580 Q20666453 Q6990232 Q82732 Q2445695 Q7288955 Q3166474 Q18156023 Q15968714 Q20251817 Q9142773 Q15769697 Q11872631 Q22254472 Q17745393 Q911563 Q15971056 Q1168491 Q3838466 Q3021868 Q18233407 Q2469324 Q1635605
(c(Q5398426)|c(Q234460),P674,c(Q6619679))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q3189665
relation P674
type Q5398426
type Q234460
[ANSWERS] play a role in less number of television series or texts than Julien Sorel
[[{'concept': 'Q5398426'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q5398426 ) ( ontology:Q234460 ) } . ?f rdf:type ?y } GROUP BY ?g } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P674 resource:Q3189665 . { { ?d rdf:type ontology:Q5398426 } UNION { ?d rdf:type ontology:Q234460 } } } } }
Andrew Speedy Eugène de Rastignac Michel Ardan Michel Chrestien Apple Bloom Koji Makaino Cole MacGrath Mami Tomoe Peter Wiggin Yuriko Aoki Souichi Aida Taran Temperance Brennan Fat Tony Lord Peter Wimsey Sonny Corleone Stamford Guts Theon Greyjoy Davos Seaworth Ralph Wiggum Yelena Andreevna Serebryakova Ai Haibara Natty Bumppo Fantine Prince Isidro Kouhei Oonishi Joseph Rouletabille Krusty the Clown Ned Flanders Barney Rubble Erik Will Parry Tooru Nanamine Tatiana Romanova The Continental Op Selma Bouvier Jean-Baptiste Adamsberg Diamond Tiara Kevan Lannister Kouji Yoshida Hiromi Yasuoka John Clark Naoto Ogawa Ronald-Ann Smith Iago Emmanuelle Doctor Eggman Mrs. Pepperpot Kirk Van Houten Marisa Coulter Doctor Manhattan Ivan Petrovich Voinitsky Iliya Ilich Telyegin Tommy Vercetti Kris Kelvin Zero Benjamin Carrington Max Payne (character) Pierre Aronnax Peppermint Patty Jean Passepartout Maid Marian Laurent LeClaire Gerwazy Rębajło Nina Mikhailovna Zarechnaya Griffith Marius Pontmercy Tisroc Casca Mariya Vasilievna Voinitskaya Valentine Wiggin Naruto Uzumaki Renfield Hugo Drax Slartibartfast Myrcella Baratheon Dunno Graüben Martha Sofya Aleksandrovna Serebryakova Chief Wiggum Semyon Semyonovich Medvedenko Stasi Edna Krabappel Donatella Falier Elijah Baley Baldrick Learchus Professor Otto Lidenbrock Rastapopoulos Judge Soplica Kearney Zzyzwicz Miranda Miles Vorkosigan Stannis Baratheon Dan Dare John Paul Wiggin Melchior de Canalis Ivan Karamazov Polly Plummer Jacek Soplica Mayor Quimby Yasmina Emilio Barzini Duchess Poggin Pjotr Nikolayevich Sorin Lehto Galahad Threepwood De Witte van Zichem Sabina Illyrio Mopatis Tracy Bond Bart Mancuso Enjolras Lara Croft Julius Hidemitsu Ishizawa Antero Rokka Tamino The Prince Jimbo Jones Henry 'Hank' Rearden Jill Valentine Kim Songyuu Sopesian Disco Stu Ned Land Hooded Justice Aouda Madame Raquin Inspector MacDonald Tirian Snegurochka Claude Speed John Shaft Tommy Pickles Tom Sawyer Alonso Quijano Nick Carter Letitia Ketterley Granny Smith Mr. Burns Kogoro Mori Camille Raquin Daenerys Targaryen Troy McClure John Seward Sayaka Miki Virginie Hizdahr zo Loraq Jorma Kariluoto Ricardo Diaz Masakazu Yamahisa Roose Bolton Doctor Griffin Pebbles Flintstone Pamina Professor Challenger Lord Asriel Ford Prefect Ebenezer Scrooge Lucy Pevensie Queen of the Night Fred Flintstone Father Fyodor René Mathis Jean Valjean Akito Takagi Raid Hans Moleman Huckleberry Finn Abraham Van Helsing Elvis Cole Masahiro Mashiro Lance Vance Nobuhiro Mashiro Barney Gumble The evil stepmother Elina Koskela Ramsay Snow Otto Mann Bamm-Bamm Rubble Marcus Didius Falco Silver Spoon Domino Vitali Doctor Cornelius Varys Patty Bouvier Tom Bombadil Fumi Mashiro Xue Baochai Horace Bianchon Mina Azuki Lady Macbeth Papageno Angélique de Sancé de Monteloup Rod Flanders Oddjob Henry Baskerville Sunset Shimmer Grushenka Svetlovа Linton Heathcliff Rishda Alma Koskela Conan the Barbarian Bianca Minola Yrjö Lahtinen Farragut Shawn Spencer Barristan Selmy Maxime de Trailles Victor Frankenstein Agnes Skinner Thomas Roch Bridget "Bee" Vreeland Miho Azuki Lucinda Satterthwaite Rilian Dirk Pitt Yujiro Hattori Prince Caspian Rahikainen Mikhail Rakitin Yoshi Miyoshi Janos Slynt Huntsman Comedian Auric Goldfinger John Galt Al Bundy Boris Alexeyevich Trigorin Luca Guzzardi Natsumi Katou Zaphod Beeblebrox Chell Captain Haddock Sasuke Uchiha Dr. Wily Ben Gunn Määttä Asterix Lady Dudley Fix Shinta Fukuda Tereza White Queen Whosemoralsarelastix Gérard de Villefort Susan Pevensie Cinderella Melanie Hamilton Feri von Kerekes von Rohnsdorff Nastasya Filipovna Aarne Honkajoki Jacob Black Batman Milhouse Van Houten Harry Bosch Dr. Nick Hans Bjelke Kay Adams-Corleone Dolph Salvatore Tessio Captain Alexander Smollett Lionel Hutz Lenny Leonard Mäkilä Kisa Vorobyaninov Vesper Lynd Tanya Grotter Nestor Burma Nick Carraway Apu Nahasapeemapetilon Jamshid Ava Lord Dr. Light Falstaff Hyrum Graff Tom Hagen Mickey Haller Christine Daaé Dulcinea Masha Tadeusz Soplica Andrew Ketterley Comic Book Guy Tom Buchanan Samwell Tarly Filip Filippovich Preobrazhensky Aiko Iwase Yevgeni Bazarov Eustace Scrubb Bernard Quatermass Kazuhiko Torishima Peter Pevensie Elinor Dashwood Taiki Uchida Moe Szyslak Fredo Corleone Catherine Linton Rand al'Thor Vilho Koskela Ilya Afanasyevich Shamrayev Valeria Prince Myshkin Cave Johnson Ezio Auditore da Firenze Superintendent Chalmers Mikhail Lvovich Astrov Professor Frink Jebediah Springfield Sideshow Bob Thérèse Raquin Catherine Earnshaw Dolly Branican Arthur Dent Lammio Mazer Rackham Anne Shirley Erast Fandorin Rerun van Pelt Yoshihisa Heishi Cyborg Miyuki Azuki Brandine Spuckler Akseli Koskela Brienne of Tarth Riitaoja Raoul de Bragelonne Cyrus Smith White Knight Francisco d'Anconia Flambeau Aquilina David Talbot Asumaniemi Fereydun Asha Greyjoy Marv Maude Flanders The Hatter Glaucus Mitsuhirato Chingachgook Bleeding Gums Murphy Mowgli Ririka Kitami Digory Kirke Constance MacKenzie Father Callahan Snake Han Tzu Susan Calvin Red Queen Miss Havisham Nite Owl II Carl Carlson Rabadash Kayoko Mashiro Tash Azelma Julius Caesar Ostap Bender Quincey Morris Victarion Greyjoy Jack Ryan Kyoutarou Hibiki Jorah Mormont Jill Pole Harry Palmer Lyra Belacqua Dr. Hibbert Vanhala Queen Dick Tracy Brabantio Yang Wen-li Yar Afzal Kerim Shah Phileas Fogg Mikael Blomkvist Felix Leiter Konstantin Gavrilovich Treplyov Machaon Ugo Fantozzi James Gordon Shuuichi Moriya Cletus Spuckler Tommen Baratheon Margarita (Master and Margarita) Alyosha Karamazov Cersei Lannister Bianca Rorschach Banquo Lucky Luke Henry Chinaski Vito Corleone Photo Finish Groundskeeper Willie Moritaka Mashiro Pavel Smerdyakov Mason Verger Holden Caulfield Jules Maigret Ewa Horeszkówna Waylon Smithers Sylva Varescu Lord Drinian Obelix Fly Molo Panfilo White King Lockwood Edmund Pevensie Joffrey de Peyrac Martin Prince Aleksandr Vladimirovich Serebryakov Mrs. Hudson Miss Marple Jim Chee Nicolas Principal Skinner Heathcliff Falbala Bianca Castafiore Alai Nelson Muntz Todd Flanders Meyer Wolfshiem Isabella Linton Julie Herbault Enoch J. Drebber Carter Kane Parfyon Rogozhin Madame de la Tour Adam Kozlevich Abe Sapien Arne Saknussemm The Dude Eliot Rosewater Johnny Fontane Hiroyuki Nakano Kazuya Hiramaru Sideshow Mel Shasta Achilles de Flandres Foss Homura Akemi Marguerite Lin Daiyu Miss Moneypenny Badroulbadour Francis Cromarty Zosia Tomáš Shun Shiratori Hyacinthe Chabert Daisy Buchanan Edgar Linton Aravis Edmond Dantès Urho Hietanen Javert Billy Bones Rickert Pippin Madoka Kaname Eiji Niizuma Jia Baoyu Lucy van Pelt Emeth Captain Ahab Barbara Gordon Ichiriki Orihara Eugénie Danglars Hubert Bonisseur de La Bath Shoyo Takahama Edward Ferrars Ryu Shizuka Charles de Vandenesse Captain Metropolis Kent Brockman The Coachman Tahmuras Irina Nikolayevna Arkadina Arthur Holmwood Jon Arbuckle Kaya Miyoshi Getafix Glozelle Danielle Baptiste Sam Spade Marvin Monroe Nero Wolfe Philip Marlowe Cirilla Fiona Elen Riannon Helena mister Thénardier Nancy Drew Bishop Myriel Theresa Wiggin Mildred Pierce Raoul Duke Michael Corleone Keyumars Mathias Sandorf Emilia Dr. Jekyll and Mr. Hyde Nikolai Stavrogin Dr. Livesey Nursie Dimitri Karamasoff Rosa Klebb Tommy Monaghan Jay Gatsby Ender Wiggin Tarzan Kakashi Hatake Estella Jon Snow captain Nemo Chang Chong-Chen Leopold Maria Anhilte Lasaraleen Gurney Halleck Edwin Ronald Antonio Lord John Roxton Gregor Samsa Captain Horatio McCallister Aloysius Pendergast William of Baskerville Mona Simpson Ajihad Dwayne Hicks Ginés de Pasamonte Boni Káncsiánu Sixpack Jack Torrance Jason Grace Caractacus Pott Melisandre Duchesse de Carigliano Red King Peter Clemenza Ernst Stavro Blofeld Takanori Arai Leopold Bloom Kyoko Sakura Matt Helm Tom Ayrton Luann Van Houten Major Anderson Gilbert Blythe Abbé Faria Sadie Kane Squire Trelawney Hindley Earnshaw Akira Hattori Hushang John Hatteras Jankiel Lisbeth Salander Dagny Taggart Gorou Miura Reverend Lovejoy Jonathan Harker Irma Bunt Polina Andryevna Queequeg Trillian Jussi Koskela Hareton Earnshaw Tarkaan Anradin Portia Fyodor Karamazov Compeyson Sarastro Little John Vautrin Pippi Longstocking Herbert Powell Telimena Conseil Nelly Dean Aeneas Abraracourcix Ramandu's Daughter Jean-Joachim Goriot Maud Pie Hisashi Sasaki Kaarna Tarkaan Ahoshta mrs Thénardier Korpela Daario Naharis Sigrid Duncan Idaho Takuro Nakai Charlie Brown Lucia Mondella Delphine de Nucingen Alejandro Sosa Randolph Carter Professor Calculus
Miss Moneypenny, Felix Leiter and Ernst Stavro Blofeld play a role in less number of television series or texts than Julien Sorel
Miss Moneypenny Felix Leiter Ernst Stavro Blofeld
action less
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type television series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type text
action count
action filter_multi_types
action find_reverse
entity Julien Sorel
relation characters
type television series
type text
[[{'concept': 'television series'}, {'concept': 'text'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?g WHERE { VALUES ( ?y ) { ( ontology:television_series ) ( ontology:text ) } . ?f rdf:type ?y } GROUP BY ?g } . FILTER ( ?q < ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:characters resource:Julien_Sorel . { { ?d rdf:type ontology:television_series } UNION { ?d rdf:type ontology:text } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1492
P190
Q486972
USER
How many human settlements are twin cities of Barcelona ?
(Q1492,P190,c(Q486972))
action count
action filter_type
action find
entity Q1492
relation P190
type Q486972
['Q1492', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q1492 property:P190 ?e . ?e rdf:type ontology:Q486972 }
Barcelona
action count
action filter_type
action find
entity Barcelona
relation sister city
type human settlement
['Barcelona', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Barcelona property:sister_city ?e . ?e rdf:type ontology:human_settlement }
[]
human settlement
SYSTEM
1
Q1792
(Q1492,P190,c(Q486972))
action count
action filter_type
action find
entity Q1492
relation P190
type Q486972
[ANSWER]
['Q1492', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q1492 property:P190 ?e . ?e rdf:type ontology:Q486972 }
Gdańsk
1
action count
action filter_type
action find
entity Barcelona
relation sister city
type human settlement
['Barcelona', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Barcelona property:sister_city ?e . ?e rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q983729
P190
Q486972
USER
And what about Krapkowice?
(Q983729,P190,c(Q486972))
action count
action filter_type
action find
entity Q983729
relation P190
type Q486972
['Q983729', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:Q486972 . resource:Q983729 property:P190 ?h }
Krapkowice
action count
action filter_type
action find
entity Krapkowice
relation sister city
type human settlement
['Krapkowice', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:human_settlement . resource:Krapkowice property:sister_city ?h }
[]
human settlement
SYSTEM
1
Q572595
(Q983729,P190,c(Q486972))
action count
action filter_type
action find
entity Q983729
relation P190
type Q486972
[ANSWER]
['Q983729', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:Q486972 . resource:Q983729 property:P190 ?h }
Neugersdorf
1
action count
action filter_type
action find
entity Krapkowice
relation sister city
type human settlement
['Krapkowice', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h rdf:type ontology:human_settlement . resource:Krapkowice property:sister_city ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q514571
Q486972
USER
And what about Isernhagen?
(Q514571,P190,c(Q486972))
action count
action filter_type
action find
entity Q514571
relation P190
type Q486972
['Q514571', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q514571 property:P190 ?d . ?d rdf:type ontology:Q486972 }
Isernhagen
action count
action filter_type
action find
entity Isernhagen
relation sister city
type human settlement
['Isernhagen', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Isernhagen property:sister_city ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
SYSTEM
1
(Q514571,P190,c(Q486972))
action count
action filter_type
action find
entity Q514571
relation P190
type Q486972
[ANSWER]
['Q514571', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q514571 property:P190 ?d . ?d rdf:type ontology:Q486972 }
1
action count
action filter_type
action find
entity Isernhagen
relation sister city
type human settlement
['Isernhagen', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Isernhagen property:sister_city ?d . ?d rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1080
Q36649 Q3275581 Q6619679
USER
How many fictional humanoids are a part of atleast 1 visual artss or shared universes ?
(c(Q6619679),P1080,c(Q36649)|c(Q3275581))
action count
action atleast
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
value 1
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q36649'}, {'concept': 'Q3275581'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:Q3275581 ) ( ontology:Q36649 ) } . ?v rdf:type ?x } GROUP BY ?i } . FILTER ( ?u >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'visual arts'}, {'concept': 'shared universe'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:shared_universe ) ( ontology:visual_arts ) } . ?v rdf:type ?x } GROUP BY ?i } . FILTER ( ?u >= 1 ) }
[]
visual arts shared universe fictional humanoid
SYSTEM
142
Q24046150 Q23900407 Q23894967 Q24073696 Q1056953 Q24027982 Q26261996 Q24027859 Q24083294 Q27067863 Q24040935 Q24046118 Q24040742 Q23851951 Q23991694 Q24068405 Q24068402 Q24068383 Q24276092 Q3149148 Q24276097 Q24004885 Q24276119 Q7468126 Q23900470 Q27101792 Q27147335 Q24027955 Q24573094 Q24040949 Q6679806 Q23900377 Q24050065 Q23895063 Q6910820 Q27670271 Q24068355 Q27670356 Q23842323 Q23750571 Q23894605 Q23894608 Q15702161 Q23851900 Q24083312 Q24073681 Q24276100 Q5584641 Q27067914 Q1072331 Q27670318 Q27670314 Q27045831 Q27670381 Q27670387 Q27670389 Q24045752 Q27067866 Q24026703 Q26809707 Q27670364 Q26268850 Q26268859 Q24073665 Q24275986 Q24273019 Q24273017 Q23852090 Q24068218 Q24068211 Q24068213 Q24068214 Q24034679 Q24022542 Q24022098 Q24068397 Q23304703 Q24040958 Q27057308 Q23900437 Q27092482 Q24073725 Q27067859 Q24073715 Q23842775 Q24027376 Q24073719 Q24068252 Q24068241 Q23842703 Q24027972 Q24040968 Q24265423 Q24040913 Q24068391 Q23895076 Q27468455 Q24050117 Q23842900 Q24045741 Q24045748 Q27147410 Q27670370 Q27670374 Q23991271 Q27062173 Q24200251 Q24275991 Q23836625 Q24510074 Q2619064 Q23852015 Q27057203 Q2519237 Q20979384 Q27057298 Q21042559 Q24050133 Q23836618 Q24068411 Q24022345 Q24276086 Q24027486 Q24026688 Q1977902 Q24068387 Q24043637 Q26268873 Q24022457 Q24034722 Q23991129 Q23900446 Q26758863 Q24046106 Q24004905 Q23900364 Q23842987 Q23852160 Q27670335 Q27057247 Q27670340 Q7940668
(c(Q6619679),P1080,c(Q36649)|c(Q3275581))
action count
action atleast
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
value 1
[ANSWER]
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q36649'}, {'concept': 'Q3275581'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:Q3275581 ) ( ontology:Q36649 ) } . ?v rdf:type ?x } GROUP BY ?i } . FILTER ( ?u >= 1 ) }
Heimdall Christine Everhart Tony Stark / Iron Man Strawberry Vendor Minsc Leo Fitz Phineas Mason Carol Danvers / Captain Marvel Jasper Sitwell Writer Maria Stark Loki Brock Rumlow / Crossbones Humvee Driver Bucky Barnes / Winter Soldier Expo Cop Rebecca General Meade Maggie Imoen Dave T'Challa / Black Panther Castillo Alustriel Silverhand Happy Hogan Pietro Maximoff / Quicksilver Zuri Melinda May Scott Calvin Miriam Nasher Alagondar Nick Fury Peter Quill / Star-Lord Natasha Romanoff / Black Widow Mordenkainen Tina Minoru French Photographer Dr. Weiss BOPE Officer Major Allen Michelle Flash Thompson Montolio Debrouchee Female Medical Assistant Isabela Alvarez Chess Roberts Kurt Gord the Rogue Janet van Dyne / Wasp Elminster Dr. Patel Daniel Drumm M'Baku / Man-Ape Mugger Kamar-Taj Librarian Bullet Patient's Wife Wong Bartender Scott Lang / Ant-Man Liz Allan Physical Therapist Erik Killmonger Nakia Bambi Arbogast Darren Cross Michael Banks Jane Banks Large Woman Security Force #2 U.S. Marshal Detective Lemieux Security Force #1 Peggy Carter Wanda Maximoff / Scarlet Witch Steve Rogers AV Operator Ángela Vidal FedEx Driver Dale Senator Stern Ulysses Klaue Jack Pym Tech Gate Guard Hammer Expo Tech Handsome Soldier Thaddeus Ross French Waiter Russian Newscaster Expo Fan Medic Soldier Skye Karpov Hank Pym Everett K. Ross Anton Vanko Justin Hammer Claire Template Bruce Banner / Hulk Command Van Soldier The Ancient One Dr. Nicodemus West W'Kabi Concerned Doctor Reluctant Surgeon May Parker Robbie Reyes / Ghost Rider Johann Schmidt Paxton Little Boy School principal Artemis Entreri Sterns Lab Soldier Cassie Lang Wulfgar Jemma Simmons Car Driver Darcy Lewis Hope van Dyne / Wasp Gunner Rebeka Sam Wilson / Falcon Luis Sharon Carter / Agent 13 Clint Barton / Hawkeye Khelben "Blackstaff" Arunsun 10 Rings Gangster Mordo Okoye Zemo Dr. Stephen Strange Peter Parker / Spider-Man Howard Stark Ayo Jane Foster T'Chaka Ivan Vanko Ross's Aide Hopscotch Girl Nurse Billy Mitchell Carson Dr. Garrison Volothamp Geddarm
142
action count
action atleast
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'visual arts'}, {'concept': 'shared universe'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?u ) WHERE { VALUES ( ?x ) { ( ontology:shared_universe ) ( ontology:visual_arts ) } . ?v rdf:type ?x } GROUP BY ?i } . FILTER ( ?u >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1104987
P108
Q6619679
USER
Which fictional humanoids have Ernst Stavro Blofeld as their employer ?
(c(Q6619679),P108,Q1104987)
action filter_type
action find_reverse
entity Q1104987
relation P108
type Q6619679
[{'concept': 'Q6619679'}, 'P108', 'Q1104987']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q1104987 . ?b rdf:type ontology:Q6619679 }
Ernst Stavro Blofeld
action filter_type
action find_reverse
entity Ernst Stavro Blofeld
relation employer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'employer', 'Ernst Stavro Blofeld']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Ernst_Stavro_Blofeld . ?b rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2307276 Q2748192
SYSTEM
Rosa Klebb, Irma Bunt
Q2307276 Q2748192
(c(Q6619679),P108,Q1104987)
action filter_type
action find_reverse
entity Q1104987
relation P108
type Q6619679
[ANSWERS] have Ernst Stavro Blofeld as their employer
[{'concept': 'Q6619679'}, 'P108', 'Q1104987']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q1104987 . ?b rdf:type ontology:Q6619679 }
Rosa Klebb Irma Bunt
Rosa Klebb and Irma Bunt have Ernst Stavro Blofeld as their employer
Rosa Klebb Irma Bunt
action filter_type
action find_reverse
entity Ernst Stavro Blofeld
relation employer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'employer', 'Ernst Stavro Blofeld']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Ernst_Stavro_Blofeld . ?b rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2307276 Q2748192
P175
Q502895
USER
What were presented by those fictional humanoids ?
(Q2307276,P175,c(Q502895)) (Q2748192,P175,c(Q502895))
action filter_type
action find
entity prev_answer
relation P175
type Q502895
['Q2307276', 'P175', {'concept': 'Q502895'}] ['Q2748192', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?y ) { ( resource:Q2307276 ) ( resource:Q2748192 ) } . ?c rdf:type ontology:Q502895 . ?y property:P175 ?c }
Rosa Klebb Irma Bunt
action filter_type
action find
entity prev_answer
relation performer
type common name
['Rosa Klebb', 'performer', {'concept': 'common name'}] ['Irma Bunt', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?y ) { ( resource:Rosa_Klebb ) ( resource:Irma_Bunt ) } . ?c rdf:type ontology:common_name . ?y property:performer ?c }
[]
common name
Q93604 Q63586
SYSTEM
Lotte Lenya, Ilse Steppat
Q93604 Q63586
(Q2307276,P175,c(Q502895)) (Q2748192,P175,c(Q502895))
action filter_type
action find
entity prev_answer
relation P175
type Q502895
[ANSWERS] were presented by those fictional humanoids
['Q2307276', 'P175', {'concept': 'Q502895'}] ['Q2748192', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?y ) { ( resource:Q2307276 ) ( resource:Q2748192 ) } . ?c rdf:type ontology:Q502895 . ?y property:P175 ?c }
Lotte Lenya Ilse Steppat
Lotte Lenya and Ilse Steppat were presented by those fictional humanoids
Lotte Lenya Ilse Steppat
action filter_type
action find
entity prev_answer
relation performer
type common name
['Rosa Klebb', 'performer', {'concept': 'common name'}] ['Irma Bunt', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?y ) { ( resource:Rosa_Klebb ) ( resource:Irma_Bunt ) } . ?c rdf:type ontology:common_name . ?y property:performer ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q93604 Q63586
P161
Q838948
USER
Which works of art stars Lotte Lenya and Ilse Steppat as actor ?
(c(Q838948),P161,Q93604) (c(Q838948),P161,Q63586)
action union
action filter_type
action find_reverse
entity Q93604
relation P161
type Q838948
action filter_type
action find_reverse
entity Q63586
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q93604'] [{'concept': 'Q838948'}, 'P161', 'Q63586']
SELECT DISTINCT ?m WHERE { VALUES ( ?y ) { ( resource:Q93604 ) ( resource:Q63586 ) } . ?m property:P161 ?y }
Lotte Lenya Ilse Steppat
action union
action filter_type
action find_reverse
entity Lotte Lenya
relation cast member
type work of art
action filter_type
action find_reverse
entity Ilse Steppat
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lotte Lenya'] [{'concept': 'work of art'}, 'cast member', 'Ilse Steppat']
SELECT DISTINCT ?m WHERE { VALUES ( ?y ) { ( resource:Lotte_Lenya ) ( resource:Ilse_Steppat ) } . ?m property:cast_member ?y }
[]
work of art
Q106571 Q19948770 Q107894
SYSTEM
From Russia with Love, From Caligari to Hitler: German Cinema in the Age of the Masses, On Her Majesty's Secret Service
Q106571 Q949945 Q7449276 Q693798 Q19948770 Q778505 Q8026390 Q20731374 Q1213196 Q554975 Q1193279 Q617858 Q1575670 Q815014 Q833601 Q18620353 Q15842545 Q1231190 Q107894 Q1217964 Q1197465 Q2550121 Q587685
(c(Q838948),P161,Q93604) (c(Q838948),P161,Q63586)
action union
action filter_type
action find_reverse
entity Q93604
relation P161
type Q838948
action filter_type
action find_reverse
entity Q63586
relation P161
type Q838948
[ANSWERS] star Lotte Lenya and Ilse Steppat as actor
[{'concept': 'Q838948'}, 'P161', 'Q93604'] [{'concept': 'Q838948'}, 'P161', 'Q63586']
SELECT DISTINCT ?m WHERE { VALUES ( ?y ) { ( resource:Q93604 ) ( resource:Q63586 ) } . ?m property:P161 ?y }
From Russia with Love The Roman Spring of Mrs. Stone Semi-Tough The Threepenny Opera From Caligari to Hitler: German Cinema in the Age of the Masses The Appointment Winter in the Woods You Don't Shoot at Angels The Curse of the Hidden Vault Die Ratten The Rabanser Case Apartmentzauber Hanna Amon Confessions of Felix Krull Marriage in the Shadows The Captain and His Hero Captain Wronski Pension Schöller On Her Majesty's Secret Service Die blauen Schwerter Death in the Red Jaguar Veronika the Maid Creature with the Blue Hand
From Russia with Love, From Caligari to Hitler: German Cinema in the Age of the Masses and On Her Majesty's Secret Service star Lotte Lenya and Ilse Steppat as actor
From Russia with Love From Caligari to Hitler: German Cinema in the Age of the Masses On Her Majesty's Secret Service
action union
action filter_type
action find_reverse
entity Lotte Lenya
relation cast member
type work of art
action filter_type
action find_reverse
entity Ilse Steppat
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lotte Lenya'] [{'concept': 'work of art'}, 'cast member', 'Ilse Steppat']
SELECT DISTINCT ?m WHERE { VALUES ( ?y ) { ( resource:Lotte_Lenya ) ( resource:Ilse_Steppat ) } . ?m property:cast_member ?y }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q106571 Q19948770 Q107894
P57
Q502895
USER
Which people served as the directed of From Russia with Love, From Caligari to Hitler: German Cinema in the Age of the Masses and On Her Majesty's Secret Service ?
(Q106571,P57,c(Q502895)) (Q19948770,P57,c(Q502895)) (Q107894,P57,c(Q502895))
action union
action filter_type
action find
entity Q106571
relation P57
type Q502895
action filter_type
action find
entity Q19948770
relation P57
type Q502895
action filter_type
action find
entity Q107894
relation P57
type Q502895
['Q106571', 'P57', {'concept': 'Q502895'}] ['Q19948770', 'P57', {'concept': 'Q502895'}] ['Q107894', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { resource:Q106571 property:P57 ?c . ?c rdf:type ontology:Q502895 } UNION { resource:Q19948770 property:P57 ?c . ?c rdf:type ontology:Q502895 } }
From Russia with Love From Caligari to Hitler: German Cinema in the Age of the Masses On Her Majesty's Secret Service
action union
action filter_type
action find
entity From Russia with Love
relation director
type common name
action filter_type
action find
entity From Caligari to Hitler: German Cinema in the Age of the Masses
relation director
type common name
action filter_type
action find
entity On Her Majesty's Secret Service
relation director
type common name
['From Russia with Love', 'director', {'concept': 'common name'}] ['From Caligari to Hitler: German Cinema in the Age of the Masses', 'director', {'concept': 'common name'}] ["On Her Majesty's Secret Service", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { resource:From_Russia_with_Love property:director ?c . ?c rdf:type ontology:common_name } UNION { resource:From_Caligari_to_Hitler:_German_Cinema_in_the_Age_of_the_Masses property:director ?c . ?c rdf:type ontology:common_name } }
[]
common name
Q314882 Q151341 Q707773
SYSTEM
Terence Young, Rüdiger Suchsland, Peter R. Hunt
Q314882 Q151341 Q707773
(Q106571,P57,c(Q502895)) (Q19948770,P57,c(Q502895)) (Q107894,P57,c(Q502895))
action union
action filter_type
action find
entity Q106571
relation P57
type Q502895
action filter_type
action find
entity Q19948770
relation P57
type Q502895
action filter_type
action find
entity Q107894
relation P57
type Q502895
[ANSWERS] served as the directed of From Russia with Love, From Caligari to Hitler: German Cinema in the Age of the Masses and On Her Majesty's Secret Service
['Q106571', 'P57', {'concept': 'Q502895'}] ['Q19948770', 'P57', {'concept': 'Q502895'}] ['Q107894', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { resource:Q106571 property:P57 ?c . ?c rdf:type ontology:Q502895 } UNION { resource:Q19948770 property:P57 ?c . ?c rdf:type ontology:Q502895 } }
Terence Young Rüdiger Suchsland Peter R. Hunt
Terence Young, Rüdiger Suchsland and Peter R. Hunt served as the directed of From Russia with Love, From Caligari to Hitler: German Cinema in the Age of the Masses and On Her Majesty's Secret Service
Terence Young Rüdiger Suchsland Peter R. Hunt
action union
action filter_type
action find
entity From Russia with Love
relation director
type common name
action filter_type
action find
entity From Caligari to Hitler: German Cinema in the Age of the Masses
relation director
type common name
action filter_type
action find
entity On Her Majesty's Secret Service
relation director
type common name
['From Russia with Love', 'director', {'concept': 'common name'}] ['From Caligari to Hitler: German Cinema in the Age of the Masses', 'director', {'concept': 'common name'}] ["On Her Majesty's Secret Service", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { resource:From_Russia_with_Love property:director ?c . ?c rdf:type ontology:common_name } UNION { resource:From_Caligari_to_Hitler:_German_Cinema_in_the_Age_of_the_Masses property:director ?c . ?c rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q314882 Q151341 Q707773
P21
Q290
USER
Which sexes do those people belong to ?
(Q314882,P21,c(Q290)) (Q151341,P21,c(Q290)) (Q707773,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q314882', 'P21', {'concept': 'Q290'}] ['Q151341', 'P21', {'concept': 'Q290'}] ['Q707773', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?d ) { ( resource:Q314882 ) ( resource:Q151341 ) ( resource:Q707773 ) } . ?d property:P21 ?t . ?t rdf:type ontology:Q290 }
Terence Young Rüdiger Suchsland Peter R. Hunt
action filter_type
action find
entity prev_answer
relation gender
type sex
['Terence Young', 'gender', {'concept': 'sex'}] ['Rüdiger Suchsland', 'gender', {'concept': 'sex'}] ['Peter R. Hunt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?d ) { ( resource:Terence_Young ) ( resource:Rüdiger_Suchsland ) ( resource:Peter_R._Hunt ) } . ?d property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q314882,P21,c(Q290)) (Q151341,P21,c(Q290)) (Q707773,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q314882', 'P21', {'concept': 'Q290'}] ['Q151341', 'P21', {'concept': 'Q290'}] ['Q707773', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?d ) { ( resource:Q314882 ) ( resource:Q151341 ) ( resource:Q707773 ) } . ?d property:P21 ?t . ?t rdf:type ontology:Q290 }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Terence Young', 'gender', {'concept': 'sex'}] ['Rüdiger Suchsland', 'gender', {'concept': 'sex'}] ['Peter R. Hunt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?d ) { ( resource:Terence_Young ) ( resource:Rüdiger_Suchsland ) ( resource:Peter_R._Hunt ) } . ?d property:gender ?t . ?t rdf:type ontology:sex }
[]