Simple Question (Direct)
Simple Question
Q16235123
P106
Q12737077
USER
What is the job of Aleksandr Vasyukov ?
(Q16235123,P106,c(Q12737077))
action filter_type
action find
entity Q16235123
relation P106
type Q12737077
['Q16235123', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q16235123 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Aleksandr Vasyukov
action filter_type
action find
entity Aleksandr Vasyukov
relation occupation
type occupation
['Aleksandr Vasyukov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Aleksandr_Vasyukov property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16235123,P106,c(Q12737077))
action filter_type
action find
entity Q16235123
relation P106
type Q12737077
The job of Aleksandr Vasyukov is an [ANSWER]
['Q16235123', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q16235123 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The job of Aleksandr Vasyukov is an association football player
association football player
action filter_type
action find
entity Aleksandr Vasyukov
relation occupation
type occupation
['Aleksandr Vasyukov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Aleksandr_Vasyukov property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16235123
P641
Q349
USER
Which sport was Aleksandr Vasyukov a part of ?
(Q16235123,P641,c(Q349))
action filter_type
action find
entity Q16235123
relation P641
type Q349
['Q16235123', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q16235123 property:P641 ?a . ?a rdf:type ontology:Q349 }
Aleksandr Vasyukov
action filter_type
action find
entity Aleksandr Vasyukov
relation sport
type sport
['Aleksandr Vasyukov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Aleksandr_Vasyukov property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16235123,P641,c(Q349))
action filter_type
action find
entity Q16235123
relation P641
type Q349
The [ANSWER] was Aleksandr Vasyukov a part of
['Q16235123', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q16235123 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
The association football was Aleksandr Vasyukov a part of
association football
action filter_type
action find
entity Aleksandr Vasyukov
relation sport
type sport
['Aleksandr Vasyukov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Aleksandr_Vasyukov property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16235123
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q16235123
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16235123 property:P21 ?d }
Aleksandr Vasyukov
action filter_type
action find
entity Aleksandr Vasyukov
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Aleksandr_Vasyukov property:gender ?d }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q16235123
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q16235123 property:P21 ?d }
male
That person has a male
male
action filter_type
action find
entity Aleksandr Vasyukov
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Aleksandr_Vasyukov property:gender ?d }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q315312
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Januarius ?
(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 Q315312
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P417 ?a . ?a rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q315312 property:P417 ?w } } . FILTER ( ?e > ?k ) }
Januarius
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Januarius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:patron_saint ?a . ?a rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:common_name . resource:Januarius property:patron_saint ?w } } . FILTER ( ?e > ?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 Q315312
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Januarius
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:P417 ?a . ?a rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q315312 property:P417 ?w } } . FILTER ( ?e > ?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 greater number of occupations than Januarius
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 Januarius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?e ) WHERE { ?c property:patron_saint ?a . ?a rdf:type ontology:common_name . ?c rdf:type ontology:occupation } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:common_name . resource:Januarius property:patron_saint ?w } } . FILTER ( ?e > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q233067
P417
Q502895 Q12737077
USER
And also tell me about Salome?
(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 Q233067
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P417 ?v . ?v rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q233067 property:P417 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?t > ?f ) }
Salome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Salome
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:patron_saint ?v . ?v rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Salome property:patron_saint ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?t > ?f ) }
[]
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 Q233067
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P417 ?v . ?v rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q233067 property:P417 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?t > ?f ) }
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 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 Salome
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:patron_saint ?v . ?v rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Salome property:patron_saint ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?t > ?f ) }
[]