Simple Question (Direct)
Simple Question
Q1558013
P551
Q20667921
USER
Where did Pierre Barthès live ?
(Q1558013,P551,c(Q20667921))
action filter_type
action find
entity Q1558013
relation P551
type Q20667921
['Q1558013', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q1558013 property:P551 ?i . ?i rdf:type ontology:Q20667921 }
Pierre Barthès
action filter_type
action find
entity Pierre Barthès
relation residence
type type of french administrative division
['Pierre Barthès', 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Pierre_Barthès property:residence ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q638656
SYSTEM
Vaucresson
Q638656
(Q1558013,P551,c(Q20667921))
action filter_type
action find
entity Q1558013
relation P551
type Q20667921
Pierre Barthès lived in [ANSWER]
['Q1558013', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q1558013 property:P551 ?i . ?i rdf:type ontology:Q20667921 }
Vaucresson
Pierre Barthès lived in Vaucresson
Vaucresson
action filter_type
action find
entity Pierre Barthès
relation residence
type type of french administrative division
['Pierre Barthès', 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Pierre_Barthès property:residence ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q638656
P20
Q502895
USER
Which people have that french administrative division as the location of death ?
(c(Q502895),P20,Q638656)
action filter_type
action find_reverse
entity Q638656
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q638656']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q638656 . ?c rdf:type ontology:Q502895 }
Vaucresson
action filter_type
action find_reverse
entity Vaucresson
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Vaucresson']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Vaucresson . ?c rdf:type ontology:common_name }
[]
common name
Q2509753 Q66112 Q3385091
SYSTEM
Paul Vialar, Siegfried Bing, Pierre Frondaie
Q394383 Q15972069 Q66112 Q2509753 Q1378784 Q3265407 Q16222632 Q2831208 Q2861369 Q3385091 Q3314451 Q15407145
(c(Q502895),P20,Q638656)
action filter_type
action find_reverse
entity Q638656
relation P20
type Q502895
[ANSWERS] have that french administrative division as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q638656']
SELECT DISTINCT ?c WHERE { ?c property:P20 resource:Q638656 . ?c rdf:type ontology:Q502895 }
Agnelle Bundervoët Pierre Louis Félix Lanquetot Siegfried Bing Paul Vialar Jack Findlay Lucien Brûlé Maurice Joron Albert Goursaud Aristide Marre Pierre Frondaie Miloud Boukerche Fernand Divoire
Paul Vialar, Siegfried Bing and Pierre Frondaie have that french administrative division as the location of death
Paul Vialar Siegfried Bing Pierre Frondaie
action filter_type
action find_reverse
entity Vaucresson
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Vaucresson']
SELECT DISTINCT ?c WHERE { ?c property:place_of_death resource:Vaucresson . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q638656
P19
Q502895
USER
Who have location of birth at Vaucresson ?
(c(Q502895),P19,Q638656)
action filter_type
action find_reverse
entity Q638656
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q638656']
SELECT DISTINCT ?x WHERE { ?x property:P19 resource:Q638656 . ?x rdf:type ontology:Q502895 }
Vaucresson
action filter_type
action find_reverse
entity Vaucresson
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Vaucresson']
SELECT DISTINCT ?x WHERE { ?x property:place_of_birth resource:Vaucresson . ?x rdf:type ontology:common_name }
[]
common name
Q54885 Q2602308 Q3160177
SYSTEM
Jean Ferrat, Yves du Manoir, Jacques Villiers
Q3169983 Q19362164 Q3160177 Q54885 Q1678119 Q3163965 Q3056979 Q2602308
(c(Q502895),P19,Q638656)
action filter_type
action find_reverse
entity Q638656
relation P19
type Q502895
[ANSWERS] have location of birth at Vaucresson
[{'concept': 'Q502895'}, 'P19', 'Q638656']
SELECT DISTINCT ?x WHERE { ?x property:P19 resource:Q638656 . ?x rdf:type ontology:Q502895 }
Jean-Roger Hubert Pierre Tenenbaum Jacques Villiers Jean Ferrat Jacques Thollot Jean-Baptiste Cléry Ernest Gimpel Yves du Manoir
Jean Ferrat, Yves du Manoir and Jacques Villiers have location of birth at Vaucresson
Jean Ferrat Yves du Manoir Jacques Villiers
action filter_type
action find_reverse
entity Vaucresson
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Vaucresson']
SELECT DISTINCT ?x WHERE { ?x property:place_of_birth resource:Vaucresson . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q54885 Q2602308 Q3160177
P106
Q12737077
USER
What are the professions of Jean Ferrat, Yves du Manoir and Jacques Villiers ?
(Q54885,P106,c(Q12737077)) (Q2602308,P106,c(Q12737077)) (Q3160177,P106,c(Q12737077))
action union
action filter_type
action find
entity Q54885
relation P106
type Q12737077
action filter_type
action find
entity Q2602308
relation P106
type Q12737077
action filter_type
action find
entity Q3160177
relation P106
type Q12737077
['Q54885', 'P106', {'concept': 'Q12737077'}] ['Q2602308', 'P106', {'concept': 'Q12737077'}] ['Q3160177', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q12737077 . resource:Q54885 property:P106 ?z } UNION { resource:Q2602308 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
Jean Ferrat Yves du Manoir Jacques Villiers
action union
action filter_type
action find
entity Jean Ferrat
relation occupation
type occupation
action filter_type
action find
entity Yves du Manoir
relation occupation
type occupation
action filter_type
action find
entity Jacques Villiers
relation occupation
type occupation
['Jean Ferrat', 'occupation', {'concept': 'occupation'}] ['Yves du Manoir', 'occupation', {'concept': 'occupation'}] ['Jacques Villiers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:occupation . resource:Jean_Ferrat property:occupation ?z } UNION { resource:Yves_du_Manoir property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
occupation
Q36834 Q14089670 Q49757
SYSTEM
composer, rugby union player, poet
Q36834 Q49757 Q36180 Q488205 Q177220 Q14089670 Q47064 Q15895020 Q81096 Q3128486
(Q54885,P106,c(Q12737077)) (Q2602308,P106,c(Q12737077)) (Q3160177,P106,c(Q12737077))
action union
action filter_type
action find
entity Q54885
relation P106
type Q12737077
action filter_type
action find
entity Q2602308
relation P106
type Q12737077
action filter_type
action find
entity Q3160177
relation P106
type Q12737077
The professions of Jean Ferrat , Yves du Manoir and Jacques Villiers are a [ANSWERS]
['Q54885', 'P106', {'concept': 'Q12737077'}] ['Q2602308', 'P106', {'concept': 'Q12737077'}] ['Q3160177', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q12737077 . resource:Q54885 property:P106 ?z } UNION { resource:Q2602308 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
composer poet writer singer-songwriter singer rugby union player military personnel aerospace engineer engineer high-ranking civil servant in France
The professions of Jean Ferrat , Yves du Manoir and Jacques Villiers are a composer, rugby union player and poet
composer rugby union player poet
action union
action filter_type
action find
entity Jean Ferrat
relation occupation
type occupation
action filter_type
action find
entity Yves du Manoir
relation occupation
type occupation
action filter_type
action find
entity Jacques Villiers
relation occupation
type occupation
['Jean Ferrat', 'occupation', {'concept': 'occupation'}] ['Yves du Manoir', 'occupation', {'concept': 'occupation'}] ['Jacques Villiers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:occupation . resource:Jean_Ferrat property:occupation ?z } UNION { resource:Yves_du_Manoir property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q49757
P136
Q502895
USER
Which person as that occupation as its class ?
(c(Q502895),P136,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q49757']
SELECT DISTINCT ?t WHERE { ?t property:P136 resource:Q49757 . ?t rdf:type ontology:Q502895 }
poet
action filter_type
action find_reverse
entity poet
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'poet']
SELECT DISTINCT ?t WHERE { ?t property:genre resource:poet . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q14089670
SYSTEM
Did you mean rugby union player ?
Q36834 Q14089670 Q49757
(c(Q502895),P136,Q36834) (c(Q502895),P136,Q14089670) (c(Q502895),P136,Q49757)
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q36834'] [{'concept': 'Q502895'}, 'P136', 'Q14089670'] [{'concept': 'Q502895'}, 'P136', 'Q49757']
SELECT DISTINCT ?t WHERE { ?t property:P136 resource:Q49757 . ?t rdf:type ontology:Q502895 }
composer rugby union player poet
Did you mean rugby union player ?
rugby union player
[{'concept': 'common name'}, 'genre', 'composer'] [{'concept': 'common name'}, 'genre', 'rugby union player'] [{'concept': 'common name'}, 'genre', 'poet']
SELECT DISTINCT ?t WHERE { ?t property:genre resource:poet . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant poet. Could you tell me the answer for that?
(c(Q502895),P136,Q49757)
Q49757
[{'concept': 'Q502895'}, 'P136', 'Q49757']
[{'concept': 'common name'}, 'genre', 'poet']
[]
Q3830446
SYSTEM
Leonardo Sinisgalli
Q3830446
(c(Q502895),P136,Q49757)
action filter_type
action find_reverse
entity Q49757
relation P136
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q49757']
SELECT DISTINCT ?t WHERE { ?t property:P136 resource:Q49757 . ?t rdf:type ontology:Q502895 }
Leonardo Sinisgalli
Leonardo Sinisgalli
action filter_type
action find_reverse
entity poet
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'poet']
SELECT DISTINCT ?t WHERE { ?t property:genre resource:poet . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q811980
P725
Q502895 Q11424
USER
Which films had greater number of people as the dubbing artist than The Adventures of Lolo the Penguin ?
(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 Q811980
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m property:P725 ?y . ?m rdf:type ontology:Q11424 . ?y rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q811980 property:P725 ?r . ?r rdf:type ontology:Q11424 } } . FILTER ( ?s > ?z ) }
The Adventures of Lolo the Penguin
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Adventures of Lolo the Penguin
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m property:voice_actor ?y . ?m rdf:type ontology:film . ?y rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:The_Adventures_of_Lolo_the_Penguin property:voice_actor ?r . ?r rdf:type ontology:film } } . FILTER ( ?s > ?z ) }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q4341553 Q215518 Q1160649 Q134430 Q215617 Q179673 Q216929 Q853718 Q374431 Q12084660 Q165512 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q190135 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q1406374 Q498434 Q199839 Q36479 Q39722 Q40895 Q1102410 Q271189 Q3226633
(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 Q811980
relation P725
type Q11424
[ANSWERS] had greater number of people as the dubbing artist than The Adventures of Lolo the Penguin
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m property:P725 ?y . ?m rdf:type ontology:Q11424 . ?y rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q811980 property:P725 ?r . ?r rdf:type ontology:Q11424 } } . FILTER ( ?s > ?z ) }
The Lord of the Rings Home Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective Pinocchio Aladdin Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty 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 Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers Piglet's Big Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Johnny Corncob Hercules Renart the Fox
The Little Mermaid, Robin Hood and Hercules had greater number of people as the dubbing artist than The Adventures of Lolo the Penguin
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 The Adventures of Lolo the Penguin
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?s ) WHERE { ?m property:voice_actor ?y . ?m rdf:type ontology:film . ?y rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:The_Adventures_of_Lolo_the_Penguin property:voice_actor ?r . ?r rdf:type ontology:film } } . FILTER ( ?s > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40302
P725
Q502895 Q11424
USER
And how about The Fox and the Hound?
(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 Q40302
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q40302 property:P725 ?g . ?g rdf:type ontology:Q11424 } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { ?c rdf:type ontology:Q11424 . ?r rdf:type ontology:Q502895 . ?c property:P725 ?r } GROUP BY ?c } }
The Fox and the Hound
action greater
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Fox and the Hound
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:The_Fox_and_the_Hound property:voice_actor ?g . ?g rdf:type ontology:film } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { ?c rdf:type ontology:film . ?r rdf:type ontology:common_name . ?c property:voice_actor ?r } GROUP BY ?c } }
[]
common name film
Q190135 Q19090 Q271189
SYSTEM
The Little Mermaid, Robin Hood, Hercules
Q191753 Q785294 Q204662 Q270470 Q334132 Q179673 Q216929 Q165512 Q933887 Q329316 Q213787 Q19090 Q184701 Q2059996 Q190135 Q218894 Q15270775 Q189875 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 Q40302
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q40302 property:P725 ?g . ?g rdf:type ontology:Q11424 } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { ?c rdf:type ontology:Q11424 . ?r rdf:type ontology:Q502895 . ?c property:P725 ?r } GROUP BY ?c } }
Cinderella Captain of the Forest The Sword in the Stone Peter Pan The Great Mouse Detective Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame Robin Hood The Aristocats My Little Pony: The Movie The Little Mermaid Pocahontas Hotel Transylvania 2 Alice in Wonderland The Jungle Book The Lion King The Rescuers Dumbo Hercules
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 The Fox and the Hound
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:The_Fox_and_the_Hound property:voice_actor ?g . ?g rdf:type ontology:film } } . FILTER ( ?b > ?y ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?b ) WHERE { ?c rdf:type ontology:film . ?r rdf:type ontology:common_name . ?c property:voice_actor ?r } GROUP BY ?c } }
[]