Simple Question (Direct)
Simple Question
Q11720805
P106
Q12737077
USER
What is the job of Jarosław Chwastek ?
(Q11720805,P106,c(Q12737077))
action filter_type
action find
entity Q11720805
relation P106
type Q12737077
['Q11720805', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q11720805 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Jarosław Chwastek
action filter_type
action find
entity Jarosław Chwastek
relation occupation
type occupation
['Jarosław Chwastek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jarosław_Chwastek property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q11720805,P106,c(Q12737077))
action filter_type
action find
entity Q11720805
relation P106
type Q12737077
The job of Jarosław Chwastek is an [ANSWER]
['Q11720805', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q11720805 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
The job of Jarosław Chwastek is an association football player
association football player
action filter_type
action find
entity Jarosław Chwastek
relation occupation
type occupation
['Jarosław Chwastek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jarosław_Chwastek property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11720805
P21
Q290
USER
Which sex does that person have ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q11720805
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q11720805 property:P21 ?n . ?n rdf:type ontology:Q290 }
Jarosław Chwastek
action filter_type
action find
entity Jarosław Chwastek
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jarosław_Chwastek property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q11720805
relation P21
type Q290
That person has a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q11720805 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jarosław Chwastek
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jarosław_Chwastek property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11720805
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q11720805
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q11720805 property:P641 ?n }
Jarosław Chwastek
action filter_type
action find
entity Jarosław Chwastek
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Jarosław_Chwastek property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q11720805
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q11720805 property:P641 ?n }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Jarosław Chwastek
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Jarosław_Chwastek property:sport ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q174880
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Teresa of Ávila ?
(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 Q174880
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P417 ?x . ?v rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q174880 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?z > ?g ) }
Teresa of Ávila
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Teresa of Ávila
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:patron_saint ?x . ?v rdf:type ontology:occupation . ?x rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Teresa_of_Ávila property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?z > ?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 Q174880
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Teresa of Ávila
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P417 ?x . ?v rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Q174880 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?z > ?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 patron saint of greater number of occupations than Teresa of Ávila
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 Teresa of Ávila
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:patron_saint ?x . ?v rdf:type ontology:occupation . ?x rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { resource:Teresa_of_Ávila property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?z > ?g ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9438 Q60059 Q166876
P674
Q223393
USER
Which literary genres have the character Thomas Aquinas, Albertus Magnus and Isidore of Seville ?
(c(Q223393),P674,Q9438) (c(Q223393),P674,Q60059) (c(Q223393),P674,Q166876)
action union
action filter_type
action find_reverse
entity Q9438
relation P674
type Q223393
action filter_type
action find_reverse
entity Q60059
relation P674
type Q223393
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q9438'] [{'concept': 'Q223393'}, 'P674', 'Q60059'] [{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q60059 ) ( resource:Q9438 ) } . ?k property:P674 ?m }
Thomas Aquinas Albertus Magnus Isidore of Seville
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation characters
type literary genre
action filter_type
action find_reverse
entity Albertus Magnus
relation characters
type literary genre
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'] [{'concept': 'literary genre'}, 'characters', 'Albertus Magnus'] [{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Albertus_Magnus ) ( resource:Thomas_Aquinas ) } . ?k property:characters ?m }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q9438) (c(Q223393),P674,Q60059) (c(Q223393),P674,Q166876)
action union
action filter_type
action find_reverse
entity Q9438
relation P674
type Q223393
action filter_type
action find_reverse
entity Q60059
relation P674
type Q223393
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
[ANSWER] have the character Thomas Aquinas, Albertus Magnus and Isidore of Seville
[{'concept': 'Q223393'}, 'P674', 'Q9438'] [{'concept': 'Q223393'}, 'P674', 'Q60059'] [{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q60059 ) ( resource:Q9438 ) } . ?k property:P674 ?m }
The Divine Comedy
The Divine Comedy have the character Thomas Aquinas, Albertus Magnus and Isidore of Seville
The Divine Comedy
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation characters
type literary genre
action filter_type
action find_reverse
entity Albertus Magnus
relation characters
type literary genre
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'] [{'concept': 'literary genre'}, 'characters', 'Albertus Magnus'] [{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Albertus_Magnus ) ( resource:Thomas_Aquinas ) } . ?k property:characters ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11720805
P27
Q15617994
USER
Which administrative territory is Jarosław Chwastek an inhabitant of ?
(Q11720805,P27,c(Q15617994))
action filter_type
action find
entity Q11720805
relation P27
type Q15617994
['Q11720805', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q11720805 property:P27 ?r }
Jarosław Chwastek
action filter_type
action find
entity Jarosław Chwastek
relation country of citizenship
type designation for an administrative territorial entity
['Jarosław Chwastek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jarosław_Chwastek property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11720805,P27,c(Q15617994))
action filter_type
action find
entity Q11720805
relation P27
type Q15617994
[ANSWER] is Jarosław Chwastek an inhabitant of
['Q11720805', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q11720805 property:P27 ?r }
Poland
Poland is Jarosław Chwastek an inhabitant of
Poland
action filter_type
action find
entity Jarosław Chwastek
relation country of citizenship
type designation for an administrative territorial entity
['Jarosław Chwastek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jarosław_Chwastek property:country_of_citizenship ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36 Q11993172
P27
Q502895
USER
Is Oddleiv Apneseth a native of that administrative territory ?
(Q11993172,P27,Q36)
action is_in
entity Q11993172
action find
entity Q36
relation P27
['Q11993172', 'P27', 'Q36']
ASK WHERE { resource:Q36 property:P27 resource:Q11993172 }
Poland Oddleiv Apneseth
action is_in
entity Oddleiv Apneseth
action find
entity Poland
relation country of citizenship
['Oddleiv Apneseth', 'country of citizenship', 'Poland']
ASK WHERE { resource:Poland property:country_of_citizenship resource:Oddleiv_Apneseth }
[]
common name
SYSTEM
NO
(Q11993172,P27,Q36)
action is_in
entity Q11993172
action find
entity Q36
relation P27
[ANSWER]
['Q11993172', 'P27', 'Q36']
ASK WHERE { resource:Q36 property:P27 resource:Q11993172 }
No
action is_in
entity Oddleiv Apneseth
action find
entity Poland
relation country of citizenship
['Oddleiv Apneseth', 'country of citizenship', 'Poland']
ASK WHERE { resource:Poland property:country_of_citizenship resource:Oddleiv_Apneseth }
[]