Simple Question (Direct)
Simple Question
Q18151832
P364
Q34770
USER
Which language was used originally for the creation of Little Orphan Annie ?
(Q18151832,P364,c(Q34770))
action filter_type
action find
entity Q18151832
relation P364
type Q34770
['Q18151832', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q18151832 property:P364 ?y . ?y rdf:type ontology:Q34770 }
Little Orphan Annie
action filter_type
action find
entity Little Orphan Annie
relation original language of work
type language
['Little Orphan Annie', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Little_Orphan_Annie property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18151832,P364,c(Q34770))
action filter_type
action find
entity Q18151832
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Little Orphan Annie
['Q18151832', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q18151832 property:P364 ?y . ?y rdf:type ontology:Q34770 }
English
In English was used originally for the creation of Little Orphan Annie
English
action filter_type
action find
entity Little Orphan Annie
relation original language of work
type language
['Little Orphan Annie', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Little_Orphan_Annie property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18151832
P57
Q502895
USER
Who directed that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q18151832
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q18151832 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Little Orphan Annie
action filter_type
action find
entity Little Orphan Annie
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Little_Orphan_Annie property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q350962
SYSTEM
John S. Robertson
Q350962
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q18151832
relation P57
type Q502895
[ANSWER] directed that work of art
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q18151832 property:P57 ?z . ?z rdf:type ontology:Q502895 }
John S. Robertson
John S. Robertson directed that work of art
John S. Robertson
action filter_type
action find
entity Little Orphan Annie
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Little_Orphan_Annie property:director ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres have been dubbed by exactly 2 people ?
(c(Q15961987),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 2
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?m ) WHERE { ?s rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 . ?s property:P725 ?f } GROUP BY ?s } . FILTER ( ?m = 2 ) }
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 2
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?m ) WHERE { ?s rdf:type ontology:television_genre . ?f rdf:type ontology:common_name . ?s property:voice_actor ?f } GROUP BY ?s } . FILTER ( ?m = 2 ) }
[]
common name television genre
Q3235151 Q576501 Q753848
SYSTEM
VeggieTales, Garfield and Friends, TaleSpin
Q3235151 Q576501 Q753848
(c(Q15961987),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 2
[ANSWERS] have been dubbed by exactly 2 people
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?m ) WHERE { ?s rdf:type ontology:Q15961987 . ?f rdf:type ontology:Q502895 . ?s property:P725 ?f } GROUP BY ?s } . FILTER ( ?m = 2 ) }
VeggieTales Garfield and Friends TaleSpin
VeggieTales, Garfield and Friends and TaleSpin have been dubbed by exactly 2 people
VeggieTales Garfield and Friends TaleSpin
action equal
action find_tuple_counts
relation voice actor
type television genre
type common name
value 2
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?m ) WHERE { ?s rdf:type ontology:television_genre . ?f rdf:type ontology:common_name . ?s property:voice_actor ?f } GROUP BY ?s } . FILTER ( ?m = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10515229 Q576501
P449 P176
Q4830453
USER
Which business enterprises did Garfield and Friends originally air in or are the producer of HMS Vanadis ?
OR((Q576501,P449,c(Q4830453)), (Q10515229,P176,c(Q4830453)))
action filter_type
action union
action find
entity Q576501
relation P449
action find
entity Q10515229
relation P176
type Q4830453
{'OR': [['Q576501', 'P449', {'concept': 'Q4830453'}], ['Q10515229', 'P176', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q576501 property:P449 ?e } UNION { resource:Q10515229 property:P176 ?e } } . ?e rdf:type ontology:Q4830453 }
HMS Vanadis Garfield and Friends
action filter_type
action union
action find
entity Garfield and Friends
relation original network
action find
entity HMS Vanadis
relation manufacturer
type business enterprise
{'OR': [['Garfield and Friends', 'original network', {'concept': 'business enterprise'}], ['HMS Vanadis', 'manufacturer', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Garfield_and_Friends property:original_network ?e } UNION { resource:HMS_Vanadis property:manufacturer ?e } } . ?e rdf:type ontology:business_enterprise }
[]
business enterprise
Q10543891 Q43380
SYSTEM
Karlskrona shipyard, CBS
Q10543891 Q43380
OR((Q576501,P449,c(Q4830453)), (Q10515229,P176,c(Q4830453)))
action filter_type
action union
action find
entity Q576501
relation P449
action find
entity Q10515229
relation P176
type Q4830453
Originally or are the producer of HMS Vanadis Garfield and Friends aired in the [ANSWERS]
{'OR': [['Q576501', 'P449', {'concept': 'Q4830453'}], ['Q10515229', 'P176', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q576501 property:P449 ?e } UNION { resource:Q10515229 property:P176 ?e } } . ?e rdf:type ontology:Q4830453 }
Karlskrona shipyard CBS
Originally or are the producer of HMS Vanadis Garfield and Friends aired in the Karlskrona shipyard and CBS
Karlskrona shipyard CBS
action filter_type
action union
action find
entity Garfield and Friends
relation original network
action find
entity HMS Vanadis
relation manufacturer
type business enterprise
{'OR': [['Garfield and Friends', 'original network', {'concept': 'business enterprise'}], ['HMS Vanadis', 'manufacturer', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Garfield_and_Friends property:original_network ?e } UNION { resource:HMS_Vanadis property:manufacturer ?e } } . ?e rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10515229 Q676888
P137
Q15617994
USER
How many administrative territories operates HMS Vanadis or AASM ?
(Q10515229,P137,c(Q15617994)) (Q676888,P137,c(Q15617994))
action count
action union
action filter_type
action find
entity Q10515229
relation P137
type Q15617994
action filter_type
action find
entity Q676888
relation P137
type Q15617994
['Q10515229', 'P137', {'concept': 'Q15617994'}] ['Q676888', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Q10515229 property:P137 ?n . ?n rdf:type ontology:Q15617994 } UNION { resource:Q676888 property:P137 ?n . ?n rdf:type ontology:Q15617994 } }
HMS Vanadis AASM
action count
action union
action filter_type
action find
entity HMS Vanadis
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity AASM
relation operator
type designation for an administrative territorial entity
['HMS Vanadis', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['AASM', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:HMS_Vanadis property:operator ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:AASM property:operator ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q1028
(Q10515229,P137,c(Q15617994)) (Q676888,P137,c(Q15617994))
action count
action union
action filter_type
action find
entity Q10515229
relation P137
type Q15617994
action filter_type
action find
entity Q676888
relation P137
type Q15617994
[ANSWER]
['Q10515229', 'P137', {'concept': 'Q15617994'}] ['Q676888', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:Q10515229 property:P137 ?n . ?n rdf:type ontology:Q15617994 } UNION { resource:Q676888 property:P137 ?n . ?n rdf:type ontology:Q15617994 } }
France Morocco
2
action count
action union
action filter_type
action find
entity HMS Vanadis
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity AASM
relation operator
type designation for an administrative territorial entity
['HMS Vanadis', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['AASM', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { { resource:HMS_Vanadis property:operator ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:AASM property:operator ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q107425 Q482994
USER
Which works of art are atleast 1 landscapes or albums a part of ?
(c(Q107425)|c(Q482994),P361,c(Q838948))
action atleast
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
value 1
[[{'concept': 'Q107425'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?i WHERE { { ?u property:P361 ?i . ?i rdf:type ontology:Q838948 . ?u rdf:type ontology:Q107425 } UNION { ?u property:P361 ?i . ?i rdf:type ontology:Q838948 . ?u rdf:type ontology:Q482994 } } GROUP BY ?i } }
action atleast
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type album
value 1
[[{'concept': 'landscape'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?i WHERE { { ?u property:part_of ?i . ?i rdf:type ontology:work_of_art . ?u rdf:type ontology:landscape } UNION { ?u property:part_of ?i . ?i rdf:type ontology:work_of_art . ?u rdf:type ontology:album } } GROUP BY ?i } }
[]
work of art landscape album
Q205028 Q232009 Q161687
SYSTEM
Iron Man 2, Harry Potter and the Deathly Hallows – Part 2, Harry Potter and the Half-Blood Prince
Q4143086 Q1209853 Q284184 Q161687 Q1534737 Q205028 Q332368 Q478748 Q103569 Q971109 Q489772 Q463313 Q232009
(c(Q107425)|c(Q482994),P361,c(Q838948))
action atleast
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
value 1
[ANSWERS] are atleast 1 landscapes or albums a part of
[[{'concept': 'Q107425'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?i WHERE { { ?u property:P361 ?i . ?i rdf:type ontology:Q838948 . ?u rdf:type ontology:Q107425 } UNION { ?u property:P361 ?i . ?i rdf:type ontology:Q838948 . ?u rdf:type ontology:Q482994 } } GROUP BY ?i } }
Ride Dick Tracy Ra.One Harry Potter and the Half-Blood Prince Life Iron Man 2 A View to a Kill The Holiday Alien Inferno Seven Wonders of the Ancient World Romeo + Juliet Harry Potter and the Deathly Hallows – Part 2
Iron Man 2, Harry Potter and the Deathly Hallows – Part 2 and Harry Potter and the Half-Blood Prince are atleast 1 landscapes or albums a part of
Iron Man 2 Harry Potter and the Deathly Hallows – Part 2 Harry Potter and the Half-Blood Prince
action atleast
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type album
value 1
[[{'concept': 'landscape'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?i WHERE { { ?u property:part_of ?i . ?i rdf:type ontology:work_of_art . ?u rdf:type ontology:landscape } UNION { ?u property:part_of ?i . ?i rdf:type ontology:work_of_art . ?u rdf:type ontology:album } } GROUP BY ?i } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q290962 Q350962
P57
Q838948
USER
Which works of art are John S. Robertson or William A. Wellman a director of ?
OR((c(Q838948),P57,Q350962), (c(Q838948),P57,Q290962))
action filter_type
action union
action find_reverse
entity Q350962
relation P57
action find_reverse
entity Q290962
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q350962'], [{'concept': 'Q838948'}, 'P57', 'Q290962']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P57 resource:Q290962 } UNION { ?m property:P57 resource:Q350962 } } . ?m rdf:type ontology:Q838948 }
William A. Wellman John S. Robertson
action filter_type
action union
action find_reverse
entity John S. Robertson
relation director
action find_reverse
entity William A. Wellman
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'John S. Robertson'], [{'concept': 'work of art'}, 'director', 'William A. Wellman']]}
SELECT DISTINCT ?m WHERE { { { ?m property:director resource:William_A._Wellman } UNION { ?m property:director resource:John_S._Robertson } } . ?m rdf:type ontology:work_of_art }
[]
work of art
Q3100955 Q5100171 Q511371 Q1199902 Q3464636 Q1260366 Q3145064 Q1057374 Q7761143 Q2944390
SYSTEM
Some of them are Lady of Burlesque, Chinatown Nights, Our Little Girl, The Public Enemy, Track of the Cat, Westward the Women, Heroes for Sale, Small Town Girl, The Road to Romance, Central Airport
Q3373356 Q2622104 Q3790641 Q17066139 Q5100171 Q18149590 Q4844399 Q6816321 Q1620831 Q18151832 Q1950393 Q1614242 Q16920389 Q16249339 Q17985874 Q7786127 Q7765674 Q15068448 Q1198689 Q3794755 Q1932023 Q25136226 Q2469187 Q3007580 Q7334786 Q3204228 Q3605096 Q21527531 Q7108601 Q7749870 Q17632274 Q964771 Q3233816 Q511371 Q16251017 Q6728417 Q5036671 Q1825255 Q373688 Q7754014 Q3344405 Q18085795 Q1619412 Q639354 Q1057374 Q1257031 Q16249714 Q3437157 Q1031953 Q1424210 Q2944390 Q873186 Q771620 Q3569755 Q773964 Q7092862 Q2710105 Q3464636 Q1199902 Q1766137 Q1308637 Q21869674 Q3568106 Q6690792 Q3567662 Q1786993 Q18085758 Q1260366 Q643374 Q3145064 Q1196577 Q2033247 Q16252552 Q2414403 Q1426269 Q2248949 Q2358112 Q973612 Q18636605 Q6007651 Q1750424 Q7761143 Q3100955 Q941768 Q2698650 Q3819893 Q6675395 Q3477003 Q1469134 Q998565 Q18349589
OR((c(Q838948),P57,Q350962), (c(Q838948),P57,Q290962))
action filter_type
action union
action find_reverse
entity Q350962
relation P57
action find_reverse
entity Q290962
relation P57
type Q838948
[ANSWERS] are John S. Robertson or William A. Wellman a director of
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q350962'], [{'concept': 'Q838948'}, 'P57', 'Q290962']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P57 resource:Q290962 } UNION { ?m property:P57 resource:Q350962 } } . ?m rdf:type ontology:Q838948 }
College Coach Lafayette Escadrille The Conquerors Reaching for the Sun Chinatown Nights The Crime Doctor The President Vanishes Men with Wings Battleground Little Orphan Annie Roxie Hart Yellow Sky The Vagabond Trail The Circus Cowboy Beyond Victory This Man's Navy The Spanish Jade Young Eagles Blood Alley My Man and I Midnight Mary The Cat's Pajamas The Iron Curtain Cupid's Fireman Ring of Fear The Great Man's Lady Good-bye, My Lady Captain of the Guard Other Men's Women The Man I Love The Magic Cup Nothing Sacred Beggars of Life Our Little Girl The Happy Years Madonna of the Streets Captain Hurricane Lilly Turner Darby's Rangers The Next Voice You Hear... Not a Drum Was Heard Wednesday's Child Viva Villa! Female Small Town Girl Beau Geste Dangerous Paradise Robin Hood of El Dorado Buffalo Bill Frisco Jenny Central Airport A Star Is Born Across the Wide Missouri Woman Trap The High and the Mighty One Man's Journey It's a Big Country Track of the Cat The Public Enemy Safe in Hell The Purchase Price Night Ride Wild Boys of the Road Love Is a Racket When Husbands Flirt Night Nurse Grand Old Girl Westward the Women The Single Standard Heroes for Sale The Hatchet Man The Story of G.I. Joe The Light That Failed The Star Witness The Ox-Bow Incident Island in the Sky The Call of the Wild So Big! The Phantom of Paris Maybe It's Love Thunder Birds The Road to Romance Lady of Burlesque Stingaree The Adventures of Tom Sawyer Gallant Journey Looking for Trouble Second Hand Love Tarzan Escapes Magic Town His Greatest Gamble
Lady of Burlesque, Chinatown Nights, Our Little Girl, The Public Enemy, Track of the Cat, Westward the Women, Heroes for Sale, Small Town Girl, The Road to Romance and Central Airport are John S. Robertson or William A. Wellman a director of
Lady of Burlesque Chinatown Nights Our Little Girl The Public Enemy Track of the Cat Westward the Women Heroes for Sale Small Town Girl The Road to Romance Central Airport
action filter_type
action union
action find_reverse
entity John S. Robertson
relation director
action find_reverse
entity William A. Wellman
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'John S. Robertson'], [{'concept': 'work of art'}, 'director', 'William A. Wellman']]}
SELECT DISTINCT ?m WHERE { { { ?m property:director resource:William_A._Wellman } UNION { ?m property:director resource:John_S._Robertson } } . ?m rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q478360 Q205028
P1441
Q6619679
USER
Which fictional humanoids are present in Iron Man 2 or The Wire ?
OR((c(Q6619679),P1441,Q205028), (c(Q6619679),P1441,Q478360))
action filter_type
action union
action find_reverse
entity Q205028
relation P1441
action find_reverse
entity Q478360
relation P1441
type Q6619679
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q205028'], [{'concept': 'Q6619679'}, 'P1441', 'Q478360']]}
SELECT DISTINCT ?o WHERE { { ?o property:P1441 ?m . VALUES ( ?m ) { ( resource:Q205028 ) ( resource:Q478360 ) } } . ?o rdf:type ontology:Q6619679 }
The Wire Iron Man 2
action filter_type
action union
action find_reverse
entity Iron Man 2
relation present in work
action find_reverse
entity The Wire
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Iron Man 2'], [{'concept': 'fictional humanoid'}, 'present in work', 'The Wire']]}
SELECT DISTINCT ?o WHERE { { ?o property:present_in_work ?m . VALUES ( ?m ) { ( resource:Iron_Man_2 ) ( resource:The_Wire ) } } . ?o rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q7624009 Q24068387 Q7578198 Q5089393 Q24068211 Q7962731 Q23900364 Q7321378 Q24068405 Q5736273
SYSTEM
Some of them are Stringer Bell, 10 Rings Gangster, Spiros Vondas, Cheese Wagstaff, U.S. Marshal, Wallace, Ivan Vanko, Rhonda Pearlman, Expo Cop, Herc
Q24073725 Q24068355 Q23900407 Q7360390 Q23894967 Q6200826 Q7547972 Q24073696 Q16386531 Q23900364 Q7453658 Q4982251 Q23900437 Q7540567 Q7437365 Q6771900 Q24073681 Q4997729 Q16385202 Q6509540 Q7052956 Q16386990 Q7979260 Q7250413 Q24073719 Q6832155 Q16385218 Q24073715 Q7228879 Q24068411 Q5129886 Q24068252 Q24068383 Q24068387 Q5057084 Q4733547 Q5203064 Q23895063 Q23895040 Q6409709 Q5489693 Q24068405 Q24068402 Q5396025 Q24068241 Q24068397 Q23900446 Q24068391 Q5918900 Q5126727 Q5258117 Q7962731 Q23895076 Q16962522 Q4936561 Q4821442 Q8071783 Q3568900 Q23900470 Q24068213 Q6531856 Q7578198 Q24073665 Q7089745 Q5316073 Q23900377 Q7027951 Q5089393 Q20880572 Q7597935 Q23750571 Q7624009 Q6166828 Q6793293 Q7738102 Q16246740 Q4829179 Q5107699 Q24068218 Q24068211 Q5736273 Q24068214 Q7292494 Q5365858 Q4876063 Q7321378
OR((c(Q6619679),P1441,Q205028), (c(Q6619679),P1441,Q478360))
action filter_type
action union
action find_reverse
entity Q205028
relation P1441
action find_reverse
entity Q478360
relation P1441
type Q6619679
[ANSWERS] are present in Iron Man 2 or The Wire
{'OR': [[{'concept': 'Q6619679'}, 'P1441', 'Q205028'], [{'concept': 'Q6619679'}, 'P1441', 'Q478360']]}
SELECT DISTINCT ?o WHERE { { ?o property:P1441 ?m . VALUES ( ?m ) { ( resource:Q205028 ) ( resource:Q478360 ) } } . ?o rdf:type ontology:Q6619679 }
Jack French Photographer Christine Everhart Roland Pryzbylewski Tony Stark / Iron Man Jimmy McNulty Snoop Strawberry Vendor Kenard Ivan Vanko Sergei Malatov Bubbles Senator Stern Slim Charles Scott Templeton Marlo Stanfield Chess Roberts Bunk Moreland Butchie Leander Sydnor Norman Wilson Monk Metcalf Wee-Bey Brice Proposition Joe French Waiter Michael Lee Tommy Carcetti Hammer Expo Tech Poot Carr Rebeka Clay Davis Russian Newscaster General Meade 10 Rings Gangster Cedric Daniels Alma Gutierrez D'Angelo Barksdale Natasha Romanoff / Black Widow Jim Rhodes / War Machine Kima Greggs Frank Sobotka Expo Cop Rebecca Ervin Burrell Expo Fan AV Operator Howard Stark Anton Vanko Howard "Bunny" Colvin Clarence Royce Dennis "Cutty" Wise Wallace Justin Hammer Johnny Weeks Bodie Broadus Augustus Haynes Ziggy Sobotka William Rawls Happy Hogan Detective Lemieux Lester Freamon Spiros Vondas Bambi Arbogast Omar Little Duquan "Dukie" Weems Nick Fury Nick Sobotka Cheese Wagstaff Brother Mouzone Stan Valchek Major Allen Stringer Bell Jay Landsman Maurice Levy The Greek Namond Brice Avon Barksdale Chris Partlow Security Force #2 U.S. Marshal Herc Security Force #1 Randy Wagstaff Ellis Carver Beadie Russell Rhonda Pearlman
Stringer Bell, 10 Rings Gangster, Spiros Vondas, Cheese Wagstaff, U.S. Marshal, Wallace, Ivan Vanko, Rhonda Pearlman, Expo Cop and Herc are present in Iron Man 2 or The Wire
Stringer Bell 10 Rings Gangster Spiros Vondas Cheese Wagstaff U.S. Marshal Wallace Ivan Vanko Rhonda Pearlman Expo Cop Herc
action filter_type
action union
action find_reverse
entity Iron Man 2
relation present in work
action find_reverse
entity The Wire
relation present in work
type fictional humanoid
{'OR': [[{'concept': 'fictional humanoid'}, 'present in work', 'Iron Man 2'], [{'concept': 'fictional humanoid'}, 'present in work', 'The Wire']]}
SELECT DISTINCT ?o WHERE { { ?o property:present_in_work ?m . VALUES ( ?m ) { ( resource:Iron_Man_2 ) ( resource:The_Wire ) } } . ?o rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1080
Q7725634 Q3275581 Q6619679
USER
How many fictional humanoids appear in around 1 literary works or shared universes ?
(c(Q6619679),P1080,c(Q7725634)|c(Q3275581))
action count
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
value 1
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q7725634'}, {'concept': 'Q3275581'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:P1080 ?m . ?m rdf:type ontology:Q7725634 . ?l rdf:type ontology:Q6619679 } UNION { ?l property:P1080 ?m . ?l rdf:type ontology:Q6619679 . ?m rdf:type ontology:Q3275581 } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'literary work'}, {'concept': 'shared universe'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:from_fictional_universe ?m . ?m rdf:type ontology:literary_work . ?l rdf:type ontology:fictional_humanoid } UNION { ?l property:from_fictional_universe ?m . ?l rdf:type ontology:fictional_humanoid . ?m rdf:type ontology:shared_universe } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
[]
literary work shared universe fictional humanoid
SYSTEM
34
Q1610690 Q3309268 Q1056953 Q74087 Q3149148 Q2726964 Q7468126 Q6679806 Q2398300 Q6910820 Q15702161 Q3073857 Q5584641 Q1072331 Q10347277 Q763798 Q2826463 Q3372494 Q2619064 Q3092655 Q44232 Q3294812 Q2519237 Q1977902 Q3060265 Q3040800 Q988862 Q3069618 Q3014849 Q3166474 Q3304979 Q7940668 Q31724 Q3021868
(c(Q6619679),P1080,c(Q7725634)|c(Q3275581))
action count
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
value 1
[ANSWER]
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q7725634'}, {'concept': 'Q3275581'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:P1080 ?m . ?m rdf:type ontology:Q7725634 . ?l rdf:type ontology:Q6619679 } UNION { ?l property:P1080 ?m . ?l rdf:type ontology:Q6619679 . ?m rdf:type ontology:Q3275581 } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
Eugène de Rastignac Michel Chrestien Minsc Marquise d'Espard Imoen Miles Vorkosigan Alustriel Silverhand Nasher Alagondar Lucien Chardon Mordenkainen Montolio Debrouchee Flore Brazier Gord the Rogue Elminster Pedrinho Esther Gobseck Agathe Bridau Paul de Manerville Artemis Entreri Félix de Vandenesse Ferdinand du Tillet Marquise de Listomère Wulfgar Khelben "Blackstaff" Arunsun Eugénie Grandet Duchesse de Carigliano Elijah Baley Ferragus XXIII Daniel d’ Arthez Jean-Joachim Goriot Melchior de Canalis Volothamp Geddarm Étienne Lousteau Delphine de Nucingen
34
action count
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'literary work'}, {'concept': 'shared universe'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) ?l WHERE { { ?l property:from_fictional_universe ?m . ?m rdf:type ontology:literary_work . ?l rdf:type ontology:fictional_humanoid } UNION { ?l property:from_fictional_universe ?m . ?l rdf:type ontology:fictional_humanoid . ?m rdf:type ontology:shared_universe } } GROUP BY ?l } . FILTER ( ?x = 1 ) }
[]