Simple Question (Direct)
Simple Question
Q5245282
P57
Q502895
USER
Who was the director of Dead Man's Island ?
(Q5245282,P57,c(Q502895))
action filter_type
action find
entity Q5245282
relation P57
type Q502895
['Q5245282', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5245282 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Dead Man's Island
action filter_type
action find
entity Dead Man's Island
relation director
type common name
["Dead Man's Island", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dead_Man's_Island property:director ?m . ?m rdf:type ontology:common_name }
[]
common name
Q7174448
SYSTEM
Peter H. Hunt
Q7174448
(Q5245282,P57,c(Q502895))
action filter_type
action find
entity Q5245282
relation P57
type Q502895
The director of Dead Man's Island was named [ANSWER]
['Q5245282', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5245282 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Peter H. Hunt
The director of Dead Man's Island was named Peter H. Hunt
Peter H. Hunt
action filter_type
action find
entity Dead Man's Island
relation director
type common name
["Dead Man's Island", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Dead_Man's_Island property:director ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5245282
P136
Q1792379
USER
What can be considered as category for that television program ?
(Q7174448,P136,c(Q1792379))
action filter_type
action find
entity Q5245282
relation P136
type Q1792379
['Q7174448', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q5245282 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
Dead Man's Island
action filter_type
action find
entity Dead Man's Island
relation genre
type art genre
['Peter H. Hunt', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:Dead_Man's_Island property:genre ?q . ?q rdf:type ontology:art_genre }
[]
art genre
Q1200678
SYSTEM
mystery film
Q1200678
(Q7174448,P136,c(Q1792379))
action filter_type
action find
entity Q5245282
relation P136
type Q1792379
[ANSWER] can be considered as category for that television program
['Q7174448', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?q WHERE { resource:Q5245282 property:P136 ?q . ?q rdf:type ontology:Q1792379 }
mystery film
Mystery film can be considered as category for that television program
mystery film
action filter_type
action find
entity Dead Man's Island
relation genre
type art genre
['Peter H. Hunt', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?q WHERE { resource:Dead_Man's_Island property:genre ?q . ?q rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q714018 Q5245282
P27 P495
Q15617994
USER
Which administrative territories are the origins of Dead Man's Island or are Marian Foik a civilian of ?
OR((Q5245282,P495,c(Q15617994)), (Q714018,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5245282
relation P495
action find
entity Q714018
relation P27
type Q15617994
{'OR': [['Q5245282', 'P495', {'concept': 'Q15617994'}], ['Q714018', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5245282 property:P495 ?h } UNION { resource:Q714018 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Marian Foik Dead Man's Island
action filter_type
action union
action find
entity Dead Man's Island
relation country of origin
action find
entity Marian Foik
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Dead Man's Island", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Marian Foik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Dead_Man's_Island property:country_of_origin ?h } UNION { resource:Marian_Foik property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q36
SYSTEM
United States of America, Poland
Q30 Q36
OR((Q5245282,P495,c(Q15617994)), (Q714018,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5245282
relation P495
action find
entity Q714018
relation P27
type Q15617994
[ANSWERS] are the origins of Dead Man's Island or are Marian Foik a civilian of
{'OR': [['Q5245282', 'P495', {'concept': 'Q15617994'}], ['Q714018', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5245282 property:P495 ?h } UNION { resource:Q714018 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
United States of America Poland
United States of America and Poland are the origins of Dead Man's Island or are Marian Foik a civilian of
United States of America Poland
action filter_type
action union
action find
entity Dead Man's Island
relation country of origin
action find
entity Marian Foik
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Dead Man's Island", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Marian Foik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Dead_Man's_Island property:country_of_origin ?h } UNION { resource:Marian_Foik property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2051661 Q36
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with Poland and are Parama Island a part of ?
AND((Q36,P530,c(Q1048835)), (Q2051661,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q36
relation P530
action find
entity Q2051661
relation P17
type Q1048835
{'AND': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q2051661', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q36 property:P530 ?p . resource:Q2051661 property:P17 ?p }
Parama Island Poland
action filter_type
action intersection
action find
entity Poland
relation diplomatic relation
action find
entity Parama Island
relation country
type political territorial entity
{'AND': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Parama Island', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Poland property:diplomatic_relation ?p . resource:Parama_Island property:country ?p }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q36,P530,c(Q1048835)), (Q2051661,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q36
relation P530
action find
entity Q2051661
relation P17
type Q1048835
[ANSWER] have diplomatic relationships with Poland and are Parama Island a part of
{'AND': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q2051661', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q36 property:P530 ?p . resource:Q2051661 property:P17 ?p }
Australia
Australia have diplomatic relationships with Poland and are Parama Island a part of
Australia
action filter_type
action intersection
action find
entity Poland
relation diplomatic relation
action find
entity Parama Island
relation country
type political territorial entity
{'AND': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Parama Island', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Poland property:diplomatic_relation ?p . resource:Parama_Island property:country ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P551
Q95074
USER
Which fictional characters have residence at that political territory ?
(c(Q95074),P551,Q408)
action filter_type
action find_reverse
entity Q408
relation P551
type Q95074
[{'concept': 'Q95074'}, 'P551', 'Q408']
SELECT DISTINCT ?m WHERE { ?m property:P551 resource:Q408 . ?m rdf:type ontology:Q95074 }
Australia
action filter_type
action find_reverse
entity Australia
relation residence
type fictional character
[{'concept': 'fictional character'}, 'residence', 'Australia']
SELECT DISTINCT ?m WHERE { ?m property:residence resource:Australia . ?m rdf:type ontology:fictional_character }
[]
fictional character
Q27556028 Q27561644 Q27564450
SYSTEM
Marahute, Frank, Red
Q27556028 Q27561644 Q27564306 Q27564450
(c(Q95074),P551,Q408)
action filter_type
action find_reverse
entity Q408
relation P551
type Q95074
[ANSWERS] have residence at that political territory
[{'concept': 'Q95074'}, 'P551', 'Q408']
SELECT DISTINCT ?m WHERE { ?m property:P551 resource:Q408 . ?m rdf:type ontology:Q95074 }
Marahute Frank Krebbs Red
Marahute, Frank and Red have residence at that political territory
Marahute Frank Red
action filter_type
action find_reverse
entity Australia
relation residence
type fictional character
[{'concept': 'fictional character'}, 'residence', 'Australia']
SELECT DISTINCT ?m WHERE { ?m property:residence resource:Australia . ?m rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q11299
P915
Q838948
USER
How many works of art had Australia or Manhattan as their location of filming ?
(c(Q838948),P915,Q408) (c(Q838948),P915,Q11299)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P915
type Q838948
action filter_type
action find_reverse
entity Q11299
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q408'] [{'concept': 'Q838948'}, 'P915', 'Q11299']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q408 } UNION { ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q11299 } }
Australia Manhattan
action count
action union
action filter_type
action find_reverse
entity Australia
relation filming location
type work of art
action filter_type
action find_reverse
entity Manhattan
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Australia'] [{'concept': 'work of art'}, 'filming location', 'Manhattan']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:Australia } UNION { ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:Manhattan } }
[]
work of art
SYSTEM
177
Q2579375 Q7719728 Q4959331 Q930294 Q7560679 Q19573090 Q1515931 Q83495 Q1249239 Q469624 Q6929084 Q7709495 Q737318 Q1364029 Q1148499 Q600253 Q2986009 Q93876 Q5912157 Q1660083 Q3520813 Q945685 Q6122574 Q5212753 Q505790 Q18611372 Q17015508 Q690463 Q18389586 Q41754 Q6672759 Q2767704 Q1680405 Q7142697 Q5042347 Q5897662 Q5207857 Q180337 Q685694 Q7728500 Q5433095 Q7093117 Q198560 Q5187761 Q426663 Q6691811 Q15146380 Q962592 Q1305119 Q7972859 Q18166039 Q10350033 Q4178880 Q391143 Q1400892 Q1469774 Q2894960 Q5190184 Q3176350 Q798641 Q6477009 Q1198545 Q1170071 Q255328 Q7295920 Q3283835 Q17379618 Q1114179 Q15039629 Q12125818 Q6986572 Q207536 Q197491 Q4778174 Q7379502 Q14921984 Q3421998 Q17052588 Q15973073 Q2710763 Q12126705 Q1421747 Q15972938 Q275180 Q23010088 Q7418710 Q177340 Q18350575 Q6960773 Q19007199 Q221491 Q5141012 Q622742 Q7757326 Q3429521 Q1140738 Q3007933 Q19874556 Q18636742 Q1783930 Q2902017 Q15411503 Q7617526 Q1029548 Q580351 Q200873 Q731335 Q115993 Q7961003 Q1537088 Q1473596 Q3503837 Q4877736 Q15039765 Q1692212 Q1356265 Q1467545 Q15140361 Q12126894 Q1144962 Q218458 Q6412332 Q3232062 Q4956299 Q1632707 Q926678 Q623072 Q189505 Q16172886 Q746538 Q5447888 Q2893302 Q6376051 Q7203385 Q2819997 Q612373 Q42051 Q12125270 Q429934 Q5256327 Q16679516 Q158398 Q7770748 Q83730 Q7622858 Q1134648 Q845077 Q1346439 Q3422730 Q5016137 Q7785141 Q936302 Q980327 Q1144983 Q217552 Q5256446 Q679679 Q4898722 Q2548513 Q17014394 Q2565495 Q796792 Q20002353 Q1130317 Q3028325 Q720724 Q24154 Q1755928 Q1091580 Q181069 Q132374 Q16961093 Q172260 Q16985835 Q3111799 Q19874606 Q5242390
(c(Q838948),P915,Q408) (c(Q838948),P915,Q11299)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P915
type Q838948
action filter_type
action find_reverse
entity Q11299
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q408'] [{'concept': 'Q838948'}, 'P915', 'Q11299']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q408 } UNION { ?j rdf:type ontology:Q838948 . ?j property:P915 resource:Q11299 } }
Suburban Mayhem The Boys Break of Day My Brilliant Career Son of a Gun Mountains May Depart Rogue The Matrix Evil Angels Planet of the Apes Mr. Perfect Thalaivaa Salaam Namaste Peter Pan Stealth The Hard Word Beneath Hill 60 The Condemned Hotel de Love Last Ride The Eye of the Storm Red Planet Jaggubhai Damned by Dawn Mission: Impossible II Fat Pizza vs. Housos Nerve Lantana The Dressmaker Ghost Rider Long John Silver Free Willy: Escape from Pirate's Cove The Boys Are Back Passion The Rover Hoodwink Dad and Dave: On Our Selection The Proposition Bachna Ae Haseeno The Custodian Family Demons One Perfect Day A Few Best Men Crook Mad Max Beyond Thunderdome Love in Perth Unbroken Sniper Fool's Gold Wasted on the Young Lemon Tree Passage Pirates of the Caribbean: Dead Men Tell No Tales The Railway Man Chinese Zodiac Feed On the Beach A Girl in Australia Crush Jedda Bad Boy Bubby Lake Mungo The Sundowners The Phantom The Adventures of Priscilla, Queen of the Desert Rats in the Ranks Puberty Blues The Moon and the Sun Return to the Blue Lagoon Healing Look Both Ways Needle The Matrix Revolutions The Wolverine Any Questions for Ben? Run Chrissie Run! The Reckoning Reckless Kelly Love of My Life San Andreas Road Kill Offside Picnic at Hanging Rock Gods of Egypt Australia Spider-Man: Homecoming Sankham Nim's Island Love Lies Bleeding Nala Damayanthi The Wilding The Thin Red Line Coffin Rock Where the Wild Things Are The Place at the Coast Unnale Unnale The Crocodile Hunter: Collision Course Garage Days In the Winter Dark The Light Between Oceans Triangle Welcome to Woop Woop The Water Diviner Stir Chak De! India Sanctum The Lost World: Jurassic Park The Pirate Movie Tomorrow, When the War Began Wake in Fright Gone Mighty Morphin Power Rangers: The Movie Sunday Too Far Away Beautiful Kate The Fire In The Stone Malcolm Ghost Ship See No Evil Porobashinee Peaches Police Story 4: First Strike 25th Hour King of the Coral Sea Love in Space Bran Nue Dae The Reef The Cars That Ate Paris Aquamarine Jaws Crush Race the Sun Fighting Fear Beautiful Kath & Kimderella Playing Beatie Bow Aadavari Matalaku Arthale Verule Fortress Star Wars: Episode III – Revenge of the Sith Journey Out of Darkness Pitch Black Demonstrator The Dying of the Light Iron Sky The Turning December Boys Street Hero Orange Dead Calm Strictly Ballroom Red Hill Cactus Thirst Scooby-Doo The Clinic Animal Kingdom X-Men Origins: Wolverine Den House of Wax Betty Blokk-buster Follies Romulus, My Father Predestination Newcastle BMX Bandits Performance Anxiety The Marine Dingo Babe Van Diemen's Land The Black Balloon The Island of Dr. Moreau Star Wars Episode II: Attack of the Clones Inspector Gadget 2 Locker Singularity The Inbetweeners 2 Indian Infini Dawn!
177
action count
action union
action filter_type
action find_reverse
entity Australia
relation filming location
type work of art
action filter_type
action find_reverse
entity Manhattan
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Australia'] [{'concept': 'work of art'}, 'filming location', 'Manhattan']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:Australia } UNION { ?j rdf:type ontology:work_of_art . ?j property:filming_location resource:Manhattan } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q1001378 Q15416
USER
How many television programs are atleast 1 cinematic techniques or television programs considered a copy of ?
(c(Q1001378)|c(Q15416),P144,c(Q15416))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15416
value 1
[[{'concept': 'Q1001378'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?f WHERE { { ?e property:P144 ?f . ?f rdf:type ontology:Q15416 . ?e rdf:type ontology:Q1001378 } UNION { ?e property:P144 ?f . ?f rdf:type ontology:Q15416 . ?e rdf:type ontology:Q15416 } } GROUP BY ?f } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation based on
type television program
type cinematic technique
action find_reverse_tuple_counts
relation based on
type television program
type television program
value 1
[[{'concept': 'cinematic technique'}, {'concept': 'television program'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?f WHERE { { ?e property:based_on ?f . ?f rdf:type ontology:television_program . ?e rdf:type ontology:cinematic_technique } UNION { ?e property:based_on ?f . ?f rdf:type ontology:television_program . ?e rdf:type ontology:television_program } } GROUP BY ?f } }
[]
television program cinematic technique television program
SYSTEM
105
Q1887148 Q16070164 Q2613769 Q3281746 Q5785110 Q2085782 Q732383 Q715723 Q26693418 Q13923 Q697135 Q1072839 Q387943 Q23605 Q139849 Q17091414 Q1190630 Q811225 Q4300886 Q2700478 Q5554642 Q17104814 Q812805 Q1171033 Q7039588 Q24156458 Q2690883 Q2533572 Q732063 Q155629 Q10292622 Q921889 Q92096 Q6422347 Q6011000 Q3962025 Q649097 Q776608 Q1152081 Q207746 Q1571849 Q4543361 Q1286698 Q4846058 Q23829 Q18608849 Q3853767 Q3527986 Q638590 Q13419757 Q3052933 Q1141930 Q2022612 Q3234199 Q922713 Q1193499 Q217246 Q461100 Q1193889 Q7737672 Q679623 Q586491 Q488652 Q2265954 Q1138953 Q3273305 Q245996 Q773202 Q1156862 Q1156866 Q1211796 Q3555437 Q2634204 Q7711682 Q1623411 Q375062 Q714753 Q244511 Q617251 Q203707 Q5990513 Q2293964 Q1203502 Q3784600 Q591029 Q1193356 Q23623 Q1190971 Q34316 Q2367132 Q1768525 Q956446 Q1156849 Q16756 Q202577 Q366375 Q1156853 Q482482 Q217250 Q1215573 Q53110 Q752365 Q1055984 Q1041541 Q3311904
(c(Q1001378)|c(Q15416),P144,c(Q15416))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q1001378'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?f WHERE { { ?e property:P144 ?f . ?f rdf:type ontology:Q15416 . ?e rdf:type ontology:Q1001378 } UNION { ?e property:P144 ?f . ?f rdf:type ontology:Q15416 . ?e rdf:type ontology:Q15416 } } GROUP BY ?f } }
Unsolved Mysteries Cordon The Famous Jett Jackson Ti lascio una canzone Contra Las Cuerdas Prisoners of War Yes Minister Urusei Yatsura The Way to Dusty Death The Grim Adventures of Billy & Mandy Bayside Shakedown Doc Martin Tiny Toon Adventures Shameless The Suite Life on Deck Nearest and Dearest Chōriki Sentai Ohranger Farmer Wants a Wife I Am a Singer Caméra Café Getting On series 12 of Strictly Come Dancing BeTipul The Burning Bed Sabri Maranan Maniac Real Humans Go Ask Alice Cheers Sesame Street Guerra dos Sexos Johnny Tsunami Fort Boyard Knightmare In Time with You Sirens Física o Química George and Mildred Tensou Sentai Goseiger Ben 10 Halloweentown The Magicians QI Aquí no hay quien viva The Office Angry Birds Stella The Returned Ti Ti Ti Those Who Kill Secret Story Antiques Roadshow Juken Sentai Gekiranger Juukou B-Fighter Hi-5 Whose Line Is It Anyway? Kamen Rider Black RX The Suite Life of Zack & Cody The Restless Years Samurai Sentai Shinkenger The Great British Bake Off Hyakujuu Sentai Gaoranger Denji Sentai Megaranger 49 Days Man About the House Kyōryū Sentai Zyuranger B-Fighter Kabuto Three's Company Yo soy Betty, la fea Tokusou Sentai Dekaranger Seijuu Sentai Gingaman The Bridge Anything Goes Un gars, une fille The $1,000,000 Chance of a Lifetime Who's the Boss? Engine Sentai Go-onger The Prisoner Twitches Zyuden Sentai Kyoryuger Kim Possible If I Ruled the World RIS Delitti Imperfetti Mahou Sentai Magiranger Hell's Kitchen Ninpuu Sentai Hurricaneger Bakuryū Sentai Abaranger Queer as Folk Mirai Sentai Timeranger Doctor Who Battlestar Galactica Have I Got News for You The Killing Kyuukyuu Sentai GoGoFive Modern Family Till Death Us Do Part Good Luck Charlie Gekisou Sentai Carranger K-On! Camp Rock The Proud Family High School Musical Mad About You House of Cards Yama Onna Kabe Onna Ana y los 7
105
action count
action atleast
action union
action find_reverse_tuple_counts
relation based on
type television program
type cinematic technique
action find_reverse_tuple_counts
relation based on
type television program
type television program
value 1
[[{'concept': 'cinematic technique'}, {'concept': 'television program'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?f WHERE { { ?e property:based_on ?f . ?f rdf:type ontology:television_program . ?e rdf:type ontology:cinematic_technique } UNION { ?e property:based_on ?f . ?f rdf:type ontology:television_program . ?e rdf:type ontology:television_program } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P36
Q56061
USER
Which administrative territory is associated to Australia as the capital ?
(Q408,P36,c(Q56061))
action filter_type
action find
entity Q408
relation P36
type Q56061
['Q408', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q408 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Australia
action filter_type
action find
entity Australia
relation capital
type administrative territorial entity
['Australia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Australia property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(Q408,P36,c(Q56061))
action filter_type
action find
entity Q408
relation P36
type Q56061
Australia [ANSWER] is associated to Australia as the capital
['Q408', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q408 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Canberra
Australia Canberra is associated to Australia as the capital
Canberra
action filter_type
action find
entity Australia
relation capital
type administrative territorial entity
['Australia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Australia property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q44758
Q56061
USER
And what about Corrientes?
(Q44758,P36,c(Q56061))
action filter_type
action find
entity Q44758
relation P36
type Q56061
['Q44758', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q44758 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Corrientes
action filter_type
action find
entity Corrientes
relation capital
type administrative territorial entity
['Corrientes', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Corrientes property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q44211
SYSTEM
Corrientes
Q44211
(Q44758,P36,c(Q56061))
action filter_type
action find
entity Q44758
relation P36
type Q56061
[ANSWER]
['Q44758', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q44758 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Corrientes
Corrientes
action filter_type
action find
entity Corrientes
relation capital
type administrative territorial entity
['Corrientes', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Corrientes property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3439796
P674
Q95074 Q5398426 Q7725634
USER
Which fictional characters plays a role in around the same number of television series and literary works as King Triton ?
(c(Q5398426)|c(Q7725634),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q3439796
relation P674
type Q5398426
type Q7725634
[[{'concept': 'Q5398426'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?i WHERE { VALUES ( ?f ) { ( ontology:Q5398426 ) ( ontology:Q7725634 ) } . ?t rdf:type ?f } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P674 resource:Q3439796 . { { ?j rdf:type ontology:Q5398426 } UNION { ?j rdf:type ontology:Q7725634 } } } } }
King Triton
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action count
action filter_multi_types
action find_reverse
entity King Triton
relation characters
type television series
type literary work
[[{'concept': 'television series'}, {'concept': 'literary work'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?i WHERE { VALUES ( ?f ) { ( ontology:television_series ) ( ontology:literary_work ) } . ?t rdf:type ?f } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:characters resource:King_Triton . { { ?j rdf:type ontology:television_series } UNION { ?j rdf:type ontology:literary_work } } } } }
[]
fictional character television series literary work
Q252044 Q610519 Q2715593
SYSTEM
Queen Grimhilde, Matt Santos, Josiah Bartlet
Q547105 Q3065753 Q27663545 Q24573084 Q27093588 Q4767744 Q252044 Q7167342 Q942938 Q27666236 Q17075849 Q2725247 Q1649854 Q18679242 Q1750634 Q14559464 Q3259165 Q27272386 Q27068028 Q22265466 Q15710873 Q1877780 Q2344068 Q21847074 Q272000 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q5656906 Q2161603 Q605125 Q27663642 Q11339468 Q27271240 Q217533 Q17209231 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q14541961 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q7834 Q14544872 Q254678 Q5354221 Q1080587 Q1478155 Q14541956 Q507978 Q203927 Q27116381 Q14542323 Q21847103 Q21716752 Q14541958 Q27229992 Q27429777 Q128429 Q27553882 Q23762190 Q27118866 Q3391402 Q1067046 Q27118394 Q2739228 Q114900 Q599351 Q510102 Q15160 Q2456444 Q1997439 Q14544980 Q842104 Q14396915 Q5431889 Q27666036 Q25883159 Q20822934 Q21847089 Q27237700 Q610519 Q20723928 Q21065543 Q21065542 Q14559460 Q14559461 Q16626690 Q14542335 Q27450655 Q3704358 Q21246052 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q14542337 Q21847086 Q14542331 Q21065725 Q3291275 Q3403328 Q191114 Q23906183 Q21837905 Q3455774 Q27518155 Q20822903 Q159709 Q21837021 Q27429887 Q21837027 Q1115859 Q3939827 Q406021 Q27271937 Q8002690 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q52986 Q850506 Q3320009 Q11309288 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27703517 Q27237663 Q2715593 Q2979585 Q10354248 Q22264381 Q936278 Q3603297 Q21714642 Q4755325 Q14542340 Q20822916 Q6748296 Q1991640 Q164083 Q14545148 Q22265259 Q4749202 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21562043 Q21972177 Q6929804 Q27666216 Q3838346 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q4795290 Q520812 Q14542326 Q14542192 Q20822900 Q388605 Q16451200 Q14542196 Q14544711 Q27237716 Q21837832 Q21971504 Q767120 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q12400 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q2392421 Q14542209 Q27703691 Q27075302 Q27456283 Q321349 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q12810578 Q27666446 Q3439796 Q21072502 Q14545043 Q3437147 Q3946354 Q920224 Q27430106 Q1866743 Q27272179 Q21847058 Q15020847 Q21847115 Q3036775 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q9012447 Q27133508 Q3073552 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q6214458 Q27455598 Q2264282 Q4933846 Q27702918 Q3257493 Q27642997 Q1345373 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q8073344 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q3666688 Q27666118 Q7810 Q661491 Q51766 Q6524042 Q20822940 Q27148824 Q14559457 Q27666112 Q27068106 Q765498 Q19803416 Q14559452
(c(Q5398426)|c(Q7725634),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q3439796
relation P674
type Q5398426
type Q7725634
[ANSWERS] play a role in around the same number of television series and literary works as King Triton
[[{'concept': 'Q5398426'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?i WHERE { VALUES ( ?f ) { ( ontology:Q5398426 ) ( ontology:Q7725634 ) } . ?t rdf:type ?f } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P674 resource:Q3439796 . { { ?j rdf:type ontology:Q5398426 } UNION { ?j rdf:type ontology:Q7725634 } } } } }
Nezha Lady of the Green Kirtle Peter Pan Archimedes Alice's sister Annabeth Schott Queen Grimhilde Percy Fitzwallace Dexter Morgan Nana Danny Concannon Ness Athos Kalervo Quasimodo Freddy Porky Minch Captain Crocodile The blue fairy Duran Duran Princess Celestia Lusus Madam Mim Kōichirō Iketani Deianira Sweeney Todd Little Sister Cody King Richard Marge Simpson King Hubert Dixie Kong Carlotta Cinderella Wilbur Pinocchio Lady Josh Lyman Randall Flagg GLaDOS Wendy Darling Paula Sis Joker Poo Nutsy Drizella Tremaine Mr. Smee Scuttle Seiji Iwaki Maleficent Monstro Takeshi Nakazato Ariel Edgar Balthazar Takumi Fujiwara Bridget Jones Alan-a-Dale Anita Radcliffe Death Clarice Starling Aurora Thumper Étienne Lantier Wu Zi Mu Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Maggie Simpson Michael Toreno Carrie Bradshaw Eleanor Bartlet C. J. Cregg Pelasgus Sean Johnson Milady de Winter Patrick Bateman Tramp Jeffrey Cross Shingo Shōji Largo Winch Cesar Vialpando Kaa Bianca Vampirella Jake June Wheeler Trusty Planchet Princess Zelda Yock Snow White Lori Grimes Gavroche Captain Phoebus Ijon Tichy Renesmee Cullen White Witch Kent Paul Grampa Simpson Kate Harper Faline George Darling Thompson Mrs. Judson Kenji Thomas O'Malley Matt Santos Flounder Mousqueton Bazin Mark Wayne Barry Thorne Baloo The Truth Taran Deborah Fiderer Robert Malone Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Zero Natsuki Mogi Catalina Bonacieux Maid Marian Prince John Sita Herbert Einstein Itsuki Takeuchi Régis Renaud Max Fidget Gilgamesh Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Rocky the Flying Squirrel Aino Toby Will Bailey Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Tintin Brynhildr Miraz Jeff Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Sister Gudule Duchess Josiah Bartlet Clopin Trouillefou Professor Ratigan Barbarella Imhotep Abbey Bartlet Arn Magnusson Andrea Wyatt Jizzy B. Basil Mandy Hampton Dominic Toretto Till Eulenspiegel Beverly Johnson The Great Tyrant Amy Gardner Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Antoine Doinel Jean-Marie-François Morhange Delores Landingham Tinker Bell Lucas Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Arnold Vinick Claude Frollo Madd Dogg Edward Pulaski Hiram Flaversham Cruella de Vil Taras Bulba Jimmy Hernandez T-Bone Mendez Toulouse Kyōichi Sudō André de Saint-Avit Garfield Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Samus Aran Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Constance Bonacieux Kendl Johnson Jehan Frollo Fairy Godmother Gurgi Nick Knatterton Kinsey Millhone Otto executioner of Lille Julia Prince Eric Lance Wilson Tiger Lily King Triton D'Artagnan's father Maccer Robin Hood Sam Seaborn Gargamel Orville Ken Rosenberg Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Donna Moss Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister John Hoynes Prince Phillip Fleur-de-Lys Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Joey Lucas Eilonwy Roland Deschain Bob Russell Pierre Gringoire Bandersnatch Corto Maltese Toby Ziegler Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Zoey Bartlet Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Charlie Young Michael Darling Homer Simpson Esméralda Darth Maul Leo McGarry Queen Mousetoria The Prince Emmet Mary Darling Honest John Jake Chambers Brian O'Conner Old Reece
Queen Grimhilde, Matt Santos and Josiah Bartlet play a role in around the same number of television series and literary works as King Triton
Queen Grimhilde Matt Santos Josiah Bartlet
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action count
action filter_multi_types
action find_reverse
entity King Triton
relation characters
type television series
type literary work
[[{'concept': 'television series'}, {'concept': 'literary work'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?i WHERE { VALUES ( ?f ) { ( ontology:television_series ) ( ontology:literary_work ) } . ?t rdf:type ?f } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:characters resource:King_Triton . { { ?j rdf:type ontology:television_series } UNION { ?j rdf:type ontology:literary_work } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q605125
P674
Q95074 Q5398426 Q7725634
USER
And what about GLaDOS?
(c(Q5398426)|c(Q7725634),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q605125
relation P674
type Q5398426
type Q7725634
[[{'concept': 'Q5398426'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q5398426 ) ( ontology:Q7725634 ) } . ?u rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P674 resource:Q605125 . { VALUES ( ?j ) { ( ontology:Q5398426 ) ( ontology:Q7725634 ) } . ?e rdf:type ?j } } } . FILTER ( ?h = ?w ) }
GLaDOS
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action count
action filter_multi_types
action find_reverse
entity GLaDOS
relation characters
type television series
type literary work
[[{'concept': 'television series'}, {'concept': 'literary work'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?d WHERE { VALUES ( ?g ) { ( ontology:television_series ) ( ontology:literary_work ) } . ?u rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:characters resource:GLaDOS . { VALUES ( ?j ) { ( ontology:television_series ) ( ontology:literary_work ) } . ?e rdf:type ?j } } } . FILTER ( ?h = ?w ) }
[]
fictional character television series literary work
Q252044 Q610519 Q2715593
SYSTEM
Queen Grimhilde, Matt Santos, Josiah Bartlet
Q547105 Q3065753 Q27663545 Q24573084 Q27093588 Q4767744 Q252044 Q7167342 Q942938 Q27666236 Q17075849 Q2725247 Q1649854 Q18679242 Q1750634 Q14559464 Q3259165 Q27272386 Q27068028 Q22265466 Q15710873 Q1877780 Q2344068 Q21847074 Q272000 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q5656906 Q2161603 Q605125 Q27663642 Q11339468 Q27271240 Q217533 Q17209231 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q14541961 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q7834 Q14544872 Q254678 Q5354221 Q1080587 Q1478155 Q14541956 Q507978 Q203927 Q27116381 Q14542323 Q21847103 Q21716752 Q14541958 Q27229992 Q27429777 Q128429 Q27553882 Q23762190 Q27118866 Q3391402 Q1067046 Q27118394 Q2739228 Q114900 Q599351 Q510102 Q15160 Q2456444 Q1997439 Q14544980 Q842104 Q14396915 Q5431889 Q27666036 Q25883159 Q20822934 Q21847089 Q27237700 Q610519 Q20723928 Q21065543 Q21065542 Q14559460 Q14559461 Q16626690 Q14542335 Q27450655 Q3704358 Q21246052 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q14542337 Q21847086 Q14542331 Q21065725 Q3291275 Q3403328 Q191114 Q23906183 Q21837905 Q3455774 Q27518155 Q20822903 Q159709 Q21837021 Q27429887 Q21837027 Q1115859 Q3939827 Q406021 Q27271937 Q8002690 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q52986 Q850506 Q3320009 Q11309288 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27703517 Q27237663 Q2715593 Q2979585 Q10354248 Q22264381 Q936278 Q3603297 Q21714642 Q4755325 Q14542340 Q20822916 Q6748296 Q1991640 Q164083 Q14545148 Q22265259 Q4749202 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21562043 Q21972177 Q6929804 Q27666216 Q3838346 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q4795290 Q520812 Q14542326 Q14542192 Q20822900 Q388605 Q16451200 Q14542196 Q14544711 Q27237716 Q21837832 Q21971504 Q767120 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q12400 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q2392421 Q14542209 Q27703691 Q27075302 Q27456283 Q321349 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q12810578 Q27666446 Q3439796 Q21072502 Q14545043 Q3437147 Q3946354 Q920224 Q27430106 Q1866743 Q27272179 Q21847058 Q15020847 Q21847115 Q3036775 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q9012447 Q27133508 Q3073552 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q6214458 Q27455598 Q2264282 Q4933846 Q27702918 Q3257493 Q27642997 Q1345373 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q8073344 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q3666688 Q27666118 Q7810 Q661491 Q51766 Q6524042 Q20822940 Q27148824 Q14559457 Q27666112 Q27068106 Q765498 Q19803416 Q14559452
(c(Q5398426)|c(Q7725634),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q605125
relation P674
type Q5398426
type Q7725634
[ANSWERS]
[[{'concept': 'Q5398426'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?d WHERE { VALUES ( ?g ) { ( ontology:Q5398426 ) ( ontology:Q7725634 ) } . ?u rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:P674 resource:Q605125 . { VALUES ( ?j ) { ( ontology:Q5398426 ) ( ontology:Q7725634 ) } . ?e rdf:type ?j } } } . FILTER ( ?h = ?w ) }
Nezha Lady of the Green Kirtle Peter Pan Archimedes Alice's sister Annabeth Schott Queen Grimhilde Percy Fitzwallace Dexter Morgan Nana Danny Concannon Ness Athos Kalervo Quasimodo Freddy Porky Minch Captain Crocodile The blue fairy Duran Duran Princess Celestia Lusus Madam Mim Kōichirō Iketani Deianira Sweeney Todd Little Sister Cody King Richard Marge Simpson King Hubert Dixie Kong Carlotta Cinderella Wilbur Pinocchio Lady Josh Lyman Randall Flagg GLaDOS Wendy Darling Paula Sis Joker Poo Nutsy Drizella Tremaine Mr. Smee Scuttle Seiji Iwaki Maleficent Monstro Takeshi Nakazato Ariel Edgar Balthazar Takumi Fujiwara Bridget Jones Alan-a-Dale Anita Radcliffe Death Clarice Starling Aurora Thumper Étienne Lantier Wu Zi Mu Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Maggie Simpson Michael Toreno Carrie Bradshaw Eleanor Bartlet C. J. Cregg Pelasgus Sean Johnson Milady de Winter Patrick Bateman Tramp Jeffrey Cross Shingo Shōji Largo Winch Cesar Vialpando Kaa Bianca Vampirella Jake June Wheeler Trusty Planchet Princess Zelda Yock Snow White Lori Grimes Gavroche Captain Phoebus Ijon Tichy Renesmee Cullen White Witch Kent Paul Grampa Simpson Kate Harper Faline George Darling Thompson Mrs. Judson Kenji Thomas O'Malley Matt Santos Flounder Mousqueton Bazin Mark Wayne Barry Thorne Baloo The Truth Taran Deborah Fiderer Robert Malone Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Zero Natsuki Mogi Catalina Bonacieux Maid Marian Prince John Sita Herbert Einstein Itsuki Takeuchi Régis Renaud Max Fidget Gilgamesh Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Rocky the Flying Squirrel Aino Toby Will Bailey Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Tintin Brynhildr Miraz Jeff Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Sister Gudule Duchess Josiah Bartlet Clopin Trouillefou Professor Ratigan Barbarella Imhotep Abbey Bartlet Arn Magnusson Andrea Wyatt Jizzy B. Basil Mandy Hampton Dominic Toretto Till Eulenspiegel Beverly Johnson The Great Tyrant Amy Gardner Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Antoine Doinel Jean-Marie-François Morhange Delores Landingham Tinker Bell Lucas Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Arnold Vinick Claude Frollo Madd Dogg Edward Pulaski Hiram Flaversham Cruella de Vil Taras Bulba Jimmy Hernandez T-Bone Mendez Toulouse Kyōichi Sudō André de Saint-Avit Garfield Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Samus Aran Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Constance Bonacieux Kendl Johnson Jehan Frollo Fairy Godmother Gurgi Nick Knatterton Kinsey Millhone Otto executioner of Lille Julia Prince Eric Lance Wilson Tiger Lily King Triton D'Artagnan's father Maccer Robin Hood Sam Seaborn Gargamel Orville Ken Rosenberg Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Donna Moss Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister John Hoynes Prince Phillip Fleur-de-Lys Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Joey Lucas Eilonwy Roland Deschain Bob Russell Pierre Gringoire Bandersnatch Corto Maltese Toby Ziegler Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Zoey Bartlet Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Charlie Young Michael Darling Homer Simpson Esméralda Darth Maul Leo McGarry Queen Mousetoria The Prince Emmet Mary Darling Honest John Jake Chambers Brian O'Conner Old Reece
Queen Grimhilde Matt Santos Josiah Bartlet
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action count
action filter_multi_types
action find_reverse
entity GLaDOS
relation characters
type television series
type literary work
[[{'concept': 'television series'}, {'concept': 'literary work'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?d WHERE { VALUES ( ?g ) { ( ontology:television_series ) ( ontology:literary_work ) } . ?u rdf:type ?g } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e property:characters resource:GLaDOS . { VALUES ( ?j ) { ( ontology:television_series ) ( ontology:literary_work ) } . ?e rdf:type ?j } } } . FILTER ( ?h = ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q159 Q36
P27
Q502895
USER
Which people are a citizen of Poland and Russia ?
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q159))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q159
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q159']]}
SELECT DISTINCT ?n WHERE { ?n property:P27 resource:Q36 . ?n property:P27 resource:Q159 . ?n rdf:type ontology:Q502895 }
Russia Poland
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity Russia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'Russia']]}
SELECT DISTINCT ?n WHERE { ?n property:country_of_citizenship resource:Poland . ?n property:country_of_citizenship resource:Russia . ?n rdf:type ontology:common_name }
[]
common name
Q347936 Q713443 Q3918276 Q1962474 Q4937871 Q919127 Q123802 Q545497
SYSTEM
Mamed Khalidov, S. Ansky, Ivan Kozyrevsky, Nachman Syrkin, Boguslav S. Kurlovich, Mieczysław Weinberg, Leo Jogiches, Nicodemus
Q347936 Q713443 Q3918276 Q1962474 Q4937871 Q919127 Q123802 Q545497
AND((c(Q502895),P27,Q36), (c(Q502895),P27,Q159))
action filter_type
action intersection
action find_reverse
entity Q36
relation P27
action find_reverse
entity Q159
relation P27
type Q502895
[ANSWERS] are a citizen of Poland and Russia
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q36'], [{'concept': 'Q502895'}, 'P27', 'Q159']]}
SELECT DISTINCT ?n WHERE { ?n property:P27 resource:Q36 . ?n property:P27 resource:Q159 . ?n rdf:type ontology:Q502895 }
Mamed Khalidov S. Ansky Ivan Kozyrevsky Nachman Syrkin Boguslav S. Kurlovich Mieczysław Weinberg Leo Jogiches Nicodemus
Mamed Khalidov, S. Ansky, Ivan Kozyrevsky, Nachman Syrkin, Boguslav S. Kurlovich, Mieczysław Weinberg, Leo Jogiches and Nicodemus are a citizen of Poland and Russia
Mamed Khalidov S. Ansky Ivan Kozyrevsky Nachman Syrkin Boguslav S. Kurlovich Mieczysław Weinberg Leo Jogiches Nicodemus
action filter_type
action intersection
action find_reverse
entity Poland
relation country of citizenship
action find_reverse
entity Russia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Poland'], [{'concept': 'common name'}, 'country of citizenship', 'Russia']]}
SELECT DISTINCT ?n WHERE { ?n property:country_of_citizenship resource:Poland . ?n property:country_of_citizenship resource:Russia . ?n rdf:type ontology:common_name }
[]