Simple Question (Direct)
Simple Question
Q17403531
P21
Q290
USER
Which sex does Jamie Lucas belong to ?
(Q17403531,P21,c(Q290))
action filter_type
action find
entity Q17403531
relation P21
type Q290
['Q17403531', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q17403531 property:P21 ?d . ?d rdf:type ontology:Q290 }
Jamie Lucas
action filter_type
action find
entity Jamie Lucas
relation gender
type sex
['Jamie Lucas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Jamie_Lucas property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q17403531,P21,c(Q290))
action filter_type
action find
entity Q17403531
relation P21
type Q290
Jamie Lucas belongs to [ANSWER]
['Q17403531', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q17403531 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Jamie Lucas belongs to male
male
action filter_type
action find
entity Jamie Lucas
relation gender
type sex
['Jamie Lucas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Jamie_Lucas property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17403531
P106
Q12737077
USER
Which occupation has Jamie Lucas as his/her 's career ?
(Q17403531,P106,c(Q12737077))
action filter_type
action find
entity Q17403531
relation P106
type Q12737077
['Q17403531', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q17403531 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Jamie Lucas
action filter_type
action find
entity Jamie Lucas
relation occupation
type occupation
['Jamie Lucas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Jamie_Lucas property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q17403531,P106,c(Q12737077))
action filter_type
action find
entity Q17403531
relation P106
type Q12737077
Player [ANSWER] has Jamie Lucas as his/her 's career
['Q17403531', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q17403531 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Player association football player has Jamie Lucas as his/her 's career
association football player
action filter_type
action find
entity Jamie Lucas
relation occupation
type occupation
['Jamie Lucas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Jamie_Lucas property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3554328
Q12737077
USER
And how about Valérius Leteurtre?
(Q3554328,P106,c(Q12737077))
action filter_type
action find
entity Q3554328
relation P106
type Q12737077
['Q3554328', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q3554328 property:P106 ?t }
Valérius Leteurtre
action filter_type
action find
entity Valérius Leteurtre
relation occupation
type occupation
['Valérius Leteurtre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Valérius_Leteurtre property:occupation ?t }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3554328,P106,c(Q12737077))
action filter_type
action find
entity Q3554328
relation P106
type Q12737077
[ANSWER]
['Q3554328', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q3554328 property:P106 ?t }
politician
politician
action filter_type
action find
entity Valérius Leteurtre
relation occupation
type occupation
['Valérius Leteurtre', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Valérius_Leteurtre property:occupation ?t }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1747656
P417
Q502895 Q12737077
USER
Which people are the patron saints of more number of occupations than Saturninus of Cagliari ?
(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 Q1747656
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?a ) WHERE { ?t rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 . ?v property:P417 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:Q502895 . resource:Q1747656 property:P417 ?g } } . FILTER ( ?a > ?y ) }
Saturninus of Cagliari
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saturninus of Cagliari
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?a ) WHERE { ?t rdf:type ontology:common_name . ?v rdf:type ontology:occupation . ?v property:patron_saint ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:common_name . resource:Saturninus_of_Cagliari property:patron_saint ?g } } . FILTER ( ?a > ?y ) }
[]
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 Q1747656
relation P417
type Q502895
[ANSWERS] are the patron saints of more number of occupations than Saturninus of Cagliari
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?a ) WHERE { ?t rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 . ?v property:P417 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:Q502895 . resource:Q1747656 property:P417 ?g } } . FILTER ( ?a > ?y ) }
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 saints of more number of occupations than Saturninus of Cagliari
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 Saturninus of Cagliari
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?a ) WHERE { ?t rdf:type ontology:common_name . ?v rdf:type ontology:occupation . ?v property:patron_saint ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { ?g rdf:type ontology:common_name . resource:Saturninus_of_Cagliari property:patron_saint ?g } } . FILTER ( ?a > ?y ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P50
Q2342494
USER
How many collectables are that person an author of ?
(c(Q2342494),P50,Q166876)
[{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q482980 resource:Q16231131 . ?z rdf:type ontology:Q2342494 }
[{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:author resource:Isidore_of_Seville . ?z rdf:type ontology:collectable }
[]
collectable
Quantitative|Count|Single entity type|Clarification
Q60059
SYSTEM
Did you mean Albertus Magnus ?
(c(Q2342494),P50,Q9438) (c(Q2342494),P50,Q60059) (c(Q2342494),P50,Q166876)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q9438'] [{'concept': 'Q2342494'}, 'P50', 'Q60059'] [{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q482980 resource:Q16231131 . ?z rdf:type ontology:Q2342494 }
Did you mean Albertus Magnus ?
Albertus Magnus
[{'concept': 'collectable'}, 'author', 'Thomas Aquinas'] [{'concept': 'collectable'}, 'author', 'Albertus Magnus'] [{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:author resource:Isidore_of_Seville . ?z rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Isidore of Seville. Could you tell me the answer for that?
(c(Q2342494),P50,Q166876)
Q166876
[{'concept': 'Q2342494'}, 'P50', 'Q166876']
[{'concept': 'collectable'}, 'author', 'Isidore of Seville']
[]
SYSTEM
1
Q1218746
(c(Q2342494),P50,Q166876)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q166876']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q482980 resource:Q16231131 . ?z rdf:type ontology:Q2342494 }
Historia de regibus Gothorum, Vandalorum et Suevorum
1
[{'concept': 'collectable'}, 'author', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:author resource:Isidore_of_Seville . ?z rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60059
P39
Q12737077
USER
What was the position held by Albertus Magnus ?
(Q60059,P39,c(Q12737077))
action filter_type
action find
entity Q60059
relation P39
type Q12737077
['Q60059', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q60059 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Albertus Magnus
action filter_type
action find
entity Albertus Magnus
relation position held
type occupation
['Albertus Magnus', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Albertus_Magnus property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q29182
SYSTEM
bishop
Q29182
(Q60059,P39,c(Q12737077))
action filter_type
action find
entity Q60059
relation P39
type Q12737077
The position held by Albertus Magnus was a [ANSWER]
['Q60059', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q60059 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
bishop
The position held by Albertus Magnus was a bishop
bishop
action filter_type
action find
entity Albertus Magnus
relation position held
type occupation
['Albertus Magnus', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Albertus_Magnus property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q60059
P106
Q3412758 Q12737077
USER
How many qualifications and occupations are the job of Albertus Magnus ?
(Q60059,P106,c(Q3412758)) (Q60059,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q60059
relation P106
type Q3412758
action filter_type
action find
entity Q60059
relation P106
type Q12737077
['Q60059', 'P106', {'concept': 'Q3412758'}] ['Q60059', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { resource:Q60059 property:P106 ?z . ?z rdf:type ontology:Q3412758 } UNION { resource:Q60059 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
Albertus Magnus
action count
action union
action filter_type
action find
entity Albertus Magnus
relation occupation
type qualification
action filter_type
action find
entity Albertus Magnus
relation occupation
type occupation
['Albertus Magnus', 'occupation', {'concept': 'qualification'}] ['Albertus Magnus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { resource:Albertus_Magnus property:occupation ?z . ?z rdf:type ontology:qualification } UNION { resource:Albertus_Magnus property:occupation ?z . ?z rdf:type ontology:occupation } }
[]
qualification occupation
SYSTEM
1 qualifications and 11 occupations
Q188094 Q16031530 Q4504549 Q593644 Q3055126 Q1234713 Q36180 Q155647 Q42603 Q14915627 Q121594 Q901
(Q60059,P106,c(Q3412758)) (Q60059,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q60059
relation P106
type Q3412758
action filter_type
action find
entity Q60059
relation P106
type Q12737077
[ANSWER]
['Q60059', 'P106', {'concept': 'Q3412758'}] ['Q60059', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { resource:Q60059 property:P106 ?z . ?z rdf:type ontology:Q3412758 } UNION { resource:Q60059 property:P106 ?z . ?z rdf:type ontology:Q12737077 } }
economist music theorist religious servant chemist entomologist theologian writer astrologer priest musicologist professor scientist
1 qualifications and 11 occupations
action count
action union
action filter_type
action find
entity Albertus Magnus
relation occupation
type qualification
action filter_type
action find
entity Albertus Magnus
relation occupation
type occupation
['Albertus Magnus', 'occupation', {'concept': 'qualification'}] ['Albertus Magnus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { resource:Albertus_Magnus property:occupation ?z . ?z rdf:type ontology:qualification } UNION { resource:Albertus_Magnus property:occupation ?z . ?z rdf:type ontology:occupation } }
[]