Simple Question (Direct)
Simple Question
Q262456
P190
Q15617994
USER
Which administrative territory is sister town of Ardres ?
(Q262456,P190,c(Q15617994))
action filter_type
action find
entity Q262456
relation P190
type Q15617994
['Q262456', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q262456 property:P190 ?q . ?q rdf:type ontology:Q15617994 }
Ardres
action filter_type
action find
entity Ardres
relation sister city
type designation for an administrative territorial entity
['Ardres', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ardres property:sister_city ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q4086
SYSTEM
Menden (Sauerland)
Q4086
(Q262456,P190,c(Q15617994))
action filter_type
action find
entity Q262456
relation P190
type Q15617994
[ANSWER] is sister town of Ardres
['Q262456', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q262456 property:P190 ?q . ?q rdf:type ontology:Q15617994 }
Menden (Sauerland)
Menden (Sauerland) is sister town of Ardres
Menden (Sauerland)
action filter_type
action find
entity Ardres
relation sister city
type designation for an administrative territorial entity
['Ardres', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ardres property:sister_city ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q262456
P47
Q20667921
USER
Who share the border with that one ?
(Q4086,P47,c(Q20667921))
action filter_type
action find
entity Q262456
relation P47
type Q20667921
['Q4086', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q262456 property:P47 ?o }
Ardres
action filter_type
action find
entity Ardres
relation shares border with
type type of french administrative division
['Menden (Sauerland)', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Ardres property:shares_border_with ?o }
[]
type of french administrative division
Q260903 Q998254 Q921846
SYSTEM
Louches, Les Attaques, Nortkerque
Q224440 Q999712 Q260903 Q998254 Q869382 Q850921 Q244292 Q921846
(Q4086,P47,c(Q20667921))
action filter_type
action find
entity Q262456
relation P47
type Q20667921
[ANSWERS] share the border with that one
['Q4086', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q20667921 . resource:Q262456 property:P47 ?o }
Balinghem Autingues Louches Les Attaques Guemps Brêmes Nielles-lès-Ardres Nortkerque
Louches, Les Attaques and Nortkerque share the border with that one
Louches Les Attaques Nortkerque
action filter_type
action find
entity Ardres
relation shares border with
type type of french administrative division
['Menden (Sauerland)', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:type_of_french_administrative_division . resource:Ardres property:shares_border_with ?o }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q260903 Q998254 Q921846
P47
Q20667921
USER
Which french administrative divisions are next to the border of those ones ?
(c(Q20667921),P47,Q260903) (c(Q20667921),P47,Q998254) (c(Q20667921),P47,Q921846)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q260903'] [{'concept': 'Q20667921'}, 'P47', 'Q998254'] [{'concept': 'Q20667921'}, 'P47', 'Q921846']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?i property:P47 ?d . VALUES ( ?i ) { ( resource:Q224440 ) ( resource:Q999712 ) ( resource:Q260903 ) } }
Louches Les Attaques Nortkerque
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Louches'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Les Attaques'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Nortkerque']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?i property:shares_border_with ?d . VALUES ( ?i ) { ( resource:Balinghem ) ( resource:Autingues ) ( resource:Louches ) } }
[]
type of french administrative division
Q262456 Q138606 Q262456
SYSTEM
Tournehem-sur-la-Hem for 2nd, Ardres for 1st, 3rd
Q999712 Q244292 Q1026036 Q995293 Q262456 Q138606 Q231097 Q850921 Q680515 Q325999 Q224440 Q380224 Q999942 Q262456 Q989880 Q869382 Q1025815 Q244292 Q853600 Q260434 Q262456 Q231097 Q869382
(c(Q20667921),P47,Q260903) (c(Q20667921),P47,Q998254) (c(Q20667921),P47,Q921846)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q260903'] [{'concept': 'Q20667921'}, 'P47', 'Q998254'] [{'concept': 'Q20667921'}, 'P47', 'Q921846']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?i property:P47 ?d . VALUES ( ?i ) { ( resource:Q224440 ) ( resource:Q999712 ) ( resource:Q260903 ) } }
Autingues Nielles-lès-Ardres Landrethun-lès-Ardres Clerques Ardres Tournehem-sur-la-Hem Zutkerque Brêmes Hames-Boucres Guînes Balinghem Marck Andres Ardres Coulogne Guemps Offekerque Nielles-lès-Ardres Audruicq Nouvelle-Église Ardres Zutkerque Guemps
Ardres, Tournehem-sur-la-Hem and Ardres are next to the border of those ones
Ardres Tournehem-sur-la-Hem Ardres
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Louches'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Les Attaques'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Nortkerque']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?i property:shares_border_with ?d . VALUES ( ?i ) { ( resource:Balinghem ) ( resource:Autingues ) ( resource:Louches ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q138606
P19
Q502895
USER
Who was born at that french administrative division ?
(c(Q502895),P19,Q138606)
action filter_type
action find_reverse
entity Q138606
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q138606']
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q138606 . ?r rdf:type ontology:Q502895 }
Tournehem-sur-la-Hem
action filter_type
action find_reverse
entity Tournehem-sur-la-Hem
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Tournehem-sur-la-Hem']
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Tournehem-sur-la-Hem . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q262456
SYSTEM
Did you mean Ardres ?
Q262456 Q138606 Q262456
(c(Q502895),P19,Q262456) (c(Q502895),P19,Q138606) (c(Q502895),P19,Q262456)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q262456'] [{'concept': 'Q502895'}, 'P19', 'Q138606'] [{'concept': 'Q502895'}, 'P19', 'Q262456']
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q138606 . ?r rdf:type ontology:Q502895 }
Ardres Tournehem-sur-la-Hem Ardres
Did you mean Ardres ?
Ardres
[{'concept': 'common name'}, 'place of birth', 'Ardres'] [{'concept': 'common name'}, 'place of birth', 'Tournehem-sur-la-Hem'] [{'concept': 'common name'}, 'place of birth', 'Ardres']
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Tournehem-sur-la-Hem . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Tournehem-sur-la-Hem. Could you tell me the answer for that?
(c(Q502895),P19,Q138606)
Q138606
[{'concept': 'Q502895'}, 'P19', 'Q138606']
[{'concept': 'common name'}, 'place of birth', 'Tournehem-sur-la-Hem']
[]
Q21730845
SYSTEM
Aimé Courtois
Q21730845
(c(Q502895),P19,Q138606)
action filter_type
action find_reverse
entity Q138606
relation P19
type Q502895
[ANSWER] was born at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q138606']
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q138606 . ?r rdf:type ontology:Q502895 }
Aimé Courtois
Aimé Courtois was born at that french administrative division
Aimé Courtois
action filter_type
action find_reverse
entity Tournehem-sur-la-Hem
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Tournehem-sur-la-Hem']
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Tournehem-sur-la-Hem . ?r rdf:type ontology:common_name }
[]