Simple Question (Direct)
Simple Question
Q6968017
P21
Q290
USER
Which sex does Natalia Fikilisova possess ?
(Q6968017,P21,c(Q290))
action filter_type
action find
entity Q6968017
relation P21
type Q290
['Q6968017', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6968017 property:P21 ?v . ?v rdf:type ontology:Q290 }
Natalia Fikilisova
action filter_type
action find
entity Natalia Fikilisova
relation gender
type sex
['Natalia Fikilisova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Natalia_Fikilisova property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6968017,P21,c(Q290))
action filter_type
action find
entity Q6968017
relation P21
type Q290
Natalia Fikilisova possesses a [ANSWER]
['Q6968017', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6968017 property:P21 ?v . ?v rdf:type ontology:Q290 }
female
Natalia Fikilisova possesses a female
female
action filter_type
action find
entity Natalia Fikilisova
relation gender
type sex
['Natalia Fikilisova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Natalia_Fikilisova property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6968017
P106
Q12737077
USER
What is the profession of Natalia Fikilisova ?
(Q6968017,P106,c(Q12737077))
action filter_type
action find
entity Q6968017
relation P106
type Q12737077
['Q6968017', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q6968017 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Natalia Fikilisova
action filter_type
action find
entity Natalia Fikilisova
relation occupation
type occupation
['Natalia Fikilisova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Natalia_Fikilisova property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q13382566
SYSTEM
canoer
Q13382566
(Q6968017,P106,c(Q12737077))
action filter_type
action find
entity Q6968017
relation P106
type Q12737077
The profession of Natalia Fikilisova is a [ANSWER]
['Q6968017', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q6968017 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
canoer
The profession of Natalia Fikilisova is a canoer
canoer
action filter_type
action find
entity Natalia Fikilisova
relation occupation
type occupation
['Natalia Fikilisova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Natalia_Fikilisova property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1999544
Q12737077
USER
And what about Ed Yost?
(Q1999544,P106,c(Q12737077))
action filter_type
action find
entity Q1999544
relation P106
type Q12737077
['Q1999544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1999544 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Ed Yost
action filter_type
action find
entity Ed Yost
relation occupation
type occupation
['Ed Yost', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Ed_Yost property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q205375 Q728425
SYSTEM
inventor, balloonist
Q205375 Q728425
(Q1999544,P106,c(Q12737077))
action filter_type
action find
entity Q1999544
relation P106
type Q12737077
[ANSWERS]
['Q1999544', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1999544 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
inventor balloonist
inventor balloonist
action filter_type
action find
entity Ed Yost
relation occupation
type occupation
['Ed Yost', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Ed_Yost property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1999544
P106
Q502895
USER
Do Ed Yost have career as those occupations ?
(Q1999544,P106,Q205375) (Q1999544,P106,Q728425)
action is_in
entity prev_answer
action find
entity Q1999544
relation P106
['Q1999544', 'P106', 'Q205375'] ['Q1999544', 'P106', 'Q728425']
ASK WHERE { VALUES ( ?k ) { ( resource:Q205375 ) ( resource:Q728425 ) } . resource:Q1999544 property:P106 ?k }
Ed Yost
action is_in
entity prev_answer
action find
entity Ed Yost
relation occupation
['Ed Yost', 'occupation', 'inventor'] ['Ed Yost', 'occupation', 'balloonist']
ASK WHERE { VALUES ( ?k ) { ( resource:inventor ) ( resource:balloonist ) } . resource:Ed_Yost property:occupation ?k }
[]
common name
SYSTEM
YES
(Q1999544,P106,Q205375) (Q1999544,P106,Q728425)
action is_in
entity prev_answer
action find
entity Q1999544
relation P106
[ANSWER]
['Q1999544', 'P106', 'Q205375'] ['Q1999544', 'P106', 'Q728425']
ASK WHERE { VALUES ( ?k ) { ( resource:Q205375 ) ( resource:Q728425 ) } . resource:Q1999544 property:P106 ?k }
Yes
action is_in
entity prev_answer
action find
entity Ed Yost
relation occupation
['Ed Yost', 'occupation', 'inventor'] ['Ed Yost', 'occupation', 'balloonist']
ASK WHERE { VALUES ( ?k ) { ( resource:inventor ) ( resource:balloonist ) } . resource:Ed_Yost property:occupation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13382566
P425
Q349
USER
Who has canoer as the associated field of occupation ?
(Q13382566,P425,c(Q349))
action filter_type
action find
entity Q13382566
relation P425
type Q349
['Q13382566', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q13382566 property:P425 ?s . ?s rdf:type ontology:Q349 }
canoer
action filter_type
action find
entity canoer
relation field of this occupation
type sport
['canoer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:canoer property:field_of_this_occupation ?s . ?s rdf:type ontology:sport }
[]
sport
Q213934
SYSTEM
canoeing and kayaking
Q213934
(Q13382566,P425,c(Q349))
action filter_type
action find
entity Q13382566
relation P425
type Q349
[ANSWER] has canoer as the associated field of occupation
['Q13382566', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q13382566 property:P425 ?s . ?s rdf:type ontology:Q349 }
canoeing and kayaking
Canoeing and kayaking has canoer as the associated field of occupation
canoeing and kayaking
action filter_type
action find
entity canoer
relation field of this occupation
type sport
['canoer', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:canoer property:field_of_this_occupation ?s . ?s rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q464959
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Onuphrius ?
(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 Q464959
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?x ) WHERE { ?d rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 . ?k property:P417 ?d } GROUP BY ?d } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q464959 property:P417 ?j . ?j rdf:type ontology:Q502895 } } }
Onuphrius
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Onuphrius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?x ) WHERE { ?d rdf:type ontology:common_name . ?k rdf:type ontology:occupation . ?k property:patron_saint ?d } GROUP BY ?d } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Onuphrius property:patron_saint ?j . ?j rdf:type ontology:common_name } } }
[]
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 Q464959
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Onuphrius
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?x ) WHERE { ?d rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 . ?k property:P417 ?d } GROUP BY ?d } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Q464959 property:P417 ?j . ?j rdf:type ontology:Q502895 } } }
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 Onuphrius
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 Onuphrius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?k ) AS ?x ) WHERE { ?d rdf:type ontology:common_name . ?k rdf:type ontology:occupation . ?k property:patron_saint ?d } GROUP BY ?d } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { resource:Onuphrius property:patron_saint ?j . ?j rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2424767
P417
Q502895 Q12737077
USER
And what about Anthony of Apamea?
(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 Q2424767
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P417 ?j . ?q rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q2424767 property:P417 ?r . ?r rdf:type ontology:Q502895 } } }
Anthony of Apamea
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anthony of Apamea
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:patron_saint ?j . ?q rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Anthony_of_Apamea property:patron_saint ?r . ?r rdf:type ontology:common_name } } }
[]
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 Q2424767
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P417 ?j . ?q rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q2424767 property:P417 ?r . ?r rdf:type ontology:Q502895 } } }
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 Anthony of Apamea
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:patron_saint ?j . ?q rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?b > ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Anthony_of_Apamea property:patron_saint ?r . ?r rdf:type ontology:common_name } } }
[]