Simple Question (Direct)
Simple Question
Q681045
P20
Q56061
USER
Where did Ivo Pešák expire ?
(Q681045,P20,c(Q56061))
action filter_type
action find
entity Q681045
relation P20
type Q56061
['Q681045', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q681045 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Ivo Pešák
action filter_type
action find
entity Ivo Pešák
relation place of death
type administrative territorial entity
['Ivo Pešák', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ivo_Pešák property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q681045,P20,c(Q56061))
action filter_type
action find
entity Q681045
relation P20
type Q56061
Ivo Pešák expired in [ANSWER]
['Q681045', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q681045 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Prague
Ivo Pešák expired in Prague
Prague
action filter_type
action find
entity Ivo Pešák
relation place of death
type administrative territorial entity
['Ivo Pešák', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Ivo_Pešák property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q681045
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q1085,P106,c(Q12737077))
action filter_type
action find
entity Q681045
relation P106
type Q12737077
['Q1085', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q681045 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Ivo Pešák
action filter_type
action find
entity Ivo Pešák
relation occupation
type occupation
['Prague', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Ivo_Pešák property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1028181 Q33999 Q177220
SYSTEM
painter, actor, singer
Q1028181 Q33999 Q177220
(Q1085,P106,c(Q12737077))
action filter_type
action find
entity Q681045
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1085', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q681045 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
painter actor singer
The professions of that person are painter, actor and singer
painter actor singer
action filter_type
action find
entity Ivo Pešák
relation occupation
type occupation
['Prague', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Ivo_Pešák property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6688810 Q681045
P106
Q12737077
USER
Or Louise Katz?
OR((Q681045,P106,c(Q12737077)), (Q6688810,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q681045
relation P106
action find
entity Q6688810
relation P106
type Q12737077
{'OR': [['Q681045', 'P106', {'concept': 'Q12737077'}], ['Q6688810', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q681045 property:P106 ?h } UNION { resource:Q6688810 property:P106 ?h } } . ?h rdf:type ontology:Q12737077 }
Louise Katz Ivo Pešák
action filter_type
action union
action find
entity Ivo Pešák
relation occupation
action find
entity Louise Katz
relation occupation
type occupation
{'OR': [['Ivo Pešák', 'occupation', {'concept': 'occupation'}], ['Louise Katz', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ivo_Pešák property:occupation ?h } UNION { resource:Louise_Katz property:occupation ?h } } . ?h rdf:type ontology:occupation }
[]
occupation
Q6625963 Q4853732 Q177220 Q1028181 Q33999 Q36180
SYSTEM
novelist, children's writer, singer, painter, actor, writer
Q6625963 Q4853732 Q177220 Q1028181 Q33999 Q36180
OR((Q681045,P106,c(Q12737077)), (Q6688810,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q681045
relation P106
action find
entity Q6688810
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q681045', 'P106', {'concept': 'Q12737077'}], ['Q6688810', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q681045 property:P106 ?h } UNION { resource:Q6688810 property:P106 ?h } } . ?h rdf:type ontology:Q12737077 }
novelist children's writer singer painter actor writer
novelist children's writer singer painter actor writer
action filter_type
action union
action find
entity Ivo Pešák
relation occupation
action find
entity Louise Katz
relation occupation
type occupation
{'OR': [['Ivo Pešák', 'occupation', {'concept': 'occupation'}], ['Louise Katz', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Ivo_Pešák property:occupation ?h } UNION { resource:Louise_Katz property:occupation ?h } } . ?h rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q469978
P417
Q502895 Q12737077
USER
Which people are the patron saints of greater number of occupations than Devota ?
(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 Q469978
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P417 ?i . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q469978 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?g > ?e ) }
Devota
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Devota
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:patron_saint ?i . ?i rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Devota property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?g > ?e ) }
[]
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 Q469978
relation P417
type Q502895
[ANSWERS] are the patron saints of greater number of occupations than Devota
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P417 ?i . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q469978 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?g > ?e ) }
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 greater number of occupations than Devota
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 Devota
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:patron_saint ?i . ?i rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Devota property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?g > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q349086
P417
Q502895 Q12737077
USER
And what about Leopold III, Margrave of Austria?
(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 Q349086
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P417 ?q . ?q rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q349086 property:P417 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?o > ?d ) }
Leopold III, Margrave of Austria
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Leopold III, Margrave of Austria
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:patron_saint ?q . ?q rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Leopold_III,_Margrave_of_Austria property:patron_saint ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?o > ?d ) }
[]
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 Q349086
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P417 ?q . ?q rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q349086 property:P417 ?z . ?z rdf:type ontology:Q502895 } } . FILTER ( ?o > ?d ) }
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 Leopold III, Margrave of Austria
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:patron_saint ?q . ?q rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Leopold_III,_Margrave_of_Austria property:patron_saint ?z . ?z rdf:type ontology:common_name } } . FILTER ( ?o > ?d ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7758404
P674
Q223393
USER
Are those people a character of The Private Life of Genghis Khan ?
(Q7758404,P674,Q9438) (Q7758404,P674,Q60059) (Q7758404,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q7758404
relation P674
['Q7758404', 'P674', 'Q9438'] ['Q7758404', 'P674', 'Q60059'] ['Q7758404', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?c ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q7758404 property:P674 ?c }
The Private Life of Genghis Khan
action is_in
entity prev_answer
action find
entity The Private Life of Genghis Khan
relation characters
['The Private Life of Genghis Khan', 'characters', 'Thomas Aquinas'] ['The Private Life of Genghis Khan', 'characters', 'Albertus Magnus'] ['The Private Life of Genghis Khan', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?c ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:The_Private_Life_of_Genghis_Khan property:characters ?c }
[]
literary genre
SYSTEM
NO
(Q7758404,P674,Q9438) (Q7758404,P674,Q60059) (Q7758404,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q7758404
relation P674
[ANSWER]
['Q7758404', 'P674', 'Q9438'] ['Q7758404', 'P674', 'Q60059'] ['Q7758404', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?c ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q7758404 property:P674 ?c }
No
action is_in
entity prev_answer
action find
entity The Private Life of Genghis Khan
relation characters
['The Private Life of Genghis Khan', 'characters', 'Thomas Aquinas'] ['The Private Life of Genghis Khan', 'characters', 'Albertus Magnus'] ['The Private Life of Genghis Khan', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?c ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:The_Private_Life_of_Genghis_Khan property:characters ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7758404
P800
Q502895
USER
Which person is accredited with being the author of the notable work that literary genre ?
action filter_type
action find_reverse
entity Q7758404
relation P800
type Q502895
SELECT DISTINCT ?s WHERE { ?s property:P800 resource:Q7758404 . ?s rdf:type ontology:Q502895 }
The Private Life of Genghis Khan
action filter_type
action find_reverse
entity The Private Life of Genghis Khan
relation notable work
type common name
SELECT DISTINCT ?s WHERE { ?s property:notable_work resource:The_Private_Life_of_Genghis_Khan . ?s rdf:type ontology:common_name }
[]
common name
Q42
SYSTEM
Douglas Adams
Q42
action filter_type
action find_reverse
entity Q7758404
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that literary genre
SELECT DISTINCT ?s WHERE { ?s property:P800 resource:Q7758404 . ?s rdf:type ontology:Q502895 }
Douglas Adams
Douglas Adams is accredited with being the author of the notable work that literary genre
Douglas Adams
action filter_type
action find_reverse
entity The Private Life of Genghis Khan
relation notable work
type common name
SELECT DISTINCT ?s WHERE { ?s property:notable_work resource:The_Private_Life_of_Genghis_Khan . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q42 Q9531 Q5412558
P108
Q43229
USER
Does Douglas Adams have BBC and European Executive Express as its employer ?
(Q42,P108,Q9531) (Q42,P108,Q5412558)
action is_in
entity Q42
action intersection
action find_reverse
entity Q9531
relation P108
action find_reverse
entity Q5412558
relation P108
['Q42', 'P108', 'Q9531'] ['Q42', 'P108', 'Q5412558']
ASK WHERE { resource:Q42 property:P108 resource:Q9531 . resource:Q42 property:P108 resource:Q5412558 }
Douglas Adams BBC European Executive Express
action is_in
entity Douglas Adams
action intersection
action find_reverse
entity BBC
relation employer
action find_reverse
entity European Executive Express
relation employer
['Douglas Adams', 'employer', 'BBC'] ['Douglas Adams', 'employer', 'European Executive Express']
ASK WHERE { resource:Douglas_Adams property:employer resource:BBC . resource:Douglas_Adams property:employer resource:European_Executive_Express }
[]
organization
SYSTEM
YES and NO respectively
(Q42,P108,Q9531) (Q42,P108,Q5412558)
action is_in
entity Q42
action intersection
action find_reverse
entity Q9531
relation P108
action find_reverse
entity Q5412558
relation P108
[ANSWER]
['Q42', 'P108', 'Q9531'] ['Q42', 'P108', 'Q5412558']
ASK WHERE { resource:Q42 property:P108 resource:Q9531 . resource:Q42 property:P108 resource:Q5412558 }
YES and NO respectively
action is_in
entity Douglas Adams
action intersection
action find_reverse
entity BBC
relation employer
action find_reverse
entity European Executive Express
relation employer
['Douglas Adams', 'employer', 'BBC'] ['Douglas Adams', 'employer', 'European Executive Express']
ASK WHERE { resource:Douglas_Adams property:employer resource:BBC . resource:Douglas_Adams property:employer resource:European_Executive_Express }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2730732
P180
Q12737077 Q3516658 Q1792379
USER
Which occupations are expressed in less number of heraldic symbols or art genres than equestrian ?
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q3516658
type Q1792379
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } . ?i rdf:type ?w } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P180 resource:Q2730732 . { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } } } } . FILTER ( ?o < ?n ) }
equestrian
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } . ?i rdf:type ?w } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:depicts resource:equestrian . { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } } } } . FILTER ( ?o < ?n ) }
[]
occupation heraldic symbol art genre
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q2730732
relation P180
type Q3516658
type Q1792379
[ANSWERS] are expressed in less number of heraldic symbols or art genres than equestrian
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } . ?i rdf:type ?w } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P180 resource:Q2730732 . { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:Q3516658 ) ( ontology:Q1792379 ) } } } } . FILTER ( ?o < ?n ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Farmer, nurse and tailor are expressed in less number of heraldic symbols or art genres than equestrian
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity equestrian
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } . ?i rdf:type ?w } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:depicts resource:equestrian . { ?q rdf:type ?d . VALUES ( ?d ) { ( ontology:heraldic_symbol ) ( ontology:art_genre ) } } } } . FILTER ( ?o < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4991371
P180
Q12737077 Q3516658 Q1792379
USER
And what about soldier?
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q3516658
type Q1792379
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?s WHERE { { ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q1792379 . ?k property:P180 ?s } UNION { ?k property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q3516658 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P180 resource:Q4991371 . { { ?b rdf:type ontology:Q3516658 } UNION { ?b rdf:type ontology:Q1792379 } } } } . FILTER ( ?a < ?r ) }
soldier
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?s WHERE { { ?s rdf:type ontology:occupation . ?k rdf:type ontology:art_genre . ?k property:depicts ?s } UNION { ?k property:depicts ?s . ?s rdf:type ontology:occupation . ?k rdf:type ontology:heraldic_symbol } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:depicts resource:soldier . { { ?b rdf:type ontology:heraldic_symbol } UNION { ?b rdf:type ontology:art_genre } } } } . FILTER ( ?a < ?r ) }
[]
occupation heraldic symbol art genre
Q131512 Q186360 Q242468
SYSTEM
farmer, nurse, tailor
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q1792379),P180,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q4991371
relation P180
type Q3516658
type Q1792379
[ANSWERS]
[[{'concept': 'Q3516658'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?s WHERE { { ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q1792379 . ?k property:P180 ?s } UNION { ?k property:P180 ?s . ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q3516658 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P180 resource:Q4991371 . { { ?b rdf:type ontology:Q3516658 } UNION { ?b rdf:type ontology:Q1792379 } } } } . FILTER ( ?a < ?r ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier priest artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
farmer nurse tailor
action less
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action count
action filter_multi_types
action find_reverse
entity soldier
relation depicts
type heraldic symbol
type art genre
[[{'concept': 'heraldic symbol'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?s WHERE { { ?s rdf:type ontology:occupation . ?k rdf:type ontology:art_genre . ?k property:depicts ?s } UNION { ?k property:depicts ?s . ?s rdf:type ontology:occupation . ?k rdf:type ontology:heraldic_symbol } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:depicts resource:soldier . { { ?b rdf:type ontology:heraldic_symbol } UNION { ?b rdf:type ontology:art_genre } } } } . FILTER ( ?a < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q502895 Q1752346 Q12737077
USER
How many occupations were appointed by around 8 people and assemblies ?
(c(Q12737077),P748,c(Q502895)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 8
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { { ?w property:P748 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } UNION { ?w property:P748 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1752346 } } GROUP BY ?w } . FILTER ( ?l = 8 ) }
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 8
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { { ?w property:appointed_by ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:common_name } UNION { ?w property:appointed_by ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:assembly } } GROUP BY ?w } . FILTER ( ?l = 8 ) }
[]
common name assembly occupation
SYSTEM
1
Q4970706
(c(Q12737077),P748,c(Q502895)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 8
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { { ?w property:P748 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q502895 } UNION { ?w property:P748 ?o . ?w rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q1752346 } } GROUP BY ?w } . FILTER ( ?l = 8 ) }
Federal Chancellor of Germany
1
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 8
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { { ?w property:appointed_by ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:common_name } UNION { ?w property:appointed_by ?o . ?w rdf:type ontology:occupation . ?o rdf:type ontology:assembly } } GROUP BY ?w } . FILTER ( ?l = 8 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26396232 Q9531
P17
Q15617994
USER
Which administrative territories are BBC or Karang Asem a part of ?
OR((Q9531,P17,c(Q15617994)), (Q26396232,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9531
relation P17
action find
entity Q26396232
relation P17
type Q15617994
{'OR': [['Q9531', 'P17', {'concept': 'Q15617994'}], ['Q26396232', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q9531 property:P17 ?f } UNION { resource:Q26396232 property:P17 ?f } } }
Karang Asem BBC
action filter_type
action union
action find
entity BBC
relation country
action find
entity Karang Asem
relation country
type designation for an administrative territorial entity
{'OR': [['BBC', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Karang Asem', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:BBC property:country ?f } UNION { resource:Karang_Asem property:country ?f } } }
[]
designation for an administrative territorial entity
Q252 Q145
SYSTEM
Indonesia, United Kingdom
Q252 Q145
OR((Q9531,P17,c(Q15617994)), (Q26396232,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9531
relation P17
action find
entity Q26396232
relation P17
type Q15617994
[ANSWERS] are BBC or Karang Asem a part of
{'OR': [['Q9531', 'P17', {'concept': 'Q15617994'}], ['Q26396232', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q9531 property:P17 ?f } UNION { resource:Q26396232 property:P17 ?f } } }
Indonesia United Kingdom
Indonesia and United Kingdom are BBC or Karang Asem a part of
Indonesia United Kingdom
action filter_type
action union
action find
entity BBC
relation country
action find
entity Karang Asem
relation country
type designation for an administrative territorial entity
{'OR': [['BBC', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Karang Asem', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:BBC property:country ?f } UNION { resource:Karang_Asem property:country ?f } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q252 Q145
P530
Q1048835
USER
Which political territories have diplomatic relations with those administrative territories ?
(Q252,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
['Q252', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . VALUES ( ?m ) { ( resource:Q252 ) ( resource:Q145 ) } . ?m property:P530 ?t }
Indonesia United Kingdom
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Indonesia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . VALUES ( ?m ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } . ?m property:diplomatic_relation ?t }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q183 Q408 Q16 Q183 Q408 Q16
(Q252,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWERS]
['Q252', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . VALUES ( ?m ) { ( resource:Q252 ) ( resource:Q145 ) } . ?m property:P530 ?t }
Germany Australia Canada Germany Australia Canada
Germany, Germany and Australia have diplomatic relations with those administrative territories
Germany Germany Australia
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Indonesia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . VALUES ( ?m ) { ( resource:Indonesia ) ( resource:United_Kingdom ) } . ?m property:diplomatic_relation ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q252
P610
Q14524493
USER
Which is the highest point of that administrative territory ?
(Q252,P610,c(Q14524493))
action filter_type
action find
entity Q252
relation P610
type Q14524493
['Q252', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14524493 . resource:Q252 property:P610 ?x }
Indonesia
action filter_type
action find
entity Indonesia
relation highest point
type terrain
['Indonesia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:terrain . resource:Indonesia property:highest_point ?x }
[]
terrain
Clarification for simple ques.
Q252
SYSTEM
Did you mean Indonesia ?
Q183 Q183 Q408
(Q183,P610,c(Q14524493)) (Q183,P610,c(Q14524493)) (Q408,P610,c(Q14524493))
[ANSWER]
['Q183', 'P610', {'concept': 'Q14524493'}] ['Q183', 'P610', {'concept': 'Q14524493'}] ['Q408', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14524493 . resource:Q252 property:P610 ?x }
Germany Germany Australia
Did you mean Indonesia ?
Indonesia
['Germany', 'highest point', {'concept': 'terrain'}] ['Germany', 'highest point', {'concept': 'terrain'}] ['Australia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:terrain . resource:Indonesia property:highest_point ?x }
[]
Simple Question (Coreferenced)
USER
Yes
(Q252,P610,c(Q14524493))
['Q252', 'P610', {'concept': 'Q14524493'}]
['Indonesia', 'highest point', {'concept': 'terrain'}]
[]
Q1045888
SYSTEM
Puncak Jaya
Q1045888
(Q252,P610,c(Q14524493))
action filter_type
action find
entity Q252
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q252', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q14524493 . resource:Q252 property:P610 ?x }
Puncak Jaya
The highest point of that administrative territory is the Puncak Jaya
Puncak Jaya
action filter_type
action find
entity Indonesia
relation highest point
type terrain
['Indonesia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:terrain . resource:Indonesia property:highest_point ?x }
[]