Simple Question (Direct)
Simple Question
Q6262560
P607
Q198
USER
Which battle did John W. Sprague take part in ?
(Q6262560,P607,c(Q198))
action filter_type
action find
entity Q6262560
relation P607
type Q198
['Q6262560', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q6262560 property:P607 ?h . ?h rdf:type ontology:Q198 }
John W. Sprague
action filter_type
action find
entity John W. Sprague
relation conflict
type war
['John W. Sprague', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:John_W._Sprague property:conflict ?h . ?h rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q6262560,P607,c(Q198))
action filter_type
action find
entity Q6262560
relation P607
type Q198
John W. Sprague took in the [ANSWER] part
['Q6262560', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q6262560 property:P607 ?h . ?h rdf:type ontology:Q198 }
American Civil War
John W. Sprague took in the American Civil War part
American Civil War
action filter_type
action find
entity John W. Sprague
relation conflict
type war
['John W. Sprague', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:John_W._Sprague property:conflict ?h . ?h rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P921
Q2342494
USER
What are that war a main subject of ?
(c(Q2342494),P921,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q8676']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q8676 . ?u rdf:type ontology:Q2342494 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'American Civil War']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:American_Civil_War . ?u rdf:type ontology:collectable }
[]
collectable
Q471005 Q2910027 Q7761504
SYSTEM
The Mysterious Island, Boneshaker, The Root Cellar
Q4659176 Q7333277 Q5451628 Q1540288 Q7745774 Q7769477 Q5564469 Q7761504 Q7756723 Q1997545 Q7303849 Q3400570 Q347325 Q6550461 Q1219239 Q4676457 Q4754260 Q5625337 Q3521472 Q5554726 Q6515676 Q5598240 Q7659353 Q21504988 Q7712123 Q7713277 Q7496713 Q4996610 Q183363 Q4745433 Q4656590 Q4132785 Q6766210 Q27117409 Q7003926 Q471005 Q2499287 Q8028004 Q7773607 Q2717946 Q6877353 Q6546312 Q5596147 Q7752393 Q7836055 Q6301797 Q7738533 Q5500459 Q20004061 Q2870 Q7997446 Q241348 Q7081055 Q6756693 Q13373598 Q2910027 Q523076
(c(Q2342494),P921,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P921
type Q2342494
That war a main subject of are also [ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q8676']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q8676 . ?u rdf:type ontology:Q2342494 }
A Rebel in Time Rifles for Watie Fire on the Mountain The Crisis The Last Full Measure The Titans Girl in Blue The Root Cellar The Perilous Road Texar's Revenge, or, North Against South Red Cap Cloudsplitter Confederates Lincoln The Red Badge of Courage Across Five Aprils Andersonville Gypsy Breynton The Killer Angels Gettysburg: A Novel of the Civil War Lee and Grant at Appomattox Gray Victory Swords of Steel Letters of a Civil War Surgeon The Able McLaughlins The Amalgamation Polka Shiloh Bull Run The March American by Blood A Dream of Kings Bring the Jubilee Marjorie's Quest Singing the new nation Never Call Retreat: Lee and Grant: The Final Victory The Mysterious Island Cold Mountain With Lee in Virginia, A Story of the American Civil War The Warriors The Unvanquished Miss Ravenel's Conversion from Secession to Loyalty Lighthouse Grant Comes East The Mostly True Adventures of Homer P. Figg Traveller Jubilee The Guns of the South Freedom Lest We Forget Gone with the Wind Who Would Have Thought It? Scarlett Ohio in the War March Gods and Generals Boneshaker Little Women
That war a main subject of are also The Mysterious Island, Boneshaker and The Root Cellar
The Mysterious Island Boneshaker The Root Cellar
action filter_type
action find_reverse
entity American Civil War
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'American Civil War']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:American_Civil_War . ?u rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2910027
P166
Q378427
USER
What was won by that collectable ?
(Q2910027,P166,c(Q378427))
action filter_type
action find
entity Q2910027
relation P166
type Q378427
['Q2910027', 'P166', {'concept': 'Q378427'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q378427 . resource:Q2910027 property:P166 ?e }
Boneshaker
action filter_type
action find
entity Boneshaker
relation award received
type literary award
['Boneshaker', 'award received', {'concept': 'literary award'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:literary_award . resource:Boneshaker property:award_received ?e }
[]
literary award
Clarification for simple ques.
Q7761504
SYSTEM
Did you mean The Root Cellar ?
Q471005 Q2910027 Q7761504
(Q471005,P166,c(Q378427)) (Q2910027,P166,c(Q378427)) (Q7761504,P166,c(Q378427))
[ANSWER]
['Q471005', 'P166', {'concept': 'Q378427'}] ['Q2910027', 'P166', {'concept': 'Q378427'}] ['Q7761504', 'P166', {'concept': 'Q378427'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q378427 . resource:Q2910027 property:P166 ?e }
The Mysterious Island Boneshaker The Root Cellar
Did you mean The Root Cellar ?
The Root Cellar
['The Mysterious Island', 'award received', {'concept': 'literary award'}] ['Boneshaker', 'award received', {'concept': 'literary award'}] ['The Root Cellar', 'award received', {'concept': 'literary award'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:literary_award . resource:Boneshaker property:award_received ?e }
[]
Simple Question (Coreferenced)
USER
No, I meant Boneshaker. Could you tell me the answer for that?
(Q2910027,P166,c(Q378427))
Q2910027
['Q2910027', 'P166', {'concept': 'Q378427'}]
['Boneshaker', 'award received', {'concept': 'literary award'}]
[]
Q2576795
SYSTEM
Locus Award for Best Science Fiction Novel
Q2576795
(Q2910027,P166,c(Q378427))
action filter_type
action find
entity Q2910027
relation P166
type Q378427
The [ANSWER] was won by that collectable
['Q2910027', 'P166', {'concept': 'Q378427'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q378427 . resource:Q2910027 property:P166 ?e }
Locus Award for Best Science Fiction Novel
The Locus Award for Best Science Fiction Novel was won by that collectable
Locus Award for Best Science Fiction Novel
action filter_type
action find
entity Boneshaker
relation award received
type literary award
['Boneshaker', 'award received', {'concept': 'literary award'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:literary_award . resource:Boneshaker property:award_received ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1346
Q502895
USER
How many people won that literary award ?
(Q2576795,P1346,c(Q502895))
action count
action filter_type
action find
entity Q2576795
relation P1346
type Q502895
['Q2576795', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q2576795 property:P1346 ?v . ?v rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Locus Award for Best Science Fiction Novel
relation winner
type common name
['Locus Award for Best Science Fiction Novel', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Locus_Award_for_Best_Science_Fiction_Novel property:winner ?v . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
21
Q234700 Q277308 Q312853 Q268371 Q217110 Q297538 Q312405 Q315069 Q313466 Q34981 Q345249 Q130779 Q504805 Q234030 Q843837 Q319196 Q229369 Q316610 Q443306 Q181659 Q16204354
(Q2576795,P1346,c(Q502895))
action count
action filter_type
action find
entity Q2576795
relation P1346
type Q502895
[ANSWER]
['Q2576795', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q2576795 property:P1346 ?v . ?v rdf:type ontology:Q502895 }
Connie Willis John Scalzi Neal Stephenson Joan D. Vinge Orson Scott Card Dan Simmons Vernor Vinge David Brin Michael Chabon Isaac Asimov Charles Stross Kim Stanley Robinson John Varley C. J. Cherryh Cherie Priest China Miéville Lois McMaster Bujold Larry Niven Julian May Ursula K. Le Guin Ann Leckie
21
action count
action filter_type
action find
entity Locus Award for Best Science Fiction Novel
relation winner
type common name
['Locus Award for Best Science Fiction Novel', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Locus_Award_for_Best_Science_Fiction_Novel property:winner ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2418554 Q471005
P674
Q6619679
USER
Which fictional humanoids appears as a character in The Mysterious Island or The Lady with the Dog ?
OR((Q471005,P674,c(Q6619679)), (Q2418554,P674,c(Q6619679)))
action filter_type
action union
action find
entity Q471005
relation P674
action find
entity Q2418554
relation P674
type Q6619679
{'OR': [['Q471005', 'P674', {'concept': 'Q6619679'}], ['Q2418554', 'P674', {'concept': 'Q6619679'}]]}
SELECT DISTINCT ?m WHERE { { ?x property:P674 ?m . VALUES ( ?x ) { ( resource:Q471005 ) ( resource:Q2418554 ) } } . ?m rdf:type ontology:Q6619679 }
The Lady with the Dog The Mysterious Island
action filter_type
action union
action find
entity The Mysterious Island
relation characters
action find
entity The Lady with the Dog
relation characters
type fictional humanoid
{'OR': [['The Mysterious Island', 'characters', {'concept': 'fictional humanoid'}], ['The Lady with the Dog', 'characters', {'concept': 'fictional humanoid'}]]}
SELECT DISTINCT ?m WHERE { { ?x property:characters ?m . VALUES ( ?x ) { ( resource:The_Mysterious_Island ) ( resource:The_Lady_with_the_Dog ) } } . ?m rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q1046049 Q5201145 Q4058976 Q18580911
SYSTEM
captain Nemo, Cyrus Smith, Tom Ayrton, Dmitri Gurov
Q1046049 Q5201145 Q4058976 Q18580911
OR((Q471005,P674,c(Q6619679)), (Q2418554,P674,c(Q6619679)))
action filter_type
action union
action find
entity Q471005
relation P674
action find
entity Q2418554
relation P674
type Q6619679
[ANSWERS] appear as a character in The Mysterious Island or The Lady with the Dog
{'OR': [['Q471005', 'P674', {'concept': 'Q6619679'}], ['Q2418554', 'P674', {'concept': 'Q6619679'}]]}
SELECT DISTINCT ?m WHERE { { ?x property:P674 ?m . VALUES ( ?x ) { ( resource:Q471005 ) ( resource:Q2418554 ) } } . ?m rdf:type ontology:Q6619679 }
captain Nemo Cyrus Smith Tom Ayrton Dmitri Gurov
Captain Nemo, Cyrus Smith, Tom Ayrton and Dmitri Gurov appear as a character in The Mysterious Island or The Lady with the Dog
captain Nemo Cyrus Smith Tom Ayrton Dmitri Gurov
action filter_type
action union
action find
entity The Mysterious Island
relation characters
action find
entity The Lady with the Dog
relation characters
type fictional humanoid
{'OR': [['The Mysterious Island', 'characters', {'concept': 'fictional humanoid'}], ['The Lady with the Dog', 'characters', {'concept': 'fictional humanoid'}]]}
SELECT DISTINCT ?m WHERE { { ?x property:characters ?m . VALUES ( ?x ) { ( resource:The_Mysterious_Island ) ( resource:The_Lady_with_the_Dog ) } } . ?m rdf:type ontology:fictional_humanoid }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P674
Q6619679 Q277759 Q2342494
USER
Which fictional humanoids appear as a character in more number of book series and collectables than that fictional humanoid ?
(c(Q277759)|c(Q2342494),P674,c(Q6619679))
[[{'concept': 'Q277759'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P674 ?y } UNION { ?x property:P674 ?y } } . ?z rdf:type ontology:Q277759 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'book series'}, {'concept': 'collectable'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?y WHERE { { { ?z property:characters ?y } UNION { ?x property:characters ?y } } . ?z rdf:type ontology:book_series . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:collectable }
[]
fictional humanoid book series collectable
Comparative|More/Less|Mult. entity type|Clarification
Q18580911
SYSTEM
Did you mean Dmitri Gurov ?
(c(Q277759)|c(Q2342494),P674,c(Q6619679))
[ANSWER]
[[{'concept': 'Q277759'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P674 ?y } UNION { ?x property:P674 ?y } } . ?z rdf:type ontology:Q277759 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q2342494 }
Did you mean Dmitri Gurov ?
Dmitri Gurov
[[{'concept': 'book series'}, {'concept': 'collectable'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?y WHERE { { { ?z property:characters ?y } UNION { ?x property:characters ?y } } . ?z rdf:type ontology:book_series . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant Tom Ayrton. Could you tell me the answer for that?
(c(Q277759)|c(Q2342494),P674,c(Q6619679))
Q4058976
[[{'concept': 'Q277759'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q6619679'}]
[[{'concept': 'book series'}, {'concept': 'collectable'}], 'characters', {'concept': 'fictional humanoid'}]
[]
Q3119417 Q2009573 Q170534
SYSTEM
Guido Brunetti, James Bond, Hercule Poirot
Q2916375 Q15220681 Q246154 Q1684606 Q1918366 Q988862 Q6252292 Q170534 Q1423956 Q1640313 Q7885319 Q1469475 Q18516397 Q2002477 Q1639626 Q187349 Q2695156 Q2607112 Q15732115 Q2111000 Q1627590 Q2362626 Q613901 Q771213 Q1912438 Q2386582 Q3119417 Q18510587 Q1068314 Q1749168 Q2091177 Q1779543 Q830561 Q582234 Q2009573 Q193531 Q5361253 Q14916061 Q18516409 Q18516401 Q18516407 Q371774 Q623732 Q1076932 Q7782906 Q2846779 Q170241 Q2604250 Q18516276 Q5560816 Q1191282 Q1640004
(c(Q277759)|c(Q2342494),P674,c(Q6619679))
[ANSWERS] appear as a character in more number of book series and collectables than that fictional humanoid
[[{'concept': 'Q277759'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P674 ?y } UNION { ?x property:P674 ?y } } . ?z rdf:type ontology:Q277759 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q2342494 }
Peter Wiggin Temperance Brennan M Jean-Baptiste Adamsberg John Clark Elijah Baley John Paul Wiggin Hercule Poirot Doctor Griffin Lucy Pevensie Elvis Cole Marcus Didius Falco Lorenzo Vianello Prince Caspian Susan Pevensie Dr. John Watson Batman Harry Bosch Hyrum Graff Eustace Scrubb Peter Pevensie Rand al'Thor Arthur Dent Anne Shirley Erast Fandorin Digory Kirke Guido Brunetti Paola Brunetti Jack Ryan Harry Palmer Lyra Belacqua Felix Leiter Jules Maigret Edmund Pevensie James Bond Miss Marple Eliot Rosewater Rabbit Angstrom Chiara Brunetti Elettra Zorzi Raffaele Brunetti Nero Wolfe Philip Marlowe Nancy Drew Theresa Wiggin Ender Wiggin Tarzan Aloysius Pendergast Vice-Questore Patta Gilbert Blythe Lisbeth Salander Vautrin
Guido Brunetti, James Bond and Hercule Poirot appear as a character in more number of book series and collectables than that fictional humanoid
Guido Brunetti James Bond Hercule Poirot
[[{'concept': 'book series'}, {'concept': 'collectable'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?y WHERE { { { ?z property:characters ?y } UNION { ?x property:characters ?y } } . ?z rdf:type ontology:book_series . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2009573
P1441
Q838948
USER
How many works of art feature James Bond ?
(Q2009573,P1441,c(Q838948))
action count
action filter_type
action find
entity Q2009573
relation P1441
type Q838948
['Q2009573', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q2009573 property:P1441 ?i . ?i rdf:type ontology:Q838948 }
James Bond
action count
action filter_type
action find
entity James Bond
relation present in work
type work of art
['James Bond', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:James_Bond property:present_in_work ?i . ?i rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
25
Q207916 Q107724 Q102754 Q320423 Q332330 Q212145 Q19089 Q151904 Q30931 Q107894 Q272064 Q591272 Q334780 Q204398 Q309289 Q107914 Q27204 Q332368 Q18602670 Q4941 Q180279 Q181540 Q106571 Q309086 Q107761
(Q2009573,P1441,c(Q838948))
action count
action filter_type
action find
entity Q2009573
relation P1441
type Q838948
[ANSWER]
['Q2009573', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q2009573 property:P1441 ?i . ?i rdf:type ontology:Q838948 }
Tomorrow Never Dies Thunderball Dr. No The Spy Who Loved Me For Your Eyes Only The World Is Not Enough GoldenEye Casino Royale Die Another Day On Her Majesty's Secret Service The Living Daylights Casino Royale Moonraker Octopussy The Man with the Golden Gun Diamonds Are Forever Live and Let Die A View to a Kill Spectre Skyfall Never Say Never Again Quantum of Solace From Russia with Love Licence to Kill You Only Live Twice
25
action count
action filter_type
action find
entity James Bond
relation present in work
type work of art
['James Bond', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:James_Bond property:present_in_work ?i . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2009573
P108
Q6619679
USER
Which fictional humanoid is working for that one ?
action filter_type
action find_reverse
entity Q2009573
relation P108
type Q6619679
SELECT DISTINCT ?f WHERE { ?f property:P108 resource:Q2009573 . ?f rdf:type ontology:Q6619679 }
James Bond
action filter_type
action find_reverse
entity James Bond
relation employer
type fictional humanoid
SELECT DISTINCT ?f WHERE { ?f property:employer resource:James_Bond . ?f rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q10314386
SYSTEM
Kincade
Q10314386
action filter_type
action find_reverse
entity Q2009573
relation P108
type Q6619679
[ANSWER] is working for that one
SELECT DISTINCT ?f WHERE { ?f property:P108 resource:Q2009573 . ?f rdf:type ontology:Q6619679 }
Kincade
Kincade is working for that one
Kincade
action filter_type
action find_reverse
entity James Bond
relation employer
type fictional humanoid
SELECT DISTINCT ?f WHERE { ?f property:employer resource:James_Bond . ?f rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q523519
P1080
Q386724 Q7725634 Q6619679
USER
How many fictional humanoids are a part of around the same number of works or literary works as Mary Marvel ?
(c(Q6619679),P1080,c(Q386724)|c(Q7725634))
action count
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q386724
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
action count
action filter_multi_types
action find
entity Q523519
relation P1080
type Q386724
type Q7725634
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q386724'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q386724 ) ( ontology:Q7725634 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q7725634 ) } . ?e rdf:type ?c } . resource:Q523519 property:P1080 ?e } } . FILTER ( ?g = ?s ) }
Mary Marvel
action count
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type work
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
action count
action filter_multi_types
action find
entity Mary Marvel
relation from fictional universe
type work
type literary work
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'work'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:work ) ( ontology:literary_work ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { VALUES ( ?c ) { ( ontology:work ) ( ontology:literary_work ) } . ?e rdf:type ?c } . resource:Mary_Marvel property:from_fictional_universe ?e } } . FILTER ( ?g = ?s ) }
[]
work literary work fictional humanoid
SYSTEM
594
Q24046150 Q2482655 Q23900407 Q3984993 Q10329471 Q23894967 Q3622593 Q3100887 Q2586655 Q5065651 Q3026050 Q24073696 Q718965 Q20708637 Q2941571 Q2749614 Q1120793 Q913359 Q2704623 Q3422776 Q1120560 Q1056953 Q24027982 Q1644750 Q2258938 Q3772885 Q19796006 Q923684 Q1033932 Q26261996 Q24027859 Q19791067 Q4897724 Q2477069 Q5369684 Q21501356 Q24083294 Q15228910 Q15285376 Q5276708 Q19757410 Q27067863 Q1990090 Q3048189 Q627820 Q5377357 Q2500238 Q24040935 Q2536239 Q24046118 Q21733196 Q719661 Q24040742 Q3610734 Q2530488 Q988898 Q857173 Q2998614 Q851352 Q3429688 Q931 Q23851951 Q24022642 Q23991694 Q16311 Q2329269 Q477948 Q1528452 Q24068405 Q24068402 Q24068383 Q5931323 Q12963444 Q24276092 Q12900933 Q3149148 Q640871 Q24276097 Q769046 Q2718240 Q3216027 Q24004885 Q16002515 Q24276119 Q1824049 Q2298077 Q2706099 Q903006 Q3640940 Q588838 Q7468126 Q18535363 Q23900470 Q21233430 Q939538 Q19796735 Q3139744 Q2206150 Q3836775 Q1057356 Q27101792 Q27147335 Q3859326 Q24027955 Q2658347 Q9010830 Q2435983 Q24573094 Q867810 Q2299139 Q3524820 Q24040949 Q2714206 Q6679806 Q2537248 Q20011098 Q2577035 Q23900377 Q1079617 Q2419213 Q3290958 Q4759961 Q24050065 Q430548 Q840368 Q6183819 Q3027480 Q13634885 Q5298637 Q1605258 Q2526250 Q376577 Q1270789 Q23031 Q2446175 Q23895063 Q3624677 Q16351 Q3114290 Q517214 Q6910820 Q17428688 Q27670271 Q4789634 Q2340324 Q1812152 Q1146291 Q384569 Q2251084 Q2556873 Q496085 Q21884092 Q24068355 Q2708077 Q1784409 Q27670356 Q23842323 Q3299117 Q23750571 Q2500449 Q23894605 Q23894608 Q20530221 Q19799430 Q15702161 Q2000355 Q19799435 Q23851900 Q2005691 Q3115789 Q1640313 Q3898184 Q2403686 Q2210354 Q2519257 Q24083312 Q3142916 Q13405059 Q24073681 Q24276100 Q9291762 Q2569703 Q860922 Q3316564 Q3321155 Q2720745 Q19755890 Q3292141 Q1073810 Q826055 Q2482639 Q2395957 Q9292465 Q4008842 Q5584641 Q1963740 Q19799441 Q13218515 Q5959381 Q7248180 Q27067914 Q2250258 Q158952 Q2389115 Q3019181 Q14907064 Q1072331 Q726851 Q189169 Q3331983 Q7168342 Q2636437 Q14329382 Q27670318 Q2989781 Q27670314 Q2002477 Q2291432 Q6701876 Q27045831 Q2337703 Q17355556 Q2666252 Q864706 Q11680202 Q1322354 Q27670381 Q27670387 Q27670389 Q2422510 Q1740 Q18762259 Q4385215 Q24045752 Q27067866 Q851814 Q3020780 Q24026703 Q496437 Q26809707 Q27670364 Q1639626 Q7909135 Q26268850 Q2723286 Q26268859 Q2857830 Q3784904 Q2359610 Q1790404 Q24073665 Q6136264 Q687999 Q3922587 Q2168676 Q3483137 Q10361296 Q520158 Q944728 Q24275986 Q7455169 Q717722 Q21733221 Q24273019 Q24273017 Q2283843 Q23852090 Q7421051 Q10404995 Q24068218 Q2609344 Q24068211 Q894176 Q24068213 Q2630776 Q24068214 Q6321887 Q24034679 Q3312273 Q5877850 Q3050394 Q2250566 Q1984020 Q3754619 Q3857525 Q1660452 Q2111000 Q1627590 Q765092 Q5591214 Q2714871 Q24022542 Q2708078 Q2837209 Q2601118 Q24022098 Q2362626 Q24068397 Q15229036 Q7911184 Q4992177 Q2552645 Q1638503 Q592358 Q23304703 Q2987625 Q21731866 Q24040958 Q27057308 Q12056060 Q3570193 Q23900437 Q27092482 Q24073725 Q2466726 Q12964820 Q21731262 Q3401100 Q3610656 Q2661864 Q280608 Q660051 Q537309 Q2985760 Q3179649 Q5534974 Q735712 Q1205263 Q3108824 Q2386582 Q2456985 Q27067859 Q21233565 Q3036003 Q24073715 Q2721145 Q1513887 Q2656267 Q1427625 Q2932781 Q845525 Q6725939 Q128639 Q2127162 Q716835 Q1319867 Q23842775 Q24027376 Q24073719 Q612720 Q12174503 Q2297886 Q21772120 Q20190268 Q3617949 Q24068252 Q2750880 Q3303309 Q3657317 Q545367 Q2232602 Q3442478 Q24068241 Q23842703 Q24027972 Q4022608 Q23753831 Q24040968 Q3474005 Q116113 Q15285353 Q3549786 Q17489260 Q15285356 Q2220089 Q8345266 Q24265423 Q7811674 Q2071077 Q2346769 Q766141 Q3545388 Q24040913 Q18535399 Q24068391 Q23895076 Q1074019 Q1621261 Q3105409 Q2019744 Q221196 Q2721741 Q2627135 Q21061980 Q1190670 Q3567749 Q2550524 Q2742668 Q582234 Q27468455 Q3481153 Q6404474 Q24050117 Q23842900 Q3961857 Q23000 Q24045741 Q23753866 Q20818052 Q24045748 Q27147410 Q4913189 Q27670370 Q427647 Q27670374 Q7028169 Q3129085 Q640896 Q734861 Q2941743 Q21847054 Q23991271 Q2345627 Q2960845 Q22253513 Q17405299 Q616633 Q3224463 Q250221 Q5169195 Q2962576 Q15223888 Q2021699 Q943141 Q4360302 Q10797402 Q13634884 Q27062173 Q1997176 Q6523499 Q24200251 Q3603774 Q24275991 Q1809739 Q3614733 Q5756651 Q5129207 Q23836625 Q2481487 Q3080332 Q1429836 Q4851780 Q9085840 Q24510074 Q7855923 Q2619064 Q2720199 Q10335959 Q611993 Q23852015 Q3313177 Q194705 Q12900597 Q752877 Q546404 Q11284128 Q27057203 Q2723539 Q751117 Q11820476 Q1785114 Q726308 Q2519237 Q1130271 Q1994866 Q21731153 Q2716760 Q4411035 Q1994909 Q20979384 Q1778905 Q17032948 Q1147484 Q1990492 Q3418964 Q15872676 Q27057298 Q874924 Q3547709 Q6880186 Q20979222 Q6968464 Q2296453 Q2859252 Q21042559 Q15650243 Q24050133 Q24010814 Q5036547 Q384436 Q23836618 Q24068411 Q24022345 Q25439486 Q24276086 Q20085277 Q3706250 Q24027486 Q24026688 Q1977902 Q2366096 Q24068387 Q1767 Q1164980 Q21233512 Q24043637 Q607489 Q26268873 Q1061765 Q14906180 Q384546 Q9338892 Q19880512 Q20745564 Q24022457 Q24034722 Q1750842 Q2608124 Q3557129 Q9068024 Q25446598 Q23991129 Q15710481 Q23900446 Q3622602 Q3183266 Q1319784 Q5800111 Q26758863 Q19791158 Q957692 Q24046106 Q2715425 Q3124253 Q2663841 Q24004905 Q2292469 Q121806 Q4791684 Q23900364 Q3657279 Q23842987 Q542803 Q4782765 Q23852160 Q9142773 Q27670335 Q2482634 Q1412447 Q908352 Q27231263 Q1154920 Q911563 Q3514611 Q3080800 Q2469992 Q4807551 Q9156058 Q2400607 Q3697338 Q2429447 Q654588 Q11680547 Q1334722 Q27057247 Q523519 Q12961400 Q11698067 Q7288955 Q1096719 Q27670340 Q259818 Q7940668 Q2552714 Q1258649 Q21733146 Q21733142 Q12902673 Q2716514 Q2418079 Q2345229 Q2624998 Q18361743 Q2959036
(c(Q6619679),P1080,c(Q386724)|c(Q7725634))
action count
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q386724
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
action count
action filter_multi_types
action find
entity Q523519
relation P1080
type Q386724
type Q7725634
[ANSWER]
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q386724'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:Q386724 ) ( ontology:Q7725634 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q7725634 ) } . ?e rdf:type ?c } . resource:Q523519 property:P1080 ?e } } . FILTER ( ?g = ?s ) }
Heimdall Tamara Johansen Christine Everhart Tessa Noël Michael Warren Tony Stark / Iron Man Michael Garibaldi Shinn Asuka Moist von Lipwig Cethern mac Fintain Charlie Swan Strawberry Vendor Hinata Hyuga Christine Everhart Cat Grant Tyrannus Theon Greyjoy Elektra Ben Skywalker Red Shift John Wesley Ship Minsc Leo Fitz Man-Killer Barry Allen Gold Ramsay Snow John Sheppard Haresh Clay Phineas Mason Carol Danvers / Captain Marvel Lysa Arryn Bethany Cabe Jeffrey Sinclair Jessie Alma Coin Jasper Sitwell Dr. John Grey Philip J. Fry II Dilbert Joe Carey Writer Hydro-Man Zero Reginald Barclay Enforcer Renee Montoya Maria Stark Jenny Calendar Loki Lieutenant Jackson Jack O'Neill Brock Rumlow / Crossbones Alex Wilder Tisroc Elizabeth Weir George Hammond Cottonmouth Reimu Hakurei Rhombur Vernius Naruto Uzumaki Humvee Driver T'Chaka Bucky Barnes / Winter Soldier James T. Kirk Adam Monkey D. Luffy Metamorpho Expo Cop Rebecca General Meade Hugh Jones Doctor Poison Maggie Margaery Tyrell Imoen Angar the Screamer Dave Agnes Nitt Red Star Lady Quark T'Challa / Black Panther Alice Castillo Aki Ross Karen Page Alia Atreides Dean Winchester Blind Al Bat Lash Alustriel Silverhand Kelsier Happy Hogan Thomas Brewster Kennedy Smitty Man-Ape Polly Plummer Lord Luc Misty Pietro Maximoff / Quicksilver Zuri Mister Miracle Melinda May Daken Jaqen H'ghar Poggin Scott Calvin Clark Kent Uncle Ben Thom Merrilin Miriam Andrew Wells Nasher Alagondar Nynaeve al'Meara Witcher Janet Fraiser Nick Fury Wallace Breen Garth Ranzz Maria Jackson André LeBlanc Peter Quill / Star-Lord Charles Gunn Jill Valentine Jerry Jaxon Doctor Demonicus Robert Baratheon Dorothy Spinner Faile ni Bashere t'Aybara Nicholas Rush John Connor Gary Oak Khan Noonien Singh Tirian Natasha Romanoff / Black Widow Arya Stark Leonard McCoy Chloe Armstrong Tomeya Akai Mordenkainen Letitia Ketterley Tina Minoru Argo the Almighty Xander Harris Demogoblin Yhean Borrero Geordi La Forge Havelock Vetinari John Stewart Robin Wood General Hux French Photographer Pete Ross New Gods Dr. Weiss BOPE Officer Stephen Franklin Major Allen Silvermane Michelle Flash Thompson mudblood Roose Bolton Montolio Debrouchee Wesley Crusher Myrcella Baratheon Female Medical Assistant Steel Graviton Lucy Pevensie Paula Brooks Warren Mears Hawkgirl Doctor Manhattan Isabela Alvarez Marcus Hamilton Pointy-haired Boss Chess Roberts Kurt Silk Spectre Strong Guy Zatanna Miss Martian Living Monolith Harmony Kendall Owen Paris Cubert Farnsworth Sir Balan Daniel Jackson Everett Young Allen Francis Doyle Doctor Cornelius Varys Gord the Rogue Cut-Me-Own-Throat Dibbler Asha Greyjoy Carol Marcus Khal Drogo Professor Power Janet van Dyne / Wasp Tan Yuster Catwoman Darth Desolous Davram Bashere Rishda Elminster Lana Lang Conan the Barbarian Más y Menos Peri Brown Spacer Effie Trinket Dr. Patel Rilian Daniel Drumm Prince Caspian Radek Zelenka Luke Carlyle M'Baku / Man-Ape Dawn Summers Janos Slynt Ronald Greer James Beric Dondarrion Tom Paris Mugger Kamar-Taj Librarian Bullet Patient's Wife Pariah Sasuke Uchiha Bunda Chand Dr. Wily Wong Bartender Chell Deathurge Scott Lang / Ant-Man Sarah Connor Liz Allan Physical Therapist Susan Pevensie Val Rhymin Erik Killmonger Dark Beast Nakia Rabadash Henry Archer Hawkman Giovanni Bambi Arbogast James Horton Cameron Mitchell Professor Birch Red Tornado Sidewinder Richard White Salu Digby Lana Lang Darren Cross Serra Joe Dawson Homes Michael Banks Jane Banks Mysterio Large Woman Sapphire Alexander Löfström Security Force #2 Jonathan Levinson U.S. Marshal Bors Detective Lemieux Eli Wallace Security Force #1 Andrew Ketterley Peggy Carter Prankster George Hamilton Elaida a'Roihan Micah Giett Terrax Sabé Miko Reglia Bart Allen Eustace Scrubb Peter Pevensie Caspian Grace Holloway Tash Wanda Maximoff / Scarlet Witch Daenerys Targaryen Alistair Smythe Batman Steve Rogers Rand al'Thor AV Operator Elaine Grey Valeria Cave Johnson Aviendha Crossfire Kyle Reese Ángela Vidal Donna Noble Annie Cresta FedEx Driver Dale Stannis Baratheon Wyatt Wingfoot Senator Stern Ulysses Klaue Jack Cyborg Human Cannonball Lyme Tiffany Aching Alexandra DeWitt Susan Sto Helit Tom Bombadil Dick Grayson Jennifer Keller Sheva Alomar Joanna Dark Geoffrey Wilder Lex Luthor Eli Vance Kole Digory Kirke Hank Landry Pym Tech Gate Guard Mila Father Callahan Hammer Expo Tech Bette Kane Courtney Whitmore Wonder Girl Swamp Thing Cadsuane Melaidhrin Samantha Carter Mad Dog Zapp Brannigan Mrs. Macready Jacob Black Xing Cai Handsome Soldier Thaddeus Ross French Waiter Creeper Professor Elm Electro Finn Victarion Greyjoy Anne Lindsey Russian Newscaster Pedron Niall Hate-Monger Talia Winters Trickster Jill Pole Rosella Expo Fan Medic Soldier Skye Yawgmoth Winona Kirk Karpov Satsu James Gordon Yancy Fry Bombshell Steven Caldwell Yancy Fry Jr. Egwene al'Vere Chester Phillips Hank Pym Tobias Whale Agent K Rorschach Chakotay Jazz Everett K. Ross Vin Anton Vanko Justin Hammer Evey Hammond Venom Gideon Oliver Queen Gaara Darla Lord Drinian Molly O'Sullivan Franky Whirlwind Mom Evan Lorne Edmund Pevensie Claire Template Shades Kid Devil Bruce Banner / Hulk Command Van Soldier Singprasert Bunnaak Zefram Cochrane The Ancient One Samuel Kirk Rhaegar Targaryen Dr. Nicodemus West W'Kabi Billy Prior Concerned Doctor Cassandra Cain Reluctant Surgeon Nick Wolfe Heather MacLeod Richard Woolsey Valeria Richards Catelyn Stark-Tully Alberta Scrubb May Parker Hal Jordan Charlie DeSalvo Talisa Stark Rhomann Dey Betty Ross Gamesmaster Alyx Vance Copycat Chemistro Janduin Hermes Conrad Shasta Petyr Baelish Lucy Lane Robb Stark Robbie Reyes / Ghost Rider Speedy Leo Johann Schmidt Abraham Erskine Paxton Gareth Bryne Yayoi Aoba Cassandra Claudia LaSalle Little Boy Aravis John Sheridan Galactus Ballistic Tenar School principal Turner D. Century Artemis Entreri Valerie Cooper Ned Horrocks Green Arrow Sterns Lab Soldier Emeth Barbara Gordon Joffrey Baratheon William Riker Benjamin Sisko Adeleine Cassie Lang Externals Black Lightning Glozelle Phantom Stranger Lyta Alexander Wulfgar Lionel Luthor Beyonder Boggs Perrin Aybara Jean DeWolff Cirilla Fiona Elen Riannon Jemma Simmons Superboy Wally Dandelion Amy Wong Rani Chandra Arik Soong Car Driver Professor Farnsworth Andrea Beaumont Mister M Everett K. Ross Natasha Irons Connor Aqueduct Darcy Lewis Nikolai Stavrogin Hope van Dyne / Wasp Deckard Cain Captain Atlas Silas Gunner Rebeka Sam Wilson / Falcon Tommy Monaghan Luis Frank Deuter Müller Sharon Carter / Agent 13 Clint Barton / Hawkeye Khelben "Blackstaff" Arunsun Brothers Grimm 10 Rings Gangster Kakashi Hatake Marcus Cole Flip Jackson Mordo Montgomery Scott Okoye Sanji vinsmoke Lasaraleen Gurney Halleck Sopesian Hope Pym Heinz Kruger Zemo Dr. Stephen Strange Morpheus Elayne Trakand Victor Atreides Renée Dwyer Sixpack Peter Parker / Spider-Man Michelle McCahey-Anderson Howard Stark Elizabeth Lochley Jonas Harrow Maria Hill David King Ayo Jon Arryn Professor Oak Jane Foster Susan Ivanova Kate Brewster John Constantine T'Chaka Cordelia Chase Philip J. Fry Arkady Darell Ivan Vanko Zack Allan Ross's Aide Carson Beckett Aquarius Hopscotch Girl Tarkaan Ahoshta Nurse Billy Matthew Scott Amanda Grayson Rodney McKay Harold Meachum Father Grigori Duncan Idaho Tam al'Thor Spencer Smythe Batwoman Asok Tarkaan Anradin Mabel Kirke Crispus Allen Jade Kraven the Hunter Carolyn Lam Yuna Mitchell Carson Mary Marvel Alva Xar Philippa Eilhart Ramandu's Daughter Foggy Nelson Dr. Garrison Eddard Stark Volothamp Geddarm Henry Jones Hawk and Dove Pollux Castor Ygritte Aiden Ford Alice Obsidian Amy Madison General Madine Charles Evans
594
action count
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type work
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
action count
action filter_multi_types
action find
entity Mary Marvel
relation from fictional universe
type work
type literary work
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'work'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?o . VALUES ( ?o ) { ( ontology:work ) ( ontology:literary_work ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { VALUES ( ?c ) { ( ontology:work ) ( ontology:literary_work ) } . ?e rdf:type ?c } . resource:Mary_Marvel property:from_fictional_universe ?e } } . FILTER ( ?g = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2530488
P1080
Q386724 Q7725634 Q6619679
USER
And what about Tisroc?
(c(Q6619679),P1080,c(Q386724)|c(Q7725634))
action count
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q386724
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
action count
action filter_multi_types
action find
entity Q2530488
relation P1080
type Q386724
type Q7725634
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q386724'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q7725634 ) } . ?w rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q2530488 property:P1080 ?b . { { ?b rdf:type ontology:Q386724 } UNION { ?b rdf:type ontology:Q7725634 } } } } . FILTER ( ?v = ?j ) }
Tisroc
action count
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type work
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
action count
action filter_multi_types
action find
entity Tisroc
relation from fictional universe
type work
type literary work
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'work'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:work ) ( ontology:literary_work ) } . ?w rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Tisroc property:from_fictional_universe ?b . { { ?b rdf:type ontology:work } UNION { ?b rdf:type ontology:literary_work } } } } . FILTER ( ?v = ?j ) }
[]
work literary work fictional humanoid
SYSTEM
594
Q24046150 Q2482655 Q23900407 Q3984993 Q10329471 Q23894967 Q3622593 Q3100887 Q2586655 Q5065651 Q3026050 Q24073696 Q718965 Q20708637 Q2941571 Q2749614 Q1120793 Q913359 Q2704623 Q3422776 Q1120560 Q1056953 Q24027982 Q1644750 Q2258938 Q3772885 Q19796006 Q923684 Q1033932 Q26261996 Q24027859 Q19791067 Q4897724 Q2477069 Q5369684 Q21501356 Q24083294 Q15228910 Q15285376 Q5276708 Q19757410 Q27067863 Q1990090 Q3048189 Q627820 Q5377357 Q2500238 Q24040935 Q2536239 Q24046118 Q21733196 Q719661 Q24040742 Q3610734 Q2530488 Q988898 Q857173 Q2998614 Q851352 Q3429688 Q931 Q23851951 Q24022642 Q23991694 Q16311 Q2329269 Q477948 Q1528452 Q24068405 Q24068402 Q24068383 Q5931323 Q12963444 Q24276092 Q12900933 Q3149148 Q640871 Q24276097 Q769046 Q2718240 Q3216027 Q24004885 Q16002515 Q24276119 Q1824049 Q2298077 Q2706099 Q903006 Q3640940 Q588838 Q7468126 Q18535363 Q23900470 Q21233430 Q939538 Q19796735 Q3139744 Q2206150 Q3836775 Q1057356 Q27101792 Q27147335 Q3859326 Q24027955 Q2658347 Q9010830 Q2435983 Q24573094 Q867810 Q2299139 Q3524820 Q24040949 Q2714206 Q6679806 Q2537248 Q20011098 Q2577035 Q23900377 Q1079617 Q2419213 Q3290958 Q4759961 Q24050065 Q430548 Q840368 Q6183819 Q3027480 Q13634885 Q5298637 Q1605258 Q2526250 Q376577 Q1270789 Q23031 Q2446175 Q23895063 Q3624677 Q16351 Q3114290 Q517214 Q6910820 Q17428688 Q27670271 Q4789634 Q2340324 Q1812152 Q1146291 Q384569 Q2251084 Q2556873 Q496085 Q21884092 Q24068355 Q2708077 Q1784409 Q27670356 Q23842323 Q3299117 Q23750571 Q2500449 Q23894605 Q23894608 Q20530221 Q19799430 Q15702161 Q2000355 Q19799435 Q23851900 Q2005691 Q3115789 Q1640313 Q3898184 Q2403686 Q2210354 Q2519257 Q24083312 Q3142916 Q13405059 Q24073681 Q24276100 Q9291762 Q2569703 Q860922 Q3316564 Q3321155 Q2720745 Q19755890 Q3292141 Q1073810 Q826055 Q2482639 Q2395957 Q9292465 Q4008842 Q5584641 Q1963740 Q19799441 Q13218515 Q5959381 Q7248180 Q27067914 Q2250258 Q158952 Q2389115 Q3019181 Q14907064 Q1072331 Q726851 Q189169 Q3331983 Q7168342 Q2636437 Q14329382 Q27670318 Q2989781 Q27670314 Q2002477 Q2291432 Q6701876 Q27045831 Q2337703 Q17355556 Q2666252 Q864706 Q11680202 Q1322354 Q27670381 Q27670387 Q27670389 Q2422510 Q1740 Q18762259 Q4385215 Q24045752 Q27067866 Q851814 Q3020780 Q24026703 Q496437 Q26809707 Q27670364 Q1639626 Q7909135 Q26268850 Q2723286 Q26268859 Q2857830 Q3784904 Q2359610 Q1790404 Q24073665 Q6136264 Q687999 Q3922587 Q2168676 Q3483137 Q10361296 Q520158 Q944728 Q24275986 Q7455169 Q717722 Q21733221 Q24273019 Q24273017 Q2283843 Q23852090 Q7421051 Q10404995 Q24068218 Q2609344 Q24068211 Q894176 Q24068213 Q2630776 Q24068214 Q6321887 Q24034679 Q3312273 Q5877850 Q3050394 Q2250566 Q1984020 Q3754619 Q3857525 Q1660452 Q2111000 Q1627590 Q765092 Q5591214 Q2714871 Q24022542 Q2708078 Q2837209 Q2601118 Q24022098 Q2362626 Q24068397 Q15229036 Q7911184 Q4992177 Q2552645 Q1638503 Q592358 Q23304703 Q2987625 Q21731866 Q24040958 Q27057308 Q12056060 Q3570193 Q23900437 Q27092482 Q24073725 Q2466726 Q12964820 Q21731262 Q3401100 Q3610656 Q2661864 Q280608 Q660051 Q537309 Q2985760 Q3179649 Q5534974 Q735712 Q1205263 Q3108824 Q2386582 Q2456985 Q27067859 Q21233565 Q3036003 Q24073715 Q2721145 Q1513887 Q2656267 Q1427625 Q2932781 Q845525 Q6725939 Q128639 Q2127162 Q716835 Q1319867 Q23842775 Q24027376 Q24073719 Q612720 Q12174503 Q2297886 Q21772120 Q20190268 Q3617949 Q24068252 Q2750880 Q3303309 Q3657317 Q545367 Q2232602 Q3442478 Q24068241 Q23842703 Q24027972 Q4022608 Q23753831 Q24040968 Q3474005 Q116113 Q15285353 Q3549786 Q17489260 Q15285356 Q2220089 Q8345266 Q24265423 Q7811674 Q2071077 Q2346769 Q766141 Q3545388 Q24040913 Q18535399 Q24068391 Q23895076 Q1074019 Q1621261 Q3105409 Q2019744 Q221196 Q2721741 Q2627135 Q21061980 Q1190670 Q3567749 Q2550524 Q2742668 Q582234 Q27468455 Q3481153 Q6404474 Q24050117 Q23842900 Q3961857 Q23000 Q24045741 Q23753866 Q20818052 Q24045748 Q27147410 Q4913189 Q27670370 Q427647 Q27670374 Q7028169 Q3129085 Q640896 Q734861 Q2941743 Q21847054 Q23991271 Q2345627 Q2960845 Q22253513 Q17405299 Q616633 Q3224463 Q250221 Q5169195 Q2962576 Q15223888 Q2021699 Q943141 Q4360302 Q10797402 Q13634884 Q27062173 Q1997176 Q6523499 Q24200251 Q3603774 Q24275991 Q1809739 Q3614733 Q5756651 Q5129207 Q23836625 Q2481487 Q3080332 Q1429836 Q4851780 Q9085840 Q24510074 Q7855923 Q2619064 Q2720199 Q10335959 Q611993 Q23852015 Q3313177 Q194705 Q12900597 Q752877 Q546404 Q11284128 Q27057203 Q2723539 Q751117 Q11820476 Q1785114 Q726308 Q2519237 Q1130271 Q1994866 Q21731153 Q2716760 Q4411035 Q1994909 Q20979384 Q1778905 Q17032948 Q1147484 Q1990492 Q3418964 Q15872676 Q27057298 Q874924 Q3547709 Q6880186 Q20979222 Q6968464 Q2296453 Q2859252 Q21042559 Q15650243 Q24050133 Q24010814 Q5036547 Q384436 Q23836618 Q24068411 Q24022345 Q25439486 Q24276086 Q20085277 Q3706250 Q24027486 Q24026688 Q1977902 Q2366096 Q24068387 Q1767 Q1164980 Q21233512 Q24043637 Q607489 Q26268873 Q1061765 Q14906180 Q384546 Q9338892 Q19880512 Q20745564 Q24022457 Q24034722 Q1750842 Q2608124 Q3557129 Q9068024 Q25446598 Q23991129 Q15710481 Q23900446 Q3622602 Q3183266 Q1319784 Q5800111 Q26758863 Q19791158 Q957692 Q24046106 Q2715425 Q3124253 Q2663841 Q24004905 Q2292469 Q121806 Q4791684 Q23900364 Q3657279 Q23842987 Q542803 Q4782765 Q23852160 Q9142773 Q27670335 Q2482634 Q1412447 Q908352 Q27231263 Q1154920 Q911563 Q3514611 Q3080800 Q2469992 Q4807551 Q9156058 Q2400607 Q3697338 Q2429447 Q654588 Q11680547 Q1334722 Q27057247 Q523519 Q12961400 Q11698067 Q7288955 Q1096719 Q27670340 Q259818 Q7940668 Q2552714 Q1258649 Q21733146 Q21733142 Q12902673 Q2716514 Q2418079 Q2345229 Q2624998 Q18361743 Q2959036
(c(Q6619679),P1080,c(Q386724)|c(Q7725634))
action count
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q386724
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
action count
action filter_multi_types
action find
entity Q2530488
relation P1080
type Q386724
type Q7725634
[ANSWER]
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q386724'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q386724 ) ( ontology:Q7725634 ) } . ?w rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q2530488 property:P1080 ?b . { { ?b rdf:type ontology:Q386724 } UNION { ?b rdf:type ontology:Q7725634 } } } } . FILTER ( ?v = ?j ) }
Heimdall Tamara Johansen Christine Everhart Tessa Noël Michael Warren Tony Stark / Iron Man Michael Garibaldi Shinn Asuka Moist von Lipwig Cethern mac Fintain Charlie Swan Strawberry Vendor Hinata Hyuga Christine Everhart Cat Grant Tyrannus Theon Greyjoy Elektra Ben Skywalker Red Shift John Wesley Ship Minsc Leo Fitz Man-Killer Barry Allen Gold Ramsay Snow John Sheppard Haresh Clay Phineas Mason Carol Danvers / Captain Marvel Lysa Arryn Bethany Cabe Jeffrey Sinclair Jessie Alma Coin Jasper Sitwell Dr. John Grey Philip J. Fry II Dilbert Joe Carey Writer Hydro-Man Zero Reginald Barclay Enforcer Renee Montoya Maria Stark Jenny Calendar Loki Lieutenant Jackson Jack O'Neill Brock Rumlow / Crossbones Alex Wilder Tisroc Elizabeth Weir George Hammond Cottonmouth Reimu Hakurei Rhombur Vernius Naruto Uzumaki Humvee Driver T'Chaka Bucky Barnes / Winter Soldier James T. Kirk Adam Monkey D. Luffy Metamorpho Expo Cop Rebecca General Meade Hugh Jones Doctor Poison Maggie Margaery Tyrell Imoen Angar the Screamer Dave Agnes Nitt Red Star Lady Quark T'Challa / Black Panther Alice Castillo Aki Ross Karen Page Alia Atreides Dean Winchester Blind Al Bat Lash Alustriel Silverhand Kelsier Happy Hogan Thomas Brewster Kennedy Smitty Man-Ape Polly Plummer Lord Luc Misty Pietro Maximoff / Quicksilver Zuri Mister Miracle Melinda May Daken Jaqen H'ghar Poggin Scott Calvin Clark Kent Uncle Ben Thom Merrilin Miriam Andrew Wells Nasher Alagondar Nynaeve al'Meara Witcher Janet Fraiser Nick Fury Wallace Breen Garth Ranzz Maria Jackson André LeBlanc Peter Quill / Star-Lord Charles Gunn Jill Valentine Jerry Jaxon Doctor Demonicus Robert Baratheon Dorothy Spinner Faile ni Bashere t'Aybara Nicholas Rush John Connor Gary Oak Khan Noonien Singh Tirian Natasha Romanoff / Black Widow Arya Stark Leonard McCoy Chloe Armstrong Tomeya Akai Mordenkainen Letitia Ketterley Tina Minoru Argo the Almighty Xander Harris Demogoblin Yhean Borrero Geordi La Forge Havelock Vetinari John Stewart Robin Wood General Hux French Photographer Pete Ross New Gods Dr. Weiss BOPE Officer Stephen Franklin Major Allen Silvermane Michelle Flash Thompson mudblood Roose Bolton Montolio Debrouchee Wesley Crusher Myrcella Baratheon Female Medical Assistant Steel Graviton Lucy Pevensie Paula Brooks Warren Mears Hawkgirl Doctor Manhattan Isabela Alvarez Marcus Hamilton Pointy-haired Boss Chess Roberts Kurt Silk Spectre Strong Guy Zatanna Miss Martian Living Monolith Harmony Kendall Owen Paris Cubert Farnsworth Sir Balan Daniel Jackson Everett Young Allen Francis Doyle Doctor Cornelius Varys Gord the Rogue Cut-Me-Own-Throat Dibbler Asha Greyjoy Carol Marcus Khal Drogo Professor Power Janet van Dyne / Wasp Tan Yuster Catwoman Darth Desolous Davram Bashere Rishda Elminster Lana Lang Conan the Barbarian Más y Menos Peri Brown Spacer Effie Trinket Dr. Patel Rilian Daniel Drumm Prince Caspian Radek Zelenka Luke Carlyle M'Baku / Man-Ape Dawn Summers Janos Slynt Ronald Greer James Beric Dondarrion Tom Paris Mugger Kamar-Taj Librarian Bullet Patient's Wife Pariah Sasuke Uchiha Bunda Chand Dr. Wily Wong Bartender Chell Deathurge Scott Lang / Ant-Man Sarah Connor Liz Allan Physical Therapist Susan Pevensie Val Rhymin Erik Killmonger Dark Beast Nakia Rabadash Henry Archer Hawkman Giovanni Bambi Arbogast James Horton Cameron Mitchell Professor Birch Red Tornado Sidewinder Richard White Salu Digby Lana Lang Darren Cross Serra Joe Dawson Homes Michael Banks Jane Banks Mysterio Large Woman Sapphire Alexander Löfström Security Force #2 Jonathan Levinson U.S. Marshal Bors Detective Lemieux Eli Wallace Security Force #1 Andrew Ketterley Peggy Carter Prankster George Hamilton Elaida a'Roihan Micah Giett Terrax Sabé Miko Reglia Bart Allen Eustace Scrubb Peter Pevensie Caspian Grace Holloway Tash Wanda Maximoff / Scarlet Witch Daenerys Targaryen Alistair Smythe Batman Steve Rogers Rand al'Thor AV Operator Elaine Grey Valeria Cave Johnson Aviendha Crossfire Kyle Reese Ángela Vidal Donna Noble Annie Cresta FedEx Driver Dale Stannis Baratheon Wyatt Wingfoot Senator Stern Ulysses Klaue Jack Cyborg Human Cannonball Lyme Tiffany Aching Alexandra DeWitt Susan Sto Helit Tom Bombadil Dick Grayson Jennifer Keller Sheva Alomar Joanna Dark Geoffrey Wilder Lex Luthor Eli Vance Kole Digory Kirke Hank Landry Pym Tech Gate Guard Mila Father Callahan Hammer Expo Tech Bette Kane Courtney Whitmore Wonder Girl Swamp Thing Cadsuane Melaidhrin Samantha Carter Mad Dog Zapp Brannigan Mrs. Macready Jacob Black Xing Cai Handsome Soldier Thaddeus Ross French Waiter Creeper Professor Elm Electro Finn Victarion Greyjoy Anne Lindsey Russian Newscaster Pedron Niall Hate-Monger Talia Winters Trickster Jill Pole Rosella Expo Fan Medic Soldier Skye Yawgmoth Winona Kirk Karpov Satsu James Gordon Yancy Fry Bombshell Steven Caldwell Yancy Fry Jr. Egwene al'Vere Chester Phillips Hank Pym Tobias Whale Agent K Rorschach Chakotay Jazz Everett K. Ross Vin Anton Vanko Justin Hammer Evey Hammond Venom Gideon Oliver Queen Gaara Darla Lord Drinian Molly O'Sullivan Franky Whirlwind Mom Evan Lorne Edmund Pevensie Claire Template Shades Kid Devil Bruce Banner / Hulk Command Van Soldier Singprasert Bunnaak Zefram Cochrane The Ancient One Samuel Kirk Rhaegar Targaryen Dr. Nicodemus West W'Kabi Billy Prior Concerned Doctor Cassandra Cain Reluctant Surgeon Nick Wolfe Heather MacLeod Richard Woolsey Valeria Richards Catelyn Stark-Tully Alberta Scrubb May Parker Hal Jordan Charlie DeSalvo Talisa Stark Rhomann Dey Betty Ross Gamesmaster Alyx Vance Copycat Chemistro Janduin Hermes Conrad Shasta Petyr Baelish Lucy Lane Robb Stark Robbie Reyes / Ghost Rider Speedy Leo Johann Schmidt Abraham Erskine Paxton Gareth Bryne Yayoi Aoba Cassandra Claudia LaSalle Little Boy Aravis John Sheridan Galactus Ballistic Tenar School principal Turner D. Century Artemis Entreri Valerie Cooper Ned Horrocks Green Arrow Sterns Lab Soldier Emeth Barbara Gordon Joffrey Baratheon William Riker Benjamin Sisko Adeleine Cassie Lang Externals Black Lightning Glozelle Phantom Stranger Lyta Alexander Wulfgar Lionel Luthor Beyonder Boggs Perrin Aybara Jean DeWolff Cirilla Fiona Elen Riannon Jemma Simmons Superboy Wally Dandelion Amy Wong Rani Chandra Arik Soong Car Driver Professor Farnsworth Andrea Beaumont Mister M Everett K. Ross Natasha Irons Connor Aqueduct Darcy Lewis Nikolai Stavrogin Hope van Dyne / Wasp Deckard Cain Captain Atlas Silas Gunner Rebeka Sam Wilson / Falcon Tommy Monaghan Luis Frank Deuter Müller Sharon Carter / Agent 13 Clint Barton / Hawkeye Khelben "Blackstaff" Arunsun Brothers Grimm 10 Rings Gangster Kakashi Hatake Marcus Cole Flip Jackson Mordo Montgomery Scott Okoye Sanji vinsmoke Lasaraleen Gurney Halleck Sopesian Hope Pym Heinz Kruger Zemo Dr. Stephen Strange Morpheus Elayne Trakand Victor Atreides Renée Dwyer Sixpack Peter Parker / Spider-Man Michelle McCahey-Anderson Howard Stark Elizabeth Lochley Jonas Harrow Maria Hill David King Ayo Jon Arryn Professor Oak Jane Foster Susan Ivanova Kate Brewster John Constantine T'Chaka Cordelia Chase Philip J. Fry Arkady Darell Ivan Vanko Zack Allan Ross's Aide Carson Beckett Aquarius Hopscotch Girl Tarkaan Ahoshta Nurse Billy Matthew Scott Amanda Grayson Rodney McKay Harold Meachum Father Grigori Duncan Idaho Tam al'Thor Spencer Smythe Batwoman Asok Tarkaan Anradin Mabel Kirke Crispus Allen Jade Kraven the Hunter Carolyn Lam Yuna Mitchell Carson Mary Marvel Alva Xar Philippa Eilhart Ramandu's Daughter Foggy Nelson Dr. Garrison Eddard Stark Volothamp Geddarm Henry Jones Hawk and Dove Pollux Castor Ygritte Aiden Ford Alice Obsidian Amy Madison General Madine Charles Evans
594
action count
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type work
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
action count
action filter_multi_types
action find
entity Tisroc
relation from fictional universe
type work
type literary work
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'work'}, {'concept': 'literary work'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:work ) ( ontology:literary_work ) } . ?w rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Tisroc property:from_fictional_universe ?b . { { ?b rdf:type ontology:work } UNION { ?b rdf:type ontology:literary_work } } } } . FILTER ( ?v = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2009573
P108
Q15617994 Q327333
USER
How many administrative territories and government agencies are the workplaces of James Bond ?
(Q2009573,P108,c(Q15617994)) (Q2009573,P108,c(Q327333))
action count
action union
action filter_type
action find
entity Q2009573
relation P108
type Q15617994
action filter_type
action find
entity Q2009573
relation P108
type Q327333
['Q2009573', 'P108', {'concept': 'Q15617994'}] ['Q2009573', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { resource:Q2009573 property:P108 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q2009573 property:P108 ?m . ?m rdf:type ontology:Q327333 } }
James Bond
action count
action union
action filter_type
action find
entity James Bond
relation employer
type designation for an administrative territorial entity
action filter_type
action find
entity James Bond
relation employer
type government agency
['James Bond', 'employer', {'concept': 'designation for an administrative territorial entity'}] ['James Bond', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { resource:James_Bond property:employer ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:James_Bond property:employer ?m . ?m rdf:type ontology:government_agency } }
[]
designation for an administrative territorial entity government agency
SYSTEM
1 administrative territories and 1 government agencies
Q184560 Q145
(Q2009573,P108,c(Q15617994)) (Q2009573,P108,c(Q327333))
action count
action union
action filter_type
action find
entity Q2009573
relation P108
type Q15617994
action filter_type
action find
entity Q2009573
relation P108
type Q327333
[ANSWER]
['Q2009573', 'P108', {'concept': 'Q15617994'}] ['Q2009573', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { resource:Q2009573 property:P108 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q2009573 property:P108 ?m . ?m rdf:type ontology:Q327333 } }
Secret Intelligence Service United Kingdom
1 administrative territories and 1 government agencies
action count
action union
action filter_type
action find
entity James Bond
relation employer
type designation for an administrative territorial entity
action filter_type
action find
entity James Bond
relation employer
type government agency
['James Bond', 'employer', {'concept': 'designation for an administrative territorial entity'}] ['James Bond', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { resource:James_Bond property:employer ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:James_Bond property:employer ?m . ?m rdf:type ontology:government_agency } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2009573
P27
Q15617994
USER
Which administrative territory is that fictional humanoid an inhabitant of ?
action filter_type
action find
entity Q2009573
relation P27
type Q15617994
SELECT DISTINCT ?w WHERE { resource:Q2009573 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
James Bond
action filter_type
action find
entity James Bond
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:James_Bond property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q2009573
relation P27
type Q15617994
[ANSWER] is that fictional humanoid an inhabitant of
SELECT DISTINCT ?w WHERE { resource:Q2009573 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that fictional humanoid an inhabitant of
United Kingdom
action filter_type
action find
entity James Bond
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?w WHERE { resource:James_Bond property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]