Simple Question (Direct)
Simple Question
Q1163404
P106
Q12737077
USER
Which occupations have Daniela Hammer-Tugendhat as his/her 's career ?
(Q1163404,P106,c(Q12737077))
action filter_type
action find
entity Q1163404
relation P106
type Q12737077
['Q1163404', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1163404 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Daniela Hammer-Tugendhat
action filter_type
action find
entity Daniela Hammer-Tugendhat
relation occupation
type occupation
['Daniela Hammer-Tugendhat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Daniela_Hammer-Tugendhat property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q1792450 Q36180 Q1622272
SYSTEM
art historian, writer, university teacher
Q1792450 Q36180 Q1622272
(Q1163404,P106,c(Q12737077))
action filter_type
action find
entity Q1163404
relation P106
type Q12737077
[ANSWERS] have Daniela Hammer-Tugendhat as his/her 's career
['Q1163404', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1163404 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
art historian writer university teacher
Art historian, writer and university teacher have Daniela Hammer-Tugendhat as his/her 's career
art historian writer university teacher
action filter_type
action find
entity Daniela Hammer-Tugendhat
relation occupation
type occupation
['Daniela Hammer-Tugendhat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Daniela_Hammer-Tugendhat property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36180
P921
Q838948
USER
Which work of art is that occupation a main subject of ?
(c(Q838948),P921,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q36180 . ?x rdf:type ontology:Q838948 }
writer
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:writer . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q36180
SYSTEM
Did you mean writer ?
Q1792450 Q36180 Q1622272
(c(Q838948),P921,Q1792450) (c(Q838948),P921,Q36180) (c(Q838948),P921,Q1622272)
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q1792450'] [{'concept': 'Q838948'}, 'P921', 'Q36180'] [{'concept': 'Q838948'}, 'P921', 'Q1622272']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q36180 . ?x rdf:type ontology:Q838948 }
art historian writer university teacher
Did you mean writer ?
writer
[{'concept': 'work of art'}, 'main subject', 'art historian'] [{'concept': 'work of art'}, 'main subject', 'writer'] [{'concept': 'work of art'}, 'main subject', 'university teacher']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:writer . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P921,Q36180)
[{'concept': 'Q838948'}, 'P921', 'Q36180']
[{'concept': 'work of art'}, 'main subject', 'writer']
[]
Q7847743
SYSTEM
Trumbo
Q7847743
(c(Q838948),P921,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[ANSWER] is that occupation a main subject of
[{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q36180 . ?x rdf:type ontology:Q838948 }
Trumbo
Trumbo is that occupation a main subject of
Trumbo
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:writer . ?x rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7847743 Q30
P495
Q15617994
USER
Did that work of art originate United States of America ?
(Q7847743,P495,Q30)
action is_in
entity Q30
action find
entity Q7847743
relation P495
['Q7847743', 'P495', 'Q30']
ASK WHERE { resource:Q7847743 property:P495 resource:Q30 }
Trumbo United States of America
action is_in
entity United States of America
action find
entity Trumbo
relation country of origin
['Trumbo', 'country of origin', 'United States of America']
ASK WHERE { resource:Trumbo property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7847743,P495,Q30)
action is_in
entity Q30
action find
entity Q7847743
relation P495
[ANSWER]
['Q7847743', 'P495', 'Q30']
ASK WHERE { resource:Q7847743 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Trumbo
relation country of origin
['Trumbo', 'country of origin', 'United States of America']
ASK WHERE { resource:Trumbo property:country_of_origin resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2259532
P180
Q12737077 Q3516658 Q340169
USER
How many occupations are demonstrated in around the same number of heraldic symbols and medias as cleric ?
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2259532
relation P180
type Q3516658
type Q340169
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q3516658 } UNION { ?b property:P180 ?n . ?b rdf:type ontology:Q340169 . ?n rdf:type ontology:Q12737077 } } GROUP BY ?n } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P180 resource:Q2259532 . { { ?u rdf:type ontology:Q3516658 } UNION { ?u rdf:type ontology:Q340169 } } } } }
cleric
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity cleric
relation depicts
type heraldic symbol
type media
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:depicts ?n . ?n rdf:type ontology:occupation . ?b rdf:type ontology:heraldic_symbol } UNION { ?b property:depicts ?n . ?b rdf:type ontology:media . ?n rdf:type ontology:occupation } } GROUP BY ?n } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:depicts resource:cleric . { { ?u rdf:type ontology:heraldic_symbol } UNION { ?u rdf:type ontology:media } } } } }
[]
occupation heraldic symbol media
SYSTEM
214
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 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 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q170779 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q49757 Q160131 Q4990607 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q42603 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2259532
relation P180
type Q3516658
type Q340169
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P180 ?n . ?n rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q3516658 } UNION { ?b property:P180 ?n . ?b rdf:type ontology:Q340169 . ?n rdf:type ontology:Q12737077 } } GROUP BY ?n } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P180 resource:Q2259532 . { { ?u rdf:type ontology:Q3516658 } UNION { ?u rdf:type ontology:Q340169 } } } } }
fiddler acrobat milkmaid worker standard-bearer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic 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 canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith magistrate domestic worker tailor cardinal housekeeper theologian courier monarch porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner Kassandra 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 poet baker knife grinder 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 bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
214
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity cleric
relation depicts
type heraldic symbol
type media
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:depicts ?n . ?n rdf:type ontology:occupation . ?b rdf:type ontology:heraldic_symbol } UNION { ?b property:depicts ?n . ?b rdf:type ontology:media . ?n rdf:type ontology:occupation } } GROUP BY ?n } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:depicts resource:cleric . { { ?u rdf:type ontology:heraldic_symbol } UNION { ?u rdf:type ontology:media } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7574264
P748
Q178706 Q1752346 Q12737077
USER
How many occupations did less number of institutions and assemblies appoint than Speaker of the Hellenic Parliament ?
(c(Q12737077),P748,c(Q178706)|c(Q1752346))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q7574264
relation P748
type Q178706
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:Q178706 ) ( ontology:Q1752346 ) } . ?f rdf:type ?z } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q7574264 property:P748 ?t . { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q178706 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?b < ?h ) }
Speaker of the Hellenic Parliament
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Speaker of the Hellenic Parliament
relation appointed by
type institution
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:institution ) ( ontology:assembly ) } . ?f rdf:type ?z } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Speaker_of_the_Hellenic_Parliament property:appointed_by ?t . { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:institution ) ( ontology:assembly ) } } } } . FILTER ( ?b < ?h ) }
[]
institution assembly occupation
SYSTEM
302
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q20872382 Q3246797 Q1749063 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q835586 Q12376089 Q4970706 Q27516521 Q20891385 Q6572133 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q21384866 Q596123 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3058109 Q3858507 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q1195049 Q6865853 Q20867550 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q195965 Q6123144 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q1123764 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q592866 Q1281611 Q1790154 Q6866422 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q178706)|c(Q1752346))
action count
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q7574264
relation P748
type Q178706
type Q1752346
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:Q178706 ) ( ontology:Q1752346 ) } . ?f rdf:type ?z } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q7574264 property:P748 ?t . { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:Q178706 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?b < ?h ) }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources Secretary of State for Wales governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem Mayor of The Hague Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam Secretary of State for Work and Pensions United States Secretary of Education Secretary of State for International Development Lord President of the Council municipal executive of Coevorden Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service municipal executive of Boxmeer President of the People's Republic of China Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland President of Fiji Prime Minister of Serbia Prime Minister of Thailand Federal Chancellor of Germany member of the Provincial Executive of North Holland municipal executive of Deventer Governor of İstanbul Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Secretary of State for Education Prime Minister of Singapore Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Prime Minister of Malaysia Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Paymaster General Prime Minister of Sweden Secretary of State for Health Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland Governor of the Virgin Islands President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Chief of Naval Operations President of the Parliament of Catalonia Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Governor of Gibraltar Secretary of State of Puerto Rico Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff Secretary of State for Exiting the European Union bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
302
action count
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Speaker of the Hellenic Parliament
relation appointed by
type institution
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?z ) { ( ontology:institution ) ( ontology:assembly ) } . ?f rdf:type ?z } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Speaker_of_the_Hellenic_Parliament property:appointed_by ?t . { ?t rdf:type ?y . VALUES ( ?y ) { ( ontology:institution ) ( ontology:assembly ) } } } } . FILTER ( ?b < ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P425
Q1914636
USER
Which activity has writer as the associated field of occupation ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1914636 . resource:Q36180 property:P425 ?y }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:activity . resource:writer property:field_of_this_occupation ?y }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
The [ANSWER] has writer as the associated field of occupation
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1914636 . resource:Q36180 property:P425 ?y }
literature
The literature has writer as the associated field of occupation
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:activity . resource:writer property:field_of_this_occupation ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P512
Q502895
USER
Who holds the diploma university teacher ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?m WHERE { ?m property:P512 resource:Q1622272 . ?m rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?m WHERE { ?m property:academic_degree resource:university_teacher . ?m rdf:type ontology:common_name }
[]
common name
Q1362287 Q1631650 Q4074760
SYSTEM
Manolis Andronikos, Hovhannes Barseghian, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] hold the diploma university teacher
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?m WHERE { ?m property:P512 resource:Q1622272 . ?m rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Manolis Andronikos, Hovhannes Barseghian and Edvard Baghdasaryan hold the diploma university teacher
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?m WHERE { ?m property:academic_degree resource:university_teacher . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4074760
P86
Q838948
USER
Which work of art has that person as the melodist ?
(c(Q838948),P86,Q4074760)
action filter_type
action find_reverse
entity Q4074760
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q4074760']
SELECT DISTINCT ?p WHERE { ?p property:P86 resource:Q4074760 . ?p rdf:type ontology:Q838948 }
Edvard Baghdasaryan
action filter_type
action find_reverse
entity Edvard Baghdasaryan
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Edvard Baghdasaryan']
SELECT DISTINCT ?p WHERE { ?p property:composer resource:Edvard_Baghdasaryan . ?p rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q4074760
SYSTEM
Did you mean Edvard Baghdasaryan ?
Q1362287 Q1631650 Q4074760
(c(Q838948),P86,Q1362287) (c(Q838948),P86,Q1631650) (c(Q838948),P86,Q4074760)
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q1362287'] [{'concept': 'Q838948'}, 'P86', 'Q1631650'] [{'concept': 'Q838948'}, 'P86', 'Q4074760']
SELECT DISTINCT ?p WHERE { ?p property:P86 resource:Q4074760 . ?p rdf:type ontology:Q838948 }
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
Did you mean Edvard Baghdasaryan ?
Edvard Baghdasaryan
[{'concept': 'work of art'}, 'composer', 'Manolis Andronikos'] [{'concept': 'work of art'}, 'composer', 'Hovhannes Barseghian'] [{'concept': 'work of art'}, 'composer', 'Edvard Baghdasaryan']
SELECT DISTINCT ?p WHERE { ?p property:composer resource:Edvard_Baghdasaryan . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P86,Q4074760)
[{'concept': 'Q838948'}, 'P86', 'Q4074760']
[{'concept': 'work of art'}, 'composer', 'Edvard Baghdasaryan']
[]
Q4456985
SYSTEM
Tjvjik
Q4456985
(c(Q838948),P86,Q4074760)
action filter_type
action find_reverse
entity Q4074760
relation P86
type Q838948
[ANSWER] has that person as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q4074760']
SELECT DISTINCT ?p WHERE { ?p property:P86 resource:Q4074760 . ?p rdf:type ontology:Q838948 }
Tjvjik
Tjvjik has that person as the melodist
Tjvjik
action filter_type
action find_reverse
entity Edvard Baghdasaryan
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Edvard Baghdasaryan']
SELECT DISTINCT ?p WHERE { ?p property:composer resource:Edvard_Baghdasaryan . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1362287
P802
Q502895
USER
Which person was a pupil of Manolis Andronikos ?
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P802 resource:Q1362287 }
Manolis Andronikos
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:student resource:Manolis_Andronikos }
[]
common name
Q704230
SYSTEM
John Beazley
Q704230
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[ANSWER] was a pupil of Manolis Andronikos
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P802 resource:Q1362287 }
John Beazley
John Beazley was a pupil of Manolis Andronikos
John Beazley
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:student resource:Manolis_Andronikos }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q704230
P98
Q7725634
USER
Which literary work did that person edit ?
(c(Q7725634),P98,Q704230)
action filter_type
action find_reverse
entity Q704230
relation P98
type Q7725634
[{'concept': 'Q7725634'}, 'P98', 'Q704230']
SELECT DISTINCT ?a WHERE { ?a property:P98 resource:Q704230 . ?a rdf:type ontology:Q7725634 }
John Beazley
action filter_type
action find_reverse
entity John Beazley
relation editor
type literary work
[{'concept': 'literary work'}, 'editor', 'John Beazley']
SELECT DISTINCT ?a WHERE { ?a property:editor resource:John_Beazley . ?a rdf:type ontology:literary_work }
[]
literary work
Q1438002
SYSTEM
Forschungen zur antiken Keramik
Q1438002
(c(Q7725634),P98,Q704230)
action filter_type
action find_reverse
entity Q704230
relation P98
type Q7725634
That person edited [ANSWER]
[{'concept': 'Q7725634'}, 'P98', 'Q704230']
SELECT DISTINCT ?a WHERE { ?a property:P98 resource:Q704230 . ?a rdf:type ontology:Q7725634 }
Forschungen zur antiken Keramik
That person edited Forschungen zur antiken Keramik
Forschungen zur antiken Keramik
action filter_type
action find_reverse
entity John Beazley
relation editor
type literary work
[{'concept': 'literary work'}, 'editor', 'John Beazley']
SELECT DISTINCT ?a WHERE { ?a property:editor resource:John_Beazley . ?a rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1362287
P172
Q2472587
USER
What is the ethnicity of Manolis Andronikos ?
(Q1362287,P172,c(Q2472587))
action filter_type
action find
entity Q1362287
relation P172
type Q2472587
['Q1362287', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?t WHERE { resource:Q1362287 property:P172 ?t . ?t rdf:type ontology:Q2472587 }
Manolis Andronikos
action filter_type
action find
entity Manolis Andronikos
relation ethnic group
type people
['Manolis Andronikos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?t WHERE { resource:Manolis_Andronikos property:ethnic_group ?t . ?t rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q1362287,P172,c(Q2472587))
action filter_type
action find
entity Q1362287
relation P172
type Q2472587
The ethnicity of Manolis Andronikos is of [ANSWER]
['Q1362287', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?t WHERE { resource:Q1362287 property:P172 ?t . ?t rdf:type ontology:Q2472587 }
Greeks
The ethnicity of Manolis Andronikos is of Greeks
Greeks
action filter_type
action find
entity Manolis Andronikos
relation ethnic group
type people
['Manolis Andronikos', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?t WHERE { resource:Manolis_Andronikos property:ethnic_group ?t . ?t rdf:type ontology:people }
[]