Simple Question (Direct)
Simple Question
Q13415374
P106
Q12737077
USER
What are the professions of Blue James Hamilton ?
(Q13415374,P106,c(Q12737077))
action filter_type
action find
entity Q13415374
relation P106
type Q12737077
['Q13415374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q13415374 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Blue James Hamilton
action filter_type
action find
entity Blue James Hamilton
relation occupation
type occupation
['Blue James Hamilton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Blue_James_Hamilton property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q183945 Q488205
SYSTEM
record producer, singer-songwriter
Q183945 Q488205
(Q13415374,P106,c(Q12737077))
action filter_type
action find
entity Q13415374
relation P106
type Q12737077
The professions of Blue James Hamilton are a [ANSWERS]
['Q13415374', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q13415374 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
record producer singer-songwriter
The professions of Blue James Hamilton are a record producer and singer-songwriter
record producer singer-songwriter
action filter_type
action find
entity Blue James Hamilton
relation occupation
type occupation
['Blue James Hamilton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Blue_James_Hamilton property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13415374
P26
Q502895
USER
Who is the spouse of Blue James Hamilton ?
(c(Q502895),P26,Q13415374)
action filter_type
action find
entity Q13415374
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q13415374']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q13415374 property:P26 ?v }
Blue James Hamilton
action filter_type
action find
entity Blue James Hamilton
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Blue James Hamilton']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Blue_James_Hamilton property:spouse ?v }
[]
common name
Q313656
SYSTEM
Matt Dallas
Q313656
(c(Q502895),P26,Q13415374)
action filter_type
action find
entity Q13415374
relation P26
type Q502895
The spouse of Blue James Hamilton is of [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q13415374']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q13415374 property:P26 ?v }
Matt Dallas
The spouse of Blue James Hamilton is of Matt Dallas
Matt Dallas
action filter_type
action find
entity Blue James Hamilton
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Blue James Hamilton']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Blue_James_Hamilton property:spouse ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313656
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q313656)
action filter_type
action find_reverse
entity Q313656
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q313656']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q313656 . ?v rdf:type ontology:Q838948 }
Matt Dallas
action filter_type
action find_reverse
entity Matt Dallas
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Matt Dallas']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Matt_Dallas . ?v rdf:type ontology:work_of_art }
[]
work of art
Q1772421 Q4021138 Q797981
SYSTEM
Camp Slaughter, Wyatt Earp's Revenge, Babysitter Wanted
Q1772421 Q4021138 Q797981
(c(Q838948),P161,Q313656)
action filter_type
action find_reverse
entity Q313656
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q313656']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q313656 . ?v rdf:type ontology:Q838948 }
Camp Slaughter Wyatt Earp's Revenge Babysitter Wanted
Camp Slaughter, Wyatt Earp's Revenge and Babysitter Wanted star that person as actor
Camp Slaughter Wyatt Earp's Revenge Babysitter Wanted
action filter_type
action find_reverse
entity Matt Dallas
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Matt Dallas']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Matt_Dallas . ?v rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19590955
P1441
Q838948 Q502895 Q6619679
USER
Which works of art feature less number of people and fictional humanoids than Rogue One: A Star Wars Story ?
(c(Q502895)|c(Q6619679),P1441,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q19590955
relation P1441
type Q502895
type Q6619679
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?z ) WHERE { { ?f rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 . ?x property:P1441 ?f } UNION { ?x property:P1441 ?f . ?f rdf:type ontology:Q838948 . ?x rdf:type ontology:Q6619679 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P1441 resource:Q19590955 . { { ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q6619679 } } } } . FILTER ( ?z < ?a ) }
Rogue One: A Star Wars Story
action less
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Rogue One: A Star Wars Story
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?z ) WHERE { { ?f rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name . ?x property:present_in_work ?f } UNION { ?x property:present_in_work ?f . ?f rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_humanoid } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:present_in_work resource:Rogue_One:_A_Star_Wars_Story . { { ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?z < ?a ) }
[]
work of art common name fictional humanoid
Q107226 Q102244 Q2875
SYSTEM
The Bourne Ultimatum, Harry Potter and the Chamber of Secrets, Gone with the Wind
Q4008453 Q2875 Q28234 Q1140272 Q1507513 Q221947 Q7750966 Q3273477 Q1388653 Q215750 Q171453 Q484675 Q719915 Q537407 Q4655870 Q58972 Q458629 Q388319 Q15304052 Q886675 Q108543 Q3211484 Q2527293 Q1293934 Q181598 Q2891244 Q4253250 Q146673 Q370326 Q83186 Q743194 Q27061795 Q181795 Q42051 Q171669 Q881000 Q431660 Q133654 Q8561227 Q467053 Q1364029 Q919649 Q1271824 Q183304 Q7561043 Q1433571 Q179215 Q16997069 Q174284 Q18402 Q1962005 Q130851 Q222939 Q221236 Q19946102 Q105702 Q4189330 Q220713 Q303040 Q182373 Q24278982 Q466781 Q7764815 Q785461 Q15140437 Q219421 Q185658 Q19842746 Q1248429 Q466423 Q1962032 Q41567 Q548303 Q24871 Q124612 Q886719 Q543403 Q176568 Q1702819 Q156539 Q641362 Q123742 Q1810461 Q18200409 Q104814 Q3311826 Q810012 Q507994 Q1125262 Q1639322 Q20711488 Q969098 Q14513321 Q114819 Q274167 Q8873426 Q3739484 Q80379 Q1749311 Q379873 Q588470 Q170250 Q161687 Q11060926 Q715374 Q153723 Q110206 Q949228 Q1125566 Q18703028 Q6402953 Q691611 Q515931 Q107226 Q590098 Q19648591 Q2419344 Q3024211 Q192142 Q15005 Q1168778 Q1224659 Q9125658 Q777591 Q329127 Q3114616 Q164963 Q15713892 Q248775 Q868483 Q3985991 Q58439 Q19264018 Q268824 Q673153 Q458852 Q835650 Q1583966 Q18815806 Q211009 Q7913393 Q162255 Q170564 Q1146570 Q103569 Q458314 Q1757288 Q192979 Q15715647 Q608261 Q226773 Q1759684 Q171300 Q102244 Q190050 Q673198 Q3224298 Q1322906 Q172271 Q7752052 Q179411 Q722267 Q181069 Q15046091 Q15040681 Q3476432
(c(Q502895)|c(Q6619679),P1441,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q19590955
relation P1441
type Q502895
type Q6619679
[ANSWERS] feature less number of people and fictional humanoids than Rogue One: A Star Wars Story
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?z ) WHERE { { ?f rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 . ?x property:P1441 ?f } UNION { ?x property:P1441 ?f . ?f rdf:type ontology:Q838948 . ?x rdf:type ontology:Q6619679 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P1441 resource:Q19590955 . { { ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q6619679 } } } } . FILTER ( ?z < ?a ) }
Vampirella Gone with the Wind Les Misérables Soul Food Tremors 3: Back to Perfection The Jungle Book 2 The Memorandum Ma and Pa Kettle Pacific Rim Julius Caesar Transformers Léon: The Professional The Hobbit: The Desolation of Smaug Mulan A Chinese Tall Story Masters of the Universe Billy Elliot Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction My Bloody Valentine Alien 3 Me Two The Creature Walks Among Us Fright Night II King Lear Una Película de Huevos Journey to the West: Conquering the Demons Basic Instinct Eraser Romeo and Juliet The Winter's Tale The Wacky World of Dr. Morgus The Empire Strikes Back Star Wars: Episode III – Revenge of the Sith One Flew Over the Cuckoo's Nest Blacula Godzilla: Final Wars The Silence of the Lambs Divergent A Bridge Too Far Peter Pan The Hobbit: The Battle of the Five Armies Cleopatra Jones Troilus and Cressida Final Destination Tremors 2: Aftershocks Indiana Jones and the Temple of Doom The Divergent Series: Insurgent Raiders of the Lost Ark La Strada Bloodfist II Much Ado About Nothing Jumanji Star Trek: First Contact Beauty and the Beast Dr. Strangelove Kamen Rider Blade: Missing Ace American Pie American Reunion Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 All the President's Men The Sleepy Twinkle Star Sudden Impact Terminator Genisys The Mask Indiana Jones and the Last Crusade Teenage Mutant Ninja Turtles: Out of the Shadows Police Academy American Wedding Bloodfist Hamlet The Tailor of Panama Avatar Creature from the Black Lagoon Manhunter Dead Silence The Forbidden Kingdom Secret of the Wings Highlander Monsters University Cloverfield Springtime with Roo A Monster Calls Aliens Mickey's Follies Basic Instinct 2 The Hunt for Red October Mad Max 2 Our American Cousin Harry Potter and the Cursed Child Phèdre Warcraft Dune The Exorcist Voyage to the Bottom of the Sea The Adventures of Buratino The Hobbit: An Unexpected Journey Tremors 4: The Legend Begins Who Framed Roger Rabbit Ernest Goes to Camp Bicentennial Man Harry Potter and the Half-Blood Prince A Walk Among the Tombstones Initial D Inglourious Basterds Dirty Harry Sholay Duck Soup Now You See Me: The Second Act Khumba Serenity Willow The Bourne Ultimatum Ultimate Avengers 2 The Divergent Series: Allegiant Revenge of the Creature La Cité de la peur Terminator 3: Rise of the Machines Woe from Wit The House by the Cemetery Digimon Adventure: Bokura no War Game! Red Dragon For Love of the Game American Pie 2 Hannibal Rising The Lord of the Rings: The Two Towers Pan Mad Max A Chinese Odyssey The Black Cobra 2 Teenage Mutant Ninja Turtles Tremors 5: Bloodline Fright Night Same Old Song Magnum Force Tremors Underdog Pokémon the Movie: Hoopa and the Clash of Ages Van Helsing Van Helsing: The London Assignment The Terminator Terminator 2: Judgment Day Howard the Duck Alien Alien: Resurrection Mad Max: Fury Road Clash of the Titans Survivor Assemblywomen Wrath of the Titans Atragon The Princess and the Frog Harry Potter and the Chamber of Secrets Fight Club Star Trek: Insurrection Tangled Ever After Centurion Maleficent The Monkey King A Very Merry Pooh Year Beverly Hills Cop Star Wars Episode II: Attack of the Clones Cinderella Fright Night 2: New Blood Scream Blacula Scream
The Bourne Ultimatum, Harry Potter and the Chamber of Secrets and Gone with the Wind feature less number of people and fictional humanoids than Rogue One: A Star Wars Story
The Bourne Ultimatum Harry Potter and the Chamber of Secrets Gone with the Wind
action less
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Rogue One: A Star Wars Story
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?z ) WHERE { { ?f rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name . ?x property:present_in_work ?f } UNION { ?x property:present_in_work ?f . ?f rdf:type ontology:work_of_art . ?x rdf:type ontology:fictional_humanoid } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:present_in_work resource:Rogue_One:_A_Star_Wars_Story . { { ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?z < ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q154581
P1441
Q838948 Q502895 Q6619679
USER
And how about Gangs of New York?
(c(Q502895)|c(Q6619679),P1441,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q154581
relation P1441
type Q502895
type Q6619679
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P1441 ?o . ?o rdf:type ontology:Q838948 . ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q6619679 . ?o rdf:type ontology:Q838948 . ?i property:P1441 ?o } } GROUP BY ?o } . FILTER ( ?d < ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P1441 resource:Q154581 . { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } } } } }
Gangs of New York
action less
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Gangs of New York
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:present_in_work ?o . ?o rdf:type ontology:work_of_art . ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:fictional_humanoid . ?o rdf:type ontology:work_of_art . ?i property:present_in_work ?o } } GROUP BY ?o } . FILTER ( ?d < ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:present_in_work resource:Gangs_of_New_York . { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } } } } }
[]
work of art common name fictional humanoid
Q107226 Q102244 Q2875
SYSTEM
The Bourne Ultimatum, Harry Potter and the Chamber of Secrets, Gone with the Wind
Q4008453 Q2875 Q28234 Q1140272 Q1507513 Q221947 Q7750966 Q3273477 Q1388653 Q215750 Q171453 Q484675 Q719915 Q537407 Q4655870 Q58972 Q458629 Q388319 Q15304052 Q886675 Q108543 Q3211484 Q2527293 Q1293934 Q181598 Q2891244 Q4253250 Q146673 Q370326 Q83186 Q743194 Q27061795 Q181795 Q42051 Q171669 Q881000 Q431660 Q133654 Q8561227 Q467053 Q1364029 Q919649 Q1271824 Q183304 Q7561043 Q1433571 Q179215 Q16997069 Q174284 Q18402 Q1962005 Q130851 Q222939 Q221236 Q19946102 Q105702 Q4189330 Q220713 Q303040 Q182373 Q24278982 Q466781 Q7764815 Q785461 Q15140437 Q219421 Q185658 Q19842746 Q1248429 Q466423 Q1962032 Q41567 Q548303 Q24871 Q124612 Q886719 Q543403 Q176568 Q1702819 Q156539 Q641362 Q123742 Q1810461 Q18200409 Q104814 Q3311826 Q810012 Q507994 Q1125262 Q1639322 Q20711488 Q969098 Q14513321 Q114819 Q274167 Q8873426 Q3739484 Q80379 Q1749311 Q379873 Q588470 Q170250 Q161687 Q11060926 Q715374 Q153723 Q110206 Q949228 Q1125566 Q18703028 Q6402953 Q691611 Q515931 Q107226 Q590098 Q19648591 Q2419344 Q3024211 Q192142 Q15005 Q1168778 Q1224659 Q9125658 Q777591 Q329127 Q3114616 Q164963 Q15713892 Q248775 Q868483 Q3985991 Q58439 Q19264018 Q268824 Q673153 Q458852 Q835650 Q1583966 Q18815806 Q211009 Q7913393 Q162255 Q170564 Q1146570 Q103569 Q458314 Q1757288 Q192979 Q15715647 Q608261 Q226773 Q1759684 Q171300 Q102244 Q190050 Q673198 Q3224298 Q1322906 Q172271 Q7752052 Q179411 Q722267 Q181069 Q15046091 Q15040681 Q3476432
(c(Q502895)|c(Q6619679),P1441,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q154581
relation P1441
type Q502895
type Q6619679
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P1441 ?o . ?o rdf:type ontology:Q838948 . ?i rdf:type ontology:Q502895 } UNION { ?i rdf:type ontology:Q6619679 . ?o rdf:type ontology:Q838948 . ?i property:P1441 ?o } } GROUP BY ?o } . FILTER ( ?d < ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P1441 resource:Q154581 . { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } } } } }
Vampirella Gone with the Wind Les Misérables Soul Food Tremors 3: Back to Perfection The Jungle Book 2 The Memorandum Ma and Pa Kettle Pacific Rim Julius Caesar Transformers Léon: The Professional The Hobbit: The Desolation of Smaug Mulan A Chinese Tall Story Masters of the Universe Billy Elliot Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction My Bloody Valentine Alien 3 Me Two The Creature Walks Among Us Fright Night II King Lear Una Película de Huevos Journey to the West: Conquering the Demons Basic Instinct Eraser Romeo and Juliet The Winter's Tale The Wacky World of Dr. Morgus The Empire Strikes Back Star Wars: Episode III – Revenge of the Sith One Flew Over the Cuckoo's Nest Blacula Godzilla: Final Wars The Silence of the Lambs Divergent A Bridge Too Far Peter Pan The Hobbit: The Battle of the Five Armies Cleopatra Jones Troilus and Cressida Final Destination Tremors 2: Aftershocks Indiana Jones and the Temple of Doom The Divergent Series: Insurgent Raiders of the Lost Ark La Strada Bloodfist II Much Ado About Nothing Jumanji Star Trek: First Contact Beauty and the Beast Dr. Strangelove Kamen Rider Blade: Missing Ace American Pie American Reunion Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 All the President's Men The Sleepy Twinkle Star Sudden Impact Terminator Genisys The Mask Indiana Jones and the Last Crusade Teenage Mutant Ninja Turtles: Out of the Shadows Police Academy American Wedding Bloodfist Hamlet The Tailor of Panama Avatar Creature from the Black Lagoon Manhunter Dead Silence The Forbidden Kingdom Secret of the Wings Highlander Monsters University Cloverfield Springtime with Roo A Monster Calls Aliens Mickey's Follies Basic Instinct 2 The Hunt for Red October Mad Max 2 Our American Cousin Harry Potter and the Cursed Child Phèdre Warcraft Dune The Exorcist Voyage to the Bottom of the Sea The Adventures of Buratino The Hobbit: An Unexpected Journey Tremors 4: The Legend Begins Who Framed Roger Rabbit Ernest Goes to Camp Bicentennial Man Harry Potter and the Half-Blood Prince A Walk Among the Tombstones Initial D Inglourious Basterds Dirty Harry Sholay Duck Soup Now You See Me: The Second Act Khumba Serenity Willow The Bourne Ultimatum Ultimate Avengers 2 The Divergent Series: Allegiant Revenge of the Creature La Cité de la peur Terminator 3: Rise of the Machines Woe from Wit The House by the Cemetery Digimon Adventure: Bokura no War Game! Red Dragon For Love of the Game American Pie 2 Hannibal Rising The Lord of the Rings: The Two Towers Pan Mad Max A Chinese Odyssey The Black Cobra 2 Teenage Mutant Ninja Turtles Tremors 5: Bloodline Fright Night Same Old Song Magnum Force Tremors Underdog Pokémon the Movie: Hoopa and the Clash of Ages Van Helsing Van Helsing: The London Assignment The Terminator Terminator 2: Judgment Day Howard the Duck Alien Alien: Resurrection Mad Max: Fury Road Clash of the Titans Survivor Assemblywomen Wrath of the Titans Atragon The Princess and the Frog Harry Potter and the Chamber of Secrets Fight Club Star Trek: Insurrection Tangled Ever After Centurion Maleficent The Monkey King A Very Merry Pooh Year Beverly Hills Cop Star Wars Episode II: Attack of the Clones Cinderella Fright Night 2: New Blood Scream Blacula Scream
The Bourne Ultimatum Harry Potter and the Chamber of Secrets Gone with the Wind
action less
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Gangs of New York
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:present_in_work ?o . ?o rdf:type ontology:work_of_art . ?i rdf:type ontology:common_name } UNION { ?i rdf:type ontology:fictional_humanoid . ?o rdf:type ontology:work_of_art . ?i property:present_in_work ?o } } GROUP BY ?o } . FILTER ( ?d < ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:present_in_work resource:Gangs_of_New_York . { ?q rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q15619164 Q95074
USER
Which works of art do exactly 11 abstract beings and fictional characters appear ?
(c(Q15619164)|c(Q95074),P1441,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 11
[[{'concept': 'Q15619164'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?o ) WHERE { { ?n property:P1441 ?h . ?h rdf:type ontology:Q838948 . ?n rdf:type ontology:Q15619164 } UNION { ?n property:P1441 ?h . ?n rdf:type ontology:Q95074 . ?h rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?o = 11 ) }
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 11
[[{'concept': 'abstract being'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?o ) WHERE { { ?n property:present_in_work ?h . ?h rdf:type ontology:work_of_art . ?n rdf:type ontology:abstract_being } UNION { ?n property:present_in_work ?h . ?n rdf:type ontology:fictional_character . ?h rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?o = 11 ) }
[]
work of art abstract being fictional character
Q332387 Q387674
SYSTEM
The Taming of the Shrew, Final Fantasy VII: Advent Children
Q332387 Q387674
(c(Q15619164)|c(Q95074),P1441,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 11
[ANSWERS] exactly 11 abstract beings and fictional characters appear
[[{'concept': 'Q15619164'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?o ) WHERE { { ?n property:P1441 ?h . ?h rdf:type ontology:Q838948 . ?n rdf:type ontology:Q15619164 } UNION { ?n property:P1441 ?h . ?n rdf:type ontology:Q95074 . ?h rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?o = 11 ) }
The Taming of the Shrew Final Fantasy VII: Advent Children
The Taming of the Shrew and Final Fantasy VII: Advent Children exactly 11 abstract beings and fictional characters appear
The Taming of the Shrew Final Fantasy VII: Advent Children
action equal
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 11
[[{'concept': 'abstract being'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?o ) WHERE { { ?n property:present_in_work ?h . ?h rdf:type ontology:work_of_art . ?n rdf:type ontology:abstract_being } UNION { ?n property:present_in_work ?h . ?n rdf:type ontology:fictional_character . ?h rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?o = 11 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16028910
P27
Q15617994
USER
Which administrative territory is Keisuke Sasaki an inhabitant of ?
(Q16028910,P27,c(Q15617994))
action filter_type
action find
entity Q16028910
relation P27
type Q15617994
['Q16028910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16028910 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Keisuke Sasaki
action filter_type
action find
entity Keisuke Sasaki
relation country of citizenship
type designation for an administrative territorial entity
['Keisuke Sasaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Keisuke_Sasaki property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q16028910,P27,c(Q15617994))
action filter_type
action find
entity Q16028910
relation P27
type Q15617994
The [ANSWER] is Keisuke Sasaki an inhabitant of
['Q16028910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16028910 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Japan
The Japan is Keisuke Sasaki an inhabitant of
Japan
action filter_type
action find
entity Keisuke Sasaki
relation country of citizenship
type designation for an administrative territorial entity
['Keisuke Sasaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Keisuke_Sasaki property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7347666
Q15617994
USER
And how about Robert Middlemass?
(Q7347666,P27,c(Q15617994))
action filter_type
action find
entity Q7347666
relation P27
type Q15617994
['Q7347666', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q7347666 property:P27 ?m }
Robert Middlemass
action filter_type
action find
entity Robert Middlemass
relation country of citizenship
type designation for an administrative territorial entity
['Robert Middlemass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Robert_Middlemass property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7347666,P27,c(Q15617994))
action filter_type
action find
entity Q7347666
relation P27
type Q15617994
[ANSWER]
['Q7347666', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q7347666 property:P27 ?m }
United States of America
United States of America
action filter_type
action find
entity Robert Middlemass
relation country of citizenship
type designation for an administrative territorial entity
['Robert Middlemass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Robert_Middlemass property:country_of_citizenship ?m }
[]