Simple Question (Direct)
Simple Question
Q392093
P47
Q13220204
USER
Which administrative country subdivisions have a shared border with Agdenes ?
(Q392093,P47,c(Q13220204))
action filter_type
action find
entity Q392093
relation P47
type Q13220204
['Q392093', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q392093 property:P47 ?a . ?a rdf:type ontology:Q13220204 }
Agdenes
action filter_type
action find
entity Agdenes
relation shares border with
type second-level administrative country subdivision
['Agdenes', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Agdenes property:shares_border_with ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q500284 Q109025 Q488157
SYSTEM
Orkdal, Hitra, Rissa
Q109025 Q488157 Q308245 Q500284 Q48568
(Q392093,P47,c(Q13220204))
action filter_type
action find
entity Q392093
relation P47
type Q13220204
[ANSWERS] have a shared border with Agdenes
['Q392093', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?a WHERE { resource:Q392093 property:P47 ?a . ?a rdf:type ontology:Q13220204 }
Hitra Rissa Ørland Orkdal Snillfjord
Orkdal, Hitra and Rissa have a shared border with Agdenes
Orkdal Hitra Rissa
action filter_type
action find
entity Agdenes
relation shares border with
type second-level administrative country subdivision
['Agdenes', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?a WHERE { resource:Agdenes property:shares_border_with ?a . ?a rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q500284
P190
Q914262
USER
Which administrative territory of Sweden is twin town of Orkdal ?
(c(Q914262),P190,Q500284)
action filter_type
action find
entity Q500284
relation P190
type Q914262
[{'concept': 'Q914262'}, 'P190', 'Q500284']
SELECT DISTINCT ?g WHERE { resource:Q500284 property:P190 ?g . ?g rdf:type ontology:Q914262 }
Orkdal
action filter_type
action find
entity Orkdal
relation sister city
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Orkdal']
SELECT DISTINCT ?g WHERE { resource:Orkdal property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q220881
SYSTEM
Hällefors Municipality
Q220881
(c(Q914262),P190,Q500284)
action filter_type
action find
entity Q500284
relation P190
type Q914262
[ANSWER] is twin town of Orkdal
[{'concept': 'Q914262'}, 'P190', 'Q500284']
SELECT DISTINCT ?g WHERE { resource:Q500284 property:P190 ?g . ?g rdf:type ontology:Q914262 }
Hällefors Municipality
Hällefors Municipality is twin town of Orkdal
Hällefors Municipality
action filter_type
action find
entity Orkdal
relation sister city
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Sweden'}, 'sister city', 'Orkdal']
SELECT DISTINCT ?g WHERE { resource:Orkdal property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q500284
P6
Q502895
USER
Which person does Orkdal serve as the head of government for ?
(Q500284,P6,c(Q502895))
action filter_type
action find
entity Q500284
relation P6
type Q502895
['Q500284', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q500284 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Orkdal
action filter_type
action find
entity Orkdal
relation head of government
type common name
['Orkdal', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Orkdal property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q17102684
SYSTEM
Gunnar Lysholm
Q17102684
(Q500284,P6,c(Q502895))
action filter_type
action find
entity Q500284
relation P6
type Q502895
[ANSWER] Orkdal serves as the head of government
['Q500284', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q500284 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Gunnar Lysholm
Gunnar Lysholm Orkdal serves as the head of government
Gunnar Lysholm
action filter_type
action find
entity Orkdal
relation head of government
type common name
['Orkdal', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Orkdal property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q540185
Q502895
USER
And how about Puerto del Rosario?
(Q540185,P6,c(Q502895))
action filter_type
action find
entity Q540185
relation P6
type Q502895
['Q540185', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q540185 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Puerto del Rosario
action filter_type
action find
entity Puerto del Rosario
relation head of government
type common name
['Puerto del Rosario', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Puerto_del_Rosario property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
common name
Q14100239
SYSTEM
Nicolás Gutiérrez Oramas
Q14100239
(Q540185,P6,c(Q502895))
action filter_type
action find
entity Q540185
relation P6
type Q502895
[ANSWER]
['Q540185', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q540185 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Nicolás Gutiérrez Oramas
Nicolás Gutiérrez Oramas
action filter_type
action find
entity Puerto del Rosario
relation head of government
type common name
['Puerto del Rosario', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Puerto_del_Rosario property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14100239 Q540185
P6
Q1048835
USER
Does Puerto del Rosario have that person as its head of government ?
(Q540185,P6,Q14100239)
action is_in
entity Q14100239
action find
entity Q540185
relation P6
['Q540185', 'P6', 'Q14100239']
ASK WHERE { resource:Q540185 property:P6 resource:Q14100239 }
Nicolás Gutiérrez Oramas Puerto del Rosario
action is_in
entity Nicolás Gutiérrez Oramas
action find
entity Puerto del Rosario
relation head of government
['Puerto del Rosario', 'head of government', 'Nicolás Gutiérrez Oramas']
ASK WHERE { resource:Puerto_del_Rosario property:head_of_government resource:Nicolás_Gutiérrez_Oramas }
[]
political territorial entity
SYSTEM
YES
(Q540185,P6,Q14100239)
action is_in
entity Q14100239
action find
entity Q540185
relation P6
[ANSWER]
['Q540185', 'P6', 'Q14100239']
ASK WHERE { resource:Q540185 property:P6 resource:Q14100239 }
Yes
action is_in
entity Nicolás Gutiérrez Oramas
action find
entity Puerto del Rosario
relation head of government
['Puerto del Rosario', 'head of government', 'Nicolás Gutiérrez Oramas']
ASK WHERE { resource:Puerto_del_Rosario property:head_of_government resource:Nicolás_Gutiérrez_Oramas }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q488157 Q17631
P17
Q15617994
USER
Does Rissa belong to Ozzano Monferrato ?
(Q488157,P17,Q17631)
action is_in
entity Q17631
action find
entity Q488157
relation P17
['Q488157', 'P17', 'Q17631']
ASK WHERE { resource:Q488157 property:P17 resource:Q17631 }
Rissa Ozzano Monferrato
action is_in
entity Ozzano Monferrato
action find
entity Rissa
relation country
['Rissa', 'country', 'Ozzano Monferrato']
ASK WHERE { resource:Rissa property:country resource:Ozzano_Monferrato }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q488157,P17,Q17631)
action is_in
entity Q17631
action find
entity Q488157
relation P17
[ANSWER]
['Q488157', 'P17', 'Q17631']
ASK WHERE { resource:Q488157 property:P17 resource:Q17631 }
No
action is_in
entity Ozzano Monferrato
action find
entity Rissa
relation country
['Rissa', 'country', 'Ozzano Monferrato']
ASK WHERE { resource:Rissa property:country resource:Ozzano_Monferrato }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q109025 Q243109 Q20
P17
Q15617994
USER
Is Hitra located in Nerola and Norway ?
(Q109025,P17,Q243109) (Q109025,P17,Q20)
action is_in
entity Q109025
action intersection
action find_reverse
entity Q243109
relation P17
action find_reverse
entity Q20
relation P17
['Q109025', 'P17', 'Q243109'] ['Q109025', 'P17', 'Q20']
ASK WHERE { resource:Q109025 property:P17 resource:Q243109 . resource:Q109025 property:P17 resource:Q20 }
Hitra Nerola Norway
action is_in
entity Hitra
action intersection
action find_reverse
entity Nerola
relation country
action find_reverse
entity Norway
relation country
['Hitra', 'country', 'Nerola'] ['Hitra', 'country', 'Norway']
ASK WHERE { resource:Hitra property:country resource:Nerola . resource:Hitra property:country resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q109025,P17,Q243109) (Q109025,P17,Q20)
action is_in
entity Q109025
action intersection
action find_reverse
entity Q243109
relation P17
action find_reverse
entity Q20
relation P17
[ANSWER]
['Q109025', 'P17', 'Q243109'] ['Q109025', 'P17', 'Q20']
ASK WHERE { resource:Q109025 property:P17 resource:Q243109 . resource:Q109025 property:P17 resource:Q20 }
NO and YES respectively
action is_in
entity Hitra
action intersection
action find_reverse
entity Nerola
relation country
action find_reverse
entity Norway
relation country
['Hitra', 'country', 'Nerola'] ['Hitra', 'country', 'Norway']
ASK WHERE { resource:Hitra property:country resource:Nerola . resource:Hitra property:country resource:Norway }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q109025
P19
Q502895
USER
Who have location of birth at Hitra ?
(c(Q502895),P19,Q109025)
action filter_type
action find_reverse
entity Q109025
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q109025']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q109025 }
Hitra
action filter_type
action find_reverse
entity Hitra
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Hitra']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Hitra }
[]
common name
Q3880808 Q1731809 Q17125679
SYSTEM
Odd Inge Olsen, Karl Johan Baadsvik, Christian Torberg Hegge
Q3880808 Q17125679 Q1731809 Q455871
(c(Q502895),P19,Q109025)
action filter_type
action find_reverse
entity Q109025
relation P19
type Q502895
[ANSWERS] have location of birth at Hitra
[{'concept': 'Q502895'}, 'P19', 'Q109025']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q109025 }
Odd Inge Olsen Christian Torberg Hegge Karl Johan Baadsvik Rita Ottervik
Odd Inge Olsen, Karl Johan Baadsvik and Christian Torberg Hegge have location of birth at Hitra
Odd Inge Olsen Karl Johan Baadsvik Christian Torberg Hegge
action filter_type
action find_reverse
entity Hitra
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Hitra']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Hitra }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3880808
P21
Q290
USER
Which sex does that person possess ?
(Q3880808,P21,c(Q290))
action filter_type
action find
entity Q3880808
relation P21
type Q290
['Q3880808', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3880808 property:P21 ?t . ?t rdf:type ontology:Q290 }
Odd Inge Olsen
action filter_type
action find
entity Odd Inge Olsen
relation gender
type sex
['Odd Inge Olsen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Odd_Inge_Olsen property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q17125679
SYSTEM
Did you mean Christian Torberg Hegge ?
Q3880808 Q1731809 Q17125679
(Q3880808,P21,c(Q290)) (Q1731809,P21,c(Q290)) (Q17125679,P21,c(Q290))
[ANSWER]
['Q3880808', 'P21', {'concept': 'Q290'}] ['Q1731809', 'P21', {'concept': 'Q290'}] ['Q17125679', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3880808 property:P21 ?t . ?t rdf:type ontology:Q290 }
Odd Inge Olsen Karl Johan Baadsvik Christian Torberg Hegge
Did you mean Christian Torberg Hegge ?
Christian Torberg Hegge
['Odd Inge Olsen', 'gender', {'concept': 'sex'}] ['Karl Johan Baadsvik', 'gender', {'concept': 'sex'}] ['Christian Torberg Hegge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Odd_Inge_Olsen property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Odd Inge Olsen. Could you tell me the answer for that?
(Q3880808,P21,c(Q290))
Q3880808
['Q3880808', 'P21', {'concept': 'Q290'}]
['Odd Inge Olsen', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q3880808,P21,c(Q290))
action filter_type
action find
entity Q3880808
relation P21
type Q290
That person possesses a [ANSWER]
['Q3880808', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3880808 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Odd Inge Olsen
relation gender
type sex
['Odd Inge Olsen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Odd_Inge_Olsen property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220881
P1376
Q15700808
USER
Which urban unit definition is the capital of Hällefors Municipality ?
(c(Q15700808),P1376,Q220881)
action filter_type
action find_reverse
entity Q220881
relation P1376
type Q15700808
[{'concept': 'Q15700808'}, 'P1376', 'Q220881']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15700808 . ?p property:P1376 resource:Q220881 }
Hällefors Municipality
action filter_type
action find_reverse
entity Hällefors Municipality
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Hällefors Municipality']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:urban_unit_definition . ?p property:capital_of resource:Hällefors_Municipality }
[]
urban unit definition
Q305380
SYSTEM
Hällefors
Q305380
(c(Q15700808),P1376,Q220881)
action filter_type
action find_reverse
entity Q220881
relation P1376
type Q15700808
In [ANSWER] is the capital of [ANSWER] Municipality
[{'concept': 'Q15700808'}, 'P1376', 'Q220881']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15700808 . ?p property:P1376 resource:Q220881 }
Hällefors
In Hällefors is the capital of Hällefors Municipality
Hällefors
action filter_type
action find_reverse
entity Hällefors Municipality
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Hällefors Municipality']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:urban_unit_definition . ?p property:capital_of resource:Hällefors_Municipality }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q305380
P36
Q914262
USER
Which administrative territory of Sweden has that urban unit definition as its capital ?
(c(Q914262),P36,Q305380)
action filter_type
action find_reverse
entity Q305380
relation P36
type Q914262
[{'concept': 'Q914262'}, 'P36', 'Q305380']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q305380 . ?e rdf:type ontology:Q914262 }
Hällefors
action filter_type
action find_reverse
entity Hällefors
relation capital
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Sweden'}, 'capital', 'Hällefors']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Hällefors . ?e rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q220881
SYSTEM
Hällefors Municipality
Q220881
(c(Q914262),P36,Q305380)
action filter_type
action find_reverse
entity Q305380
relation P36
type Q914262
[ANSWER] has that urban unit definition as its capital
[{'concept': 'Q914262'}, 'P36', 'Q305380']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q305380 . ?e rdf:type ontology:Q914262 }
Hällefors Municipality
Hällefors Municipality has that urban unit definition as its capital
Hällefors Municipality
action filter_type
action find_reverse
entity Hällefors
relation capital
type administrative territorial entity of Sweden
[{'concept': 'administrative territorial entity of Sweden'}, 'capital', 'Hällefors']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Hällefors . ?e rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q220881 Q179830
P190
Q56061
USER
Is Jelgava a sister city of that administrative territory of Sweden ?
(Q179830,P190,Q220881)
action is_in
entity Q179830
action find
entity Q220881
relation P190
['Q179830', 'P190', 'Q220881']
ASK WHERE { resource:Q220881 property:P190 resource:Q179830 }
Hällefors Municipality Jelgava
action is_in
entity Jelgava
action find
entity Hällefors Municipality
relation sister city
['Jelgava', 'sister city', 'Hällefors Municipality']
ASK WHERE { resource:Hällefors_Municipality property:sister_city resource:Jelgava }
[]
administrative territorial entity
SYSTEM
YES
(Q179830,P190,Q220881)
action is_in
entity Q179830
action find
entity Q220881
relation P190
[ANSWER]
['Q179830', 'P190', 'Q220881']
ASK WHERE { resource:Q220881 property:P190 resource:Q179830 }
Yes
action is_in
entity Jelgava
action find
entity Hällefors Municipality
relation sister city
['Jelgava', 'sister city', 'Hällefors Municipality']
ASK WHERE { resource:Hällefors_Municipality property:sister_city resource:Jelgava }
[]