Simple Question (Direct)
Simple Question
Q12125812
P86
Q502895
USER
Who was The Long Haul composed by ?
(Q12125812,P86,c(Q502895))
action filter_type
action find
entity Q12125812
relation P86
type Q502895
['Q12125812', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q12125812 property:P86 ?s . ?s rdf:type ontology:Q502895 }
The Long Haul
action filter_type
action find
entity The Long Haul
relation composer
type common name
['The Long Haul', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Long_Haul property:composer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q555646
SYSTEM
Trevor Duncan
Q555646
(Q12125812,P86,c(Q502895))
action filter_type
action find
entity Q12125812
relation P86
type Q502895
By The Long Haul was composed by [ANSWER]
['Q12125812', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q12125812 property:P86 ?s . ?s rdf:type ontology:Q502895 }
Trevor Duncan
By The Long Haul was composed by Trevor Duncan
Trevor Duncan
action filter_type
action find
entity The Long Haul
relation composer
type common name
['The Long Haul', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Long_Haul property:composer ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12125812
P161
Q502895
USER
Which people were casted in that work of art ?
(Q555646,P161,c(Q502895))
action filter_type
action find
entity Q12125812
relation P161
type Q502895
['Q555646', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q12125812 property:P161 ?j . ?j rdf:type ontology:Q502895 }
The Long Haul
action filter_type
action find
entity The Long Haul
relation cast member
type common name
['Trevor Duncan', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Long_Haul property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
Q358317 Q133925 Q239849
SYSTEM
Victor Mature, Patrick Allen, Diana Dors
Q358317 Q133925 Q239849
(Q555646,P161,c(Q502895))
action filter_type
action find
entity Q12125812
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q555646', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q12125812 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Victor Mature Patrick Allen Diana Dors
Victor Mature, Patrick Allen and Diana Dors were casted in that work of art
Victor Mature Patrick Allen Diana Dors
action filter_type
action find
entity The Long Haul
relation cast member
type common name
['Trevor Duncan', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Long_Haul property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q8057331 Q12125812
P840
Q1496967
USER
Which territories are the narrative locations of The Long Haul and You Know What Sailors Are ?
AND((Q12125812,P840,c(Q1496967)), (Q8057331,P840,c(Q1496967)))
action filter_type
action intersection
action find
entity Q12125812
relation P840
action find
entity Q8057331
relation P840
type Q1496967
{'AND': [['Q12125812', 'P840', {'concept': 'Q1496967'}], ['Q8057331', 'P840', {'concept': 'Q1496967'}]]}
SELECT DISTINCT ?q WHERE { resource:Q12125812 property:P840 ?q . resource:Q8057331 property:P840 ?q . ?q rdf:type ontology:Q1496967 }
You Know What Sailors Are The Long Haul
action filter_type
action intersection
action find
entity The Long Haul
relation narrative location
action find
entity You Know What Sailors Are
relation narrative location
type territorial entity
{'AND': [['The Long Haul', 'narrative location', {'concept': 'territorial entity'}], ['You Know What Sailors Are', 'narrative location', {'concept': 'territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:The_Long_Haul property:narrative_location ?q . resource:You_Know_What_Sailors_Are property:narrative_location ?q . ?q rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
AND((Q12125812,P840,c(Q1496967)), (Q8057331,P840,c(Q1496967)))
action filter_type
action intersection
action find
entity Q12125812
relation P840
action find
entity Q8057331
relation P840
type Q1496967
[ANSWER] is the narrative locations of The Long Haul and You Know What Sailors Are
{'AND': [['Q12125812', 'P840', {'concept': 'Q1496967'}], ['Q8057331', 'P840', {'concept': 'Q1496967'}]]}
SELECT DISTINCT ?q WHERE { resource:Q12125812 property:P840 ?q . resource:Q8057331 property:P840 ?q . ?q rdf:type ontology:Q1496967 }
England
England is the narrative locations of The Long Haul and You Know What Sailors Are
England
action filter_type
action intersection
action find
entity The Long Haul
relation narrative location
action find
entity You Know What Sailors Are
relation narrative location
type territorial entity
{'AND': [['The Long Haul', 'narrative location', {'concept': 'territorial entity'}], ['You Know What Sailors Are', 'narrative location', {'concept': 'territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:The_Long_Haul property:narrative_location ?q . resource:You_Know_What_Sailors_Are property:narrative_location ?q . ?q rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21 Q145 Q510982
P17
Q15617994
USER
Is that territory present in United Kingdom and Fellen ?
(Q21,P17,Q145) (Q21,P17,Q510982)
action is_in
entity Q21
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q510982
relation P17
['Q21', 'P17', 'Q145'] ['Q21', 'P17', 'Q510982']
ASK WHERE { resource:Q21 property:P17 resource:Q510982 . resource:Q21 property:P17 resource:Q145 }
England United Kingdom Fellen
action is_in
entity England
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Fellen
relation country
['England', 'country', 'United Kingdom'] ['England', 'country', 'Fellen']
ASK WHERE { resource:England property:country resource:Fellen . resource:England property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21,P17,Q145) (Q21,P17,Q510982)
action is_in
entity Q21
action intersection
action find_reverse
entity Q145
relation P17
action find_reverse
entity Q510982
relation P17
[ANSWER]
['Q21', 'P17', 'Q145'] ['Q21', 'P17', 'Q510982']
ASK WHERE { resource:Q21 property:P17 resource:Q510982 . resource:Q21 property:P17 resource:Q145 }
YES and NO respectively
action is_in
entity England
action intersection
action find_reverse
entity United Kingdom
relation country
action find_reverse
entity Fellen
relation country
['England', 'country', 'United Kingdom'] ['England', 'country', 'Fellen']
ASK WHERE { resource:England property:country resource:Fellen . resource:England property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q133925 Q16895289 Q13194168
P20
Q56061
USER
Did Patrick Allen die in Mohammadabad, Sakhvid and Virbališkiai ?
(Q133925,P20,Q16895289) (Q133925,P20,Q13194168)
action is_in
entity Q133925
action intersection
action find_reverse
entity Q16895289
relation P20
action find_reverse
entity Q13194168
relation P20
['Q133925', 'P20', 'Q16895289'] ['Q133925', 'P20', 'Q13194168']
ASK WHERE { resource:Q133925 property:P20 resource:Q13194168 . resource:Q133925 property:P20 resource:Q16895289 }
Patrick Allen Mohammadabad, Sakhvid Virbališkiai
action is_in
entity Patrick Allen
action intersection
action find_reverse
entity Mohammadabad, Sakhvid
relation place of death
action find_reverse
entity Virbališkiai
relation place of death
['Patrick Allen', 'place of death', 'Mohammadabad, Sakhvid'] ['Patrick Allen', 'place of death', 'Virbališkiai']
ASK WHERE { resource:Patrick_Allen property:place_of_death resource:Virbališkiai . resource:Patrick_Allen property:place_of_death resource:Mohammadabad,_Sakhvid }
[]
administrative territorial entity
SYSTEM
NO
(Q133925,P20,Q16895289) (Q133925,P20,Q13194168)
action is_in
entity Q133925
action intersection
action find_reverse
entity Q16895289
relation P20
action find_reverse
entity Q13194168
relation P20
[ANSWER]
['Q133925', 'P20', 'Q16895289'] ['Q133925', 'P20', 'Q13194168']
ASK WHERE { resource:Q133925 property:P20 resource:Q13194168 . resource:Q133925 property:P20 resource:Q16895289 }
No
action is_in
entity Patrick Allen
action intersection
action find_reverse
entity Mohammadabad, Sakhvid
relation place of death
action find_reverse
entity Virbališkiai
relation place of death
['Patrick Allen', 'place of death', 'Mohammadabad, Sakhvid'] ['Patrick Allen', 'place of death', 'Virbališkiai']
ASK WHERE { resource:Patrick_Allen property:place_of_death resource:Virbališkiai . resource:Patrick_Allen property:place_of_death resource:Mohammadabad,_Sakhvid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q133925
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q133925
relation P26
type Q502895
SELECT DISTINCT ?m WHERE { resource:Q133925 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Patrick Allen
action filter_type
action find
entity Patrick Allen
relation spouse
type common name
SELECT DISTINCT ?m WHERE { resource:Patrick_Allen property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q11892477
SYSTEM
Sarah Lawson
Q11892477
action filter_type
action find
entity Q133925
relation P26
type Q502895
The spouse of that one is the [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q133925 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Sarah Lawson
The spouse of that one is the Sarah Lawson
Sarah Lawson
action filter_type
action find
entity Patrick Allen
relation spouse
type common name
SELECT DISTINCT ?m WHERE { resource:Patrick_Allen property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q318975
P725
Q502895 Q838948
USER
Which works of art did greater number of people do the dubbing for than Atlantis: The Lost Empire ?
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q318975
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?l ) WHERE { ?n property:P725 ?x . ?n rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q318975 property:P725 ?t . ?t rdf:type ontology:Q838948 } } . FILTER ( ?l > ?v ) }
Atlantis: The Lost Empire
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Atlantis: The Lost Empire
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?l ) WHERE { ?n property:voice_actor ?x . ?n rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Atlantis:_The_Lost_Empire property:voice_actor ?t . ?t rdf:type ontology:work_of_art } } . FILTER ( ?l > ?v ) }
[]
common name work of art
Q127367 Q17485699 Q16857406
SYSTEM
The Lord of the Rings: The Fellowship of the Ring, Alice Through the Looking Glass, The Jungle Book
Q13393950 Q127367 Q16207076 Q23838455 Q568928 Q3139297 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q3282491 Q477365 Q16782 Q4158396 Q4503243 Q16857406 Q622742 Q1058469 Q204416 Q23034444 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q318975
relation P725
type Q838948
[ANSWERS] greater number of people did the dubbing for than Atlantis: The Lost Empire
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?l ) WHERE { ?n property:P725 ?x . ?n rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q318975 property:P725 ?t . ?t rdf:type ontology:Q838948 } } . FILTER ( ?l > ?v ) }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Garfield: The Movie Hold the Lion, Please Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Radio Day The Tsar's Bride The Jungle Book Where the Wild Things Are Ghost in the Shell 2: Innocence Felidae Ghost in the Shell 2.0 Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
The Lord of the Rings: The Fellowship of the Ring, Alice Through the Looking Glass and The Jungle Book greater number of people did the dubbing for than Atlantis: The Lost Empire
The Lord of the Rings: The Fellowship of the Ring Alice Through the Looking Glass The Jungle Book
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Atlantis: The Lost Empire
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?l ) WHERE { ?n property:voice_actor ?x . ?n rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Atlantis:_The_Lost_Empire property:voice_actor ?t . ?t rdf:type ontology:work_of_art } } . FILTER ( ?l > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q567884
P725
Q502895 Q838948
USER
And how about Another?
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q567884
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ontology:Q838948 . resource:Q567884 property:P725 ?y } } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?l ) WHERE { ?k property:P725 ?d . ?k rdf:type ontology:Q838948 . ?d rdf:type ontology:Q502895 } GROUP BY ?k } }
Another
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Another
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ontology:work_of_art . resource:Another property:voice_actor ?y } } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?l ) WHERE { ?k property:voice_actor ?d . ?k rdf:type ontology:work_of_art . ?d rdf:type ontology:common_name } GROUP BY ?k } }
[]
common name work of art
Q18407657 Q18786473 Q127367
SYSTEM
Captain America: Civil War, Pete's Dragon, The Lord of the Rings: The Fellowship of the Ring
Q13393950 Q127367 Q16207076 Q23838455 Q21428001 Q568928 Q3139297 Q212792 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q777739 Q3282491 Q477365 Q16782 Q18407657 Q4158396 Q4503243 Q1185099 Q4646903 Q18786473 Q16857406 Q4305149 Q25167044 Q622742 Q1058469 Q19776435 Q204416 Q207659 Q1519753 Q729809 Q23034444 Q318975 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q567884
relation P725
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ontology:Q838948 . resource:Q567884 property:P725 ?y } } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?l ) WHERE { ?k property:P725 ?d . ?k rdf:type ontology:Q838948 . ?d rdf:type ontology:Q502895 } GROUP BY ?k } }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Riley's First Date? Garfield: The Movie Hold the Lion, Please Bolt Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Ivan Vasilievich: Back to the Future Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Captain America: Civil War Radio Day The Tsar's Bride Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon The Jungle Book Mozart and Salieri Wreck-It Ralph 2 Where the Wild Things Are Ghost in the Shell 2: Innocence Szenario Felidae Space Jam Mimino Bodacious Space Pirates Ghost in the Shell 2.0 Atlantis: The Lost Empire Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
Captain America: Civil War Pete's Dragon The Lord of the Rings: The Fellowship of the Ring
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Another
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ontology:work_of_art . resource:Another property:voice_actor ?y } } . FILTER ( ?l > ?t ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?l ) WHERE { ?k property:voice_actor ?d . ?k rdf:type ontology:work_of_art . ?d rdf:type ontology:common_name } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18407657
P1040
Q502895
USER
What are the names of the people who editted Captain America: Civil War ?
(Q18407657,P1040,c(Q502895))
action filter_type
action find
entity Q18407657
relation P1040
type Q502895
['Q18407657', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18407657 property:P1040 ?e . ?e rdf:type ontology:Q502895 }
Captain America: Civil War
action filter_type
action find
entity Captain America: Civil War
relation film editor
type common name
['Captain America: Civil War', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Captain_America:_Civil_War property:film_editor ?e . ?e rdf:type ontology:common_name }
[]
common name
Q24206656 Q11309299
SYSTEM
Matthew Schmidt, Jeffrey Ford
Q24206656 Q11309299
(Q18407657,P1040,c(Q502895))
action filter_type
action find
entity Q18407657
relation P1040
type Q502895
[ANSWERS] : the names of the people editted Captain America are Civil
['Q18407657', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18407657 property:P1040 ?e . ?e rdf:type ontology:Q502895 }
Matthew Schmidt Jeffrey Ford
Matthew Schmidt and Jeffrey Ford : the names of the people editted Captain America are Civil
Matthew Schmidt Jeffrey Ford
action filter_type
action find
entity Captain America: Civil War
relation film editor
type common name
['Captain America: Civil War', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Captain_America:_Civil_War property:film_editor ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3860345
Q502895
USER
And how about Momma Don't Allow?
(Q3860345,P1040,c(Q502895))
action filter_type
action find
entity Q3860345
relation P1040
type Q502895
['Q3860345', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3860345 property:P1040 ?e . ?e rdf:type ontology:Q502895 }
Momma Don't Allow
action filter_type
action find
entity Momma Don't Allow
relation film editor
type common name
["Momma Don't Allow", 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Momma_Don't_Allow property:film_editor ?e . ?e rdf:type ontology:common_name }
[]
common name
Q312444
SYSTEM
John Fletcher
Q312444
(Q3860345,P1040,c(Q502895))
action filter_type
action find
entity Q3860345
relation P1040
type Q502895
N't ' [ANSWER] And Momma about Allow Do
['Q3860345', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3860345 property:P1040 ?e . ?e rdf:type ontology:Q502895 }
John Fletcher
N't ' John Fletcher And Momma about Allow Do
John Fletcher
action filter_type
action find
entity Momma Don't Allow
relation film editor
type common name
["Momma Don't Allow", 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Momma_Don't_Allow property:film_editor ?e . ?e rdf:type ontology:common_name }
[]