Simple Question (Direct)
Simple Question
Q2344068
P361
Q386724
USER
What is Madam Mim a portion of ?
(Q2344068,P361,c(Q386724))
action filter_type
action find
entity Q2344068
relation P361
type Q386724
['Q2344068', 'P361', {'concept': 'Q386724'}]
SELECT DISTINCT ?j WHERE { resource:Q2344068 property:P361 ?j . ?j rdf:type ontology:Q386724 }
Madam Mim
action filter_type
action find
entity Madam Mim
relation part of
type work
['Madam Mim', 'part of', {'concept': 'work'}]
SELECT DISTINCT ?j WHERE { resource:Madam_Mim property:part_of ?j . ?j rdf:type ontology:work }
[]
work
Q2424228
SYSTEM
Disney Villains
Q2424228
(Q2344068,P361,c(Q386724))
action filter_type
action find
entity Q2344068
relation P361
type Q386724
Madam Mim of the [ANSWER]
['Q2344068', 'P361', {'concept': 'Q386724'}]
SELECT DISTINCT ?j WHERE { resource:Q2344068 property:P361 ?j . ?j rdf:type ontology:Q386724 }
Disney Villains
Madam Mim of the Disney Villains
Disney Villains
action filter_type
action find
entity Madam Mim
relation part of
type work
['Madam Mim', 'part of', {'concept': 'work'}]
SELECT DISTINCT ?j WHERE { resource:Madam_Mim property:part_of ?j . ?j rdf:type ontology:work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P361
Q4359224 Q95074
USER
How many characters from Disney's Aladdin and fictional characters are a part of that work ?
(c(Q4359224),P361,Q2424228) (c(Q95074),P361,Q2424228) (c(Q4359224),P361,Q2424228) (c(Q95074),P361,Q2424228)
action count
action union
action filter_type
action find_reverse
entity Q2424228
relation P361
type Q4359224
action filter_type
action find_reverse
entity Q2424228
relation P361
type Q95074
[{'concept': 'Q4359224'}, 'P361', 'Q2424228'] [{'concept': 'Q95074'}, 'P361', 'Q2424228'] [{'concept': 'Q4359224'}, 'P361', 'Q2424228'] [{'concept': 'Q95074'}, 'P361', 'Q2424228']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:Q4359224 ) ( ontology:Q95074 ) } }
action count
action union
action filter_type
action find_reverse
entity Disney Villains
relation part of
type character from Disney's Aladdin
action filter_type
action find_reverse
entity Disney Villains
relation part of
type fictional character
[{'concept': "character from Disney's Aladdin"}, 'part of', 'Disney Villains'] [{'concept': 'fictional character'}, 'part of', 'Disney Villains'] [{'concept': "character from Disney's Aladdin"}, 'part of', 'Disney Villains'] [{'concept': 'fictional character'}, 'part of', 'Disney Villains']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:character_from_Disney's_Aladdin ) ( ontology:fictional_character ) } }
[]
character from Disney's Aladdin fictional character
SYSTEM
1 characters from Disney's Aladdin and 10 fictional characters
Q1977325 Q2344068 Q27663814 Q27700877 Q252044 Q2331578 Q6175066 Q1141265 Q388605 Q27067917 Q1660555
(c(Q4359224),P361,Q2424228) (c(Q95074),P361,Q2424228) (c(Q4359224),P361,Q2424228) (c(Q95074),P361,Q2424228)
action count
action union
action filter_type
action find_reverse
entity Q2424228
relation P361
type Q4359224
action filter_type
action find_reverse
entity Q2424228
relation P361
type Q95074
[ANSWER]
[{'concept': 'Q4359224'}, 'P361', 'Q2424228'] [{'concept': 'Q95074'}, 'P361', 'Q2424228'] [{'concept': 'Q4359224'}, 'P361', 'Q2424228'] [{'concept': 'Q95074'}, 'P361', 'Q2424228']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:Q4359224 ) ( ontology:Q95074 ) } }
Scar Madam Mim Captain Hook Claude Frollo Queen Grimhilde Jafar Ursula Lady Tremaine Cruella de Vil Stromboli Maleficent
1 characters from Disney's Aladdin and 10 fictional characters
action count
action union
action filter_type
action find_reverse
entity Disney Villains
relation part of
type character from Disney's Aladdin
action filter_type
action find_reverse
entity Disney Villains
relation part of
type fictional character
[{'concept': "character from Disney's Aladdin"}, 'part of', 'Disney Villains'] [{'concept': 'fictional character'}, 'part of', 'Disney Villains'] [{'concept': "character from Disney's Aladdin"}, 'part of', 'Disney Villains'] [{'concept': 'fictional character'}, 'part of', 'Disney Villains']
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:character_from_Disney's_Aladdin ) ( ontology:fictional_character ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2344068
P1884
Q1075
USER
Which color is associated with hair of Madam Mim ?
(Q2344068,P1884,c(Q1075))
action filter_type
action find
entity Q2344068
relation P1884
type Q1075
['Q2344068', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { resource:Q2344068 property:P1884 ?y . ?y rdf:type ontology:Q1075 }
Madam Mim
action filter_type
action find
entity Madam Mim
relation hair color
type color
['Madam Mim', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { resource:Madam_Mim property:hair_color ?y . ?y rdf:type ontology:color }
[]
color
Q27790873
SYSTEM
purple
Q27790873
(Q2344068,P1884,c(Q1075))
action filter_type
action find
entity Q2344068
relation P1884
type Q1075
The [ANSWER] is associated with hair of Madam Mim
['Q2344068', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?y WHERE { resource:Q2344068 property:P1884 ?y . ?y rdf:type ontology:Q1075 }
purple
The purple is associated with hair of Madam Mim
purple
action filter_type
action find
entity Madam Mim
relation hair color
type color
['Madam Mim', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?y WHERE { resource:Madam_Mim property:hair_color ?y . ?y rdf:type ontology:color }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2344068
P941
Q234460
USER
What inspired that fictional character ?
(Q27790873,P941,c(Q234460))
action filter_type
action find
entity Q2344068
relation P941
type Q234460
['Q27790873', 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?z WHERE { resource:Q2344068 property:P941 ?z . ?z rdf:type ontology:Q234460 }
Madam Mim
action filter_type
action find
entity Madam Mim
relation inspired by
type text
['purple', 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?z WHERE { resource:Madam_Mim property:inspired_by ?z . ?z rdf:type ontology:text }
[]
text
Q3205402
SYSTEM
The Sword in the Stone
Q3205402
(Q27790873,P941,c(Q234460))
action filter_type
action find
entity Q2344068
relation P941
type Q234460
The [ANSWER] inspired that fictional character
['Q27790873', 'P941', {'concept': 'Q234460'}]
SELECT DISTINCT ?z WHERE { resource:Q2344068 property:P941 ?z . ?z rdf:type ontology:Q234460 }
The Sword in the Stone
The The Sword in the Stone inspired that fictional character
The Sword in the Stone
action filter_type
action find
entity Madam Mim
relation inspired by
type text
['purple', 'inspired by', {'concept': 'text'}]
SELECT DISTINCT ?z WHERE { resource:Madam_Mim property:inspired_by ?z . ?z rdf:type ontology:text }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2344068
P674
Q11424
USER
Which film has the character Madam Mim ?
(c(Q11424),P674,Q2344068)
action filter_type
action find_reverse
entity Q2344068
relation P674
type Q11424
[{'concept': 'Q11424'}, 'P674', 'Q2344068']
SELECT DISTINCT ?f WHERE { ?f property:P674 resource:Q2344068 . ?f rdf:type ontology:Q11424 }
Madam Mim
action filter_type
action find_reverse
entity Madam Mim
relation characters
type film
[{'concept': 'film'}, 'characters', 'Madam Mim']
SELECT DISTINCT ?f WHERE { ?f property:characters resource:Madam_Mim . ?f rdf:type ontology:film }
[]
film
Q204662
SYSTEM
The Sword in the Stone
Q204662
(c(Q11424),P674,Q2344068)
action filter_type
action find_reverse
entity Q2344068
relation P674
type Q11424
[ANSWER] has the character Madam Mim
[{'concept': 'Q11424'}, 'P674', 'Q2344068']
SELECT DISTINCT ?f WHERE { ?f property:P674 resource:Q2344068 . ?f rdf:type ontology:Q11424 }
The Sword in the Stone
The Sword in the Stone has the character Madam Mim
The Sword in the Stone
action filter_type
action find_reverse
entity Madam Mim
relation characters
type film
[{'concept': 'film'}, 'characters', 'Madam Mim']
SELECT DISTINCT ?f WHERE { ?f property:characters resource:Madam_Mim . ?f rdf:type ontology:film }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q204662
P1441
Q95074
USER
Which fictional characters are featured in that film ?
(c(Q95074),P1441,Q204662)
action filter_type
action find_reverse
entity Q204662
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q204662']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q95074 . ?r property:P1441 resource:Q204662 }
The Sword in the Stone
action filter_type
action find_reverse
entity The Sword in the Stone
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'The Sword in the Stone']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:fictional_character . ?r property:present_in_work resource:The_Sword_in_the_Stone }
[]
fictional character
Q27180048 Q27179995 Q2344068
SYSTEM
Arthur, Merlin, Madam Mim
Q27179995 Q27180048 Q27180436 Q27180900 Q2344068 Q24573084 Q27180766 Q27180522 Q27180711 Q27791558
(c(Q95074),P1441,Q204662)
action filter_type
action find_reverse
entity Q204662
relation P1441
type Q95074
[ANSWERS] are featured in that film
[{'concept': 'Q95074'}, 'P1441', 'Q204662']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q95074 . ?r property:P1441 resource:Q204662 }
Merlin Arthur Sir Ector Girl Squirrel Madam Mim Archimedes The Wolf Sir Kay Sir Bart Scullery Maid
Arthur, Merlin and Madam Mim are featured in that film
Arthur Merlin Madam Mim
action filter_type
action find_reverse
entity The Sword in the Stone
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'The Sword in the Stone']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:fictional_character . ?r property:present_in_work resource:The_Sword_in_the_Stone }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q204662
P674
Q11424
USER
Do The Sword in the Stone have the character those fictional characters ?
(Q204662,P674,Q27180048) (Q204662,P674,Q27179995) (Q204662,P674,Q2344068)
action is_in
entity prev_answer
action find
entity Q204662
relation P674
['Q204662', 'P674', 'Q27180048'] ['Q204662', 'P674', 'Q27179995'] ['Q204662', 'P674', 'Q2344068']
ASK WHERE { resource:Q204662 property:P674 ?w . VALUES ( ?w ) { ( resource:Q27179995 ) ( resource:Q27180048 ) ( resource:Q27180436 ) } }
The Sword in the Stone
action is_in
entity prev_answer
action find
entity The Sword in the Stone
relation characters
['The Sword in the Stone', 'characters', 'Arthur'] ['The Sword in the Stone', 'characters', 'Merlin'] ['The Sword in the Stone', 'characters', 'Madam Mim']
ASK WHERE { resource:The_Sword_in_the_Stone property:characters ?w . VALUES ( ?w ) { ( resource:Merlin ) ( resource:Arthur ) ( resource:Sir_Ector ) } }
[]
film
SYSTEM
YES
(Q204662,P674,Q27180048) (Q204662,P674,Q27179995) (Q204662,P674,Q2344068)
action is_in
entity prev_answer
action find
entity Q204662
relation P674
[ANSWER]
['Q204662', 'P674', 'Q27180048'] ['Q204662', 'P674', 'Q27179995'] ['Q204662', 'P674', 'Q2344068']
ASK WHERE { resource:Q204662 property:P674 ?w . VALUES ( ?w ) { ( resource:Q27179995 ) ( resource:Q27180048 ) ( resource:Q27180436 ) } }
Yes
action is_in
entity prev_answer
action find
entity The Sword in the Stone
relation characters
['The Sword in the Stone', 'characters', 'Arthur'] ['The Sword in the Stone', 'characters', 'Merlin'] ['The Sword in the Stone', 'characters', 'Madam Mim']
ASK WHERE { resource:The_Sword_in_the_Stone property:characters ?w . VALUES ( ?w ) { ( resource:Merlin ) ( resource:Arthur ) ( resource:Sir_Ector ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q204662
P58
Q502895
USER
Who served as the screenwriter for The Sword in the Stone ?
(Q204662,P58,c(Q502895))
action filter_type
action find
entity Q204662
relation P58
type Q502895
['Q204662', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q204662 property:P58 ?e . ?e rdf:type ontology:Q502895 }
The Sword in the Stone
action filter_type
action find
entity The Sword in the Stone
relation screenwriter
type common name
['The Sword in the Stone', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Sword_in_the_Stone property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
common name
Q321790 Q453410
SYSTEM
Bill Peet, T. H. White
Q321790 Q453410
(Q204662,P58,c(Q502895))
action filter_type
action find
entity Q204662
relation P58
type Q502895
The [ANSWERS] served as the screenwriter for The Sword in the Stone
['Q204662', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q204662 property:P58 ?e . ?e rdf:type ontology:Q502895 }
Bill Peet T. H. White
The Bill Peet and T. H. White served as the screenwriter for The Sword in the Stone
Bill Peet T. H. White
action filter_type
action find
entity The Sword in the Stone
relation screenwriter
type common name
['The Sword in the Stone', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Sword_in_the_Stone property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q321790 Q453410
P58
Q838948
USER
Which works of art are those people a screwriter of ?
(c(Q838948),P58,Q321790) (c(Q838948),P58,Q453410)
action filter_type
action find_reverse
entity prev_answer
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q321790'] [{'concept': 'Q838948'}, 'P58', 'Q453410']
SELECT DISTINCT ?o WHERE { ?o property:P58 ?n . ?o rdf:type ontology:Q838948 . VALUES ( ?n ) { ( resource:Q321790 ) ( resource:Q453410 ) } }
Bill Peet T. H. White
action filter_type
action find_reverse
entity prev_answer
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Bill Peet'] [{'concept': 'work of art'}, 'screenwriter', 'T. H. White']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter ?n . ?o rdf:type ontology:work_of_art . VALUES ( ?n ) { ( resource:Bill_Peet ) ( resource:T._H._White ) } }
[]
work of art
Q930372 Q1345920 Q1536503
SYSTEM
Camelot, Song of the South, Goliath II
Q2414748 Q1345920 Q1801403 Q3505669 Q1536503 Q930372
(c(Q838948),P58,Q321790) (c(Q838948),P58,Q453410)
action filter_type
action find_reverse
entity prev_answer
relation P58
type Q838948
[ANSWERS] are those people a screwriter of
[{'concept': 'Q838948'}, 'P58', 'Q321790'] [{'concept': 'Q838948'}, 'P58', 'Q453410']
SELECT DISTINCT ?o WHERE { ?o property:P58 ?n . ?o rdf:type ontology:Q838948 . VALUES ( ?n ) { ( resource:Q321790 ) ( resource:Q453410 ) } }
The Truth About Mother Goose Song of the South Lambert the Sheepish Lion Susie the Little Blue Coupe Goliath II Camelot
Camelot, Song of the South and Goliath II are those people a screwriter of
Camelot Song of the South Goliath II
action filter_type
action find_reverse
entity prev_answer
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Bill Peet'] [{'concept': 'work of art'}, 'screenwriter', 'T. H. White']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter ?n . ?o rdf:type ontology:work_of_art . VALUES ( ?n ) { ( resource:Bill_Peet ) ( resource:T._H._White ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q930372 Q1345920 Q1536503
P86
Q502895
USER
Who composed those works of art ?
(Q930372,P86,c(Q502895)) (Q1345920,P86,c(Q502895)) (Q1536503,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
['Q930372', 'P86', {'concept': 'Q502895'}] ['Q1345920', 'P86', {'concept': 'Q502895'}] ['Q1536503', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?d property:P86 ?n . VALUES ( ?d ) { ( resource:Q2414748 ) ( resource:Q1345920 ) ( resource:Q1801403 ) } }
Camelot Song of the South Goliath II
action filter_type
action find
entity prev_answer
relation composer
type common name
['Camelot', 'composer', {'concept': 'common name'}] ['Song of the South', 'composer', {'concept': 'common name'}] ['Goliath II', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?d property:composer ?n . VALUES ( ?d ) { ( resource:The_Truth_About_Mother_Goose ) ( resource:Song_of_the_South ) ( resource:Lambert_the_Sheepish_Lion ) } }
[]
common name
Q977176 Q551678 Q155474
SYSTEM
George Bruns, Frederick Loewe, Daniele Amfitheatrof
Q551678 Q509710 Q155474 Q977176
(Q930372,P86,c(Q502895)) (Q1345920,P86,c(Q502895)) (Q1536503,P86,c(Q502895))
action filter_type
action find
entity prev_answer
relation P86
type Q502895
[ANSWERS] composed those works of art
['Q930372', 'P86', {'concept': 'Q502895'}] ['Q1345920', 'P86', {'concept': 'Q502895'}] ['Q1536503', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?d property:P86 ?n . VALUES ( ?d ) { ( resource:Q2414748 ) ( resource:Q1345920 ) ( resource:Q1801403 ) } }
Frederick Loewe Charles Wolcott Daniele Amfitheatrof George Bruns
George Bruns, Frederick Loewe and Daniele Amfitheatrof composed those works of art
George Bruns Frederick Loewe Daniele Amfitheatrof
action filter_type
action find
entity prev_answer
relation composer
type common name
['Camelot', 'composer', {'concept': 'common name'}] ['Song of the South', 'composer', {'concept': 'common name'}] ['Goliath II', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?d property:composer ?n . VALUES ( ?d ) { ( resource:The_Truth_About_Mother_Goose ) ( resource:Song_of_the_South ) ( resource:Lambert_the_Sheepish_Lion ) } }
[]