Simple Question (Direct)
Simple Question
Q1607504
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Urdiales del Páramo ?
(Q1607504,P1313,c(Q12737077))
action filter_type
action find
entity Q1607504
relation P1313
type Q12737077
['Q1607504', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1607504 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Urdiales del Páramo
action filter_type
action find
entity Urdiales del Páramo
relation office held by head of government
type occupation
['Urdiales del Páramo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Urdiales_del_Páramo property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q26692023
SYSTEM
mayor of Urdiales del Páramo
Q26692023
(Q1607504,P1313,c(Q12737077))
action filter_type
action find
entity Q1607504
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Urdiales del Páramo
['Q1607504', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1607504 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
mayor of Urdiales del Páramo
The mayor of Urdiales del Páramo serves as the political office that is fulfilled by the head of the government of Urdiales del Páramo
mayor of Urdiales del Páramo
action filter_type
action find
entity Urdiales del Páramo
relation office held by head of government
type occupation
['Urdiales del Páramo', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Urdiales_del_Páramo property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q26692023 Q5043265
P17
Q15617994
USER
Is that occupation situated in Carmel Clay Schools ?
(Q26692023,P17,Q5043265)
action is_in
entity Q5043265
action find
entity Q26692023
relation P17
['Q26692023', 'P17', 'Q5043265']
ASK WHERE { resource:Q26692023 property:P17 resource:Q5043265 }
mayor of Urdiales del Páramo Carmel Clay Schools
action is_in
entity Carmel Clay Schools
action find
entity mayor of Urdiales del Páramo
relation country
['mayor of Urdiales del Páramo', 'country', 'Carmel Clay Schools']
ASK WHERE { resource:mayor_of_Urdiales_del_Páramo property:country resource:Carmel_Clay_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q26692023,P17,Q5043265)
action is_in
entity Q5043265
action find
entity Q26692023
relation P17
[ANSWER]
['Q26692023', 'P17', 'Q5043265']
ASK WHERE { resource:Q26692023 property:P17 resource:Q5043265 }
No
action is_in
entity Carmel Clay Schools
action find
entity mayor of Urdiales del Páramo
relation country
['mayor of Urdiales del Páramo', 'country', 'Carmel Clay Schools']
ASK WHERE { resource:mayor_of_Urdiales_del_Páramo property:country resource:Carmel_Clay_Schools }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q26692023
P17
Q15617994
USER
How many administrative territories are mayor of Urdiales del Páramo situated in ?
(Q26692023,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26692023
relation P17
type Q15617994
['Q26692023', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q26692023 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
mayor of Urdiales del Páramo
action count
action filter_type
action find
entity mayor of Urdiales del Páramo
relation country
type designation for an administrative territorial entity
['mayor of Urdiales del Páramo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:mayor_of_Urdiales_del_Páramo property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q26692023,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26692023
relation P17
type Q15617994
[ANSWER]
['Q26692023', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q26692023 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity mayor of Urdiales del Páramo
relation country
type designation for an administrative territorial entity
['mayor of Urdiales del Páramo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:mayor_of_Urdiales_del_Páramo property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q26692023
P17
Q15617994
USER
How many administrative territories are mayor of Urdiales del Páramo a part of ?
(Q26692023,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26692023
relation P17
type Q15617994
['Q26692023', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Q26692023 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
mayor of Urdiales del Páramo
action count
action filter_type
action find
entity mayor of Urdiales del Páramo
relation country
type designation for an administrative territorial entity
['mayor of Urdiales del Páramo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:mayor_of_Urdiales_del_Páramo property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q26692023,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26692023
relation P17
type Q15617994
[ANSWER]
['Q26692023', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Q26692023 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity mayor of Urdiales del Páramo
relation country
type designation for an administrative territorial entity
['mayor of Urdiales del Páramo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:mayor_of_Urdiales_del_Páramo property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26692023
P1001
Q486972
USER
Which human settlement comes under the jurisdiction of that occupation ?
action filter_type
action find
entity Q26692023
relation P1001
type Q486972
SELECT DISTINCT ?z WHERE { resource:Q26692023 property:P1001 ?z . ?z rdf:type ontology:Q486972 }
mayor of Urdiales del Páramo
action filter_type
action find
entity mayor of Urdiales del Páramo
relation applies to jurisdiction
type human settlement
SELECT DISTINCT ?z WHERE { resource:mayor_of_Urdiales_del_Páramo property:applies_to_jurisdiction ?z . ?z rdf:type ontology:human_settlement }
[]
human settlement
Q1607504
SYSTEM
Urdiales del Páramo
Q1607504
action filter_type
action find
entity Q26692023
relation P1001
type Q486972
[ANSWER] comes under the jurisdiction of that occupation
SELECT DISTINCT ?z WHERE { resource:Q26692023 property:P1001 ?z . ?z rdf:type ontology:Q486972 }
Urdiales del Páramo
Urdiales del Páramo comes under the jurisdiction of that occupation
Urdiales del Páramo
action filter_type
action find
entity mayor of Urdiales del Páramo
relation applies to jurisdiction
type human settlement
SELECT DISTINCT ?z WHERE { resource:mayor_of_Urdiales_del_Páramo property:applies_to_jurisdiction ?z . ?z rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q486972
USER
How many human settlements are next to the border of that human settlement ?
(c(Q486972),P47,Q1607504)
action count
action filter_type
action find_reverse
entity Q1607504
relation P47
type Q486972
[{'concept': 'Q486972'}, 'P47', 'Q1607504']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P47 resource:Q1607504 . ?d rdf:type ontology:Q486972 }
action count
action filter_type
action find_reverse
entity Urdiales del Páramo
relation shares border with
type human settlement
[{'concept': 'human settlement'}, 'shares border with', 'Urdiales del Páramo']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:shares_border_with resource:Urdiales_del_Páramo . ?d rdf:type ontology:human_settlement }
[]
human settlement
SYSTEM
2
Q1617601 Q1635346
(c(Q486972),P47,Q1607504)
action count
action filter_type
action find_reverse
entity Q1607504
relation P47
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P47', 'Q1607504']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:P47 resource:Q1607504 . ?d rdf:type ontology:Q486972 }
Villazala Valdefuentes del Páramo
2
action count
action filter_type
action find_reverse
entity Urdiales del Páramo
relation shares border with
type human settlement
[{'concept': 'human settlement'}, 'shares border with', 'Urdiales del Páramo']
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d property:shares_border_with resource:Urdiales_del_Páramo . ?d rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1607504
P6
Q502895
USER
Which person is Urdiales del Páramo the head of goverment of ?
(Q1607504,P6,c(Q502895))
action filter_type
action find
entity Q1607504
relation P6
type Q502895
['Q1607504', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1607504 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Urdiales del Páramo
action filter_type
action find
entity Urdiales del Páramo
relation head of government
type common name
['Urdiales del Páramo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Urdiales_del_Páramo property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q14087226
SYSTEM
Gregoria Manjon Chana
Q14087226
(Q1607504,P6,c(Q502895))
action filter_type
action find
entity Q1607504
relation P6
type Q502895
[ANSWER] is Urdiales del Páramo the head of goverment of
['Q1607504', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1607504 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Gregoria Manjon Chana
Gregoria Manjon Chana is Urdiales del Páramo the head of goverment of
Gregoria Manjon Chana
action filter_type
action find
entity Urdiales del Páramo
relation head of government
type common name
['Urdiales del Páramo', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Urdiales_del_Páramo property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1640129
Q502895
USER
And what about Villavieja de Yeltes?
(Q1640129,P6,c(Q502895))
action filter_type
action find
entity Q1640129
relation P6
type Q502895
['Q1640129', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1640129 property:P6 ?r }
Villavieja de Yeltes
action filter_type
action find
entity Villavieja de Yeltes
relation head of government
type common name
['Villavieja de Yeltes', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Villavieja_de_Yeltes property:head_of_government ?r }
[]
common name
Q14108386
SYSTEM
Jorge Rodriguez Martin
Q14108386
(Q1640129,P6,c(Q502895))
action filter_type
action find
entity Q1640129
relation P6
type Q502895
[ANSWER]
['Q1640129', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q1640129 property:P6 ?r }
Jorge Rodriguez Martin
Jorge Rodriguez Martin
action filter_type
action find
entity Villavieja de Yeltes
relation head of government
type common name
['Villavieja de Yeltes', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Villavieja_de_Yeltes property:head_of_government ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q14108386 Q53951
P27
Q15617994
USER
Is that person a civilian of Roseto Capo Spulico ?
(Q14108386,P27,Q53951)
action is_in
entity Q53951
action find
entity Q14108386
relation P27
['Q14108386', 'P27', 'Q53951']
ASK WHERE { resource:Q14108386 property:P27 resource:Q53951 }
Jorge Rodriguez Martin Roseto Capo Spulico
action is_in
entity Roseto Capo Spulico
action find
entity Jorge Rodriguez Martin
relation country of citizenship
['Jorge Rodriguez Martin', 'country of citizenship', 'Roseto Capo Spulico']
ASK WHERE { resource:Jorge_Rodriguez_Martin property:country_of_citizenship resource:Roseto_Capo_Spulico }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q14108386,P27,Q53951)
action is_in
entity Q53951
action find
entity Q14108386
relation P27
[ANSWER]
['Q14108386', 'P27', 'Q53951']
ASK WHERE { resource:Q14108386 property:P27 resource:Q53951 }
No
action is_in
entity Roseto Capo Spulico
action find
entity Jorge Rodriguez Martin
relation country of citizenship
['Jorge Rodriguez Martin', 'country of citizenship', 'Roseto Capo Spulico']
ASK WHERE { resource:Jorge_Rodriguez_Martin property:country_of_citizenship resource:Roseto_Capo_Spulico }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1607504 Q29 Q4906139
P17
Q15617994
USER
Is Urdiales del Páramo located in Spain and Big Pond ?
(Q1607504,P17,Q29) (Q1607504,P17,Q4906139)
action is_in
entity Q1607504
action intersection
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q4906139
relation P17
['Q1607504', 'P17', 'Q29'] ['Q1607504', 'P17', 'Q4906139']
ASK WHERE { resource:Q1607504 property:P17 resource:Q4906139 . resource:Q1607504 property:P17 resource:Q29 }
Urdiales del Páramo Spain Big Pond
action is_in
entity Urdiales del Páramo
action intersection
action find_reverse
entity Spain
relation country
action find_reverse
entity Big Pond
relation country
['Urdiales del Páramo', 'country', 'Spain'] ['Urdiales del Páramo', 'country', 'Big Pond']
ASK WHERE { resource:Urdiales_del_Páramo property:country resource:Big_Pond . resource:Urdiales_del_Páramo property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q1607504,P17,Q29) (Q1607504,P17,Q4906139)
action is_in
entity Q1607504
action intersection
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q4906139
relation P17
[ANSWER]
['Q1607504', 'P17', 'Q29'] ['Q1607504', 'P17', 'Q4906139']
ASK WHERE { resource:Q1607504 property:P17 resource:Q4906139 . resource:Q1607504 property:P17 resource:Q29 }
YES and NO respectively
action is_in
entity Urdiales del Páramo
action intersection
action find_reverse
entity Spain
relation country
action find_reverse
entity Big Pond
relation country
['Urdiales del Páramo', 'country', 'Spain'] ['Urdiales del Páramo', 'country', 'Big Pond']
ASK WHERE { resource:Urdiales_del_Páramo property:country resource:Big_Pond . resource:Urdiales_del_Páramo property:country resource:Spain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1607504
P417
Q502895
USER
What is the name of the patron saint of Urdiales del Páramo ?
(Q1607504,P417,c(Q502895))
action filter_type
action find
entity Q1607504
relation P417
type Q502895
['Q1607504', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1607504 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Urdiales del Páramo
action filter_type
action find
entity Urdiales del Páramo
relation patron saint
type common name
['Urdiales del Páramo', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Urdiales_del_Páramo property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
common name
Q190240
SYSTEM
Cyprian
Q190240
(Q1607504,P417,c(Q502895))
action filter_type
action find
entity Q1607504
relation P417
type Q502895
The name of the patron saint of Urdiales del Páramo is a [ANSWER]
['Q1607504', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1607504 property:P417 ?p . ?p rdf:type ontology:Q502895 }
Cyprian
The name of the patron saint of Urdiales del Páramo is a Cyprian
Cyprian
action filter_type
action find
entity Urdiales del Páramo
relation patron saint
type common name
['Urdiales del Páramo', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Urdiales_del_Páramo property:patron_saint ?p . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of more number of occupations than that person ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q190240
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j > ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q190240 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q502895 . ?b property:P417 ?g } GROUP BY ?g } }
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Cyprian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j > ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Cyprian property:patron_saint ?w . ?w rdf:type ontology:common_name } } . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:occupation . ?g rdf:type ontology:common_name . ?b property:patron_saint ?g } GROUP BY ?g } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q190240
relation P417
type Q502895
[ANSWERS] are the names of person who are the patron saints of more number of occupations than that person
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j > ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q190240 property:P417 ?w . ?w rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q502895 . ?b property:P417 ?g } GROUP BY ?g } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of person who are the patron saints of more number of occupations than that person
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Cyprian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?j > ?c ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Cyprian property:patron_saint ?w . ?w rdf:type ontology:common_name } } . { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?j ) WHERE { ?b rdf:type ontology:occupation . ?g rdf:type ontology:common_name . ?b property:patron_saint ?g } GROUP BY ?g } }
[]