Simple Question (Direct)
Simple Question
Q19289048
P1412
Q34770
USER
Which language does Salvador Serentill i Costa speak in ?
(Q19289048,P1412,c(Q34770))
action filter_type
action find
entity Q19289048
relation P1412
type Q34770
['Q19289048', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q19289048 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Salvador Serentill i Costa
action filter_type
action find
entity Salvador Serentill i Costa
relation languages spoken, written or signed
type language
['Salvador Serentill i Costa', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Salvador_Serentill_i_Costa property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q19289048,P1412,c(Q34770))
action filter_type
action find
entity Q19289048
relation P1412
type Q34770
Salvador Serentill i Costa speaks in [ANSWER]
['Q19289048', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q19289048 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Spanish
Salvador Serentill i Costa speaks in Spanish
Spanish
action filter_type
action find
entity Salvador Serentill i Costa
relation languages spoken, written or signed
type language
['Salvador Serentill i Costa', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Salvador_Serentill_i_Costa property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19289048
P39
Q12737077
USER
Which occupations were the positions occupied by Salvador Serentill i Costa ?
(Q19289048,P39,c(Q12737077))
action filter_type
action find
entity Q19289048
relation P39
type Q12737077
['Q19289048', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q19289048 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Salvador Serentill i Costa
action filter_type
action find
entity Salvador Serentill i Costa
relation position held
type occupation
['Salvador Serentill i Costa', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Salvador_Serentill_i_Costa property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q30185 Q708492
SYSTEM
mayor, councillor
Q30185 Q708492
(Q19289048,P39,c(Q12737077))
action filter_type
action find
entity Q19289048
relation P39
type Q12737077
The [ANSWERS] were the positions occupied by Salvador Serentill i Costa
['Q19289048', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q19289048 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
mayor councillor
The mayor and councillor were the positions occupied by Salvador Serentill i Costa
mayor councillor
action filter_type
action find
entity Salvador Serentill i Costa
relation position held
type occupation
['Salvador Serentill i Costa', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Salvador_Serentill_i_Costa property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30185
P361
Q15617994
USER
Which administrative territory is that occupation a component of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q30185 property:P361 ?u . ?u rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor property:part_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q30185
SYSTEM
Did you mean mayor ?
Q30185 Q708492
(Q30185,P361,c(Q15617994)) (Q708492,P361,c(Q15617994))
[ANSWER]
['Q30185', 'P361', {'concept': 'Q15617994'}] ['Q708492', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q30185 property:P361 ?u . ?u rdf:type ontology:Q15617994 }
mayor councillor
Did you mean mayor ?
mayor
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}] ['councillor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor property:part_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q30185,P361,c(Q15617994))
['Q30185', 'P361', {'concept': 'Q15617994'}]
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
[]
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
[ANSWER] is that occupation a component of
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q30185 property:P361 ?u . ?u rdf:type ontology:Q15617994 }
municipality
Municipality is that occupation a component of
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:mayor property:part_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15284
P1313
Q12737077
USER
What are the occupations held by that administrative territory ?
(Q15284,P1313,c(Q12737077))
action filter_type
action find
entity Q15284
relation P1313
type Q12737077
['Q15284', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q15284 property:P1313 ?j }
municipality
action filter_type
action find
entity municipality
relation office held by head of government
type occupation
['municipality', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:municipality property:office_held_by_head_of_government ?j }
[]
occupation
Q30185 Q496728
SYSTEM
mayor, municipal manager
Q30185 Q496728
(Q15284,P1313,c(Q12737077))
action filter_type
action find
entity Q15284
relation P1313
type Q12737077
The occupations held by that administrative territory are the [ANSWERS]
['Q15284', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q15284 property:P1313 ?j }
mayor municipal manager
The occupations held by that administrative territory are the mayor and municipal manager
mayor municipal manager
action filter_type
action find
entity municipality
relation office held by head of government
type occupation
['municipality', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:municipality property:office_held_by_head_of_government ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q496728 Q3089050
P1001
Q15617994
USER
How many administrative territories are judicially linked to municipal manager or Cameroon–Nigeria border ?
(Q496728,P1001,c(Q15617994)) (Q3089050,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q496728
relation P1001
type Q15617994
action filter_type
action find
entity Q3089050
relation P1001
type Q15617994
['Q496728', 'P1001', {'concept': 'Q15617994'}] ['Q3089050', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { ?r rdf:type ontology:Q15617994 . resource:Q3089050 property:P1001 ?r } UNION { ?r rdf:type ontology:Q15617994 . resource:Q496728 property:P1001 ?r } }
municipal manager Cameroon–Nigeria border
action count
action union
action filter_type
action find
entity municipal manager
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Cameroon–Nigeria border
relation applies to jurisdiction
type designation for an administrative territorial entity
['municipal manager', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Cameroon–Nigeria border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cameroon–Nigeria_border property:applies_to_jurisdiction ?r } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:municipal_manager property:applies_to_jurisdiction ?r } }
[]
designation for an administrative territorial entity
SYSTEM
3
Q33 Q1009 Q1033
(Q496728,P1001,c(Q15617994)) (Q3089050,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q496728
relation P1001
type Q15617994
action filter_type
action find
entity Q3089050
relation P1001
type Q15617994
[ANSWER]
['Q496728', 'P1001', {'concept': 'Q15617994'}] ['Q3089050', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { ?r rdf:type ontology:Q15617994 . resource:Q3089050 property:P1001 ?r } UNION { ?r rdf:type ontology:Q15617994 . resource:Q496728 property:P1001 ?r } }
Finland Cameroon Nigeria
3
action count
action union
action filter_type
action find
entity municipal manager
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Cameroon–Nigeria border
relation applies to jurisdiction
type designation for an administrative territorial entity
['municipal manager', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Cameroon–Nigeria border', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cameroon–Nigeria_border property:applies_to_jurisdiction ?r } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:municipal_manager property:applies_to_jurisdiction ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q496728
P17
Q15617994
USER
Which administrative territory is municipal manager located in ?
(Q496728,P17,c(Q15617994))
action filter_type
action find
entity Q496728
relation P17
type Q15617994
['Q496728', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q496728 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
municipal manager
action filter_type
action find
entity municipal manager
relation country
type designation for an administrative territorial entity
['municipal manager', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:municipal_manager property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q496728,P17,c(Q15617994))
action filter_type
action find
entity Q496728
relation P17
type Q15617994
Municipal manager is located in [ANSWER]
['Q496728', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q496728 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Finland
Municipal manager is located in Finland
Finland
action filter_type
action find
entity municipal manager
relation country
type designation for an administrative territorial entity
['municipal manager', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:municipal_manager property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q496728
P106
Q502895
USER
Which person has the profession of municipal manager ?
(c(Q502895),P106,Q496728)
action filter_type
action find_reverse
entity Q496728
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q496728']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q496728 . ?r rdf:type ontology:Q502895 }
municipal manager
action filter_type
action find_reverse
entity municipal manager
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'municipal manager']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:municipal_manager . ?r rdf:type ontology:common_name }
[]
common name
Q11865505
SYSTEM
Jaakko Lovén
Q11865505
(c(Q502895),P106,Q496728)
action filter_type
action find_reverse
entity Q496728
relation P106
type Q502895
[ANSWER] has the profession of municipal manager
[{'concept': 'Q502895'}, 'P106', 'Q496728']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q496728 . ?r rdf:type ontology:Q502895 }
Jaakko Lovén
Jaakko Lovén has the profession of municipal manager
Jaakko Lovén
action filter_type
action find_reverse
entity municipal manager
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'municipal manager']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:municipal_manager . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11865505
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q11865505,P19,c(Q56061))
action filter_type
action find
entity Q11865505
relation P19
type Q56061
['Q11865505', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q11865505 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Jaakko Lovén
action filter_type
action find
entity Jaakko Lovén
relation place of birth
type administrative territorial entity
['Jaakko Lovén', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jaakko_Lovén property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q14657
SYSTEM
Vyborg
Q14657
(Q11865505,P19,c(Q56061))
action filter_type
action find
entity Q11865505
relation P19
type Q56061
That person was born in [ANSWER]
['Q11865505', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q11865505 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Vyborg
That person was born in Vyborg
Vyborg
action filter_type
action find
entity Jaakko Lovén
relation place of birth
type administrative territorial entity
['Jaakko Lovén', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jaakko_Lovén property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11865505
P20
Q56061
USER
Where did the expiration of Jaakko Lovén occur ?
(Q11865505,P20,c(Q56061))
action filter_type
action find
entity Q11865505
relation P20
type Q56061
['Q11865505', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11865505 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Jaakko Lovén
action filter_type
action find
entity Jaakko Lovén
relation place of death
type administrative territorial entity
['Jaakko Lovén', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jaakko_Lovén property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q134620
SYSTEM
Jyväskylä
Q134620
(Q11865505,P20,c(Q56061))
action filter_type
action find
entity Q11865505
relation P20
type Q56061
The expiration of Jaakko Lovén occurred in [ANSWER]
['Q11865505', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11865505 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Jyväskylä
The expiration of Jaakko Lovén occurred in Jyväskylä
Jyväskylä
action filter_type
action find
entity Jaakko Lovén
relation place of death
type administrative territorial entity
['Jaakko Lovén', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jaakko_Lovén property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14657
P190
Q56061
USER
Which administrative territories are sister towns of Vyborg ?
(Q14657,P190,c(Q56061))
action filter_type
action find
entity Q14657
relation P190
type Q56061
['Q14657', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q14657 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Vyborg
action filter_type
action find
entity Vyborg
relation sister city
type administrative territorial entity
['Vyborg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Vyborg property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q181854 Q221447
SYSTEM
Lappeenranta, Ramla
Q181854 Q221447
(Q14657,P190,c(Q56061))
action filter_type
action find
entity Q14657
relation P190
type Q56061
[ANSWERS] are sister towns of Vyborg
['Q14657', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q14657 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Lappeenranta Ramla
Lappeenranta and Ramla are sister towns of Vyborg
Lappeenranta Ramla
action filter_type
action find
entity Vyborg
relation sister city
type administrative territorial entity
['Vyborg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Vyborg property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q14657
Q15700808
USER
And which urban unit definition?
(Q14657,P190,c(Q15700808))
action filter_type
action find
entity Q14657
relation P190
type Q15700808
['Q14657', 'P190', {'concept': 'Q15700808'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15700808 . resource:Q14657 property:P190 ?k }
Vyborg
action filter_type
action find
entity Vyborg
relation sister city
type urban unit definition
['Vyborg', 'sister city', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:urban_unit_definition . resource:Vyborg property:sister_city ?k }
[]
urban unit definition
Q54356
SYSTEM
Nyköping
Q54356
(Q14657,P190,c(Q15700808))
action filter_type
action find
entity Q14657
relation P190
type Q15700808
[ANSWER]
['Q14657', 'P190', {'concept': 'Q15700808'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15700808 . resource:Q14657 property:P190 ?k }
Nyköping
Nyköping
action filter_type
action find
entity Vyborg
relation sister city
type urban unit definition
['Vyborg', 'sister city', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:urban_unit_definition . resource:Vyborg property:sister_city ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q54356 Q14657 Q1487593
P190
Q56061
USER
Is that urban unit definition twin city of Vyborg and Rampur ?
(Q54356,P190,Q14657) (Q54356,P190,Q1487593)
action is_in
entity Q54356
action intersection
action find_reverse
entity Q14657
relation P190
action find_reverse
entity Q1487593
relation P190
['Q54356', 'P190', 'Q14657'] ['Q54356', 'P190', 'Q1487593']
ASK WHERE { resource:Q54356 property:P190 resource:Q1487593 . resource:Q54356 property:P190 resource:Q14657 }
Nyköping Vyborg Rampur
action is_in
entity Nyköping
action intersection
action find_reverse
entity Vyborg
relation sister city
action find_reverse
entity Rampur
relation sister city
['Nyköping', 'sister city', 'Vyborg'] ['Nyköping', 'sister city', 'Rampur']
ASK WHERE { resource:Nyköping property:sister_city resource:Rampur . resource:Nyköping property:sister_city resource:Vyborg }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q54356,P190,Q14657) (Q54356,P190,Q1487593)
action is_in
entity Q54356
action intersection
action find_reverse
entity Q14657
relation P190
action find_reverse
entity Q1487593
relation P190
[ANSWER]
['Q54356', 'P190', 'Q14657'] ['Q54356', 'P190', 'Q1487593']
ASK WHERE { resource:Q54356 property:P190 resource:Q1487593 . resource:Q54356 property:P190 resource:Q14657 }
YES and NO respectively
action is_in
entity Nyköping
action intersection
action find_reverse
entity Vyborg
relation sister city
action find_reverse
entity Rampur
relation sister city
['Nyköping', 'sister city', 'Vyborg'] ['Nyköping', 'sister city', 'Rampur']
ASK WHERE { resource:Nyköping property:sister_city resource:Rampur . resource:Nyköping property:sister_city resource:Vyborg }
[]