Simple Question (Direct)
Simple Question
Q22176
P47
Q15617994
USER
Who share the border with Cerano ?
(Q22176,P47,c(Q15617994))
action filter_type
action find
entity Q22176
relation P47
type Q15617994
['Q22176', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q22176 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Cerano
action filter_type
action find
entity Cerano
relation shares border with
type designation for an administrative territorial entity
['Cerano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Cerano property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42777 Q22641 Q41081
SYSTEM
Abbiategrasso, Trecate, Cassolnovo
Q22632 Q42777 Q42526 Q22641 Q42499 Q41081
(Q22176,P47,c(Q15617994))
action filter_type
action find
entity Q22176
relation P47
type Q15617994
[ANSWERS] share the border with Cerano
['Q22176', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q22176 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Sozzago Abbiategrasso Robecco sul Naviglio Trecate Boffalora sopra Ticino Cassolnovo
Abbiategrasso, Trecate and Cassolnovo share the border with Cerano
Abbiategrasso Trecate Cassolnovo
action filter_type
action find
entity Cerano
relation shares border with
type designation for an administrative territorial entity
['Cerano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Cerano property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42777
P190
Q20667921
USER
Which french administrative division is twin town of Abbiategrasso ?
(Q42777,P190,c(Q20667921))
action filter_type
action find
entity Q42777
relation P190
type Q20667921
['Q42777', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q42777 property:P190 ?e }
Abbiategrasso
action filter_type
action find
entity Abbiategrasso
relation sister city
type type of french administrative division
['Abbiategrasso', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Abbiategrasso property:sister_city ?e }
[]
type of french administrative division
Q203293
SYSTEM
Langres
Q203293
(Q42777,P190,c(Q20667921))
action filter_type
action find
entity Q42777
relation P190
type Q20667921
[ANSWER] is twin town of Abbiategrasso
['Q42777', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q20667921 . resource:Q42777 property:P190 ?e }
Langres
Langres is twin town of Abbiategrasso
Langres
action filter_type
action find
entity Abbiategrasso
relation sister city
type type of french administrative division
['Abbiategrasso', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:type_of_french_administrative_division . resource:Abbiategrasso property:sister_city ?e }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q42777
Q56061
USER
And which administrative territory?
(Q42777,P190,c(Q56061))
action filter_type
action find
entity Q42777
relation P190
type Q56061
['Q42777', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q42777 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Abbiategrasso
action filter_type
action find
entity Abbiategrasso
relation sister city
type administrative territorial entity
['Abbiategrasso', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Abbiategrasso property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q163973
SYSTEM
Ellwangen (Jagst)
Q163973
(Q42777,P190,c(Q56061))
action filter_type
action find
entity Q42777
relation P190
type Q56061
[ANSWER]
['Q42777', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q42777 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Ellwangen (Jagst)
Ellwangen (Jagst)
action filter_type
action find
entity Abbiategrasso
relation sister city
type administrative territorial entity
['Abbiategrasso', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Abbiategrasso property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203293
P1376
Q13220204
USER
Which administrative country subdivision has Langres has its center of administration ?
(Q203293,P1376,c(Q13220204))
action filter_type
action find
entity Q203293
relation P1376
type Q13220204
['Q203293', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?y WHERE { resource:Q203293 property:P1376 ?y . ?y rdf:type ontology:Q13220204 }
Langres
action filter_type
action find
entity Langres
relation capital of
type second-level administrative country subdivision
['Langres', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?y WHERE { resource:Langres property:capital_of ?y . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q701396
SYSTEM
arrondissement of Langres
Q701396
(Q203293,P1376,c(Q13220204))
action filter_type
action find
entity Q203293
relation P1376
type Q13220204
[ANSWER] has Langres has its center of administration
['Q203293', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?y WHERE { resource:Q203293 property:P1376 ?y . ?y rdf:type ontology:Q13220204 }
arrondissement of Langres
Arrondissement of Langres has Langres has its center of administration
arrondissement of Langres
action filter_type
action find
entity Langres
relation capital of
type second-level administrative country subdivision
['Langres', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?y WHERE { resource:Langres property:capital_of ?y . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q203293
Q20667921
USER
And which french administrative division?
(Q203293,P1376,c(Q20667921))
action filter_type
action find
entity Q203293
relation P1376
type Q20667921
['Q203293', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q20667921 . resource:Q203293 property:P1376 ?t }
Langres
action filter_type
action find
entity Langres
relation capital of
type type of french administrative division
['Langres', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:type_of_french_administrative_division . resource:Langres property:capital_of ?t }
[]
type of french administrative division
Q1725723
SYSTEM
canton of Langres
Q1725723
(Q203293,P1376,c(Q20667921))
action filter_type
action find
entity Q203293
relation P1376
type Q20667921
[ANSWER]
['Q203293', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q20667921 . resource:Q203293 property:P1376 ?t }
canton of Langres
canton of Langres
action filter_type
action find
entity Langres
relation capital of
type type of french administrative division
['Langres', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:type_of_french_administrative_division . resource:Langres property:capital_of ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42777
P17
Q15617994
USER
Which administrative territory is Abbiategrasso present in ?
(Q42777,P17,c(Q15617994))
action filter_type
action find
entity Q42777
relation P17
type Q15617994
['Q42777', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q42777 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Abbiategrasso
action filter_type
action find
entity Abbiategrasso
relation country
type designation for an administrative territorial entity
['Abbiategrasso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Abbiategrasso property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q42777,P17,c(Q15617994))
action filter_type
action find
entity Q42777
relation P17
type Q15617994
Which administrative territory is Abbiategrasso present in
['Q42777', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q42777 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Italy
Which administrative territory is Abbiategrasso present in
Italy
action filter_type
action find
entity Abbiategrasso
relation country
type designation for an administrative territorial entity
['Abbiategrasso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Abbiategrasso property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P530
Q15617994
USER
Which administrative territories have ambassadorial relations with that one ?
(c(Q15617994),P530,Q38)
action filter_type
action find
entity Q38
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q38']
SELECT DISTINCT ?x WHERE { resource:Q38 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Italy
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ?x WHERE { resource:Italy property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q41 Q843 Q184 Q423 Q822 Q419 Q668 Q228 Q414 Q227 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q347 Q33 Q32 Q31 Q30 Q37 Q36 Q79 Q34 Q928 Q39 Q733 Q739 Q142 Q948 Q191 Q1016 Q189 Q28 Q298 Q211 Q252 Q114 Q399 Q403 Q159 Q233 Q258 Q43 Q212 Q213 Q236 Q45 Q230 Q217 Q214 Q215 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q869 Q29 Q884 Q881 Q77
(c(Q15617994),P530,Q38)
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with that one
[{'concept': 'Q15617994'}, 'P530', 'Q38']
SELECT DISTINCT ?x WHERE { resource:Q38 property:P530 ?x . ?x rdf:type ontology:Q15617994 }
Yemen Israel Greece Pakistan Belarus North Korea Lebanon Peru India Andorra Argentina Azerbaijan Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Liechtenstein Finland Luxembourg Belgium United States of America Lithuania Poland Egypt Sweden Philippines Switzerland Paraguay Colombia France Tunisia Estonia Libya Iceland Hungary Chile Latvia Indonesia Kenya Armenia Serbia Russia Malta South Africa Turkey Ukraine Czech Republic Montenegro Portugal Georgia Republic of Moldova Slovakia Slovenia Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Thailand Spain South Korea Vietnam Uruguay
Brazil, United States of America and Georgia have ambassadorial relations with that one
Brazil United States of America Georgia
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ?x WHERE { resource:Italy property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q155 Q30 Q230
P47
Q15617994
USER
Which administrative territories have an adjacent border with those ones ?
(c(Q15617994),P47,Q155) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q230']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q805 ) ( resource:Q801 ) ( resource:Q41 ) } . ?v property:P47 ?n }
Brazil United States of America Georgia
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Georgia']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:Yemen ) ( resource:Israel ) ( resource:Greece ) } . ?v property:shares_border_with ?n }
[]
designation for an administrative territorial entity
Q159 Q159 Q142
SYSTEM
France for 3rd, Russia for 1st, 2nd
Q750 Q739 Q730 Q734 Q419 Q414 Q142 Q717 Q77 Q733 Q241 Q159 Q717 Q96 Q804 Q227 Q399 Q159 Q43
(c(Q15617994),P47,Q155) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q230)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q230']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q805 ) ( resource:Q801 ) ( resource:Q41 ) } . ?v property:P47 ?n }
Bolivia Colombia Suriname Guyana Peru Argentina France Venezuela Uruguay Paraguay Cuba Russia Venezuela Mexico Panama Azerbaijan Armenia Russia Turkey
Russia, Russia and France have an adjacent border with those ones
Russia Russia France
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Georgia']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:Yemen ) ( resource:Israel ) ( resource:Greece ) } . ?v property:shares_border_with ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159
P172
Q502895
USER
Which person has that administrative territory as ethnic group ?
(c(Q502895),P172,Q159)
action filter_type
action find_reverse
entity Q159
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q159']
SELECT DISTINCT ?l WHERE { ?l property:P172 resource:Q159 . ?l rdf:type ontology:Q502895 }
Russia
action filter_type
action find_reverse
entity Russia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Russia']
SELECT DISTINCT ?l WHERE { ?l property:ethnic_group resource:Russia . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q159
SYSTEM
Did you mean Russia ?
Q159 Q159 Q142
(c(Q502895),P172,Q159) (c(Q502895),P172,Q159) (c(Q502895),P172,Q142)
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q159'] [{'concept': 'Q502895'}, 'P172', 'Q159'] [{'concept': 'Q502895'}, 'P172', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P172 resource:Q159 . ?l rdf:type ontology:Q502895 }
Russia Russia France
Did you mean Russia ?
Russia
[{'concept': 'common name'}, 'ethnic group', 'Russia'] [{'concept': 'common name'}, 'ethnic group', 'Russia'] [{'concept': 'common name'}, 'ethnic group', 'France']
SELECT DISTINCT ?l WHERE { ?l property:ethnic_group resource:Russia . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P172,Q159)
[{'concept': 'Q502895'}, 'P172', 'Q159']
[{'concept': 'common name'}, 'ethnic group', 'Russia']
[]
Q16702138
SYSTEM
Andrej Kolomacký
Q16702138
(c(Q502895),P172,Q159)
action filter_type
action find_reverse
entity Q159
relation P172
type Q502895
[ANSWER] has that administrative territory as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q159']
SELECT DISTINCT ?l WHERE { ?l property:P172 resource:Q159 . ?l rdf:type ontology:Q502895 }
Andrej Kolomacký
Andrej Kolomacký has that administrative territory as ethnic group
Andrej Kolomacký
action filter_type
action find_reverse
entity Russia
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Russia']
SELECT DISTINCT ?l WHERE { ?l property:ethnic_group resource:Russia . ?l rdf:type ontology:common_name }
[]