Simple Question (Direct)
Simple Question
Q16235409
P19
Q15617994
USER
Which administrative territory is the birthplace of Mirko Gori ?
(Q16235409,P19,c(Q15617994))
action filter_type
action find
entity Q16235409
relation P19
type Q15617994
['Q16235409', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q16235409 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Mirko Gori
action filter_type
action find
entity Mirko Gori
relation place of birth
type designation for an administrative territorial entity
['Mirko Gori', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mirko_Gori property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13413
SYSTEM
Frosinone
Q13413
(Q16235409,P19,c(Q15617994))
action filter_type
action find
entity Q16235409
relation P19
type Q15617994
The [ANSWER] is the birthplace of Mirko Gori
['Q16235409', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q16235409 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Frosinone
The Frosinone is the birthplace of Mirko Gori
Frosinone
action filter_type
action find
entity Mirko Gori
relation place of birth
type designation for an administrative territorial entity
['Mirko Gori', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mirko_Gori property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13413
P190
Q15617994
USER
Which administrative territories are sister towns of that one ?
(Q13413,P190,c(Q15617994))
action filter_type
action find
entity Q13413
relation P190
type Q15617994
['Q13413', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q13413 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Frosinone
action filter_type
action find
entity Frosinone
relation sister city
type designation for an administrative territorial entity
['Frosinone', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Frosinone property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20491 Q128134
SYSTEM
Nocera Umbra, Ponza, Lazio
Q20491 Q128134
(Q13413,P190,c(Q15617994))
action filter_type
action find
entity Q13413
relation P190
type Q15617994
[ANSWERS]
['Q13413', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q13413 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Nocera Umbra Ponza, Lazio
Nocera Umbra and Ponza, Lazio are sister towns of that one
Nocera Umbra Ponza, Lazio
action filter_type
action find
entity Frosinone
relation sister city
type designation for an administrative territorial entity
['Frosinone', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Frosinone property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q13413
Q56061
USER
And which administrative territory?
(Q13413,P190,c(Q56061))
action filter_type
action find
entity Q13413
relation P190
type Q56061
['Q13413', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q13413 property:P190 ?r }
Frosinone
action filter_type
action find
entity Frosinone
relation sister city
type administrative territorial entity
['Frosinone', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Frosinone property:sister_city ?r }
[]
administrative territorial entity
Q1013490 Q3089334
SYSTEM
Elmwood Park, Tecumseh
Q1013490 Q3089334
(Q13413,P190,c(Q56061))
action filter_type
action find
entity Q13413
relation P190
type Q56061
[ANSWERS]
['Q13413', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q13413 property:P190 ?r }
Elmwood Park Tecumseh
Elmwood Park Tecumseh
action filter_type
action find
entity Frosinone
relation sister city
type administrative territorial entity
['Frosinone', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Frosinone property:sister_city ?r }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q564588
P190
Q15617994
USER
Are Bayerfeld-Steckweiler sister town of those administrative territories ?
(Q564588,P190,Q1013490) (Q564588,P190,Q3089334)
action is_in
entity prev_answer
action find
entity Q564588
relation P190
['Q564588', 'P190', 'Q1013490'] ['Q564588', 'P190', 'Q3089334']
ASK WHERE { resource:Q564588 property:P190 ?c . VALUES ( ?c ) { ( resource:Q1013490 ) ( resource:Q3089334 ) } }
Bayerfeld-Steckweiler
action is_in
entity prev_answer
action find
entity Bayerfeld-Steckweiler
relation sister city
['Bayerfeld-Steckweiler', 'sister city', 'Elmwood Park'] ['Bayerfeld-Steckweiler', 'sister city', 'Tecumseh']
ASK WHERE { resource:Bayerfeld-Steckweiler property:sister_city ?c . VALUES ( ?c ) { ( resource:Elmwood_Park ) ( resource:Tecumseh ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q564588,P190,Q1013490) (Q564588,P190,Q3089334)
action is_in
entity prev_answer
action find
entity Q564588
relation P190
[ANSWER]
['Q564588', 'P190', 'Q1013490'] ['Q564588', 'P190', 'Q3089334']
ASK WHERE { resource:Q564588 property:P190 ?c . VALUES ( ?c ) { ( resource:Q1013490 ) ( resource:Q3089334 ) } }
No
action is_in
entity prev_answer
action find
entity Bayerfeld-Steckweiler
relation sister city
['Bayerfeld-Steckweiler', 'sister city', 'Elmwood Park'] ['Bayerfeld-Steckweiler', 'sister city', 'Tecumseh']
ASK WHERE { resource:Bayerfeld-Steckweiler property:sister_city ?c . VALUES ( ?c ) { ( resource:Elmwood_Park ) ( resource:Tecumseh ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1013490
P47
Q56061
USER
Which administrative territory has a shared border with Elmwood Park ?
(Q1013490,P47,c(Q56061))
action filter_type
action find
entity Q1013490
relation P47
type Q56061
['Q1013490', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q1013490 property:P47 ?s }
Elmwood Park
action filter_type
action find
entity Elmwood Park
relation shares border with
type administrative territorial entity
['Elmwood Park', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Elmwood_Park property:shares_border_with ?s }
[]
administrative territorial entity
Q3041364
SYSTEM
Dunning
Q3041364
(Q1013490,P47,c(Q56061))
action filter_type
action find
entity Q1013490
relation P47
type Q56061
Park [ANSWER] has a shared border with Elmwood Park
['Q1013490', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q1013490 property:P47 ?s }
Dunning
Park Dunning has a shared border with Elmwood Park
Dunning
action filter_type
action find
entity Elmwood Park
relation shares border with
type administrative territorial entity
['Elmwood Park', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Elmwood_Park property:shares_border_with ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q407570
Q56061
USER
And how about Peshtera?
(Q407570,P47,c(Q56061))
action filter_type
action find
entity Q407570
relation P47
type Q56061
['Q407570', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q407570 property:P47 ?t . ?t rdf:type ontology:Q56061 }
Peshtera
action filter_type
action find
entity Peshtera
relation shares border with
type administrative territorial entity
['Peshtera', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Peshtera property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q192888 Q186576
SYSTEM
Smolyan, Pazardzhik
Q192888 Q186576
(Q407570,P47,c(Q56061))
action filter_type
action find
entity Q407570
relation P47
type Q56061
[ANSWERS]
['Q407570', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q407570 property:P47 ?t . ?t rdf:type ontology:Q56061 }
Smolyan Pazardzhik
Smolyan Pazardzhik
action filter_type
action find
entity Peshtera
relation shares border with
type administrative territorial entity
['Peshtera', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Peshtera property:shares_border_with ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q192888
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q192888,P17,c(Q15617994))
action filter_type
action find
entity Q192888
relation P17
type Q15617994
['Q192888', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q192888 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Smolyan
action filter_type
action find
entity Smolyan
relation country
type designation for an administrative territorial entity
['Smolyan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Smolyan property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q186576
SYSTEM
Did you mean Pazardzhik ?
Q192888 Q186576
(Q192888,P17,c(Q15617994)) (Q186576,P17,c(Q15617994))
[ANSWER]
['Q192888', 'P17', {'concept': 'Q15617994'}] ['Q186576', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q192888 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Smolyan Pazardzhik
Did you mean Pazardzhik ?
Pazardzhik
['Smolyan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pazardzhik', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Smolyan property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Smolyan. Could you tell me the answer for that?
(Q192888,P17,c(Q15617994))
Q192888
['Q192888', 'P17', {'concept': 'Q15617994'}]
['Smolyan', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q219
SYSTEM
Bulgaria
Q219
(Q192888,P17,c(Q15617994))
action filter_type
action find
entity Q192888
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q192888', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q192888 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Bulgaria
That administrative territory is located in Bulgaria
Bulgaria
action filter_type
action find
entity Smolyan
relation country
type designation for an administrative territorial entity
['Smolyan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Smolyan property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q7275
USER
How many administrative territories or states share the border with that administrative territory ?
(Q219,P47,c(Q15617994)) (Q219,P47,c(Q7275)) (Q219,P47,c(Q15617994)) (Q219,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q219
relation P47
type Q15617994
action filter_type
action find
entity Q219
relation P47
type Q7275
['Q219', 'P47', {'concept': 'Q15617994'}] ['Q219', 'P47', {'concept': 'Q7275'}] ['Q219', 'P47', {'concept': 'Q15617994'}] ['Q219', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
action count
action union
action filter_type
action find
entity Bulgaria
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Bulgaria
relation shares border with
type state
['Bulgaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bulgaria', 'shares border with', {'concept': 'state'}] ['Bulgaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bulgaria', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity state
SYSTEM
6
Q43 Q221 Q41 Q218 Q403 Q36704
(Q219,P47,c(Q15617994)) (Q219,P47,c(Q7275)) (Q219,P47,c(Q15617994)) (Q219,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q219
relation P47
type Q15617994
action filter_type
action find
entity Q219
relation P47
type Q7275
[ANSWER]
['Q219', 'P47', {'concept': 'Q15617994'}] ['Q219', 'P47', {'concept': 'Q7275'}] ['Q219', 'P47', {'concept': 'Q15617994'}] ['Q219', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Turkey Republic of Macedonia Greece Romania Serbia Yugoslavia
6
action count
action union
action filter_type
action find
entity Bulgaria
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Bulgaria
relation shares border with
type state
['Bulgaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bulgaria', 'shares border with', {'concept': 'state'}] ['Bulgaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bulgaria', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j rdf:type ?z . VALUES ( ?z ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]