Simple Question (Direct)
Simple Question
Q1422621
P17
Q15617994
USER
Which administrative territory is Tourville-les-Ifs located in ?
(Q1422621,P17,c(Q15617994))
action filter_type
action find
entity Q1422621
relation P17
type Q15617994
['Q1422621', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1422621 property:P17 ?g }
Tourville-les-Ifs
action filter_type
action find
entity Tourville-les-Ifs
relation country
type designation for an administrative territorial entity
['Tourville-les-Ifs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tourville-les-Ifs property:country ?g }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1422621,P17,c(Q15617994))
action filter_type
action find
entity Q1422621
relation P17
type Q15617994
Which administrative territory is Tourville-les-Ifs located in
['Q1422621', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1422621 property:P17 ?g }
France
Which administrative territory is Tourville-les-Ifs located in
France
action filter_type
action find
entity Tourville-les-Ifs
relation country
type designation for an administrative territorial entity
['Tourville-les-Ifs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tourville-les-Ifs property:country ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1422621
P47
Q20667921
USER
Which french administrative divisions do Tourville-les-Ifs share a border with ?
(c(Q20667921),P47,Q1422621)
action filter_type
action find
entity Q1422621
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1422621']
SELECT DISTINCT ?c WHERE { resource:Q1422621 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Tourville-les-Ifs
action filter_type
action find
entity Tourville-les-Ifs
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Tourville-les-Ifs']
SELECT DISTINCT ?c WHERE { resource:Tourville-les-Ifs property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q269732 Q581565 Q1112336
SYSTEM
Fécamp, Épreville, Bec-de-Mortagne
Q269732 Q1167577 Q581565 Q1112336 Q1113373 Q654509 Q1111801
(c(Q20667921),P47,Q1422621)
action filter_type
action find
entity Q1422621
relation P47
type Q20667921
Tourville-les-Ifs share a border with [ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q1422621']
SELECT DISTINCT ?c WHERE { resource:Q1422621 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Fécamp Mentheville Épreville Bec-de-Mortagne Auberville-la-Renault Ganzeville Contremoulins
Tourville-les-Ifs share a border with Fécamp, Épreville and Bec-de-Mortagne
Fécamp Épreville Bec-de-Mortagne
action filter_type
action find
entity Tourville-les-Ifs
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Tourville-les-Ifs']
SELECT DISTINCT ?c WHERE { resource:Tourville-les-Ifs property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q269732
P20
Q502895
USER
Which people have that french administrative division as the location of death ?
(c(Q502895),P20,Q269732)
action filter_type
action find_reverse
entity Q269732
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q269732']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q269732 . ?z rdf:type ontology:Q502895 }
Fécamp
action filter_type
action find_reverse
entity Fécamp
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Fécamp']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Fécamp . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q581565
SYSTEM
Did you mean Épreville ?
Q269732 Q581565 Q1112336
(c(Q502895),P20,Q269732) (c(Q502895),P20,Q581565) (c(Q502895),P20,Q1112336)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q269732'] [{'concept': 'Q502895'}, 'P20', 'Q581565'] [{'concept': 'Q502895'}, 'P20', 'Q1112336']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q269732 . ?z rdf:type ontology:Q502895 }
Fécamp Épreville Bec-de-Mortagne
Did you mean Épreville ?
Épreville
[{'concept': 'common name'}, 'place of death', 'Fécamp'] [{'concept': 'common name'}, 'place of death', 'Épreville'] [{'concept': 'common name'}, 'place of death', 'Bec-de-Mortagne']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Fécamp . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Fécamp. Could you tell me the answer for that?
(c(Q502895),P20,Q269732)
Q269732
[{'concept': 'Q502895'}, 'P20', 'Q269732']
[{'concept': 'common name'}, 'place of death', 'Fécamp']
[]
Q333359 Q1176599 Q312613
SYSTEM
Richard I, Duke of Normandy, David Servan-Schreiber, Richard II, Duke of Normandy
Q3188833 Q2839937 Q1176599 Q3056918 Q3084216 Q333359 Q2871534 Q1375104 Q3270922 Q3098967 Q2833817 Q3175828 Q3386817 Q431565 Q312613 Q15972343 Q3166847 Q3768483 Q18672053 Q19358511
(c(Q502895),P20,Q269732)
action filter_type
action find_reverse
entity Q269732
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q269732']
SELECT DISTINCT ?z WHERE { ?z property:P20 resource:Q269732 . ?z rdf:type ontology:Q502895 }
Jules Paul Brateau Alphonse Pinard David Servan-Schreiber Ernest Delaunay François Charles Bouche Richard I, Duke of Normandy Augustin Avrial William of Volpiano Léon Dufour Gaston Demongé Alexandre Le Grand Jean d’Allie Pierre Robert Jean-Jacques Servan-Schreiber Richard II, Duke of Normandy Joseph Hugues-Lagarde Jean-Louis Leclerc Giovanni di Fécamp Casimir-Raymond Azaïs Robert Grèverie
Richard I, Duke of Normandy, David Servan-Schreiber and Richard II, Duke of Normandy have that french administrative division as the location of death
Richard I, Duke of Normandy David Servan-Schreiber Richard II, Duke of Normandy
action filter_type
action find_reverse
entity Fécamp
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Fécamp']
SELECT DISTINCT ?z WHERE { ?z property:place_of_death resource:Fécamp . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q333359 Q1176599 Q312613
P7
Q502895
USER
Which people had Richard I, Duke of Normandy, David Servan-Schreiber and Richard II, Duke of Normandy as brother ?
(c(Q502895),P7,Q333359) (c(Q502895),P7,Q1176599) (c(Q502895),P7,Q312613)
action union
action filter_type
action find_reverse
entity Q333359
relation P7
type Q502895
action filter_type
action find_reverse
entity Q1176599
relation P7
type Q502895
action filter_type
action find_reverse
entity Q312613
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q333359'] [{'concept': 'Q502895'}, 'P7', 'Q1176599'] [{'concept': 'Q502895'}, 'P7', 'Q312613']
SELECT DISTINCT ?q WHERE { { ?q property:P7 resource:Q333359 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P7 resource:Q1176599 . ?q rdf:type ontology:Q502895 } }
Richard I, Duke of Normandy David Servan-Schreiber Richard II, Duke of Normandy
action union
action filter_type
action find_reverse
entity Richard I, Duke of Normandy
relation brother
type common name
action filter_type
action find_reverse
entity David Servan-Schreiber
relation brother
type common name
action filter_type
action find_reverse
entity Richard II, Duke of Normandy
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Richard I, Duke of Normandy'] [{'concept': 'common name'}, 'brother', 'David Servan-Schreiber'] [{'concept': 'common name'}, 'brother', 'Richard II, Duke of Normandy']
SELECT DISTINCT ?q WHERE { { ?q property:brother resource:Richard_I,_Duke_of_Normandy . ?q rdf:type ontology:common_name } UNION { ?q property:brother resource:David_Servan-Schreiber . ?q rdf:type ontology:common_name } }
[]
common name
Q40061 Q36242 Q3128713
SYSTEM
Emma of Normandy, Robert II, Archbishop of Rouen, Hawise of Normandy
Q361494 Q3580033 Q3128713 Q2573359 Q40061 Q36242 Q3497653 Q168558
(c(Q502895),P7,Q333359) (c(Q502895),P7,Q1176599) (c(Q502895),P7,Q312613)
action union
action filter_type
action find_reverse
entity Q333359
relation P7
type Q502895
action filter_type
action find_reverse
entity Q1176599
relation P7
type Q502895
action filter_type
action find_reverse
entity Q312613
relation P7
type Q502895
[ANSWERS] had Richard I, Duke of Normandy, David Servan-Schreiber and Richard II, Duke of Normandy as brother
[{'concept': 'Q502895'}, 'P7', 'Q333359'] [{'concept': 'Q502895'}, 'P7', 'Q1176599'] [{'concept': 'Q502895'}, 'P7', 'Q312613']
SELECT DISTINCT ?q WHERE { { ?q property:P7 resource:Q333359 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P7 resource:Q1176599 . ?q rdf:type ontology:Q502895 } }
Rodulf of Ivry Édouard Servan-Schreiber Hawise of Normandy William, Count of Eu Emma of Normandy Robert II, Archbishop of Rouen Maud of Normandy Geoffrey, Count of Eu
Emma of Normandy, Robert II, Archbishop of Rouen and Hawise of Normandy had Richard I, Duke of Normandy, David Servan-Schreiber and Richard II, Duke of Normandy as brother
Emma of Normandy Robert II, Archbishop of Rouen Hawise of Normandy
action union
action filter_type
action find_reverse
entity Richard I, Duke of Normandy
relation brother
type common name
action filter_type
action find_reverse
entity David Servan-Schreiber
relation brother
type common name
action filter_type
action find_reverse
entity Richard II, Duke of Normandy
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Richard I, Duke of Normandy'] [{'concept': 'common name'}, 'brother', 'David Servan-Schreiber'] [{'concept': 'common name'}, 'brother', 'Richard II, Duke of Normandy']
SELECT DISTINCT ?q WHERE { { ?q property:brother resource:Richard_I,_Duke_of_Normandy . ?q rdf:type ontology:common_name } UNION { ?q property:brother resource:David_Servan-Schreiber . ?q rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q40061 Q36242 Q3128713
P25
Q502895
USER
Which people were the mother of Emma of Normandy, Robert II, Archbishop of Rouen and Hawise of Normandy ?
(Q40061,P25,c(Q502895)) (Q36242,P25,c(Q502895)) (Q3128713,P25,c(Q502895))
action union
action filter_type
action find
entity Q40061
relation P25
type Q502895
action filter_type
action find
entity Q36242
relation P25
type Q502895
action filter_type
action find
entity Q3128713
relation P25
type Q502895
['Q40061', 'P25', {'concept': 'Q502895'}] ['Q36242', 'P25', {'concept': 'Q502895'}] ['Q3128713', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Q40061 ) ( resource:Q36242 ) } . ?m property:P25 ?n }
Emma of Normandy Robert II, Archbishop of Rouen Hawise of Normandy
action union
action filter_type
action find
entity Emma of Normandy
relation mother
type common name
action filter_type
action find
entity Robert II, Archbishop of Rouen
relation mother
type common name
action filter_type
action find
entity Hawise of Normandy
relation mother
type common name
['Emma of Normandy', 'mother', {'concept': 'common name'}] ['Robert II, Archbishop of Rouen', 'mother', {'concept': 'common name'}] ['Hawise of Normandy', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Emma_of_Normandy ) ( resource:Robert_II,_Archbishop_of_Rouen ) } . ?m property:mother ?n }
[]
common name
Q270777 Q270777 Q270777
SYSTEM
Gunnora
Q270777 Q270777 Q270777
(Q40061,P25,c(Q502895)) (Q36242,P25,c(Q502895)) (Q3128713,P25,c(Q502895))
action union
action filter_type
action find
entity Q40061
relation P25
type Q502895
action filter_type
action find
entity Q36242
relation P25
type Q502895
action filter_type
action find
entity Q3128713
relation P25
type Q502895
[ANSWER], [ANSWER] and [ANSWER] were the mother of Emma of Normandy, Robert II, Archbishop of Rouen and Hawise of Normandy
['Q40061', 'P25', {'concept': 'Q502895'}] ['Q36242', 'P25', {'concept': 'Q502895'}] ['Q3128713', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Q40061 ) ( resource:Q36242 ) } . ?m property:P25 ?n }
Gunnora Gunnora Gunnora
Gunnora, Gunnora and Gunnora were the mother of Emma of Normandy, Robert II, Archbishop of Rouen and Hawise of Normandy
Gunnora Gunnora Gunnora
action union
action filter_type
action find
entity Emma of Normandy
relation mother
type common name
action filter_type
action find
entity Robert II, Archbishop of Rouen
relation mother
type common name
action filter_type
action find
entity Hawise of Normandy
relation mother
type common name
['Emma of Normandy', 'mother', {'concept': 'common name'}] ['Robert II, Archbishop of Rouen', 'mother', {'concept': 'common name'}] ['Hawise of Normandy', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?m ) { ( resource:Emma_of_Normandy ) ( resource:Robert_II,_Archbishop_of_Rouen ) } . ?m property:mother ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333359
P40
Q502895
USER
Which people have Richard I, Duke of Normandy as an offspring ?
(c(Q502895),P40,Q333359)
action filter_type
action find_reverse
entity Q333359
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q333359']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q333359 . ?x rdf:type ontology:Q502895 }
Richard I, Duke of Normandy
action filter_type
action find_reverse
entity Richard I, Duke of Normandy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Richard I, Duke of Normandy']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Richard_I,_Duke_of_Normandy . ?x rdf:type ontology:common_name }
[]
common name
Q3494265 Q313017
SYSTEM
Sprota, William I, Duke of Normandy
Q3494265 Q313017
(c(Q502895),P40,Q333359)
action filter_type
action find_reverse
entity Q333359
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q333359']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q333359 . ?x rdf:type ontology:Q502895 }
Sprota William I, Duke of Normandy
Sprota and William I, Duke of Normandy have Richard I, Duke of Normandy as an offspring
Sprota William I, Duke of Normandy
action filter_type
action find_reverse
entity Richard I, Duke of Normandy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Richard I, Duke of Normandy']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Richard_I,_Duke_of_Normandy . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q313017
P20
Q20667921
USER
Where did that person die ?
(Q313017,P20,c(Q20667921))
action filter_type
action find
entity Q313017
relation P20
type Q20667921
['Q313017', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q313017 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
William I, Duke of Normandy
action filter_type
action find
entity William I, Duke of Normandy
relation place of death
type type of french administrative division
['William I, Duke of Normandy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:William_I,_Duke_of_Normandy property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q313017
SYSTEM
Did you mean William I, Duke of Normandy ?
Q3494265 Q313017
(Q3494265,P20,c(Q20667921)) (Q313017,P20,c(Q20667921))
[ANSWER]
['Q3494265', 'P20', {'concept': 'Q20667921'}] ['Q313017', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q313017 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Sprota William I, Duke of Normandy
Did you mean William I, Duke of Normandy ?
William I, Duke of Normandy
['Sprota', 'place of death', {'concept': 'type of french administrative division'}] ['William I, Duke of Normandy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:William_I,_Duke_of_Normandy property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q313017,P20,c(Q20667921))
['Q313017', 'P20', {'concept': 'Q20667921'}]
['William I, Duke of Normandy', 'place of death', {'concept': 'type of french administrative division'}]
[]
Q587061
SYSTEM
Picquigny
Q587061
(Q313017,P20,c(Q20667921))
action filter_type
action find
entity Q313017
relation P20
type Q20667921
That person died in [ANSWER]
['Q313017', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q313017 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Picquigny
That person died in Picquigny
Picquigny
action filter_type
action find
entity William I, Duke of Normandy
relation place of death
type type of french administrative division
['William I, Duke of Normandy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:William_I,_Duke_of_Normandy property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]