Simple Question (Direct)
Simple Question
Q210908
P47
Q20667921
USER
Who share the border with Chanay ?
(Q210908,P47,c(Q20667921))
action filter_type
action find
entity Q210908
relation P47
type Q20667921
['Q210908', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q210908 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Chanay
action filter_type
action find
entity Chanay
relation shares border with
type type of french administrative division
['Chanay', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Chanay property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q21294380 Q317981 Q237432
SYSTEM
Haut-Valromey, Songieu, Corbonod
Q317981 Q237432 Q734587 Q317956 Q501650 Q21294380 Q271317
(Q210908,P47,c(Q20667921))
action filter_type
action find
entity Q210908
relation P47
type Q20667921
[ANSWERS] share the border with Chanay
['Q210908', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q210908 property:P47 ?j . ?j rdf:type ontology:Q20667921 }
Songieu Corbonod Challonges Lhôpital Bassy Haut-Valromey Surjoux
Haut-Valromey, Songieu and Corbonod share the border with Chanay
Haut-Valromey Songieu Corbonod
action filter_type
action find
entity Chanay
relation shares border with
type type of french administrative division
['Chanay', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Chanay property:shares_border_with ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q317981
P19
Q502895
USER
Who have location of birth at that french administrative division ?
(c(Q502895),P19,Q317981)
action filter_type
action find_reverse
entity Q317981
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q317981']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q317981 }
Songieu
action filter_type
action find_reverse
entity Songieu
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Songieu']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Songieu }
[]
common name
Clarification for simple ques.
Q21294380
SYSTEM
Did you mean Haut-Valromey ?
Q21294380 Q317981 Q237432
(c(Q502895),P19,Q21294380) (c(Q502895),P19,Q317981) (c(Q502895),P19,Q237432)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q21294380'] [{'concept': 'Q502895'}, 'P19', 'Q317981'] [{'concept': 'Q502895'}, 'P19', 'Q237432']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q317981 }
Haut-Valromey Songieu Corbonod
Did you mean Haut-Valromey ?
Haut-Valromey
[{'concept': 'common name'}, 'place of birth', 'Haut-Valromey'] [{'concept': 'common name'}, 'place of birth', 'Songieu'] [{'concept': 'common name'}, 'place of birth', 'Corbonod']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Songieu }
[]
Simple Question (Coreferenced)
USER
No, I meant Songieu. Could you tell me the answer for that?
(c(Q502895),P19,Q317981)
Q317981
[{'concept': 'Q502895'}, 'P19', 'Q317981']
[{'concept': 'common name'}, 'place of birth', 'Songieu']
[]
Q2828055 Q3168960
SYSTEM
Aimé Favre, Jean-Pierre Baillod
Q2828055 Q3168960
(c(Q502895),P19,Q317981)
action filter_type
action find_reverse
entity Q317981
relation P19
type Q502895
[ANSWERS] have location of birth at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q317981']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q317981 }
Aimé Favre Jean-Pierre Baillod
Aimé Favre and Jean-Pierre Baillod have location of birth at that french administrative division
Aimé Favre Jean-Pierre Baillod
action filter_type
action find_reverse
entity Songieu
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Songieu']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Songieu }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2828055
P20
Q20667921
USER
Where did the demise of that person occur ?
(Q2828055,P20,c(Q20667921))
action filter_type
action find
entity Q2828055
relation P20
type Q20667921
['Q2828055', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2828055 property:P20 ?r . ?r rdf:type ontology:Q20667921 }
Aimé Favre
action filter_type
action find
entity Aimé Favre
relation place of death
type type of french administrative division
['Aimé Favre', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Aimé_Favre property:place_of_death ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q3168960
SYSTEM
Did you mean Jean-Pierre Baillod ?
Q2828055 Q3168960
(Q2828055,P20,c(Q20667921)) (Q3168960,P20,c(Q20667921))
[ANSWER]
['Q2828055', 'P20', {'concept': 'Q20667921'}] ['Q3168960', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2828055 property:P20 ?r . ?r rdf:type ontology:Q20667921 }
Aimé Favre Jean-Pierre Baillod
Did you mean Jean-Pierre Baillod ?
Jean-Pierre Baillod
['Aimé Favre', 'place of death', {'concept': 'type of french administrative division'}] ['Jean-Pierre Baillod', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Aimé_Favre property:place_of_death ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Aimé Favre. Could you tell me the answer for that?
(Q2828055,P20,c(Q20667921))
Q2828055
['Q2828055', 'P20', {'concept': 'Q20667921'}]
['Aimé Favre', 'place of death', {'concept': 'type of french administrative division'}]
[]
Q244575
SYSTEM
Hotonnes
Q244575
(Q2828055,P20,c(Q20667921))
action filter_type
action find
entity Q2828055
relation P20
type Q20667921
The demise of that person occurred in [ANSWER]
['Q2828055', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q2828055 property:P20 ?r . ?r rdf:type ontology:Q20667921 }
Hotonnes
The demise of that person occurred in Hotonnes
Hotonnes
action filter_type
action find
entity Aimé Favre
relation place of death
type type of french administrative division
['Aimé Favre', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Aimé_Favre property:place_of_death ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q244575
P21 P20
Q502895
USER
Which people have Hotonnes as the location of death and are a male ?
AND((c(Q502895),P20,Q244575), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q244575
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q244575'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P21 resource:Q6581097 . ?w property:P20 resource:Q244575 . ?w rdf:type ontology:Q502895 }
male Hotonnes
action filter_type
action intersection
action find_reverse
entity Hotonnes
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Hotonnes'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:gender resource:male . ?w property:place_of_death resource:Hotonnes . ?w rdf:type ontology:common_name }
[]
common name
Q2828055
SYSTEM
Aimé Favre
Q2828055
AND((c(Q502895),P20,Q244575), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q244575
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Hotonnes as the location of death and are a male
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q244575'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P21 resource:Q6581097 . ?w property:P20 resource:Q244575 . ?w rdf:type ontology:Q502895 }
Aimé Favre
Aimé Favre have Hotonnes as the location of death and are a male
Aimé Favre
action filter_type
action intersection
action find_reverse
entity Hotonnes
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Hotonnes'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:gender resource:male . ?w property:place_of_death resource:Hotonnes . ?w rdf:type ontology:common_name }
[]