Simple Question (Direct)
Simple Question
Q5040452
P1412
Q34770
USER
Which language does Carl Lachmund speak in ?
(Q5040452,P1412,c(Q34770))
action filter_type
action find
entity Q5040452
relation P1412
type Q34770
['Q5040452', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q5040452 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Carl Lachmund
action filter_type
action find
entity Carl Lachmund
relation languages spoken, written or signed
type language
['Carl Lachmund', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Carl_Lachmund property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5040452,P1412,c(Q34770))
action filter_type
action find
entity Q5040452
relation P1412
type Q34770
Carl Lachmund speaks German [ANSWER]
['Q5040452', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q5040452 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
Carl Lachmund speaks German English
English
action filter_type
action find
entity Carl Lachmund
relation languages spoken, written or signed
type language
['Carl Lachmund', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Carl_Lachmund property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5040452
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q1860,P106,c(Q12737077))
action filter_type
action find
entity Q5040452
relation P106
type Q12737077
['Q1860', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5040452 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Carl Lachmund
action filter_type
action find
entity Carl Lachmund
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Lachmund property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q36834 Q18939491 Q158852
SYSTEM
composer, diarist, conductor
Q158852 Q16145150 Q36834 Q18939491 Q486748
(Q1860,P106,c(Q12737077))
action filter_type
action find
entity Q5040452
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q1860', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5040452 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
conductor music educator composer diarist pianist
Composer, diarist and conductor have that person as his/her 's career
composer diarist conductor
action filter_type
action find
entity Carl Lachmund
relation occupation
type occupation
['English', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Lachmund property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q587596
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of more number of occupations than Magnus of Anagni ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q587596
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P417 ?c . ?c rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?c } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q587596 property:P417 ?a . ?a rdf:type ontology:Q502895 } } }
Magnus of Anagni
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Magnus of Anagni
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:patron_saint ?c . ?c rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?c } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Magnus_of_Anagni property:patron_saint ?a . ?a rdf:type ontology:common_name } } }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q587596
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P417 ?c . ?c rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?c } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q587596 property:P417 ?a . ?a 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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Magnus of Anagni
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:patron_saint ?c . ?c rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?c } . FILTER ( ?g > ?f ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Magnus_of_Anagni property:patron_saint ?a . ?a rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q288295
P417
Q502895 Q12737077
USER
And how about Justina of Padua?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q288295
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P417 ?t . ?t rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q288295 property:P417 ?d } } . FILTER ( ?q > ?s ) }
Justina of Padua
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Justina of Padua
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:patron_saint ?t . ?t rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:common_name . resource:Justina_of_Padua property:patron_saint ?d } } . FILTER ( ?q > ?s ) }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q288295
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:P417 ?t . ?t rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q288295 property:P417 ?d } } . FILTER ( ?q > ?s ) }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Justina of Padua
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?q ) WHERE { ?x property:patron_saint ?t . ?t rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:common_name . resource:Justina_of_Padua property:patron_saint ?d } } . FILTER ( ?q > ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P103
Q95074 Q6619679
USER
How many fictional characters or fictional humanoids speaks English as his/her first language ?
(c(Q95074),P103,Q1860) (c(Q6619679),P103,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P103
type Q95074
action filter_type
action find_reverse
entity Q1860
relation P103
type Q6619679
[{'concept': 'Q95074'}, 'P103', 'Q1860'] [{'concept': 'Q6619679'}, 'P103', 'Q1860']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q95074 ) ( ontology:Q6619679 ) } . ?n rdf:type ?g }
English
action count
action union
action filter_type
action find_reverse
entity English
relation native language
type fictional character
action filter_type
action find_reverse
entity English
relation native language
type fictional humanoid
[{'concept': 'fictional character'}, 'native language', 'English'] [{'concept': 'fictional humanoid'}, 'native language', 'English']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:fictional_character ) ( ontology:fictional_humanoid ) } . ?n rdf:type ?g }
[]
fictional character fictional humanoid
SYSTEM
11
Q3808548 Q3556005 Q249898 Q2277080 Q2640712 Q3639189 Q3900793 Q3946354 Q3898780 Q1824049 Q4574639
(c(Q95074),P103,Q1860) (c(Q6619679),P103,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P103
type Q95074
action filter_type
action find_reverse
entity Q1860
relation P103
type Q6619679
[ANSWER]
[{'concept': 'Q95074'}, 'P103', 'Q1860'] [{'concept': 'Q6619679'}, 'P103', 'Q1860']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:Q95074 ) ( ontology:Q6619679 ) } . ?n rdf:type ?g }
Joan Holloway Vernon Sullivan David Palmer Clarice Starling Don Draper Betty Draper Pete Campbell Sam Seaborn Peggy Olson Aki Ross Jack Crawford
11
action count
action union
action filter_type
action find_reverse
entity English
relation native language
type fictional character
action filter_type
action find_reverse
entity English
relation native language
type fictional humanoid
[{'concept': 'fictional character'}, 'native language', 'English'] [{'concept': 'fictional humanoid'}, 'native language', 'English']
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { VALUES ( ?g ) { ( ontology:fictional_character ) ( ontology:fictional_humanoid ) } . ?n rdf:type ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q560531
P417
Q502895 Q12737077
USER
Which people are the patron saint of greater number of occupations than Suitbert of Kaiserswerdt ?
(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 Q560531
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P417 ?i . ?i rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q560531 property:P417 ?g . ?g rdf:type ontology:Q502895 } } . FILTER ( ?z > ?b ) }
Suitbert of Kaiserswerdt
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Suitbert of Kaiserswerdt
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:patron_saint ?i . ?i rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Suitbert_of_Kaiserswerdt property:patron_saint ?g . ?g rdf:type ontology:common_name } } . FILTER ( ?z > ?b ) }
[]
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 Q560531
relation P417
type Q502895
[ANSWERS] are the patron saint of greater number of occupations than Suitbert of Kaiserswerdt
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P417 ?i . ?i rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q560531 property:P417 ?g . ?g rdf:type ontology:Q502895 } } . FILTER ( ?z > ?b ) }
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 Suitbert of Kaiserswerdt
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 Suitbert of Kaiserswerdt
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:patron_saint ?i . ?i rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Suitbert_of_Kaiserswerdt property:patron_saint ?g . ?g rdf:type ontology:common_name } } . FILTER ( ?z > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q310633
P417
Q502895 Q12737077
USER
And also tell me about Demetrius of Thessaloniki?
(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 Q310633
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P417 ?t . ?t rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q310633 property:P417 ?j } } . FILTER ( ?v > ?a ) }
Demetrius of Thessaloniki
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Demetrius of Thessaloniki
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:patron_saint ?t . ?t rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:common_name . resource:Demetrius_of_Thessaloniki property:patron_saint ?j } } . FILTER ( ?v > ?a ) }
[]
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 Q310633
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P417 ?t . ?t rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q502895 . resource:Q310633 property:P417 ?j } } . FILTER ( ?v > ?a ) }
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 Demetrius of Thessaloniki
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:patron_saint ?t . ?t rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:common_name . resource:Demetrius_of_Thessaloniki property:patron_saint ?j } } . FILTER ( ?v > ?a ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19174318
P674
Q223393
USER
Do Like an owl caught a bat have the character those people ?
(Q19174318,P674,Q9438) (Q19174318,P674,Q60059) (Q19174318,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q19174318
relation P674
['Q19174318', 'P674', 'Q9438'] ['Q19174318', 'P674', 'Q60059'] ['Q19174318', 'P674', 'Q166876']
ASK WHERE { resource:Q19174318 property:P674 ?z . VALUES ( ?z ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
Like an owl caught a bat
action is_in
entity prev_answer
action find
entity Like an owl caught a bat
relation characters
['Like an owl caught a bat', 'characters', 'Thomas Aquinas'] ['Like an owl caught a bat', 'characters', 'Albertus Magnus'] ['Like an owl caught a bat', 'characters', 'Isidore of Seville']
ASK WHERE { resource:Like_an_owl_caught_a_bat property:characters ?z . VALUES ( ?z ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
literary genre
SYSTEM
NO
(Q19174318,P674,Q9438) (Q19174318,P674,Q60059) (Q19174318,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q19174318
relation P674
[ANSWER]
['Q19174318', 'P674', 'Q9438'] ['Q19174318', 'P674', 'Q60059'] ['Q19174318', 'P674', 'Q166876']
ASK WHERE { resource:Q19174318 property:P674 ?z . VALUES ( ?z ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } }
No
action is_in
entity prev_answer
action find
entity Like an owl caught a bat
relation characters
['Like an owl caught a bat', 'characters', 'Thomas Aquinas'] ['Like an owl caught a bat', 'characters', 'Albertus Magnus'] ['Like an owl caught a bat', 'characters', 'Isidore of Seville']
ASK WHERE { resource:Like_an_owl_caught_a_bat property:characters ?z . VALUES ( ?z ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q60059 Q7283287
P20
Q56061
USER
Is Raha, Assam the place of death of Albertus Magnus ?
(Q60059,P20,Q7283287)
action is_in
entity Q7283287
action find
entity Q60059
relation P20
['Q60059', 'P20', 'Q7283287']
ASK WHERE { resource:Q60059 property:P20 resource:Q7283287 }
Albertus Magnus Raha, Assam
action is_in
entity Raha, Assam
action find
entity Albertus Magnus
relation place of death
['Albertus Magnus', 'place of death', 'Raha, Assam']
ASK WHERE { resource:Albertus_Magnus property:place_of_death resource:Raha,_Assam }
[]
administrative territorial entity
SYSTEM
NO
(Q60059,P20,Q7283287)
action is_in
entity Q7283287
action find
entity Q60059
relation P20
[ANSWER]
['Q60059', 'P20', 'Q7283287']
ASK WHERE { resource:Q60059 property:P20 resource:Q7283287 }
No
action is_in
entity Raha, Assam
action find
entity Albertus Magnus
relation place of death
['Albertus Magnus', 'place of death', 'Raha, Assam']
ASK WHERE { resource:Albertus_Magnus property:place_of_death resource:Raha,_Assam }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q13406554 Q18608583
USER
How many people were recognized as the statistical leader of around 4 sport competitions or recurring sporting events ?
(c(Q13406554)|c(Q18608583),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 4
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { FILTER ( ?f = 4 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) ?d WHERE { VALUES ( ?r ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?l rdf:type ?r } GROUP BY ?d } }
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 4
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { FILTER ( ?f = 4 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) ?d WHERE { VALUES ( ?r ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?l rdf:type ?r } GROUP BY ?d } }
[]
common name sport competition recurring sporting event
SYSTEM
16
Q352110 Q193052 Q314185 Q360219 Q466385 Q190094 Q1353620 Q613234 Q504835 Q553232 Q44068 Q29545 Q24002 Q27187285 Q380015 Q6547747
(c(Q13406554)|c(Q18608583),P3279,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
value 4
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { FILTER ( ?f = 4 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) ?d WHERE { VALUES ( ?r ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?l rdf:type ?r } GROUP BY ?d } }
George Gervin Pau Gasol George Mikan Łukasz Sosin Rainer Rauffmann Allen Iverson Neil Johnston Radivoj Korać Andrew Gaze Bob McAdoo Dirk Nowitzki Kevin Durant Andy Panko Panikos Efthymiades Igor Rakočević Liliana Kostova
16
action count
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
value 4
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { FILTER ( ?f = 4 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) ?d WHERE { VALUES ( ?r ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?l rdf:type ?r } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36795
P282
Q8192 Q2001982 Q34770
USER
How many languages use less number of writing systems or notations as the writing system than Tartessian ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q36795 property:P282 ?u . { { ?u rdf:type ontology:Q8192 } UNION { ?u rdf:type ontology:Q2001982 } } } } . FILTER ( ?j < ?w ) }
Tartessian
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Tartessian property:writing_system ?u . { { ?u rdf:type ontology:writing_system } UNION { ?u rdf:type ontology:notation } } } } . FILTER ( ?j < ?w ) }
[]
writing system notation language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q36795 property:P282 ?u . { { ?u rdf:type ontology:Q8192 } UNION { ?u rdf:type ontology:Q2001982 } } } } . FILTER ( ?j < ?w ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?a . VALUES ( ?a ) { ( ontology:writing_system ) ( ontology:notation ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Tartessian property:writing_system ?u . { { ?u rdf:type ontology:writing_system } UNION { ?u rdf:type ontology:notation } } } } . FILTER ( ?j < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20972034
P282
Q8192 Q2001982 Q34770
USER
And how about Classic Greek?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q20972034
relation P282
type Q8192
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?f WHERE { VALUES ( ?m ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?u rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:Q8192 } UNION { ?q rdf:type ontology:Q2001982 } } . resource:Q20972034 property:P282 ?q } } . FILTER ( ?c < ?w ) }
Classic Greek
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Classic Greek
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?f WHERE { VALUES ( ?m ) { ( ontology:writing_system ) ( ontology:notation ) } . ?u rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:writing_system } UNION { ?q rdf:type ontology:notation } } . resource:Classic_Greek property:writing_system ?q } } . FILTER ( ?c < ?w ) }
[]
writing system notation language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q20972034
relation P282
type Q8192
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?f WHERE { VALUES ( ?m ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?u rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:Q8192 } UNION { ?q rdf:type ontology:Q2001982 } } . resource:Q20972034 property:P282 ?q } } . FILTER ( ?c < ?w ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action less
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity Classic Greek
relation writing system
type writing system
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) ?f WHERE { VALUES ( ?m ) { ( ontology:writing_system ) ( ontology:notation ) } . ?u rdf:type ?m } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { { ?q rdf:type ontology:writing_system } UNION { ?q rdf:type ontology:notation } } . resource:Classic_Greek property:writing_system ?q } } . FILTER ( ?c < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P138
Q41176
USER
Which building comes from Thomas Aquinas ?
(c(Q41176),P138,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P138
type Q41176
[{'concept': 'Q41176'}, 'P138', 'Q9438']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q9438 . ?p rdf:type ontology:Q41176 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type building
[{'concept': 'building'}, 'named after', 'Thomas Aquinas']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Thomas_Aquinas . ?p rdf:type ontology:building }
[]
building
Q3268938
SYSTEM
Lycée Saint-Thomas-d'Aquin
Q3268938
(c(Q41176),P138,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P138
type Q41176
[ANSWER] comes from Thomas Aquinas
[{'concept': 'Q41176'}, 'P138', 'Q9438']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q9438 . ?p rdf:type ontology:Q41176 }
Lycée Saint-Thomas-d'Aquin
Lycée Saint-Thomas-d'Aquin comes from Thomas Aquinas
Lycée Saint-Thomas-d'Aquin
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type building
[{'concept': 'building'}, 'named after', 'Thomas Aquinas']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Thomas_Aquinas . ?p rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3268938
P669
Q34442
USER
Which road is that building located on ?
(Q3268938,P669,c(Q34442))
action filter_type
action find
entity Q3268938
relation P669
type Q34442
['Q3268938', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?t WHERE { resource:Q3268938 property:P669 ?t . ?t rdf:type ontology:Q34442 }
Lycée Saint-Thomas-d'Aquin
action filter_type
action find
entity Lycée Saint-Thomas-d'Aquin
relation located on street
type road
["Lycée Saint-Thomas-d'Aquin", 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?t WHERE { resource:Lycée_Saint-Thomas-d'Aquin property:located_on_street ?t . ?t rdf:type ontology:road }
[]
road
Q3450754
SYSTEM
rue de Grenelle
Q3450754
(Q3268938,P669,c(Q34442))
action filter_type
action find
entity Q3268938
relation P669
type Q34442
That building is located [ANSWER]
['Q3268938', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?t WHERE { resource:Q3268938 property:P669 ?t . ?t rdf:type ontology:Q34442 }
rue de Grenelle
That building is located rue de Grenelle
rue de Grenelle
action filter_type
action find
entity Lycée Saint-Thomas-d'Aquin
relation located on street
type road
["Lycée Saint-Thomas-d'Aquin", 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?t WHERE { resource:Lycée_Saint-Thomas-d'Aquin property:located_on_street ?t . ?t rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3268938
P17
Q15617994
USER
Which administrative territory does that building belong to ?
(Q3450754,P17,c(Q15617994))
action filter_type
action find
entity Q3268938
relation P17
type Q15617994
['Q3450754', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3268938 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Lycée Saint-Thomas-d'Aquin
action filter_type
action find
entity Lycée Saint-Thomas-d'Aquin
relation country
type designation for an administrative territorial entity
['rue de Grenelle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lycée_Saint-Thomas-d'Aquin property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3450754,P17,c(Q15617994))
action filter_type
action find
entity Q3268938
relation P17
type Q15617994
That building belongs to Air [ANSWER]
['Q3450754', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3268938 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
France
That building belongs to Air France
France
action filter_type
action find
entity Lycée Saint-Thomas-d'Aquin
relation country
type designation for an administrative territorial entity
['rue de Grenelle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lycée_Saint-Thomas-d'Aquin property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7580305
Q15617994
USER
And what about Spreckels Theater Building?
(Q7580305,P17,c(Q15617994))
action filter_type
action find
entity Q7580305
relation P17
type Q15617994
['Q7580305', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7580305 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Spreckels Theater Building
action filter_type
action find
entity Spreckels Theater Building
relation country
type designation for an administrative territorial entity
['Spreckels Theater Building', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Spreckels_Theater_Building property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7580305,P17,c(Q15617994))
action filter_type
action find
entity Q7580305
relation P17
type Q15617994
[ANSWER]
['Q7580305', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7580305 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Spreckels Theater Building
relation country
type designation for an administrative territorial entity
['Spreckels Theater Building', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Spreckels_Theater_Building property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q803785
P17
Q56061
USER
Is Ballynahown located in that administrative territory ?
(Q803785,P17,Q30)
action is_in
entity Q803785
action find
entity Q30
relation P17
['Q803785', 'P17', 'Q30']
ASK WHERE { resource:Q30 property:P17 resource:Q803785 }
United States of America Ballynahown
action is_in
entity Ballynahown
action find
entity United States of America
relation country
['Ballynahown', 'country', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country resource:Ballynahown }
[]
administrative territorial entity
SYSTEM
NO
(Q803785,P17,Q30)
action is_in
entity Q803785
action find
entity Q30
relation P17
[ANSWER]
['Q803785', 'P17', 'Q30']
ASK WHERE { resource:Q30 property:P17 resource:Q803785 }
No
action is_in
entity Ballynahown
action find
entity United States of America
relation country
['Ballynahown', 'country', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country resource:Ballynahown }
[]