Simple Question (Direct)
Simple Question
Q6957192
P21
Q290
USER
Which sex does Nacho Garro belong to ?
(Q6957192,P21,c(Q290))
action filter_type
action find
entity Q6957192
relation P21
type Q290
['Q6957192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q6957192 property:P21 ?w . ?w rdf:type ontology:Q290 }
Nacho Garro
action filter_type
action find
entity Nacho Garro
relation gender
type sex
['Nacho Garro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Nacho_Garro property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6957192,P21,c(Q290))
action filter_type
action find
entity Q6957192
relation P21
type Q290
Nacho Garro belongs to [ANSWER]
['Q6957192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q6957192 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Nacho Garro belongs to male
male
action filter_type
action find
entity Nacho Garro
relation gender
type sex
['Nacho Garro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Nacho_Garro property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6957192
P106
Q12737077
USER
What is the profession of Nacho Garro ?
(Q6957192,P106,c(Q12737077))
action filter_type
action find
entity Q6957192
relation P106
type Q12737077
['Q6957192', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6957192 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Nacho Garro
action filter_type
action find
entity Nacho Garro
relation occupation
type occupation
['Nacho Garro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Nacho_Garro property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6957192,P106,c(Q12737077))
action filter_type
action find
entity Q6957192
relation P106
type Q12737077
The profession of Nacho Garro is an [ANSWER]
['Q6957192', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6957192 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
The profession of Nacho Garro is an association football player
association football player
action filter_type
action find
entity Nacho Garro
relation occupation
type occupation
['Nacho Garro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Nacho_Garro property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6957192
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6957192
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q6957192 property:P641 ?p . ?p rdf:type ontology:Q349 }
Nacho Garro
action filter_type
action find
entity Nacho Garro
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Nacho_Garro property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6957192
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q6957192 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Nacho Garro
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Nacho_Garro property:sport ?p . ?p rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q153024
P417
Q502895 Q12737077
USER
Which people are the patron saint of more number of occupations than Rita of Cascia ?
(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 Q153024
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?h ) WHERE { ?y rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 . ?p property:P417 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q153024 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?h > ?k ) }
Rita of Cascia
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Rita of Cascia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?h ) WHERE { ?y rdf:type ontology:common_name . ?p rdf:type ontology:occupation . ?p property:patron_saint ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Rita_of_Cascia property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?h > ?k ) }
[]
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 Q153024
relation P417
type Q502895
[ANSWERS] are the patron saint of more number of occupations than Rita of Cascia
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?h ) WHERE { ?y rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 . ?p property:P417 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q153024 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?h > ?k ) }
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 patron saint of more number of occupations than Rita of Cascia
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 Rita of Cascia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?h ) WHERE { ?y rdf:type ontology:common_name . ?p rdf:type ontology:occupation . ?p property:patron_saint ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Rita_of_Cascia property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?h > ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6957192
P19
Q56061
USER
Which administrative territory is the birthplace of Nacho Garro ?
(Q6957192,P19,c(Q56061))
action filter_type
action find
entity Q6957192
relation P19
type Q56061
['Q6957192', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q6957192 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Nacho Garro
action filter_type
action find
entity Nacho Garro
relation place of birth
type administrative territorial entity
['Nacho Garro', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Nacho_Garro property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q14318
SYSTEM
Vitoria-Gasteiz
Q14318
(Q6957192,P19,c(Q56061))
action filter_type
action find
entity Q6957192
relation P19
type Q56061
[ANSWER] is the birthplace of Nacho Garro
['Q6957192', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q6957192 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Vitoria-Gasteiz
Vitoria-Gasteiz is the birthplace of Nacho Garro
Vitoria-Gasteiz
action filter_type
action find
entity Nacho Garro
relation place of birth
type administrative territorial entity
['Nacho Garro', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Nacho_Garro property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14318
P937
Q502895
USER
Which people have that administrative territory as work location ?
(c(Q502895),P937,Q14318)
action filter_type
action find_reverse
entity Q14318
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q14318']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P937 resource:Q14318 }
Vitoria-Gasteiz
action filter_type
action find_reverse
entity Vitoria-Gasteiz
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Vitoria-Gasteiz']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:work_location resource:Vitoria-Gasteiz }
[]
common name
Q982764 Q16518059 Q6418990
SYSTEM
Arantza Tapia, Koro Garmendia, Cristina Uriarte
Q982764 Q16518059 Q6418990
(c(Q502895),P937,Q14318)
action filter_type
action find_reverse
entity Q14318
relation P937
type Q502895
[ANSWERS] have that administrative territory as work location
[{'concept': 'Q502895'}, 'P937', 'Q14318']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P937 resource:Q14318 }
Arantza Tapia Koro Garmendia Cristina Uriarte
Arantza Tapia, Koro Garmendia and Cristina Uriarte have that administrative territory as work location
Arantza Tapia Koro Garmendia Cristina Uriarte
action filter_type
action find_reverse
entity Vitoria-Gasteiz
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Vitoria-Gasteiz']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:work_location resource:Vitoria-Gasteiz }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q14318
P937 P21
Q502895
USER
Which people have Vitoria-Gasteiz as work location and have the gender as female ?
AND((c(Q502895),P937,Q14318), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q14318
relation P937
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q14318'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q14318 . ?t property:P21 resource:Q6581072 . ?t rdf:type ontology:Q502895 }
female Vitoria-Gasteiz
action filter_type
action intersection
action find_reverse
entity Vitoria-Gasteiz
relation work location
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Vitoria-Gasteiz'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Vitoria-Gasteiz . ?t property:gender resource:female . ?t rdf:type ontology:common_name }
[]
common name
Q982764 Q16518059 Q6418990
SYSTEM
Arantza Tapia, Koro Garmendia, Cristina Uriarte
Q982764 Q16518059 Q6418990
AND((c(Q502895),P937,Q14318), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q14318
relation P937
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have Vitoria-Gasteiz as work location and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q14318'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q14318 . ?t property:P21 resource:Q6581072 . ?t rdf:type ontology:Q502895 }
Arantza Tapia Koro Garmendia Cristina Uriarte
Arantza Tapia, Koro Garmendia and Cristina Uriarte have Vitoria-Gasteiz as work location and have the gender as female
Arantza Tapia Koro Garmendia Cristina Uriarte
action filter_type
action intersection
action find_reverse
entity Vitoria-Gasteiz
relation work location
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Vitoria-Gasteiz'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Vitoria-Gasteiz . ?t property:gender resource:female . ?t rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5485064 Q6418990
P937
Q56061
USER
Which administrative territories are the work locations of Cristina Uriarte or Frank Arthur Hooper ?
OR((Q6418990,P937,c(Q56061)), (Q5485064,P937,c(Q56061)))
action filter_type
action union
action find
entity Q6418990
relation P937
action find
entity Q5485064
relation P937
type Q56061
{'OR': [['Q6418990', 'P937', {'concept': 'Q56061'}], ['Q5485064', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6418990 property:P937 ?f } UNION { resource:Q5485064 property:P937 ?f } } . ?f rdf:type ontology:Q56061 }
Frank Arthur Hooper Cristina Uriarte
action filter_type
action union
action find
entity Cristina Uriarte
relation work location
action find
entity Frank Arthur Hooper
relation work location
type administrative territorial entity
{'OR': [['Cristina Uriarte', 'work location', {'concept': 'administrative territorial entity'}], ['Frank Arthur Hooper', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Cristina_Uriarte property:work_location ?f } UNION { resource:Frank_Arthur_Hooper property:work_location ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10313 Q14318 Q23556
SYSTEM
Donostia/San Sebastián, Vitoria-Gasteiz, Atlanta
Q10313 Q14318 Q23556
OR((Q6418990,P937,c(Q56061)), (Q5485064,P937,c(Q56061)))
action filter_type
action union
action find
entity Q6418990
relation P937
action find
entity Q5485064
relation P937
type Q56061
[ANSWERS] are the work locations of Cristina Uriarte or Frank Arthur Hooper
{'OR': [['Q6418990', 'P937', {'concept': 'Q56061'}], ['Q5485064', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q6418990 property:P937 ?f } UNION { resource:Q5485064 property:P937 ?f } } . ?f rdf:type ontology:Q56061 }
Donostia/San Sebastián Vitoria-Gasteiz Atlanta
Donostia/San Sebastián, Vitoria-Gasteiz and Atlanta are the work locations of Cristina Uriarte or Frank Arthur Hooper
Donostia/San Sebastián Vitoria-Gasteiz Atlanta
action filter_type
action union
action find
entity Cristina Uriarte
relation work location
action find
entity Frank Arthur Hooper
relation work location
type administrative territorial entity
{'OR': [['Cristina Uriarte', 'work location', {'concept': 'administrative territorial entity'}], ['Frank Arthur Hooper', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Cristina_Uriarte property:work_location ?f } UNION { resource:Frank_Arthur_Hooper property:work_location ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]