Simple Question (Direct)
Simple Question
Q917173
P6
Q502895
USER
Which person is Jumilla the head of goverment of ?
(Q917173,P6,c(Q502895))
action filter_type
action find
entity Q917173
relation P6
type Q502895
['Q917173', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q917173 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Jumilla
action filter_type
action find
entity Jumilla
relation head of government
type common name
['Jumilla', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Jumilla property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q14089703
SYSTEM
Enrique Luis Angel Jimenez Sanchez
Q14089703
(Q917173,P6,c(Q502895))
action filter_type
action find
entity Q917173
relation P6
type Q502895
[ANSWER] is Jumilla the head of goverment of
['Q917173', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q917173 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Enrique Luis Angel Jimenez Sanchez
Enrique Luis Angel Jimenez Sanchez is Jumilla the head of goverment of
Enrique Luis Angel Jimenez Sanchez
action filter_type
action find
entity Jumilla
relation head of government
type common name
['Jumilla', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Jumilla property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q917173
P138
Q56061
USER
Which administrative territory comes from that one ?
(c(Q56061),P138,Q14089703)
action filter_type
action find_reverse
entity Q917173
relation P138
type Q56061
[{'concept': 'Q56061'}, 'P138', 'Q14089703']
SELECT DISTINCT ?m WHERE { ?m property:P138 resource:Q917173 . ?m rdf:type ontology:Q56061 }
Jumilla
action filter_type
action find_reverse
entity Jumilla
relation named after
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', 'Enrique Luis Angel Jimenez Sanchez']
SELECT DISTINCT ?m WHERE { ?m property:named_after resource:Jumilla . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1112057
SYSTEM
Jumilla
Q1112057
(c(Q56061),P138,Q14089703)
action filter_type
action find_reverse
entity Q917173
relation P138
type Q56061
[ANSWER] comes from that one
[{'concept': 'Q56061'}, 'P138', 'Q14089703']
SELECT DISTINCT ?m WHERE { ?m property:P138 resource:Q917173 . ?m rdf:type ontology:Q56061 }
Jumilla
Jumilla comes from that one
Jumilla
action filter_type
action find_reverse
entity Jumilla
relation named after
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'named after', 'Enrique Luis Angel Jimenez Sanchez']
SELECT DISTINCT ?m WHERE { ?m property:named_after resource:Jumilla . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1112057
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q1112057,P17,c(Q15617994))
action filter_type
action find
entity Q1112057
relation P17
type Q15617994
['Q1112057', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1112057 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Jumilla
action filter_type
action find
entity Jumilla
relation country
type designation for an administrative territorial entity
['Jumilla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jumilla property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1112057,P17,c(Q15617994))
action filter_type
action find
entity Q1112057
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q1112057', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1112057 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Spain
That administrative territory is in Spain
Spain
action filter_type
action find
entity Jumilla
relation country
type designation for an administrative territorial entity
['Jumilla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jumilla property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29 Q17517336 Q16069006
P6
Q502895
USER
Does that administrative territory have its government headed by RAIGN and Anic van Damme ?
(Q29,P6,Q17517336) (Q29,P6,Q16069006)
action is_in
entity Q29
action intersection
action find_reverse
entity Q17517336
relation P6
action find_reverse
entity Q16069006
relation P6
['Q29', 'P6', 'Q17517336'] ['Q29', 'P6', 'Q16069006']
ASK WHERE { resource:Q29 property:P6 resource:Q17517336 . resource:Q29 property:P6 resource:Q16069006 }
Spain RAIGN Anic van Damme
action is_in
entity Spain
action intersection
action find_reverse
entity RAIGN
relation head of government
action find_reverse
entity Anic van Damme
relation head of government
['Spain', 'head of government', 'RAIGN'] ['Spain', 'head of government', 'Anic van Damme']
ASK WHERE { resource:Spain property:head_of_government resource:RAIGN . resource:Spain property:head_of_government resource:Anic_van_Damme }
[]
common name
SYSTEM
NO
(Q29,P6,Q17517336) (Q29,P6,Q16069006)
action is_in
entity Q29
action intersection
action find_reverse
entity Q17517336
relation P6
action find_reverse
entity Q16069006
relation P6
[ANSWER]
['Q29', 'P6', 'Q17517336'] ['Q29', 'P6', 'Q16069006']
ASK WHERE { resource:Q29 property:P6 resource:Q17517336 . resource:Q29 property:P6 resource:Q16069006 }
No
action is_in
entity Spain
action intersection
action find_reverse
entity RAIGN
relation head of government
action find_reverse
entity Anic van Damme
relation head of government
['Spain', 'head of government', 'RAIGN'] ['Spain', 'head of government', 'Anic van Damme']
ASK WHERE { resource:Spain property:head_of_government resource:RAIGN . resource:Spain property:head_of_government resource:Anic_van_Damme }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q14089703 Q29
P27
Q15617994
USER
Is Spain the country of citizenship of Enrique Luis Angel Jimenez Sanchez ?
(Q14089703,P27,Q29)
action is_in
entity Q29
action find
entity Q14089703
relation P27
['Q14089703', 'P27', 'Q29']
ASK WHERE { resource:Q14089703 property:P27 resource:Q29 }
Enrique Luis Angel Jimenez Sanchez Spain
action is_in
entity Spain
action find
entity Enrique Luis Angel Jimenez Sanchez
relation country of citizenship
['Enrique Luis Angel Jimenez Sanchez', 'country of citizenship', 'Spain']
ASK WHERE { resource:Enrique_Luis_Angel_Jimenez_Sanchez property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q14089703,P27,Q29)
action is_in
entity Q29
action find
entity Q14089703
relation P27
[ANSWER]
['Q14089703', 'P27', 'Q29']
ASK WHERE { resource:Q14089703 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Enrique Luis Angel Jimenez Sanchez
relation country of citizenship
['Enrique Luis Angel Jimenez Sanchez', 'country of citizenship', 'Spain']
ASK WHERE { resource:Enrique_Luis_Angel_Jimenez_Sanchez property:country_of_citizenship resource:Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14089703
P106
Q12737077
USER
Which occupation is the profession of that person ?
action filter_type
action find
entity Q14089703
relation P106
type Q12737077
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q14089703 property:P106 ?b }
Enrique Luis Angel Jimenez Sanchez
action filter_type
action find
entity Enrique Luis Angel Jimenez Sanchez
relation occupation
type occupation
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Enrique_Luis_Angel_Jimenez_Sanchez property:occupation ?b }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q14089703
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q14089703 property:P106 ?b }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Enrique Luis Angel Jimenez Sanchez
relation occupation
type occupation
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Enrique_Luis_Angel_Jimenez_Sanchez property:occupation ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of around 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P417 ?t . ?t rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?t } . FILTER ( ?y = 3 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:patron_saint ?t . ?t rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?t } . FILTER ( ?y = 3 ) }
[]
common name occupation
SYSTEM
3
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P417 ?t . ?t rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?t } . FILTER ( ?y = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
3
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:patron_saint ?t . ?t rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?t } . FILTER ( ?y = 3 ) }
[]