Simple Question (Direct)
Simple Question
Q1630419
P6
Q502895
USER
Which person has Istán as its head of government ?
(Q1630419,P6,c(Q502895))
action filter_type
action find
entity Q1630419
relation P6
type Q502895
['Q1630419', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1630419 property:P6 ?p }
Istán
action filter_type
action find
entity Istán
relation head of government
type common name
['Istán', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Istán property:head_of_government ?p }
[]
common name
Q14089353
SYSTEM
Jose Miguel Marin Marin
Q14089353
(Q1630419,P6,c(Q502895))
action filter_type
action find
entity Q1630419
relation P6
type Q502895
Jose Miguel Marin has Istán as its head of government
['Q1630419', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1630419 property:P6 ?p }
Jose Miguel Marin Marin
Jose Miguel Marin has Istán as its head of government
Jose Miguel Marin Marin
action filter_type
action find
entity Istán
relation head of government
type common name
['Istán', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Istán property:head_of_government ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14089353
P106
Q12737077
USER
What is the job of that person ?
(Q14089353,P106,c(Q12737077))
action filter_type
action find
entity Q14089353
relation P106
type Q12737077
['Q14089353', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q14089353 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Jose Miguel Marin Marin
action filter_type
action find
entity Jose Miguel Marin Marin
relation occupation
type occupation
['Jose Miguel Marin Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Jose_Miguel_Marin_Marin property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q14089353,P106,c(Q12737077))
action filter_type
action find
entity Q14089353
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q14089353', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q14089353 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Jose Miguel Marin Marin
relation occupation
type occupation
['Jose Miguel Marin Marin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Jose_Miguel_Marin_Marin property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q27533978
P106
Q502895
USER
Does Mikhail Volchikhin have the profession of that occupation ?
(Q27533978,P106,Q82955)
action is_in
entity Q27533978
action find
entity Q82955
relation P106
['Q27533978', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q27533978 }
politician Mikhail Volchikhin
action is_in
entity Mikhail Volchikhin
action find
entity politician
relation occupation
['Mikhail Volchikhin', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Mikhail_Volchikhin }
[]
common name
SYSTEM
NO
(Q27533978,P106,Q82955)
action is_in
entity Q27533978
action find
entity Q82955
relation P106
[ANSWER]
['Q27533978', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q27533978 }
No
action is_in
entity Mikhail Volchikhin
action find
entity politician
relation occupation
['Mikhail Volchikhin', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Mikhail_Volchikhin }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q14089353
P27
Q15617994
USER
How many administrative territories are Jose Miguel Marin Marin an inhabitant of ?
(Q14089353,P27,c(Q15617994))
action count
action filter_type
action find
entity Q14089353
relation P27
type Q15617994
['Q14089353', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Q14089353 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Jose Miguel Marin Marin
action count
action filter_type
action find
entity Jose Miguel Marin Marin
relation country of citizenship
type designation for an administrative territorial entity
['Jose Miguel Marin Marin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Jose_Miguel_Marin_Marin property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q14089353,P27,c(Q15617994))
action count
action filter_type
action find
entity Q14089353
relation P27
type Q15617994
[ANSWER]
['Q14089353', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Q14089353 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Jose Miguel Marin Marin
relation country of citizenship
type designation for an administrative territorial entity
['Jose Miguel Marin Marin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Jose_Miguel_Marin_Marin property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1630419
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Istán ?
(Q1630419,P1313,c(Q12737077))
action filter_type
action find
entity Q1630419
relation P1313
type Q12737077
['Q1630419', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1630419 property:P1313 ?j . ?j rdf:type ontology:Q12737077 }
Istán
action filter_type
action find
entity Istán
relation office held by head of government
type occupation
['Istán', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Istán property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q26692717
SYSTEM
mayor of Istán
Q26692717
(Q1630419,P1313,c(Q12737077))
action filter_type
action find
entity Q1630419
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Istán
['Q1630419', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1630419 property:P1313 ?j . ?j rdf:type ontology:Q12737077 }
mayor of Istán
The mayor of Istán serves as the political office that is fulfilled by the head of the government of Istán
mayor of Istán
action filter_type
action find
entity Istán
relation office held by head of government
type occupation
['Istán', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Istán property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1630419
P47
Q1048835
USER
Which political territories are bordered by that one ?
(Q26692717,P47,c(Q1048835))
action filter_type
action find
entity Q1630419
relation P47
type Q1048835
['Q26692717', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1630419 property:P47 ?i . ?i rdf:type ontology:Q1048835 }
Istán
action filter_type
action find
entity Istán
relation shares border with
type political territorial entity
['mayor of Istán', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Istán property:shares_border_with ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q816672 Q1630188 Q743326
SYSTEM
Benahavís, Parauta, Tolox
Q1630188 Q1624023 Q816672 Q743326 Q944160
(Q26692717,P47,c(Q1048835))
action filter_type
action find
entity Q1630419
relation P47
type Q1048835
[ANSWERS] are bordered by that one
['Q26692717', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q1630419 property:P47 ?i . ?i rdf:type ontology:Q1048835 }
Parauta Monda Benahavís Tolox Ojén
Benahavís, Parauta and Tolox are bordered by that one
Benahavís Parauta Tolox
action filter_type
action find
entity Istán
relation shares border with
type political territorial entity
['mayor of Istán', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Istán property:shares_border_with ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1630419
P47
Q1048835
USER
Do those ones share a border with Istán ?
(Q1630419,P47,Q816672) (Q1630419,P47,Q1630188) (Q1630419,P47,Q743326)
action is_in
entity prev_answer
action find
entity Q1630419
relation P47
['Q1630419', 'P47', 'Q816672'] ['Q1630419', 'P47', 'Q1630188'] ['Q1630419', 'P47', 'Q743326']
ASK WHERE { resource:Q1630419 property:P47 ?m . VALUES ( ?m ) { ( resource:Q1630188 ) ( resource:Q1624023 ) ( resource:Q816672 ) } }
Istán
action is_in
entity prev_answer
action find
entity Istán
relation shares border with
['Istán', 'shares border with', 'Benahavís'] ['Istán', 'shares border with', 'Parauta'] ['Istán', 'shares border with', 'Tolox']
ASK WHERE { resource:Istán property:shares_border_with ?m . VALUES ( ?m ) { ( resource:Parauta ) ( resource:Monda ) ( resource:Benahavís ) } }
[]
political territorial entity
SYSTEM
YES
(Q1630419,P47,Q816672) (Q1630419,P47,Q1630188) (Q1630419,P47,Q743326)
action is_in
entity prev_answer
action find
entity Q1630419
relation P47
[ANSWER]
['Q1630419', 'P47', 'Q816672'] ['Q1630419', 'P47', 'Q1630188'] ['Q1630419', 'P47', 'Q743326']
ASK WHERE { resource:Q1630419 property:P47 ?m . VALUES ( ?m ) { ( resource:Q1630188 ) ( resource:Q1624023 ) ( resource:Q816672 ) } }
Yes
action is_in
entity prev_answer
action find
entity Istán
relation shares border with
['Istán', 'shares border with', 'Benahavís'] ['Istán', 'shares border with', 'Parauta'] ['Istán', 'shares border with', 'Tolox']
ASK WHERE { resource:Istán property:shares_border_with ?m . VALUES ( ?m ) { ( resource:Parauta ) ( resource:Monda ) ( resource:Benahavís ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1630188 Q369145
P17
Q15617994
USER
Is Parauta located in Vordorf ?
(Q1630188,P17,Q369145)
action is_in
entity Q369145
action find
entity Q1630188
relation P17
['Q1630188', 'P17', 'Q369145']
ASK WHERE { resource:Q1630188 property:P17 resource:Q369145 }
Parauta Vordorf
action is_in
entity Vordorf
action find
entity Parauta
relation country
['Parauta', 'country', 'Vordorf']
ASK WHERE { resource:Parauta property:country resource:Vordorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1630188,P17,Q369145)
action is_in
entity Q369145
action find
entity Q1630188
relation P17
[ANSWER]
['Q1630188', 'P17', 'Q369145']
ASK WHERE { resource:Q1630188 property:P17 resource:Q369145 }
No
action is_in
entity Vordorf
action find
entity Parauta
relation country
['Parauta', 'country', 'Vordorf']
ASK WHERE { resource:Parauta property:country resource:Vordorf }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q743326 Q1630188
P47
Q1048835
USER
Is Parauta adjacent to Tolox ?
(Q743326,P47,Q1630188)
action is_in
entity Q1630188
action find
entity Q743326
relation P47
['Q743326', 'P47', 'Q1630188']
ASK WHERE { resource:Q743326 property:P47 resource:Q1630188 }
Tolox Parauta
action is_in
entity Parauta
action find
entity Tolox
relation shares border with
['Tolox', 'shares border with', 'Parauta']
ASK WHERE { resource:Tolox property:shares_border_with resource:Parauta }
[]
political territorial entity
SYSTEM
YES
(Q743326,P47,Q1630188)
action is_in
entity Q1630188
action find
entity Q743326
relation P47
[ANSWER]
['Q743326', 'P47', 'Q1630188']
ASK WHERE { resource:Q743326 property:P47 resource:Q1630188 }
Yes
action is_in
entity Parauta
action find
entity Tolox
relation shares border with
['Tolox', 'shares border with', 'Parauta']
ASK WHERE { resource:Tolox property:shares_border_with resource:Parauta }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1630188 Q29
P17
Q15617994
USER
Is Parauta situated in Spain ?
(Q1630188,P17,Q29)
action is_in
entity Q29
action find
entity Q1630188
relation P17
['Q1630188', 'P17', 'Q29']
ASK WHERE { resource:Q1630188 property:P17 resource:Q29 }
Parauta Spain
action is_in
entity Spain
action find
entity Parauta
relation country
['Parauta', 'country', 'Spain']
ASK WHERE { resource:Parauta property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1630188,P17,Q29)
action is_in
entity Q29
action find
entity Q1630188
relation P17
[ANSWER]
['Q1630188', 'P17', 'Q29']
ASK WHERE { resource:Q1630188 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Parauta
relation country
['Parauta', 'country', 'Spain']
ASK WHERE { resource:Parauta property:country resource:Spain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16185221 Q14089353
P27
Q15617994
USER
Which administrative territories are Jose Miguel Marin Marin or Maryse Meryl a civilian of ?
OR((Q14089353,P27,c(Q15617994)), (Q16185221,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14089353
relation P27
action find
entity Q16185221
relation P27
type Q15617994
{'OR': [['Q14089353', 'P27', {'concept': 'Q15617994'}], ['Q16185221', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q14089353 property:P27 ?t } UNION { resource:Q16185221 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Maryse Meryl Jose Miguel Marin Marin
action filter_type
action union
action find
entity Jose Miguel Marin Marin
relation country of citizenship
action find
entity Maryse Meryl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jose Miguel Marin Marin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maryse Meryl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Jose_Miguel_Marin_Marin property:country_of_citizenship ?t } UNION { resource:Maryse_Meryl property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
OR((Q14089353,P27,c(Q15617994)), (Q16185221,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q14089353
relation P27
action find
entity Q16185221
relation P27
type Q15617994
[ANSWERS] are Jose Miguel Marin or Maryse Meryl a civilian of
{'OR': [['Q14089353', 'P27', {'concept': 'Q15617994'}], ['Q16185221', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q14089353 property:P27 ?t } UNION { resource:Q16185221 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
France Spain
France and Spain are Jose Miguel Marin or Maryse Meryl a civilian of
France Spain
action filter_type
action union
action find
entity Jose Miguel Marin Marin
relation country of citizenship
action find
entity Maryse Meryl
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jose Miguel Marin Marin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maryse Meryl', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Jose_Miguel_Marin_Marin property:country_of_citizenship ?t } UNION { resource:Maryse_Meryl property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]