Simple Question (Direct)
Simple Question
Q12391263
P641
Q349
USER
Which sport did Juan Moreno Jordán participate in ?
(Q12391263,P641,c(Q349))
action filter_type
action find
entity Q12391263
relation P641
type Q349
['Q12391263', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q12391263 property:P641 ?j . ?j rdf:type ontology:Q349 }
Juan Moreno Jordán
action filter_type
action find
entity Juan Moreno Jordán
relation sport
type sport
['Juan Moreno Jordán', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Juan_Moreno_Jordán property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q12391263,P641,c(Q349))
action filter_type
action find
entity Q12391263
relation P641
type Q349
Juan Moreno Jordán participated in [ANSWER]
['Q12391263', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q12391263 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
Juan Moreno Jordán participated in association football
association football
action filter_type
action find
entity Juan Moreno Jordán
relation sport
type sport
['Juan Moreno Jordán', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Juan_Moreno_Jordán property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12391263
P19
Q56061
USER
Which administrative territory is the place of birth of Juan Moreno Jordán ?
(Q12391263,P19,c(Q56061))
action filter_type
action find
entity Q12391263
relation P19
type Q56061
['Q12391263', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q12391263 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Juan Moreno Jordán
action filter_type
action find
entity Juan Moreno Jordán
relation place of birth
type administrative territorial entity
['Juan Moreno Jordán', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Juan_Moreno_Jordán property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8818
SYSTEM
Valencia
Q8818
(Q12391263,P19,c(Q56061))
action filter_type
action find
entity Q12391263
relation P19
type Q56061
[ANSWER] is the place of birth of Juan Moreno Jordán
['Q12391263', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q12391263 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Valencia
Valencia is the place of birth of Juan Moreno Jordán
Valencia
action filter_type
action find
entity Juan Moreno Jordán
relation place of birth
type administrative territorial entity
['Juan Moreno Jordán', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Juan_Moreno_Jordán property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q8818 Q554955
P17
Q15617994
USER
Is that administrative territory a part of Steinheuterode ?
(Q8818,P17,Q554955)
action is_in
entity Q554955
action find
entity Q8818
relation P17
['Q8818', 'P17', 'Q554955']
ASK WHERE { resource:Q8818 property:P17 resource:Q554955 }
Valencia Steinheuterode
action is_in
entity Steinheuterode
action find
entity Valencia
relation country
['Valencia', 'country', 'Steinheuterode']
ASK WHERE { resource:Valencia property:country resource:Steinheuterode }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q8818,P17,Q554955)
action is_in
entity Q554955
action find
entity Q8818
relation P17
[ANSWER]
['Q8818', 'P17', 'Q554955']
ASK WHERE { resource:Q8818 property:P17 resource:Q554955 }
No
action is_in
entity Steinheuterode
action find
entity Valencia
relation country
['Valencia', 'country', 'Steinheuterode']
ASK WHERE { resource:Valencia property:country resource:Steinheuterode }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12391263
P1412
Q34770
USER
Which language is spoken by Juan Moreno Jordán ?
(Q12391263,P1412,c(Q34770))
action filter_type
action find
entity Q12391263
relation P1412
type Q34770
['Q12391263', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q12391263 property:P1412 ?h }
Juan Moreno Jordán
action filter_type
action find
entity Juan Moreno Jordán
relation languages spoken, written or signed
type language
['Juan Moreno Jordán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Juan_Moreno_Jordán property:languages_spoken,_written_or_signed ?h }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q12391263,P1412,c(Q34770))
action filter_type
action find
entity Q12391263
relation P1412
type Q34770
Is [ANSWER] is spoken by Juan Moreno Jordán
['Q12391263', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q12391263 property:P1412 ?h }
Spanish
Is Spanish is spoken by Juan Moreno Jordán
Spanish
action filter_type
action find
entity Juan Moreno Jordán
relation languages spoken, written or signed
type language
['Juan Moreno Jordán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Juan_Moreno_Jordán property:languages_spoken,_written_or_signed ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8818
P47
Q1048835
USER
Which political territories do Valencia share a border with ?
(c(Q1048835),P47,Q8818)
action filter_type
action find
entity Q8818
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q8818']
SELECT DISTINCT ?t WHERE { resource:Q8818 property:P47 ?t . ?t rdf:type ontology:Q1048835 }
Valencia
action filter_type
action find
entity Valencia
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Valencia']
SELECT DISTINCT ?t WHERE { resource:Valencia property:shares_border_with ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q23042 Q1010314 Q986084
SYSTEM
Paterna, Museros, Bétera
Q1648833 Q1993437 Q23042 Q55688 Q987383 Q1648851 Q1313044 Q945911 Q1982756 Q1010314 Q1771157 Q13725 Q1771153 Q1989342 Q1993019 Q1648768 Q1771131 Q102848 Q1312589 Q102862 Q1109227 Q668117 Q12442 Q1982784 Q986084 Q1982763 Q10843 Q1771187 Q102878 Q633096 Q1010291
(c(Q1048835),P47,Q8818)
action filter_type
action find
entity Q8818
relation P47
type Q1048835
[ANSWERS] Valencia share a border with
[{'concept': 'Q1048835'}, 'P47', 'Q8818']
SELECT DISTINCT ?t WHERE { resource:Q8818 property:P47 ?t . ?t rdf:type ontology:Q1048835 }
Albal Rocafort Paterna Burjasot Alboraya Alfafar Masamagrell Quart de Poblet Godella Museros Alfara del Patriarca Chirivella Albuixech Massalfassar Meliana Almàssera Catarroja Paiporta Bonrepòs i Mirambell Sedaví Tavernes Blanques Foios Mislata Vinalesa Bétera Picanya Silla Albalat dels Sorells Massanassa Sollana Moncada
Paterna, Museros and Bétera Valencia share a border with
Paterna Museros Bétera
action filter_type
action find
entity Valencia
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Valencia']
SELECT DISTINCT ?t WHERE { resource:Valencia property:shares_border_with ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1010314
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that political territory ?
(Q1010314,P1313,c(Q12737077))
action filter_type
action find
entity Q1010314
relation P1313
type Q12737077
['Q1010314', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q1010314 property:P1313 ?d }
Museros
action filter_type
action find
entity Museros
relation office held by head of government
type occupation
['Museros', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Museros property:office_held_by_head_of_government ?d }
[]
occupation
Clarification for simple ques.
Q986084
SYSTEM
Did you mean Bétera ?
Q23042 Q1010314 Q986084
(Q23042,P1313,c(Q12737077)) (Q1010314,P1313,c(Q12737077)) (Q986084,P1313,c(Q12737077))
[ANSWER]
['Q23042', 'P1313', {'concept': 'Q12737077'}] ['Q1010314', 'P1313', {'concept': 'Q12737077'}] ['Q986084', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q1010314 property:P1313 ?d }
Paterna Museros Bétera
Did you mean Bétera ?
Bétera
['Paterna', 'office held by head of government', {'concept': 'occupation'}] ['Museros', 'office held by head of government', {'concept': 'occupation'}] ['Bétera', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Museros property:office_held_by_head_of_government ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Museros. Could you tell me the answer for that?
(Q1010314,P1313,c(Q12737077))
Q1010314
['Q1010314', 'P1313', {'concept': 'Q12737077'}]
['Museros', 'office held by head of government', {'concept': 'occupation'}]
[]
Q26690231
SYSTEM
mayor of Museros
Q26690231
(Q1010314,P1313,c(Q12737077))
action filter_type
action find
entity Q1010314
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that political territory
['Q1010314', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q1010314 property:P1313 ?d }
mayor of Museros
The mayor of Museros serves as the political office that is fulfilled by the head of the government of that political territory
mayor of Museros
action filter_type
action find
entity Museros
relation office held by head of government
type occupation
['Museros', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Museros property:office_held_by_head_of_government ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26690231 Q29
P17
Q15617994
USER
Does that occupation belong to Spain ?
(Q26690231,P17,Q29)
action is_in
entity Q29
action find
entity Q26690231
relation P17
['Q26690231', 'P17', 'Q29']
ASK WHERE { resource:Q26690231 property:P17 resource:Q29 }
mayor of Museros Spain
action is_in
entity Spain
action find
entity mayor of Museros
relation country
['mayor of Museros', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Museros property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26690231,P17,Q29)
action is_in
entity Q29
action find
entity Q26690231
relation P17
[ANSWER]
['Q26690231', 'P17', 'Q29']
ASK WHERE { resource:Q26690231 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of Museros
relation country
['mayor of Museros', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Museros property:country resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q26690231
P1313
Q1048835
USER
How many political territories have mayor of Museros as position of head of government ?
(c(Q1048835),P1313,Q26690231)
action count
action filter_type
action find_reverse
entity Q26690231
relation P1313
type Q1048835
[{'concept': 'Q1048835'}, 'P1313', 'Q26690231']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P1313 resource:Q26690231 . ?u rdf:type ontology:Q1048835 }
mayor of Museros
action count
action filter_type
action find_reverse
entity mayor of Museros
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Museros']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:office_held_by_head_of_government resource:mayor_of_Museros . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q1010314
(c(Q1048835),P1313,Q26690231)
action count
action filter_type
action find_reverse
entity Q26690231
relation P1313
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P1313', 'Q26690231']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:P1313 resource:Q26690231 . ?u rdf:type ontology:Q1048835 }
Museros
1
action count
action filter_type
action find_reverse
entity mayor of Museros
relation office held by head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'office held by head of government', 'mayor of Museros']
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { ?u property:office_held_by_head_of_government resource:mayor_of_Museros . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26690231
P1313
Q1048835
USER
Which political territory has that occupation as title of head of government ?
action filter_type
action find_reverse
entity Q26690231
relation P1313
type Q1048835
SELECT DISTINCT ?b WHERE { ?b property:P1313 resource:Q26690231 . ?b rdf:type ontology:Q1048835 }
mayor of Museros
action filter_type
action find_reverse
entity mayor of Museros
relation office held by head of government
type political territorial entity
SELECT DISTINCT ?b WHERE { ?b property:office_held_by_head_of_government resource:mayor_of_Museros . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1010314
SYSTEM
Museros
Q1010314
action filter_type
action find_reverse
entity Q26690231
relation P1313
type Q1048835
[ANSWER] has that occupation as title of head of government
SELECT DISTINCT ?b WHERE { ?b property:P1313 resource:Q26690231 . ?b rdf:type ontology:Q1048835 }
Museros
Museros has that occupation as title of head of government
Museros
action filter_type
action find_reverse
entity mayor of Museros
relation office held by head of government
type political territorial entity
SELECT DISTINCT ?b WHERE { ?b property:office_held_by_head_of_government resource:mayor_of_Museros . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26690231
P1001
Q1048835
USER
Which political territory applies to jurisdiction of mayor of Museros ?
(Q26690231,P1001,c(Q1048835))
action filter_type
action find
entity Q26690231
relation P1001
type Q1048835
['Q26690231', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q26690231 property:P1001 ?h . ?h rdf:type ontology:Q1048835 }
mayor of Museros
action filter_type
action find
entity mayor of Museros
relation applies to jurisdiction
type political territorial entity
['mayor of Museros', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:mayor_of_Museros property:applies_to_jurisdiction ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1010314
SYSTEM
Museros
Q1010314
(Q26690231,P1001,c(Q1048835))
action filter_type
action find
entity Q26690231
relation P1001
type Q1048835
[ANSWER] applies to jurisdiction of mayor of [ANSWER]
['Q26690231', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q26690231 property:P1001 ?h . ?h rdf:type ontology:Q1048835 }
Museros
Museros applies to jurisdiction of mayor of Museros
Museros
action filter_type
action find
entity mayor of Museros
relation applies to jurisdiction
type political territorial entity
['mayor of Museros', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:mayor_of_Museros property:applies_to_jurisdiction ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26697901
Q1048835
USER
And what about mayor of Tabernes de Valldigna?
(Q26697901,P1001,c(Q1048835))
action filter_type
action find
entity Q26697901
relation P1001
type Q1048835
['Q26697901', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q26697901 property:P1001 ?v }
mayor of Tabernes de Valldigna
action filter_type
action find
entity mayor of Tabernes de Valldigna
relation applies to jurisdiction
type political territorial entity
['mayor of Tabernes de Valldigna', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:mayor_of_Tabernes_de_Valldigna property:applies_to_jurisdiction ?v }
[]
political territorial entity
Q299417
SYSTEM
Tavernes de la Valldigna
Q299417
(Q26697901,P1001,c(Q1048835))
action filter_type
action find
entity Q26697901
relation P1001
type Q1048835
[ANSWER]
['Q26697901', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q26697901 property:P1001 ?v }
Tavernes de la Valldigna
Tavernes de la Valldigna
action filter_type
action find
entity mayor of Tabernes de Valldigna
relation applies to jurisdiction
type political territorial entity
['mayor of Tabernes de Valldigna', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:mayor_of_Tabernes_de_Valldigna property:applies_to_jurisdiction ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6841463 Q554955
P17
Q1048835
USER
Which political territories are Steinheuterode or Middle Island situated in ?
OR((Q554955,P17,c(Q1048835)), (Q6841463,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q554955
relation P17
action find
entity Q6841463
relation P17
type Q1048835
{'OR': [['Q554955', 'P17', {'concept': 'Q1048835'}], ['Q6841463', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q554955 property:P17 ?e } UNION { resource:Q6841463 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Middle Island Steinheuterode
action filter_type
action union
action find
entity Steinheuterode
relation country
action find
entity Middle Island
relation country
type political territorial entity
{'OR': [['Steinheuterode', 'country', {'concept': 'political territorial entity'}], ['Middle Island', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Steinheuterode property:country ?e } UNION { resource:Middle_Island property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q9648 Q183
SYSTEM
Falkland Islands, Germany
Q9648 Q183
OR((Q554955,P17,c(Q1048835)), (Q6841463,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q554955
relation P17
action find
entity Q6841463
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q554955', 'P17', {'concept': 'Q1048835'}], ['Q6841463', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q554955 property:P17 ?e } UNION { resource:Q6841463 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Falkland Islands Germany
Which political territories are Steinheuterode or Middle Island situated in
Falkland Islands Germany
action filter_type
action union
action find
entity Steinheuterode
relation country
action find
entity Middle Island
relation country
type political territorial entity
{'OR': [['Steinheuterode', 'country', {'concept': 'political territorial entity'}], ['Middle Island', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Steinheuterode property:country ?e } UNION { resource:Middle_Island property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]