Simple Question (Direct)
Simple Question
Q7341932
P106
Q12737077
USER
Which occupation is the profession of Robert Bateson ?
(Q7341932,P106,c(Q12737077))
action filter_type
action find
entity Q7341932
relation P106
type Q12737077
['Q7341932', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q7341932 property:P106 ?j }
Robert Bateson
action filter_type
action find
entity Robert Bateson
relation occupation
type occupation
['Robert Bateson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Robert_Bateson property:occupation ?j }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7341932,P106,c(Q12737077))
action filter_type
action find
entity Q7341932
relation P106
type Q12737077
The [ANSWER] is the profession of Robert Bateson
['Q7341932', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q7341932 property:P106 ?j }
politician
The politician is the profession of Robert Bateson
politician
action filter_type
action find
entity Robert Bateson
relation occupation
type occupation
['Robert Bateson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Robert_Bateson property:occupation ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P921
Q223393
USER
Which literary genre is that occupation a main subject of ?
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q82955 . ?b rdf:type ontology:Q223393 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:politician . ?b rdf:type ontology:literary_genre }
[]
literary genre
Q21815179
SYSTEM
worldstatesmen
Q21815179
(c(Q223393),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q223393
[ANSWER] is that occupation a main subject of
[{'concept': 'Q223393'}, 'P921', 'Q82955']
SELECT DISTINCT ?b WHERE { ?b property:P921 resource:Q82955 . ?b rdf:type ontology:Q223393 }
worldstatesmen
Worldstatesmen is that occupation a main subject of
worldstatesmen
action filter_type
action find_reverse
entity politician
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'politician']
SELECT DISTINCT ?b WHERE { ?b property:main_subject resource:politician . ?b rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q21815179)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q21815179']
SELECT DISTINCT ?i WHERE { ?i property:P39 resource:Q82955 . ?i rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'worldstatesmen']
SELECT DISTINCT ?i WHERE { ?i property:position_held resource:politician . ?i rdf:type ontology:common_name }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q21815179)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q21815179']
SELECT DISTINCT ?i WHERE { ?i property:P39 resource:Q82955 . ?i rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari held the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'worldstatesmen']
SELECT DISTINCT ?i WHERE { ?i property:position_held resource:politician . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P425
Q3769299
USER
Who is associated with the field of occupation politician ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?v }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?v }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
The [ANSWER] is associated with the field of occupation politician
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?v }
politics
The politics is associated with the field of occupation politician
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q193432
Q3769299
USER
And how about fan?
(Q193432,P425,c(Q3769299))
action filter_type
action find
entity Q193432
relation P425
type Q3769299
['Q193432', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?q WHERE { resource:Q193432 property:P425 ?q . ?q rdf:type ontology:Q3769299 }
fan
action filter_type
action find
entity fan
relation field of this occupation
type human behaviour
['fan', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?q WHERE { resource:fan property:field_of_this_occupation ?q . ?q rdf:type ontology:human_behaviour }
[]
human behaviour
Q773944
SYSTEM
fandom
Q773944
(Q193432,P425,c(Q3769299))
action filter_type
action find
entity Q193432
relation P425
type Q3769299
[ANSWER]
['Q193432', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?q WHERE { resource:Q193432 property:P425 ?q . ?q rdf:type ontology:Q3769299 }
fandom
fandom
action filter_type
action find
entity fan
relation field of this occupation
type human behaviour
['fan', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?q WHERE { resource:fan property:field_of_this_occupation ?q . ?q rdf:type ontology:human_behaviour }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1976178
P248
Q223393 Q151885 Q1048835
USER
Which literary genres are more number of concepts and political territories mentioned in than Small Soviet Encyclopedia ?
(c(Q151885)|c(Q1048835),P248,c(Q223393))
action greater
action union
action find_reverse_tuple_counts
relation P248
type Q223393
type Q151885
action find_reverse_tuple_counts
relation P248
type Q223393
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q1976178
relation P248
type Q151885
type Q1048835
[[{'concept': 'Q151885'}, {'concept': 'Q1048835'}], 'P248', {'concept': 'Q223393'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?t WHERE { { ?p property:P248 ?t . ?t rdf:type ontology:Q223393 . ?p rdf:type ontology:Q151885 } UNION { ?t rdf:type ontology:Q223393 . ?p rdf:type ontology:Q1048835 . ?p property:P248 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P248 resource:Q1976178 . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:Q151885 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?v > ?c ) }
Small Soviet Encyclopedia
action greater
action union
action find_reverse_tuple_counts
relation stated in
type literary genre
type concept
action find_reverse_tuple_counts
relation stated in
type literary genre
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Small Soviet Encyclopedia
relation stated in
type concept
type political territorial entity
[[{'concept': 'concept'}, {'concept': 'political territorial entity'}], 'stated in', {'concept': 'literary genre'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?t WHERE { { ?p property:stated_in ?t . ?t rdf:type ontology:literary_genre . ?p rdf:type ontology:concept } UNION { ?t rdf:type ontology:literary_genre . ?p rdf:type ontology:political_territorial_entity . ?p property:stated_in ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:stated_in resource:Small_Soviet_Encyclopedia . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:concept ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?v > ?c ) }
[]
literary genre concept political territorial entity
Q774515 Q4532152 Q2664168
SYSTEM
Encyclopedia of Ukraine, Encyclopedia of Modern Ukraine, Gran Enciclopèdia Catalana
Q774515 Q4532152 Q2664168
(c(Q151885)|c(Q1048835),P248,c(Q223393))
action greater
action union
action find_reverse_tuple_counts
relation P248
type Q223393
type Q151885
action find_reverse_tuple_counts
relation P248
type Q223393
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q1976178
relation P248
type Q151885
type Q1048835
[ANSWERS] are more number of concepts and political territories mentioned in than Small Soviet Encyclopedia
[[{'concept': 'Q151885'}, {'concept': 'Q1048835'}], 'P248', {'concept': 'Q223393'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?t WHERE { { ?p property:P248 ?t . ?t rdf:type ontology:Q223393 . ?p rdf:type ontology:Q151885 } UNION { ?t rdf:type ontology:Q223393 . ?p rdf:type ontology:Q1048835 . ?p property:P248 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P248 resource:Q1976178 . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:Q151885 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?v > ?c ) }
Encyclopedia of Ukraine Encyclopedia of Modern Ukraine Gran Enciclopèdia Catalana
Encyclopedia of Ukraine, Encyclopedia of Modern Ukraine and Gran Enciclopèdia Catalana are more number of concepts and political territories mentioned in than Small Soviet Encyclopedia
Encyclopedia of Ukraine Encyclopedia of Modern Ukraine Gran Enciclopèdia Catalana
action greater
action union
action find_reverse_tuple_counts
relation stated in
type literary genre
type concept
action find_reverse_tuple_counts
relation stated in
type literary genre
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Small Soviet Encyclopedia
relation stated in
type concept
type political territorial entity
[[{'concept': 'concept'}, {'concept': 'political territorial entity'}], 'stated in', {'concept': 'literary genre'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) ?t WHERE { { ?p property:stated_in ?t . ?t rdf:type ontology:literary_genre . ?p rdf:type ontology:concept } UNION { ?t rdf:type ontology:literary_genre . ?p rdf:type ontology:political_territorial_entity . ?p property:stated_in ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:stated_in resource:Small_Soviet_Encyclopedia . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:concept ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?v > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5375713
P248
Q223393 Q151885 Q1048835
USER
And also tell me about Encyclopedia of Newfoundland and Labrador?
(c(Q151885)|c(Q1048835),P248,c(Q223393))
action greater
action union
action find_reverse_tuple_counts
relation P248
type Q223393
type Q151885
action find_reverse_tuple_counts
relation P248
type Q223393
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q5375713
relation P248
type Q151885
type Q1048835
[[{'concept': 'Q151885'}, {'concept': 'Q1048835'}], 'P248', {'concept': 'Q223393'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P248 resource:Q5375713 . { VALUES ( ?b ) { ( ontology:Q151885 ) ( ontology:Q1048835 ) } . ?e rdf:type ?b } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q151885 ) ( ontology:Q1048835 ) } } GROUP BY ?m } }
Encyclopedia of Newfoundland and Labrador
action greater
action union
action find_reverse_tuple_counts
relation stated in
type literary genre
type concept
action find_reverse_tuple_counts
relation stated in
type literary genre
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Encyclopedia of Newfoundland and Labrador
relation stated in
type concept
type political territorial entity
[[{'concept': 'concept'}, {'concept': 'political territorial entity'}], 'stated in', {'concept': 'literary genre'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:stated_in resource:Encyclopedia_of_Newfoundland_and_Labrador . { VALUES ( ?b ) { ( ontology:concept ) ( ontology:political_territorial_entity ) } . ?e rdf:type ?b } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:concept ) ( ontology:political_territorial_entity ) } } GROUP BY ?m } }
[]
literary genre concept political territorial entity
Q774515 Q4532152 Q2664168
SYSTEM
Encyclopedia of Ukraine, Encyclopedia of Modern Ukraine, Gran Enciclopèdia Catalana
Q774515 Q4532152 Q2664168
(c(Q151885)|c(Q1048835),P248,c(Q223393))
action greater
action union
action find_reverse_tuple_counts
relation P248
type Q223393
type Q151885
action find_reverse_tuple_counts
relation P248
type Q223393
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q5375713
relation P248
type Q151885
type Q1048835
[ANSWERS]
[[{'concept': 'Q151885'}, {'concept': 'Q1048835'}], 'P248', {'concept': 'Q223393'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P248 resource:Q5375713 . { VALUES ( ?b ) { ( ontology:Q151885 ) ( ontology:Q1048835 ) } . ?e rdf:type ?b } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q151885 ) ( ontology:Q1048835 ) } } GROUP BY ?m } }
Encyclopedia of Ukraine Encyclopedia of Modern Ukraine Gran Enciclopèdia Catalana
Encyclopedia of Ukraine Encyclopedia of Modern Ukraine Gran Enciclopèdia Catalana
action greater
action union
action find_reverse_tuple_counts
relation stated in
type literary genre
type concept
action find_reverse_tuple_counts
relation stated in
type literary genre
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Encyclopedia of Newfoundland and Labrador
relation stated in
type concept
type political territorial entity
[[{'concept': 'concept'}, {'concept': 'political territorial entity'}], 'stated in', {'concept': 'literary genre'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:stated_in resource:Encyclopedia_of_Newfoundland_and_Labrador . { VALUES ( ?b ) { ( ontology:concept ) ( ontology:political_territorial_entity ) } . ?e rdf:type ?b } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:concept ) ( ontology:political_territorial_entity ) } } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12270260
P748
Q701632 Q1307214 Q12737077
USER
Which occupations did around the same number of municipal councils and forms of government appoint as Premier of Yukon ?
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q12270260
relation P748
type Q701632
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?e ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } . ?f rdf:type ?e } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Q12270260 property:P748 ?b . { { ?b rdf:type ontology:Q701632 } UNION { ?b rdf:type ontology:Q1307214 } } } } . FILTER ( ?i = ?h ) }
Premier of Yukon
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Premier of Yukon
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?e ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } . ?f rdf:type ?e } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Premier_of_Yukon property:appointed_by ?b . { { ?b rdf:type ontology:municipal_council } UNION { ?b rdf:type ontology:form_of_government } } } } . FILTER ( ?i = ?h ) }
[]
municipal council form of government occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q596123 Q7444340 Q1723031 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 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 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 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q12270260
relation P748
type Q701632
type Q1307214
The [ANSWERS] around the same number of municipal councils and forms of government appointed as Premier of Yukon
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?e ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } . ?f rdf:type ?e } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Q12270260 property:P748 ?b . { { ?b rdf:type ontology:Q701632 } UNION { ?b rdf:type ontology:Q1307214 } } } } . FILTER ( ?i = ?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 Minister for Education and Skills 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 Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana 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 President of the European Parliament 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 United States Secretary of Agriculture 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 Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service 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 Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly Governor of İstanbul President of Malta 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 president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal 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 Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania 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 Speaker of the Hellenic Parliament 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 President of the Generalitat of Catalonia Minister of Communications President of Nigeria President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade 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 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 President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel 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 President of Cuba Minister of Foreign Affairs 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 President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives 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 Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy 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 President of the European Council Prime Minister of Tuvalu Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer 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
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and President of the People's Republic of China around the same number of municipal councils and forms of government appointed as Premier of Yukon
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Premier of Yukon
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?i ) WHERE { VALUES ( ?e ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } . ?f rdf:type ?e } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { resource:Premier_of_Yukon property:appointed_by ?b . { { ?b rdf:type ontology:municipal_council } UNION { ?b rdf:type ontology:form_of_government } } } } . FILTER ( ?i = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12270252
P748
Q701632 Q1307214 Q12737077
USER
And also tell me about Premier of New Brunswick?
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q12270252
relation P748
type Q701632
type Q1307214
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } . ?b rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q12270252 property:P748 ?s . { { ?s rdf:type ontology:Q701632 } UNION { ?s rdf:type ontology:Q1307214 } } } } . FILTER ( ?d = ?t ) }
Premier of New Brunswick
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Premier of New Brunswick
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } . ?b rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Premier_of_New_Brunswick property:appointed_by ?s . { { ?s rdf:type ontology:municipal_council } UNION { ?s rdf:type ontology:form_of_government } } } } . FILTER ( ?d = ?t ) }
[]
municipal council form of government occupation
Q687075 Q1749063 Q655407
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, President of the People's Republic of China
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q6865816 Q2666591 Q191954 Q6865958 Q3251824 Q1846384 Q11793630 Q1072417 Q27650822 Q2631987 Q735575 Q2287650 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q14984399 Q7241304 Q15304810 Q1511951 Q191827 Q1029955 Q1476458 Q15407843 Q2484309 Q642859 Q2012061 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q3246797 Q1749063 Q1371091 Q3315116 Q655407 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 Q6572133 Q796593 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q531471 Q274948 Q2305968 Q596123 Q7444340 Q1723031 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 Q2747647 Q6866295 Q2390270 Q13527933 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q862559 Q3564227 Q13645132 Q636207 Q475658 Q7574264 Q6866264 Q6865750 Q7240360 Q2003296 Q182762 Q20859386 Q967750 Q16933549 Q18694351 Q500282 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q152814 Q1072415 Q26000995 Q3251793 Q3409203 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q327948 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 Q1370482 Q6866148 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3315134 Q3259469 Q1819381 Q1052201 Q7574256 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q6468838 Q1362216 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q1658460 Q628102 Q17058425 Q6865902 Q738695 Q20128098 Q844587 Q786242 Q25860233 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q701632)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q701632
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action count
action filter_multi_types
action find
entity Q12270252
relation P748
type Q701632
type Q1307214
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q701632'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:Q701632 ) ( ontology:Q1307214 ) } . ?b rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q12270252 property:P748 ?s . { { ?s rdf:type ontology:Q701632 } UNION { ?s rdf:type ontology:Q1307214 } } } } . FILTER ( ?d = ?t ) }
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 Minister for Education and Skills 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 Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana 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 President of the European Parliament 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 United States Secretary of Agriculture 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 Prime Minister of Libya Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service 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 Prime Minister of Russia President of Fiji Prime Minister of Serbia Prime Minister of Thailand President of Botswana Federal Chancellor of Germany State President of South Africa member of the Provincial Executive of North Holland President of the United Nations General Assembly Governor of İstanbul President of Malta 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 president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal 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 Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania 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 Speaker of the Hellenic Parliament 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 President of the Generalitat of Catalonia Minister of Communications President of Nigeria President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade 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 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 President of Greece Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico President of Israel 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 President of Cuba Minister of Foreign Affairs 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 President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives 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 Attorney General of Ireland Secretary of State for Scotland Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy 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 President of the European Council Prime Minister of Tuvalu Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer 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
Prime Minister of Sweden Minister for Foreign Affairs of Sweden President of the People's Republic of China
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type municipal council
action find_tuple_counts
relation appointed by
type occupation
type form of government
action count
action filter_multi_types
action find
entity Premier of New Brunswick
relation appointed by
type municipal council
type form of government
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'municipal council'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?w ) { ( ontology:municipal_council ) ( ontology:form_of_government ) } . ?b rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Premier_of_New_Brunswick property:appointed_by ?s . { { ?s rdf:type ontology:municipal_council } UNION { ?s rdf:type ontology:form_of_government } } } } . FILTER ( ?d = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19360746 Q26215129
P39
Q12737077
USER
Which occupations were the positions for which Morteza Azari or Louis Gabriel Philibert Debranges were appointed ?
OR((Q26215129,P39,c(Q12737077)), (Q19360746,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q26215129
relation P39
action find
entity Q19360746
relation P39
type Q12737077
{'OR': [['Q26215129', 'P39', {'concept': 'Q12737077'}], ['Q19360746', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . { ?o property:P39 ?k . VALUES ( ?o ) { ( resource:Q26215129 ) ( resource:Q19360746 ) } } }
Louis Gabriel Philibert Debranges Morteza Azari
action filter_type
action union
action find
entity Morteza Azari
relation position held
action find
entity Louis Gabriel Philibert Debranges
relation position held
type occupation
{'OR': [['Morteza Azari', 'position held', {'concept': 'occupation'}], ['Louis Gabriel Philibert Debranges', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . { ?o property:position_held ?k . VALUES ( ?o ) { ( resource:Morteza_Azari ) ( resource:Louis_Gabriel_Philibert_Debranges ) } } }
[]
occupation
Q15995642 Q82955 Q333634 Q1234713 Q3044918 Q17575128
SYSTEM
religious leader, politician, translator, theologian, member of the French National Assembly, grand ayatollah
Q15995642 Q82955 Q333634 Q1234713 Q3044918 Q17575128
OR((Q26215129,P39,c(Q12737077)), (Q19360746,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q26215129
relation P39
action find
entity Q19360746
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q26215129', 'P39', {'concept': 'Q12737077'}], ['Q19360746', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . { ?o property:P39 ?k . VALUES ( ?o ) { ( resource:Q26215129 ) ( resource:Q19360746 ) } } }
religious leader politician translator theologian member of the French National Assembly grand ayatollah
Theologian, member of the French National Assembly and grand ayatollah were the positions for which Morteza Azari or Louis Gabriel Philibert Debranges were appointed
religious leader politician translator theologian member of the French National Assembly grand ayatollah
action filter_type
action union
action find
entity Morteza Azari
relation position held
action find
entity Louis Gabriel Philibert Debranges
relation position held
type occupation
{'OR': [['Morteza Azari', 'position held', {'concept': 'occupation'}], ['Louis Gabriel Philibert Debranges', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . { ?o property:position_held ?k . VALUES ( ?o ) { ( resource:Morteza_Azari ) ( resource:Louis_Gabriel_Philibert_Debranges ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3044918 Q7139027
P1001
Q15617994
USER
How many administrative territories come under the supervision of member of the French National Assembly or Parliamentary Secretaries of the 7th Dáil ?
(Q3044918,P1001,c(Q15617994)) (Q7139027,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
action filter_type
action find
entity Q7139027
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}] ['Q7139027', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?y property:P1001 ?e . VALUES ( ?y ) { ( resource:Q3044918 ) ( resource:Q7139027 ) } }
member of the French National Assembly Parliamentary Secretaries of the 7th Dáil
action count
action union
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Parliamentary Secretaries of the 7th Dáil
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Parliamentary Secretaries of the 7th Dáil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?y property:applies_to_jurisdiction ?e . VALUES ( ?y ) { ( resource:member_of_the_French National_Assembly ) ( resource:Parliamentary_Secretaries_of_the_7th_Dáil ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q27
(Q3044918,P1001,c(Q15617994)) (Q7139027,P1001,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
action filter_type
action find
entity Q7139027
relation P1001
type Q15617994
[ANSWER]
['Q3044918', 'P1001', {'concept': 'Q15617994'}] ['Q7139027', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?y property:P1001 ?e . VALUES ( ?y ) { ( resource:Q3044918 ) ( resource:Q7139027 ) } }
France Ireland
2
action count
action union
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Parliamentary Secretaries of the 7th Dáil
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Parliamentary Secretaries of the 7th Dáil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { ?y property:applies_to_jurisdiction ?e . VALUES ( ?y ) { ( resource:member_of_the_French National_Assembly ) ( resource:Parliamentary_Secretaries_of_the_7th_Dáil ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q105186 Q1234713
P425
Q1047113
USER
What have theologian or pharmacist as the associated field of occupation ?
OR((Q1234713,P425,c(Q1047113)), (Q105186,P425,c(Q1047113)))
action filter_type
action union
action find
entity Q1234713
relation P425
action find
entity Q105186
relation P425
type Q1047113
{'OR': [['Q1234713', 'P425', {'concept': 'Q1047113'}], ['Q105186', 'P425', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1234713 property:P425 ?d } UNION { resource:Q105186 property:P425 ?d } } . ?d rdf:type ontology:Q1047113 }
pharmacist theologian
action filter_type
action union
action find
entity theologian
relation field of this occupation
action find
entity pharmacist
relation field of this occupation
type special field
{'OR': [['theologian', 'field of this occupation', {'concept': 'special field'}], ['pharmacist', 'field of this occupation', {'concept': 'special field'}]]}
SELECT DISTINCT ?d WHERE { { { resource:theologian property:field_of_this_occupation ?d } UNION { resource:pharmacist property:field_of_this_occupation ?d } } . ?d rdf:type ontology:special_field }
[]
special field
Q614304 Q34178
SYSTEM
pharmacy, theology
Q614304 Q34178
OR((Q1234713,P425,c(Q1047113)), (Q105186,P425,c(Q1047113)))
action filter_type
action union
action find
entity Q1234713
relation P425
action find
entity Q105186
relation P425
type Q1047113
[ANSWERS] have theologian or pharmacist as the associated field of occupation
{'OR': [['Q1234713', 'P425', {'concept': 'Q1047113'}], ['Q105186', 'P425', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1234713 property:P425 ?d } UNION { resource:Q105186 property:P425 ?d } } . ?d rdf:type ontology:Q1047113 }
pharmacy theology
Pharmacy and theology have theologian or pharmacist as the associated field of occupation
pharmacy theology
action filter_type
action union
action find
entity theologian
relation field of this occupation
action find
entity pharmacist
relation field of this occupation
type special field
{'OR': [['theologian', 'field of this occupation', {'concept': 'special field'}], ['pharmacist', 'field of this occupation', {'concept': 'special field'}]]}
SELECT DISTINCT ?d WHERE { { { resource:theologian property:field_of_this_occupation ?d } UNION { resource:pharmacist property:field_of_this_occupation ?d } } . ?d rdf:type ontology:special_field }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P921
Q732577 Q1002697
USER
How many publications or periodical literatures were primarily based on that special field ?
(c(Q732577),P921,Q34178) (c(Q1002697),P921,Q34178) (c(Q732577),P921,Q614304) (c(Q1002697),P921,Q614304) (c(Q732577),P921,Q34178) (c(Q1002697),P921,Q34178)
[{'concept': 'Q732577'}, 'P921', 'Q34178'] [{'concept': 'Q1002697'}, 'P921', 'Q34178'] [{'concept': 'Q732577'}, 'P921', 'Q614304'] [{'concept': 'Q1002697'}, 'P921', 'Q614304'] [{'concept': 'Q732577'}, 'P921', 'Q34178'] [{'concept': 'Q1002697'}, 'P921', 'Q34178']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q34178 } UNION { ?y property:P921 resource:Q34178 } UNION { ?z property:P921 resource:Q614304 } UNION { ?y property:P921 resource:Q614304 } UNION { ?z property:P921 resource:Q34178 } UNION { ?y property:P921 resource:Q34178 } } . ?z rdf:type ontology:Q732577 . ?y rdf:type ontology:Q1002697 }
[{'concept': 'publication'}, 'main subject', 'theology'] [{'concept': 'periodical literature'}, 'main subject', 'theology'] [{'concept': 'publication'}, 'main subject', 'pharmacy'] [{'concept': 'periodical literature'}, 'main subject', 'pharmacy'] [{'concept': 'publication'}, 'main subject', 'theology'] [{'concept': 'periodical literature'}, 'main subject', 'theology']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:theology } UNION { ?y property:main_subject resource:theology } UNION { ?z property:main_subject resource:pharmacy } UNION { ?y property:main_subject resource:pharmacy } UNION { ?z property:main_subject resource:theology } UNION { ?y property:main_subject resource:theology } } . ?z rdf:type ontology:publication . ?y rdf:type ontology:periodical_literature }
[]
publication periodical literature
Quantitative|Count|Mult. entity type|Clarification
Q614304
SYSTEM
Did you mean pharmacy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q34178 } UNION { ?y property:P921 resource:Q34178 } UNION { ?z property:P921 resource:Q614304 } UNION { ?y property:P921 resource:Q614304 } UNION { ?z property:P921 resource:Q34178 } UNION { ?y property:P921 resource:Q34178 } } . ?z rdf:type ontology:Q732577 . ?y rdf:type ontology:Q1002697 }
Did you mean pharmacy ?
pharmacy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:theology } UNION { ?y property:main_subject resource:theology } UNION { ?z property:main_subject resource:pharmacy } UNION { ?y property:main_subject resource:pharmacy } UNION { ?z property:main_subject resource:theology } UNION { ?y property:main_subject resource:theology } } . ?z rdf:type ontology:publication . ?y rdf:type ontology:periodical_literature }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant theology. Could you tell me the answer for that?
(c(Q732577),P921,Q34178) (c(Q1002697),P921,Q34178) (c(Q732577),P921,Q614304) (c(Q1002697),P921,Q614304) (c(Q732577),P921,Q34178) (c(Q1002697),P921,Q34178)
Q34178
[{'concept': 'Q732577'}, 'P921', 'Q34178'] [{'concept': 'Q1002697'}, 'P921', 'Q34178'] [{'concept': 'Q732577'}, 'P921', 'Q614304'] [{'concept': 'Q1002697'}, 'P921', 'Q614304'] [{'concept': 'Q732577'}, 'P921', 'Q34178'] [{'concept': 'Q1002697'}, 'P921', 'Q34178']
[{'concept': 'publication'}, 'main subject', 'theology'] [{'concept': 'periodical literature'}, 'main subject', 'theology'] [{'concept': 'publication'}, 'main subject', 'pharmacy'] [{'concept': 'periodical literature'}, 'main subject', 'pharmacy'] [{'concept': 'publication'}, 'main subject', 'theology'] [{'concept': 'periodical literature'}, 'main subject', 'theology']
[]
SYSTEM
3
Q24867178 Q6145755 Q3072976
(c(Q732577),P921,Q34178) (c(Q1002697),P921,Q34178) (c(Q732577),P921,Q614304) (c(Q1002697),P921,Q614304) (c(Q732577),P921,Q34178) (c(Q1002697),P921,Q34178)
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q34178'] [{'concept': 'Q1002697'}, 'P921', 'Q34178'] [{'concept': 'Q732577'}, 'P921', 'Q614304'] [{'concept': 'Q1002697'}, 'P921', 'Q614304'] [{'concept': 'Q732577'}, 'P921', 'Q34178'] [{'concept': 'Q1002697'}, 'P921', 'Q34178']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q34178 } UNION { ?y property:P921 resource:Q34178 } UNION { ?z property:P921 resource:Q614304 } UNION { ?y property:P921 resource:Q614304 } UNION { ?z property:P921 resource:Q34178 } UNION { ?y property:P921 resource:Q34178 } } . ?z rdf:type ontology:Q732577 . ?y rdf:type ontology:Q1002697 }
Theologischer Jahresbericht Theologica Xaveriana First Things
3
[{'concept': 'publication'}, 'main subject', 'theology'] [{'concept': 'periodical literature'}, 'main subject', 'theology'] [{'concept': 'publication'}, 'main subject', 'pharmacy'] [{'concept': 'periodical literature'}, 'main subject', 'pharmacy'] [{'concept': 'publication'}, 'main subject', 'theology'] [{'concept': 'periodical literature'}, 'main subject', 'theology']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:theology } UNION { ?y property:main_subject resource:theology } UNION { ?z property:main_subject resource:pharmacy } UNION { ?y property:main_subject resource:pharmacy } UNION { ?z property:main_subject resource:theology } UNION { ?y property:main_subject resource:theology } } . ?z rdf:type ontology:publication . ?y rdf:type ontology:periodical_literature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15091168
P674
Q15619164 Q22988604 Q223393
USER
How many literary genres are approximately the same number of abstract beings and mythological Greek characters a character of as Die Like a Dog ?
(c(Q223393),P674,c(Q15619164)|c(Q22988604))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action count
action filter_multi_types
action find
entity Q15091168
relation P674
type Q15619164
type Q22988604
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q22988604'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?t rdf:type ontology:Q22988604 . ?a rdf:type ontology:Q223393 . ?a property:P674 ?t } UNION { ?a property:P674 ?t . ?a rdf:type ontology:Q223393 . ?t rdf:type ontology:Q15619164 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q15091168 property:P674 ?p . { { ?p rdf:type ontology:Q15619164 } UNION { ?p rdf:type ontology:Q22988604 } } } } . FILTER ( ?u = ?q ) }
Die Like a Dog
action count
action approx
action union
action find_tuple_counts
relation characters
type literary genre
type abstract being
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action count
action filter_multi_types
action find
entity Die Like a Dog
relation characters
type abstract being
type mythological Greek character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'mythological Greek character'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?t rdf:type ontology:mythological_Greek_character . ?a rdf:type ontology:literary_genre . ?a property:characters ?t } UNION { ?a property:characters ?t . ?a rdf:type ontology:literary_genre . ?t rdf:type ontology:abstract_being } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Die_Like_a_Dog property:characters ?p . { { ?p rdf:type ontology:abstract_being } UNION { ?p rdf:type ontology:mythological_Greek_character } } } } . FILTER ( ?u = ?q ) }
[]
abstract being mythological Greek character literary genre
SYSTEM
123
Q15090995 Q692374 Q1094049 Q240358 Q17631737 Q1477843 Q4010942 Q15091341 Q16653695 Q7739198 Q47504 Q764318 Q926746 Q1122722 Q15090981 Q15090984 Q978891 Q531676 Q15091014 Q2090062 Q15091019 Q15091344 Q840339 Q1093839 Q15091290 Q831556 Q1094573 Q3986390 Q15091000 Q1032337 Q1747447 Q1753161 Q7718450 Q15091166 Q4395895 Q651424 Q1546812 Q15091168 Q1069560 Q15091284 Q765615 Q35160 Q1443582 Q15091287 Q2260098 Q15091280 Q11716256 Q15091066 Q734095 Q11841 Q3828461 Q15091329 Q15091070 Q15091073 Q15091325 Q1094143 Q3795335 Q392849 Q3226514 Q1093607 Q5984367 Q266395 Q15090953 Q857836 Q11831 Q15091102 Q2891432 Q4134557 Q1093690 Q1061779 Q13390016 Q383811 Q15091334 Q2703893 Q378168 Q7540460 Q6189671 Q15091297 Q1093614 Q5984390 Q9362463 Q3792660 Q15091119 Q15091115 Q1141815 Q15091005 Q15091304 Q15091301 Q4369850 Q15091125 Q1093970 Q2264590 Q17304994 Q15091122 Q16651073 Q3223440 Q15074331 Q16654047 Q18600581 Q15091129 Q2891519 Q15091314 Q1029999 Q4378273 Q781898 Q2537008 Q4439291 Q6367266 Q15090967 Q650791 Q1088946 Q16651670 Q15091137 Q5984401 Q1429923 Q9192501 Q977202 Q2512207 Q2891569 Q5003827 Q2891564 Q30604 Q2966018
(c(Q223393),P674,c(Q15619164)|c(Q22988604))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action count
action filter_multi_types
action find
entity Q15091168
relation P674
type Q15619164
type Q22988604
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q22988604'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?t rdf:type ontology:Q22988604 . ?a rdf:type ontology:Q223393 . ?a property:P674 ?t } UNION { ?a property:P674 ?t . ?a rdf:type ontology:Q223393 . ?t rdf:type ontology:Q15619164 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q15091168 property:P674 ?p . { { ?p rdf:type ontology:Q15619164 } UNION { ?p rdf:type ontology:Q22988604 } } } } . FILTER ( ?u = ?q ) }
Counterfeit for Murder Galley Slave The Invader of Fort Duckburg Batman: The Killing Joke The Herb of Death The Adventures of Alix Travels of Anacharsis the younger in Greece Invitation to Murder The Double Clue The Heart of a Monkey The Tale of Igor's Campaign Two Gallants The Terror of the Transvaal All Star Batman and Robin the Boy Wonder Cordially Invited to Meet Death Omit Flowers A Dame to Kill For Queen of the Black Coast Immune to Murder Beyond the Black River Man Alive Kill Now—Pay Later Rich man and Lazarus The New Laird of Castle McDuck Bullet for One Mirror Image The Empire-Builder from Calisota The Complete Peanuts Death of a Demon The Big Fat Kill The Scarlet Citadel Black Colossus The Black Stranger Door to Death A Witch Shall be Born The Buckaroo of the Badlands Hyndluljóð Die Like a Dog The Frost-Giant's Daughter This Won't Kill You The Pool of the Black One the Odyssey Batman versus Predator Not Quite Dead Enough The Cowboy Captain of the Cutty Sark The Next Witness Come va il vostro giardino? Disguise for Murder Res Gestae Divi Augusti Cinderella Wings in the Night Easter Parade Blood Will Tell Instead of Evidence Murder Is No Joke The Last of the Clan McDuck The Problem of Cell 13 A Perfect Day for Bananafish Le Roi Candaule The Richest Duck in the World Poison à la Carte Batman: A Death in the Family The Cop-Killer Star Wars Snow White Christmas Party Batman: Ego Red Nails Dreamtime Duck of the Never-Never The Tower of the Elephant Murder Is Corny Batman: Year One Booby Trap Raider of the Copper Hill The Prisoner of White Agony Creek Slight Rebellion off Madison Jewels of Gwahlur Black Orchids The Billionaire of Dismal Downs Method Three for Murder Triangle at Rhodes The God in the Bowl Too Many Detectives The Gun with Wings The Call of Cthulhu Bitter End Before I Die Fourth of July Picnic Xuthal of the Dusk The Squirt and the Monkey King of the Klondike Di Nü Hua Pygmalion and Galatea Help Wanted, Male The Plymouth Express Wasps' Nest A Window for Death The Mystery of the Spanish Chest Day One, Tale One of the Decameron Home to Roost The Joker: Devil's Advocate When a Man Murders The Master of the Mississippi The Man-Eaters of Zamboula Os Lusíadas Logicomix The Devil in Iron The Blue Cross Eeny Meeny Murder Mo The People of the Black Circle Rogues in the House The Chocolate Box The Zero Clue The Rodeo Murder Grímnismál Iron Shadows in the Moon The Hard Goodbye The Phoenix on the Sword Batman and the Mad Monk By This Axe I Rule! Alternative versions of Captain America#Elseworlds Tomb of the Lion The Adventure of the Christmas Pudding
123
action count
action approx
action union
action find_tuple_counts
relation characters
type literary genre
type abstract being
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action count
action filter_multi_types
action find
entity Die Like a Dog
relation characters
type abstract being
type mythological Greek character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'mythological Greek character'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?a WHERE { { ?t rdf:type ontology:mythological_Greek_character . ?a rdf:type ontology:literary_genre . ?a property:characters ?t } UNION { ?a property:characters ?t . ?a rdf:type ontology:literary_genre . ?t rdf:type ontology:abstract_being } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Die_Like_a_Dog property:characters ?p . { { ?p rdf:type ontology:abstract_being } UNION { ?p rdf:type ontology:mythological_Greek_character } } } } . FILTER ( ?u = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1546812
P674
Q15619164 Q22988604 Q223393
USER
And how about Hyndluljóð?
(c(Q223393),P674,c(Q15619164)|c(Q22988604))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action count
action filter_multi_types
action find
entity Q1546812
relation P674
type Q15619164
type Q22988604
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q22988604'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?l WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15619164 ) ( ontology:Q22988604 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q1546812 property:P674 ?z . { { ?z rdf:type ontology:Q15619164 } UNION { ?z rdf:type ontology:Q22988604 } } } } . FILTER ( ?f = ?u ) }
Hyndluljóð
action count
action approx
action union
action find_tuple_counts
relation characters
type literary genre
type abstract being
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action count
action filter_multi_types
action find
entity Hyndluljóð
relation characters
type abstract being
type mythological Greek character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'mythological Greek character'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?l WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:abstract_being ) ( ontology:mythological_Greek_character ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Hyndluljóð property:characters ?z . { { ?z rdf:type ontology:abstract_being } UNION { ?z rdf:type ontology:mythological_Greek_character } } } } . FILTER ( ?f = ?u ) }
[]
abstract being mythological Greek character literary genre
SYSTEM
123
Q15090995 Q692374 Q1094049 Q240358 Q17631737 Q1477843 Q4010942 Q15091341 Q16653695 Q7739198 Q47504 Q764318 Q926746 Q1122722 Q15090981 Q15090984 Q978891 Q531676 Q15091014 Q2090062 Q15091019 Q15091344 Q840339 Q1093839 Q15091290 Q831556 Q1094573 Q3986390 Q15091000 Q1032337 Q1747447 Q1753161 Q7718450 Q15091166 Q4395895 Q651424 Q1546812 Q15091168 Q1069560 Q15091284 Q765615 Q35160 Q1443582 Q15091287 Q2260098 Q15091280 Q11716256 Q15091066 Q734095 Q11841 Q3828461 Q15091329 Q15091070 Q15091073 Q15091325 Q1094143 Q3795335 Q392849 Q3226514 Q1093607 Q5984367 Q266395 Q15090953 Q857836 Q11831 Q15091102 Q2891432 Q4134557 Q1093690 Q1061779 Q13390016 Q383811 Q15091334 Q2703893 Q378168 Q7540460 Q6189671 Q15091297 Q1093614 Q5984390 Q9362463 Q3792660 Q15091119 Q15091115 Q1141815 Q15091005 Q15091304 Q15091301 Q4369850 Q15091125 Q1093970 Q2264590 Q17304994 Q15091122 Q16651073 Q3223440 Q15074331 Q16654047 Q18600581 Q15091129 Q2891519 Q15091314 Q1029999 Q4378273 Q781898 Q2537008 Q4439291 Q6367266 Q15090967 Q650791 Q1088946 Q16651670 Q15091137 Q5984401 Q1429923 Q9192501 Q977202 Q2512207 Q2891569 Q5003827 Q2891564 Q30604 Q2966018
(c(Q223393),P674,c(Q15619164)|c(Q22988604))
action count
action approx
action union
action find_tuple_counts
relation P674
type Q223393
type Q15619164
action find_tuple_counts
relation P674
type Q223393
type Q22988604
action count
action filter_multi_types
action find
entity Q1546812
relation P674
type Q15619164
type Q22988604
[ANSWER]
[{'concept': 'Q223393'}, 'P674', [{'concept': 'Q15619164'}, {'concept': 'Q22988604'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?l WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15619164 ) ( ontology:Q22988604 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q1546812 property:P674 ?z . { { ?z rdf:type ontology:Q15619164 } UNION { ?z rdf:type ontology:Q22988604 } } } } . FILTER ( ?f = ?u ) }
Counterfeit for Murder Galley Slave The Invader of Fort Duckburg Batman: The Killing Joke The Herb of Death The Adventures of Alix Travels of Anacharsis the younger in Greece Invitation to Murder The Double Clue The Heart of a Monkey The Tale of Igor's Campaign Two Gallants The Terror of the Transvaal All Star Batman and Robin the Boy Wonder Cordially Invited to Meet Death Omit Flowers A Dame to Kill For Queen of the Black Coast Immune to Murder Beyond the Black River Man Alive Kill Now—Pay Later Rich man and Lazarus The New Laird of Castle McDuck Bullet for One Mirror Image The Empire-Builder from Calisota The Complete Peanuts Death of a Demon The Big Fat Kill The Scarlet Citadel Black Colossus The Black Stranger Door to Death A Witch Shall be Born The Buckaroo of the Badlands Hyndluljóð Die Like a Dog The Frost-Giant's Daughter This Won't Kill You The Pool of the Black One the Odyssey Batman versus Predator Not Quite Dead Enough The Cowboy Captain of the Cutty Sark The Next Witness Come va il vostro giardino? Disguise for Murder Res Gestae Divi Augusti Cinderella Wings in the Night Easter Parade Blood Will Tell Instead of Evidence Murder Is No Joke The Last of the Clan McDuck The Problem of Cell 13 A Perfect Day for Bananafish Le Roi Candaule The Richest Duck in the World Poison à la Carte Batman: A Death in the Family The Cop-Killer Star Wars Snow White Christmas Party Batman: Ego Red Nails Dreamtime Duck of the Never-Never The Tower of the Elephant Murder Is Corny Batman: Year One Booby Trap Raider of the Copper Hill The Prisoner of White Agony Creek Slight Rebellion off Madison Jewels of Gwahlur Black Orchids The Billionaire of Dismal Downs Method Three for Murder Triangle at Rhodes The God in the Bowl Too Many Detectives The Gun with Wings The Call of Cthulhu Bitter End Before I Die Fourth of July Picnic Xuthal of the Dusk The Squirt and the Monkey King of the Klondike Di Nü Hua Pygmalion and Galatea Help Wanted, Male The Plymouth Express Wasps' Nest A Window for Death The Mystery of the Spanish Chest Day One, Tale One of the Decameron Home to Roost The Joker: Devil's Advocate When a Man Murders The Master of the Mississippi The Man-Eaters of Zamboula Os Lusíadas Logicomix The Devil in Iron The Blue Cross Eeny Meeny Murder Mo The People of the Black Circle Rogues in the House The Chocolate Box The Zero Clue The Rodeo Murder Grímnismál Iron Shadows in the Moon The Hard Goodbye The Phoenix on the Sword Batman and the Mad Monk By This Axe I Rule! Alternative versions of Captain America#Elseworlds Tomb of the Lion The Adventure of the Christmas Pudding
123
action count
action approx
action union
action find_tuple_counts
relation characters
type literary genre
type abstract being
action find_tuple_counts
relation characters
type literary genre
type mythological Greek character
action count
action filter_multi_types
action find
entity Hyndluljóð
relation characters
type abstract being
type mythological Greek character
[{'concept': 'literary genre'}, 'characters', [{'concept': 'abstract being'}, {'concept': 'mythological Greek character'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) ?l WHERE { ?k rdf:type ?r . VALUES ( ?r ) { ( ontology:abstract_being ) ( ontology:mythological_Greek_character ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Hyndluljóð property:characters ?z . { { ?z rdf:type ontology:abstract_being } UNION { ?z rdf:type ontology:mythological_Greek_character } } } } . FILTER ( ?f = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q614304
P361
Q2465832
USER
Which branch of science is pharmacy a part of ?
(Q614304,P361,c(Q2465832))
action filter_type
action find
entity Q614304
relation P361
type Q2465832
['Q614304', 'P361', {'concept': 'Q2465832'}]
SELECT DISTINCT ?b WHERE { resource:Q614304 property:P361 ?b . ?b rdf:type ontology:Q2465832 }
pharmacy
action filter_type
action find
entity pharmacy
relation part of
type branch of science
['pharmacy', 'part of', {'concept': 'branch of science'}]
SELECT DISTINCT ?b WHERE { resource:pharmacy property:part_of ?b . ?b rdf:type ontology:branch_of_science }
[]
branch of science
Q420
SYSTEM
biology
Q420
(Q614304,P361,c(Q2465832))
action filter_type
action find
entity Q614304
relation P361
type Q2465832
The [ANSWER] is pharmacy a part of
['Q614304', 'P361', {'concept': 'Q2465832'}]
SELECT DISTINCT ?b WHERE { resource:Q614304 property:P361 ?b . ?b rdf:type ontology:Q2465832 }
biology
The biology is pharmacy a part of
biology
action filter_type
action find
entity pharmacy
relation part of
type branch of science
['pharmacy', 'part of', {'concept': 'branch of science'}]
SELECT DISTINCT ?b WHERE { resource:pharmacy property:part_of ?b . ?b rdf:type ontology:branch_of_science }
[]