Simple Question (Direct)
Simple Question
Q1571091
P102
Q7210356
USER
Which political organization is Ludwig Ruckdeschel a member of ?
(Q1571091,P102,c(Q7210356))
action filter_type
action find
entity Q1571091
relation P102
type Q7210356
['Q1571091', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q1571091 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Ludwig Ruckdeschel
action filter_type
action find
entity Ludwig Ruckdeschel
relation member of political party
type political organization
['Ludwig Ruckdeschel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Ludwig_Ruckdeschel property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q1571091,P102,c(Q7210356))
action filter_type
action find
entity Q1571091
relation P102
type Q7210356
The [ANSWER] is Ludwig Ruckdeschel a member of
['Q1571091', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q1571091 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Nazi Party
The Nazi Party is Ludwig Ruckdeschel a member of
Nazi Party
action filter_type
action find
entity Ludwig Ruckdeschel
relation member of political party
type political organization
['Ludwig Ruckdeschel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Ludwig_Ruckdeschel property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7320
P488
Q502895
USER
Who was the chair of that political organization ?
(Q7320,P488,c(Q502895))
action filter_type
action find
entity Q7320
relation P488
type Q502895
['Q7320', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q7320 property:P488 ?h . ?h rdf:type ontology:Q502895 }
Nazi Party
action filter_type
action find
entity Nazi Party
relation chairperson
type common name
['Nazi Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Nazi_Party property:chairperson ?h . ?h rdf:type ontology:common_name }
[]
common name
Q76989
SYSTEM
Anton Drexler
Q76989
(Q7320,P488,c(Q502895))
action filter_type
action find
entity Q7320
relation P488
type Q502895
The chair of that political organization was the [ANSWER]
['Q7320', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q7320 property:P488 ?h . ?h rdf:type ontology:Q502895 }
Anton Drexler
The chair of that political organization was the Anton Drexler
Anton Drexler
action filter_type
action find
entity Nazi Party
relation chairperson
type common name
['Nazi Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Nazi_Party property:chairperson ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can exactly 5 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?q ) WHERE { ?v rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?v } GROUP BY ?v } }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?q ) WHERE { ?v rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?v } GROUP BY ?v } }
[]
musical instrument common name
SYSTEM
2
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?q ) WHERE { ?v rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?v } GROUP BY ?v } }
harmonium tabla
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ?v ( COUNT ( ?d ) AS ?q ) WHERE { ?v rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?v } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q752301
P725
Q502895 Q11424
USER
Which films had greater number of people as the dubbing artist than Flushed Away ?
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q752301
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q752301 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?t ) WHERE { ?m property:P725 ?x . ?x rdf:type ontology:Q502895 . ?m rdf:type ontology:Q11424 } GROUP BY ?m } }
Flushed Away
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Flushed Away
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Flushed_Away property:voice_actor ?k . ?k rdf:type ontology:film } } . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?t ) WHERE { ?m property:voice_actor ?x . ?x rdf:type ontology:common_name . ?m rdf:type ontology:film } GROUP BY ?m } }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q270470 Q334132 Q215617 Q179673 Q216929 Q165512 Q578595 Q933887 Q329316 Q213787 Q980041 Q19090 Q184701 Q2059996 Q190135 Q465275 Q218894 Q15270775 Q202371 Q40302 Q189875 Q43051 Q917278 Q498434 Q199839 Q36479 Q39722 Q40895 Q271189
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q752301
relation P725
type Q11424
[ANSWERS] had greater number of people as the dubbing artist than Flushed Away
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q752301 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?t ) WHERE { ?m property:P725 ?x . ?x rdf:type ontology:Q502895 . ?m rdf:type ontology:Q11424 } GROUP BY ?m } }
Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Quest for Camelot Peter Pan The Great Mouse Detective Sleeping Beauty Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame The Adventures of Tintin Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Hercules
The Little Mermaid, Robin Hood and Hercules had greater number of people as the dubbing artist than Flushed Away
The Little Mermaid Robin Hood Hercules
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Flushed Away
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Flushed_Away property:voice_actor ?k . ?k rdf:type ontology:film } } . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?t ) WHERE { ?m property:voice_actor ?x . ?x rdf:type ontology:common_name . ?m rdf:type ontology:film } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q842306
P725
Q502895 Q11424
USER
And how about Saludos Amigos?
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q842306
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:P725 ?k . ?y rdf:type ontology:Q11424 . ?k rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q842306 property:P725 ?q . ?q rdf:type ontology:Q11424 } } . FILTER ( ?f > ?b ) }
Saludos Amigos
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Saludos Amigos
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:voice_actor ?k . ?y rdf:type ontology:film . ?k rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Saludos_Amigos property:voice_actor ?q . ?q rdf:type ontology:film } } . FILTER ( ?f > ?b ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q713543 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q1032225 Q264873 Q249967 Q19090 Q4189838 Q184701 Q2059996 Q190135 Q736731 Q318428 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q19703751 Q189875 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q543486 Q271189 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q842306
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:P725 ?k . ?y rdf:type ontology:Q11424 . ?k rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q842306 property:P725 ?q . ?q rdf:type ontology:Q11424 } } . FILTER ( ?f > ?b ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Cat City Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Beauty and the Beast Oliver & Company Fun and Fancy Free The Tigger Movie The Princess and the Goblin One Hundred and One Dalmatians Paprika Tintin and the Temple of the Sun The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Hotel Transylvania Robin Hood Starchaser: The Legend of Orin The Aristocats My Little Pony: The Movie The Little Mermaid The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Millionaire Dogs Alice in Wonderland The Girl Who Leapt Through Time Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Hercules Renart the Fox FernGully: The Last Rainforest
The Little Mermaid Robin Hood Hercules
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Saludos Amigos
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:voice_actor ?k . ?y rdf:type ontology:film . ?k rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Saludos_Amigos property:voice_actor ?q . ?q rdf:type ontology:film } } . FILTER ( ?f > ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1441
Q11424 Q3895768
USER
Which fictional locations appear in max number of films ?
(c(Q3895768),P1441,c(Q11424))
action argmax
action find_tuple_counts
relation P1441
type Q3895768
type Q11424
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { ?r property:P1441 ?n . ?r rdf:type ontology:Q3895768 . ?n rdf:type ontology:Q11424 } GROUP BY ?r } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?v ) WHERE { ?i property:P1441 ?w . ?i rdf:type ontology:Q3895768 . ?w rdf:type ontology:Q11424 } GROUP BY ?i } . FILTER ( ?v = ?s ) }
action argmax
action find_tuple_counts
relation present in work
type fictional location
type film
[{'concept': 'fictional location'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { ?r property:present_in_work ?n . ?r rdf:type ontology:fictional_location . ?n rdf:type ontology:film } GROUP BY ?r } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?v ) WHERE { ?i property:present_in_work ?w . ?i rdf:type ontology:fictional_location . ?w rdf:type ontology:film } GROUP BY ?i } . FILTER ( ?v = ?s ) }
[]
film fictional location
Q21116831
SYSTEM
Neverland
Q21116831
(c(Q3895768),P1441,c(Q11424))
action argmax
action find_tuple_counts
relation P1441
type Q3895768
type Q11424
The [ANSWER] appear in max number of films
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { ?r property:P1441 ?n . ?r rdf:type ontology:Q3895768 . ?n rdf:type ontology:Q11424 } GROUP BY ?r } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?v ) WHERE { ?i property:P1441 ?w . ?i rdf:type ontology:Q3895768 . ?w rdf:type ontology:Q11424 } GROUP BY ?i } . FILTER ( ?v = ?s ) }
Neverland
The Neverland appear in max number of films
Neverland
action argmax
action find_tuple_counts
relation present in work
type fictional location
type film
[{'concept': 'fictional location'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?s ) { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { ?r property:present_in_work ?n . ?r rdf:type ontology:fictional_location . ?n rdf:type ontology:film } GROUP BY ?r } } . { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?v ) WHERE { ?i property:present_in_work ?w . ?i rdf:type ontology:fictional_location . ?w rdf:type ontology:film } GROUP BY ?i } . FILTER ( ?v = ?s ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21116831 Q7148575
P1441
Q838948
USER
Does Pattikada Pattanama feature that fictional location ?
(Q21116831,P1441,Q7148575)
action is_in
entity Q7148575
action find
entity Q21116831
relation P1441
['Q21116831', 'P1441', 'Q7148575']
ASK WHERE { resource:Q21116831 property:P1441 resource:Q7148575 }
Neverland Pattikada Pattanama
action is_in
entity Pattikada Pattanama
action find
entity Neverland
relation present in work
['Neverland', 'present in work', 'Pattikada Pattanama']
ASK WHERE { resource:Neverland property:present_in_work resource:Pattikada_Pattanama }
[]
work of art
SYSTEM
NO
(Q21116831,P1441,Q7148575)
action is_in
entity Q7148575
action find
entity Q21116831
relation P1441
[ANSWER]
['Q21116831', 'P1441', 'Q7148575']
ASK WHERE { resource:Q21116831 property:P1441 resource:Q7148575 }
No
action is_in
entity Pattikada Pattanama
action find
entity Neverland
relation present in work
['Neverland', 'present in work', 'Pattikada Pattanama']
ASK WHERE { resource:Neverland property:present_in_work resource:Pattikada_Pattanama }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21116831
P27
Q6619679
USER
Which fictional humanoids are a native of Neverland ?
(c(Q6619679),P27,Q21116831)
action filter_type
action find_reverse
entity Q21116831
relation P27
type Q6619679
[{'concept': 'Q6619679'}, 'P27', 'Q21116831']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q6619679 . ?u property:P27 resource:Q21116831 }
Neverland
action filter_type
action find_reverse
entity Neverland
relation country of citizenship
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'country of citizenship', 'Neverland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:fictional_humanoid . ?u property:country_of_citizenship resource:Neverland }
[]
fictional humanoid
Q14907269 Q107190
SYSTEM
Tiger Lily, Peter Pan
Q14907269 Q107190
(c(Q6619679),P27,Q21116831)
action filter_type
action find_reverse
entity Q21116831
relation P27
type Q6619679
Are [ANSWERS] are a native of Neverland
[{'concept': 'Q6619679'}, 'P27', 'Q21116831']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q6619679 . ?u property:P27 resource:Q21116831 }
Tiger Lily Peter Pan
Are Tiger Lily and Peter Pan are a native of Neverland
Tiger Lily Peter Pan
action filter_type
action find_reverse
entity Neverland
relation country of citizenship
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'country of citizenship', 'Neverland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:fictional_humanoid . ?u property:country_of_citizenship resource:Neverland }
[]