Simple Question (Direct)
Simple Question
Q13422024
P106
Q12737077
USER
What is the profession of José María Sánchez Rodilla ?
(Q13422024,P106,c(Q12737077))
action filter_type
action find
entity Q13422024
relation P106
type Q12737077
['Q13422024', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q13422024 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
José María Sánchez Rodilla
action filter_type
action find
entity José María Sánchez Rodilla
relation occupation
type occupation
['José María Sánchez Rodilla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:José_María_Sánchez_Rodilla property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q13422024,P106,c(Q12737077))
action filter_type
action find
entity Q13422024
relation P106
type Q12737077
The profession of José María Sánchez is an [ANSWER]
['Q13422024', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q13422024 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
The profession of José María Sánchez is an association football player
association football player
action filter_type
action find
entity José María Sánchez Rodilla
relation occupation
type occupation
['José María Sánchez Rodilla', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:José_María_Sánchez_Rodilla property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Which person has that occupation as a notable work ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?v WHERE { ?v property:P800 resource:Q937857 . ?v rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?v WHERE { ?v property:notable_work resource:association_football_player . ?v rdf:type ontology:common_name }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[ANSWER] has that occupation as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?v WHERE { ?v property:P800 resource:Q937857 . ?v rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Hugh Morgan-Owen has that occupation as a notable work
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?v WHERE { ?v property:notable_work resource:association_football_player . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13422024
P19
Q1048835
USER
Which political territory is the place of birth of José María Sánchez Rodilla ?
(Q13422024,P19,c(Q1048835))
action filter_type
action find
entity Q13422024
relation P19
type Q1048835
['Q13422024', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q13422024 property:P19 ?m . ?m rdf:type ontology:Q1048835 }
José María Sánchez Rodilla
action filter_type
action find
entity José María Sánchez Rodilla
relation place of birth
type political territorial entity
['José María Sánchez Rodilla', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:José_María_Sánchez_Rodilla property:place_of_birth ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2000919
SYSTEM
Fuentes de Béjar
Q2000919
(Q13422024,P19,c(Q1048835))
action filter_type
action find
entity Q13422024
relation P19
type Q1048835
The [ANSWER] is the place of birth of José María Sánchez Rodilla
['Q13422024', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q13422024 property:P19 ?m . ?m rdf:type ontology:Q1048835 }
Fuentes de Béjar
The Fuentes de Béjar is the place of birth of José María Sánchez Rodilla
Fuentes de Béjar
action filter_type
action find
entity José María Sánchez Rodilla
relation place of birth
type political territorial entity
['José María Sánchez Rodilla', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:José_María_Sánchez_Rodilla property:place_of_birth ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2000919 Q5498259
P19
Q502895
USER
Does Frederick Leeds Edridge have location of birth at that political territory ?
(Q5498259,P19,Q2000919)
action is_in
entity Q5498259
action find
entity Q2000919
relation P19
['Q5498259', 'P19', 'Q2000919']
ASK WHERE { resource:Q2000919 property:P19 resource:Q5498259 }
Fuentes de Béjar Frederick Leeds Edridge
action is_in
entity Frederick Leeds Edridge
action find
entity Fuentes de Béjar
relation place of birth
['Frederick Leeds Edridge', 'place of birth', 'Fuentes de Béjar']
ASK WHERE { resource:Fuentes_de_Béjar property:place_of_birth resource:Frederick_Leeds_Edridge }
[]
common name
SYSTEM
NO
(Q5498259,P19,Q2000919)
action is_in
entity Q5498259
action find
entity Q2000919
relation P19
[ANSWER]
['Q5498259', 'P19', 'Q2000919']
ASK WHERE { resource:Q2000919 property:P19 resource:Q5498259 }
No
action is_in
entity Frederick Leeds Edridge
action find
entity Fuentes de Béjar
relation place of birth
['Frederick Leeds Edridge', 'place of birth', 'Fuentes de Béjar']
ASK WHERE { resource:Fuentes_de_Béjar property:place_of_birth resource:Frederick_Leeds_Edridge }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q2000919
P1001 P17
Q12737077
USER
Which occupations apply to jurisdiction over Fuentes de Béjar and are located in Spain ?
AND((c(Q12737077),P1001,Q2000919), (c(Q12737077),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q2000919
relation P1001
action find_reverse
entity Q29
relation P17
type Q12737077
{'AND': [[{'concept': 'Q12737077'}, 'P1001', 'Q2000919'], [{'concept': 'Q12737077'}, 'P17', 'Q29']]}
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q2000919 . ?d property:P17 resource:Q29 . ?d rdf:type ontology:Q12737077 }
Spain Fuentes de Béjar
action filter_type
action intersection
action find_reverse
entity Fuentes de Béjar
relation applies to jurisdiction
action find_reverse
entity Spain
relation country
type occupation
{'AND': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Fuentes de Béjar'], [{'concept': 'occupation'}, 'country', 'Spain']]}
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Fuentes_de_Béjar . ?d property:country resource:Spain . ?d rdf:type ontology:occupation }
[]
occupation
Q26697608
SYSTEM
mayor of Fuentes de Béjar
Q26697608
AND((c(Q12737077),P1001,Q2000919), (c(Q12737077),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q2000919
relation P1001
action find_reverse
entity Q29
relation P17
type Q12737077
The [ANSWER] apply to jurisdiction over Fuentes de Béjar and are located in Spain
{'AND': [[{'concept': 'Q12737077'}, 'P1001', 'Q2000919'], [{'concept': 'Q12737077'}, 'P17', 'Q29']]}
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q2000919 . ?d property:P17 resource:Q29 . ?d rdf:type ontology:Q12737077 }
mayor of Fuentes de Béjar
The mayor of Fuentes de Béjar apply to jurisdiction over Fuentes de Béjar and are located in Spain
mayor of Fuentes de Béjar
action filter_type
action intersection
action find_reverse
entity Fuentes de Béjar
relation applies to jurisdiction
action find_reverse
entity Spain
relation country
type occupation
{'AND': [[{'concept': 'occupation'}, 'applies to jurisdiction', 'Fuentes de Béjar'], [{'concept': 'occupation'}, 'country', 'Spain']]}
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:Fuentes_de_Béjar . ?d property:country resource:Spain . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26697608 Q29
P17
Q15617994
USER
Is mayor of Fuentes de Béjar a part of Spain ?
(Q26697608,P17,Q29)
action is_in
entity Q29
action find
entity Q26697608
relation P17
['Q26697608', 'P17', 'Q29']
ASK WHERE { resource:Q26697608 property:P17 resource:Q29 }
mayor of Fuentes de Béjar Spain
action is_in
entity Spain
action find
entity mayor of Fuentes de Béjar
relation country
['mayor of Fuentes de Béjar', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Fuentes_de_Béjar property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26697608,P17,Q29)
action is_in
entity Q29
action find
entity Q26697608
relation P17
[ANSWER]
['Q26697608', 'P17', 'Q29']
ASK WHERE { resource:Q26697608 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of Fuentes de Béjar
relation country
['mayor of Fuentes de Béjar', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Fuentes_de_Béjar property:country resource:Spain }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23047441 Q34433
P69
Q3918
USER
Was Hugh Morgan-Owen educated at University of Oxford ?
(Q23047441,P69,Q34433)
action is_in
entity Q34433
action find
entity Q23047441
relation P69
['Q23047441', 'P69', 'Q34433']
ASK WHERE { resource:Q23047441 property:P69 resource:Q34433 }
Hugh Morgan-Owen University of Oxford
action is_in
entity University of Oxford
action find
entity Hugh Morgan-Owen
relation educated at
['Hugh Morgan-Owen', 'educated at', 'University of Oxford']
ASK WHERE { resource:Hugh_Morgan-Owen property:educated_at resource:University_of_Oxford }
[]
university
SYSTEM
YES
(Q23047441,P69,Q34433)
action is_in
entity Q34433
action find
entity Q23047441
relation P69
[ANSWER]
['Q23047441', 'P69', 'Q34433']
ASK WHERE { resource:Q23047441 property:P69 resource:Q34433 }
Yes
action is_in
entity University of Oxford
action find
entity Hugh Morgan-Owen
relation educated at
['Hugh Morgan-Owen', 'educated at', 'University of Oxford']
ASK WHERE { resource:Hugh_Morgan-Owen property:educated_at resource:University_of_Oxford }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q160922
P417
Q502895 Q12737077
USER
How many people are the patron saints of greater number of occupations than Celestine I ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q160922
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q160922 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?g > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P417 ?a . ?a rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?a } }
Celestine I
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Celestine I
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Celestine_I property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?g > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:patron_saint ?a . ?a rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?a } }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q160922
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q160922 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?g > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P417 ?a . ?a rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?a } }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Celestine I
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Celestine_I property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?g > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:patron_saint ?a . ?a rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q129674
P417
Q502895 Q12737077
USER
And what about Andrew Bobola?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q129674
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 . ?v property:P417 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q129674 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?w > ?h ) }
Andrew Bobola
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Andrew Bobola
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ontology:occupation . ?j rdf:type ontology:common_name . ?v property:patron_saint ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Andrew_Bobola property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?w > ?h ) }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q129674
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 . ?v property:P417 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q129674 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?w > ?h ) }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Andrew Bobola
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ontology:occupation . ?j rdf:type ontology:common_name . ?v property:patron_saint ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Andrew_Bobola property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?w > ?h ) }
[]