Simple Question (Direct)
Simple Question
Q1871037
P106
Q12737077
USER
What do Lothar Zenetti do for a living ?
(Q1871037,P106,c(Q12737077))
action filter_type
action find
entity Q1871037
relation P106
type Q12737077
['Q1871037', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1871037 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Lothar Zenetti
action filter_type
action find
entity Lothar Zenetti
relation occupation
type occupation
['Lothar Zenetti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Lothar_Zenetti property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q250867 Q36180
SYSTEM
Catholic priest, writer
Q250867 Q36180
(Q1871037,P106,c(Q12737077))
action filter_type
action find
entity Q1871037
relation P106
type Q12737077
Lothar Zenetti do for a living Roman [ANSWERS]
['Q1871037', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1871037 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Catholic priest writer
Lothar Zenetti do for a living Roman Catholic priest and writer
Catholic priest writer
action filter_type
action find
entity Lothar Zenetti
relation occupation
type occupation
['Lothar Zenetti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Lothar_Zenetti property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1871037
P19
Q515
USER
Which city was that person born in ?
(Q250867,P19,c(Q515)) (Q36180,P19,c(Q515))
action filter_type
action find
entity Q1871037
relation P19
type Q515
['Q250867', 'P19', {'concept': 'Q515'}] ['Q36180', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1871037 property:P19 ?x . ?x rdf:type ontology:Q515 }
Lothar Zenetti
action filter_type
action find
entity Lothar Zenetti
relation place of birth
type city
['Catholic priest', 'place of birth', {'concept': 'city'}] ['writer', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Lothar_Zenetti property:place_of_birth ?x . ?x rdf:type ontology:city }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
(Q250867,P19,c(Q515)) (Q36180,P19,c(Q515))
action filter_type
action find
entity Q1871037
relation P19
type Q515
That person was born in [ANSWER]
['Q250867', 'P19', {'concept': 'Q515'}] ['Q36180', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1871037 property:P19 ?x . ?x rdf:type ontology:Q515 }
Frankfurt
That person was born in Frankfurt
Frankfurt
action filter_type
action find
entity Lothar Zenetti
relation place of birth
type city
['Catholic priest', 'place of birth', {'concept': 'city'}] ['writer', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Lothar_Zenetti property:place_of_birth ?x . ?x rdf:type ontology:city }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P206
Q1267889 Q515
USER
Which cities are located nearby around the same number of waterways as that city ?
(c(Q515),P206,c(Q1267889))
action approx
action find_tuple_counts
relation P206
type Q515
type Q1267889
action count
action filter_type
action find
entity Q1794
relation P206
type Q515
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q1794 property:P206 ?f . ?f rdf:type ontology:Q515 } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:Q1267889 . ?l rdf:type ontology:Q515 . ?l property:P206 ?c } GROUP BY ?l } }
action approx
action find_tuple_counts
relation located next to body of water
type city
type waterway
action count
action filter_type
action find
entity Frankfurt
relation located next to body of water
type city
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Frankfurt property:located_next_to_body_of_water ?f . ?f rdf:type ontology:city } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:waterway . ?l rdf:type ontology:city . ?l property:located_next_to_body_of_water ?c } GROUP BY ?l } }
[]
waterway city
Q1486 Q1773 Q1899
SYSTEM
Buenos Aires, Riga, Kyiv
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q1711 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q4346 Q3838 Q2833 Q1209 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889))
action approx
action find_tuple_counts
relation P206
type Q515
type Q1267889
action count
action filter_type
action find
entity Q1794
relation P206
type Q515
[ANSWERS] are located nearby around the same number of waterways as that city
[{'concept': 'Q515'}, 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q1794 property:P206 ?f . ?f rdf:type ontology:Q515 } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:Q1267889 . ?l rdf:type ontology:Q515 . ?l property:P206 ?c } GROUP BY ?l } }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Waren (Müritz) Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
Buenos Aires, Riga and Kyiv are located nearby around the same number of waterways as that city
Buenos Aires Riga Kyiv
action approx
action find_tuple_counts
relation located next to body of water
type city
type waterway
action count
action filter_type
action find
entity Frankfurt
relation located next to body of water
type city
[{'concept': 'city'}, 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Frankfurt property:located_next_to_body_of_water ?f . ?f rdf:type ontology:city } } . FILTER ( ?v = ?r ) . { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?v ) WHERE { ?c rdf:type ontology:waterway . ?l rdf:type ontology:city . ?l property:located_next_to_body_of_water ?c } GROUP BY ?l } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6651568
P190
Q56061
USER
Are Little River, Cumberland County sister town of those cities ?
(Q6651568,P190,Q1486) (Q6651568,P190,Q1773) (Q6651568,P190,Q1899)
action is_in
entity prev_answer
action find
entity Q6651568
relation P190
['Q6651568', 'P190', 'Q1486'] ['Q6651568', 'P190', 'Q1773'] ['Q6651568', 'P190', 'Q1899']
ASK WHERE { resource:Q6651568 property:P190 ?r . VALUES ( ?r ) { ( resource:Q1410 ) ( resource:Q3075 ) ( resource:Q1794 ) } }
Little River, Cumberland County
action is_in
entity prev_answer
action find
entity Little River, Cumberland County
relation sister city
['Little River, Cumberland County', 'sister city', 'Buenos Aires'] ['Little River, Cumberland County', 'sister city', 'Riga'] ['Little River, Cumberland County', 'sister city', 'Kyiv']
ASK WHERE { resource:Little_River,_Cumberland_County property:sister_city ?r . VALUES ( ?r ) { ( resource:Gibraltar ) ( resource:Fürth ) ( resource:Frankfurt ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q6651568,P190,Q1486) (Q6651568,P190,Q1773) (Q6651568,P190,Q1899)
action is_in
entity prev_answer
action find
entity Q6651568
relation P190
[ANSWER]
['Q6651568', 'P190', 'Q1486'] ['Q6651568', 'P190', 'Q1773'] ['Q6651568', 'P190', 'Q1899']
ASK WHERE { resource:Q6651568 property:P190 ?r . VALUES ( ?r ) { ( resource:Q1410 ) ( resource:Q3075 ) ( resource:Q1794 ) } }
No
action is_in
entity prev_answer
action find
entity Little River, Cumberland County
relation sister city
['Little River, Cumberland County', 'sister city', 'Buenos Aires'] ['Little River, Cumberland County', 'sister city', 'Riga'] ['Little River, Cumberland County', 'sister city', 'Kyiv']
ASK WHERE { resource:Little_River,_Cumberland_County property:sister_city ?r . VALUES ( ?r ) { ( resource:Gibraltar ) ( resource:Fürth ) ( resource:Frankfurt ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q7275 Q13220204
USER
How many cities are known as the capital of exactly 3 states or administrative country subdivisions ?
(c(Q7275)|c(Q13220204),P36,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action find_reverse_tuple_counts
relation P36
type Q515
type Q13220204
value 3
[[{'concept': 'Q7275'}, {'concept': 'Q13220204'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:P36 ?n . ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q7275 } UNION { ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q13220204 . ?k property:P36 ?n } } GROUP BY ?n } . FILTER ( ?h = 3 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation capital
type city
type state
action find_reverse_tuple_counts
relation capital
type city
type second-level administrative country subdivision
value 3
[[{'concept': 'state'}, {'concept': 'second-level administrative country subdivision'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:capital ?n . ?n rdf:type ontology:city . ?k rdf:type ontology:state } UNION { ?n rdf:type ontology:city . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?k property:capital ?n } } GROUP BY ?n } . FILTER ( ?h = 3 ) }
[]
city state second-level administrative country subdivision
SYSTEM
5
Q1899 Q6602 Q2936 Q11194 Q1530
(c(Q7275)|c(Q13220204),P36,c(Q515))
action count
action equal
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q7275
action find_reverse_tuple_counts
relation P36
type Q515
type Q13220204
value 3
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q13220204'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:P36 ?n . ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q7275 } UNION { ?n rdf:type ontology:Q515 . ?k rdf:type ontology:Q13220204 . ?k property:P36 ?n } } GROUP BY ?n } . FILTER ( ?h = 3 ) }
Kyiv Strasbourg Oldenburg Sarajevo Baghdad
5
action count
action equal
action union
action find_reverse_tuple_counts
relation capital
type city
type state
action find_reverse_tuple_counts
relation capital
type city
type second-level administrative country subdivision
value 3
[[{'concept': 'state'}, {'concept': 'second-level administrative country subdivision'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?h ) WHERE { { ?k property:capital ?n . ?n rdf:type ontology:city . ?k rdf:type ontology:state } UNION { ?n rdf:type ontology:city . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?k property:capital ?n } } GROUP BY ?n } . FILTER ( ?h = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P123
Q2342494
USER
What was released by Frankfurt ?
(c(Q2342494),P123,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q1794']
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q1794 . ?v rdf:type ontology:Q2342494 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Frankfurt']
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:Frankfurt . ?v rdf:type ontology:collectable }
[]
collectable
Q1169724
SYSTEM
The Mars Project
Q1169724
(c(Q2342494),P123,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P123
type Q2342494
[ANSWER] was released by Frankfurt
[{'concept': 'Q2342494'}, 'P123', 'Q1794']
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q1794 . ?v rdf:type ontology:Q2342494 }
The Mars Project
The Mars Project was released by Frankfurt
The Mars Project
action filter_type
action find_reverse
entity Frankfurt
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Frankfurt']
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:Frankfurt . ?v rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P921
Q191067
USER
Which article is Frankfurt a main subject of ?
(c(Q191067),P921,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1794']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q1794 . ?w rdf:type ontology:Q191067 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Frankfurt']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:Frankfurt . ?w rdf:type ontology:article }
[]
article
Q20188909
SYSTEM
Encyclopædia Britannica, Ninth Edition / Frankfort-on-the-Main
Q20188909
(c(Q191067),P921,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P921
type Q191067
Which article is Frankfurt a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q1794']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q1794 . ?w rdf:type ontology:Q191067 }
Encyclopædia Britannica, Ninth Edition / Frankfort-on-the-Main
Which article is Frankfurt a main subject of
Encyclopædia Britannica, Ninth Edition / Frankfort-on-the-Main
action filter_type
action find_reverse
entity Frankfurt
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Frankfurt']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:Frankfurt . ?w rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1794
P137
Q43229
USER
Which organization can be described as facility operator of that city ?
(c(Q43229),P137,Q20188909)
action filter_type
action find_reverse
entity Q1794
relation P137
type Q43229
[{'concept': 'Q43229'}, 'P137', 'Q20188909']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P137 resource:Q1794 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Encyclopædia Britannica, Ninth Edition / Frankfort-on-the-Main']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:operator resource:Frankfurt }
[]
organization
Q27573527
SYSTEM
Tourismus+Congress GmbH Frankfurt am Main
Q27573527
(c(Q43229),P137,Q20188909)
action filter_type
action find_reverse
entity Q1794
relation P137
type Q43229
[ANSWER] can be described as facility operator of that city
[{'concept': 'Q43229'}, 'P137', 'Q20188909']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q43229 . ?j property:P137 resource:Q1794 }
Tourismus+Congress GmbH Frankfurt am Main
Tourismus+Congress GmbH Frankfurt am Main can be described as facility operator of that city
Tourismus+Congress GmbH Frankfurt am Main
action filter_type
action find_reverse
entity Frankfurt
relation operator
type organization
[{'concept': 'organization'}, 'operator', 'Encyclopædia Britannica, Ninth Edition / Frankfort-on-the-Main']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:organization . ?j property:operator resource:Frankfurt }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6866422
P748
Q178706 Q12737077 Q12737077
USER
Which occupations did approximately the same number of institutions or occupations appoint as Minister of Western Economic Diversification ?
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q6866422
relation P748
type Q178706
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?r WHERE { { ?r property:P748 ?i . ?r rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q178706 } UNION { ?r rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q12737077 . ?r property:P748 ?i } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { { ?e rdf:type ontology:Q178706 } UNION { ?e rdf:type ontology:Q12737077 } } . resource:Q6866422 property:P748 ?e } } . FILTER ( ?s = ?q ) }
Minister of Western Economic Diversification
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Minister of Western Economic Diversification
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?r WHERE { { ?r property:appointed_by ?i . ?r rdf:type ontology:occupation . ?i rdf:type ontology:institution } UNION { ?r rdf:type ontology:occupation . ?i rdf:type ontology:occupation . ?r property:appointed_by ?i } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { { ?e rdf:type ontology:institution } UNION { ?e rdf:type ontology:occupation } } . resource:Minister_of_Western_Economic_Diversification property:appointed_by ?e } } . FILTER ( ?s = ?q ) }
[]
institution occupation occupation
Q687075 Q1749063 Q81066
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, United Nations Secretary-General
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q740126 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q1749063 Q24636364 Q14565638 Q251724 Q1161813 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q634291 Q3251807 Q13526082 Q6866016 Q735587 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q6866422
relation P748
type Q178706
type Q12737077
The [ANSWERS] approximately the same number of institutions or occupations appointed as Minister of Western Economic Diversification
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?r WHERE { { ?r property:P748 ?i . ?r rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q178706 } UNION { ?r rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q12737077 . ?r property:P748 ?i } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { { ?e rdf:type ontology:Q178706 } UNION { ?e rdf:type ontology:Q12737077 } } . resource:Q6866422 property:P748 ?e } } . FILTER ( ?s = ?q ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government President of the European Parliament Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland President of the United Nations General Assembly Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport High Representative of the Union for Foreign Affairs and Security Policy Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council 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 Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
The Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and United Nations Secretary-General approximately the same number of institutions or occupations appointed as Minister of Western Economic Diversification
Prime Minister of Sweden Minister for Foreign Affairs of Sweden United Nations Secretary-General
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Minister of Western Economic Diversification
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?r WHERE { { ?r property:appointed_by ?i . ?r rdf:type ontology:occupation . ?i rdf:type ontology:institution } UNION { ?r rdf:type ontology:occupation . ?i rdf:type ontology:occupation . ?r property:appointed_by ?i } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { { ?e rdf:type ontology:institution } UNION { ?e rdf:type ontology:occupation } } . resource:Minister_of_Western_Economic_Diversification property:appointed_by ?e } } . FILTER ( ?s = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20859388
P748
Q178706 Q12737077 Q12737077
USER
And how about municipal executive of Mierlo?
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q20859388
relation P748
type Q178706
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) ?p WHERE { { ?p property:P748 ?b . ?p rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q12737077 } UNION { ?p property:P748 ?b . ?b rdf:type ontology:Q178706 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q20859388 property:P748 ?j . { { ?j rdf:type ontology:Q178706 } UNION { ?j rdf:type ontology:Q12737077 } } } } . FILTER ( ?r = ?q ) }
municipal executive of Mierlo
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity municipal executive of Mierlo
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) ?p WHERE { { ?p property:appointed_by ?b . ?p rdf:type ontology:occupation . ?b rdf:type ontology:occupation } UNION { ?p property:appointed_by ?b . ?b rdf:type ontology:institution . ?p rdf:type ontology:occupation } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:municipal_executive_of_Mierlo property:appointed_by ?j . { { ?j rdf:type ontology:institution } UNION { ?j rdf:type ontology:occupation } } } } . FILTER ( ?r = ?q ) }
[]
institution occupation occupation
Q655407 Q22955080 Q4970706
SYSTEM
President of the People's Republic of China, president of FIFA, Federal Chancellor of Germany
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q2631987 Q735575 Q2287650 Q1507619 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q21013163 Q14984399 Q7241304 Q910308 Q1029955 Q1753754 Q2484309 Q642859 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q967762 Q7444352 Q943379 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q20891385 Q796593 Q6865833 Q2660943 Q940135 Q20172329 Q531471 Q2305968 Q21384866 Q596123 Q7444340 Q20194364 Q1476165 Q2914452 Q2636053 Q464103 Q3058109 Q3858507 Q2419581 Q1124265 Q273884 Q25863345 Q3477306 Q866756 Q20130623 Q1054799 Q21383592 Q2747647 Q2390270 Q13527933 Q583809 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q182762 Q20859386 Q967750 Q2962001 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q152814 Q1072415 Q26000995 Q3409203 Q213107 Q195965 Q327948 Q1763459 Q19364214 Q1753094 Q1975365 Q1591470 Q609884 Q2741486 Q3315112 Q1123764 Q735015 Q2708520 Q22955080 Q7240368 Q3297079 Q6865995 Q319145 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q967737 Q13423495 Q795477 Q1370482 Q6866148 Q20872339 Q1071117 Q34071 Q25223 Q20872267 Q5261065 Q3315134 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q217217 Q3777749 Q111784 Q20992511 Q27334799 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q592866 Q1281611 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q1752225 Q687908 Q786242 Q25860233 Q1434880 Q1072341
(c(Q12737077),P748,c(Q178706)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q20859388
relation P748
type Q178706
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) ?p WHERE { { ?p property:P748 ?b . ?p rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q12737077 } UNION { ?p property:P748 ?b . ?b rdf:type ontology:Q178706 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q20859388 property:P748 ?j . { { ?j rdf:type ontology:Q178706 } UNION { ?j rdf:type ontology:Q12737077 } } } } . FILTER ( ?r = ?q ) }
Superintendent of Finance of the United States member of the Provincial Executive of Utrecht President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic 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 Economic Secretary to the Treasury Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum President of Singapore United States Secretary of the Air Force Mayor of Gorinchem Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate Lord Privy Seal United States Secretary of Agriculture Master of the Rolls Secretary of State for the Home Department United States Secretary of Homeland Security Leader of the House of Lords Mayor of Eindhoven President pro tempore of the United States Senate 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 Prime Minister of Libya municipal executive of Coevorden Secretary of State for Transport 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 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 municipal executive of Deventer President of Malta Minister for Finance Minister for Foreign Affairs United States Secretary of the Navy Mayor of Hoogland Chancellor of the Exchequer United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs municipal executive of Amsterdam Prime Minister of Iraq President of Algeria Leader of the House of Commons Speaker of the House of Commons Prime Minister of the Netherlands Secretary of State for Business, Energy and Industrial Strategy United States Secretary of Housing and Urban Development List of Presidents of the Basque Autonomous Community President of South Africa 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 Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of the Bahamas Mayor of Almere President of India Prime Minister of Vietnam speaker of the United States House of Representatives member of the Provincial Executive of South Holland Mayor of Leersum Prime Minister of Malaysia Lord Mayor of Dublin United States Attorney General President of Austria Speaker of the Hellenic Parliament United States Secretary of Commerce Prime Minister of Algeria Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco municipal executive of Gorinchem Paymaster General Secretary of State for Health Cathaoirleach King's or Queen's Commissioner 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 President of Iran Chief of Staff of the United States Army Chief Minister Attorney-General of Australia Prime Minister of Malta Chief of Naval Operations President of the Parliament of Catalonia President of Greece Prime Minister of Belgium Governor of Gibraltar President of Israel Chairman of the Joint Chiefs of Staff President of Somalia United States Postmaster General Prime Minister of Georgia United States Secretary of the Army First Lord of the Treasury Chief Executive of Hong Kong Minister for Defence Prime Minister of Armenia United States Secretary of Defense Chairman of the Communist Party of China president of FIFA Premier of the Northwest Territories Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Prime Minister of Australia 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 United States Secretary of Transportation Mayor of Amsterdam Prime Minister of Denmark President of Cuba Minister of Foreign Affairs municipal executive of Woerden Prime Minister of New Zealand President of Paraguay President of Germany Mayor of Boxmeer Deputy Prime Minister of Australia Minister for Women and Equalities 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 Mayor of Zoetermeer Mayor of Haarlem 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 Prime Minister of Papua New Guinea Prime Minister of Tuvalu Lieutenant Governor of Jersey municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales White House Chief of Staff Secretary of State for Exiting the European Union Surgeon General of the United States Chief Minister of the Northern Territory
President of the People's Republic of China president of FIFA Federal Chancellor of Germany
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity municipal executive of Mierlo
relation appointed by
type institution
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) ?p WHERE { { ?p property:appointed_by ?b . ?p rdf:type ontology:occupation . ?b rdf:type ontology:occupation } UNION { ?p property:appointed_by ?b . ?b rdf:type ontology:institution . ?p rdf:type ontology:occupation } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:municipal_executive_of_Mierlo property:appointed_by ?j . { { ?j rdf:type ontology:institution } UNION { ?j rdf:type ontology:occupation } } } } . FILTER ( ?r = ?q ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q19273910 Q20859388
P17
Q15617994
USER
Which administrative territories do municipal executive of Mierlo and Jacob Catsstraat belong to ?
AND((Q20859388,P17,c(Q15617994)), (Q19273910,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q20859388
relation P17
action find
entity Q19273910
relation P17
type Q15617994
{'AND': [['Q20859388', 'P17', {'concept': 'Q15617994'}], ['Q19273910', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q20859388 property:P17 ?z . resource:Q19273910 property:P17 ?z }
Jacob Catsstraat municipal executive of Mierlo
action filter_type
action intersection
action find
entity municipal executive of Mierlo
relation country
action find
entity Jacob Catsstraat
relation country
type designation for an administrative territorial entity
{'AND': [['municipal executive of Mierlo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jacob Catsstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:municipal_executive_of_Mierlo property:country ?z . resource:Jacob_Catsstraat property:country ?z }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
AND((Q20859388,P17,c(Q15617994)), (Q19273910,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q20859388
relation P17
action find
entity Q19273910
relation P17
type Q15617994
[ANSWER] municipal executive of Mierlo and Jacob Catsstraat belong to
{'AND': [['Q20859388', 'P17', {'concept': 'Q15617994'}], ['Q19273910', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q20859388 property:P17 ?z . resource:Q19273910 property:P17 ?z }
Netherlands
Netherlands municipal executive of Mierlo and Jacob Catsstraat belong to
Netherlands
action filter_type
action intersection
action find
entity municipal executive of Mierlo
relation country
action find
entity Jacob Catsstraat
relation country
type designation for an administrative territorial entity
{'AND': [['municipal executive of Mierlo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jacob Catsstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:municipal_executive_of_Mierlo property:country ?z . resource:Jacob_Catsstraat property:country ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q12737077 Q178706 Q12737077
USER
Which occupations did exactly 1 occupations or institutions appoint ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?r WHERE { { ?r property:P748 ?p . ?p rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q12737077 } UNION { ?r property:P748 ?p . ?p rdf:type ontology:Q178706 . ?r rdf:type ontology:Q12737077 } } GROUP BY ?r } . FILTER ( ?b = 1 ) }
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?r WHERE { { ?r property:appointed_by ?p . ?p rdf:type ontology:occupation . ?r rdf:type ontology:occupation } UNION { ?r property:appointed_by ?p . ?p rdf:type ontology:institution . ?r rdf:type ontology:occupation } } GROUP BY ?r } . FILTER ( ?b = 1 ) }
[]
occupation institution occupation
Q687075 Q1749063 Q81066
SYSTEM
Prime Minister of Sweden, Minister for Foreign Affairs of Sweden, United Nations Secretary-General
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q740126 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q1749063 Q24636364 Q14565638 Q251724 Q1161813 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q634291 Q3251807 Q13526082 Q6866016 Q735587 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
value 1
Exactly 1 occupations or institutions appointed by [ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?r WHERE { { ?r property:P748 ?p . ?p rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q12737077 } UNION { ?r property:P748 ?p . ?p rdf:type ontology:Q178706 . ?r rdf:type ontology:Q12737077 } } GROUP BY ?r } . FILTER ( ?b = 1 ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government President of the European Parliament Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland President of the United Nations General Assembly Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport High Representative of the Union for Foreign Affairs and Security Policy Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council 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 Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
Exactly 1 occupations or institutions appointed by Prime Minister of Sweden, Minister for Foreign Affairs of Sweden and United Nations Secretary-General
Prime Minister of Sweden Minister for Foreign Affairs of Sweden United Nations Secretary-General
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?r WHERE { { ?r property:appointed_by ?p . ?p rdf:type ontology:occupation . ?r rdf:type ontology:occupation } UNION { ?r property:appointed_by ?p . ?p rdf:type ontology:institution . ?r rdf:type ontology:occupation } } GROUP BY ?r } . FILTER ( ?b = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q130005
P417
Q502895 Q12737077
USER
Which people are the patron saints of greater number of occupations than Edward the Confessor ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q130005
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P417 ?i . ?i rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12737077 } GROUP BY ?i } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q130005 property:P417 ?w . ?w rdf:type ontology:Q502895 } } }
Edward the Confessor
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Edward the Confessor
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:patron_saint ?i . ?i rdf:type ontology:common_name . ?f rdf:type ontology:occupation } GROUP BY ?i } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Edward_the_Confessor property:patron_saint ?w . ?w rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q130005
relation P417
type Q502895
[ANSWERS] are the patron saints of greater number of occupations than Edward the Confessor
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P417 ?i . ?i rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12737077 } GROUP BY ?i } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Q130005 property:P417 ?w . ?w rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saints of greater number of occupations than Edward the Confessor
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Edward the Confessor
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:patron_saint ?i . ?i rdf:type ontology:common_name . ?f rdf:type ontology:occupation } GROUP BY ?i } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { resource:Edward_the_Confessor property:patron_saint ?w . ?w rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q15284282
P417
Q502895 Q12737077
USER
And also tell me about Adolphus?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q15284282
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P417 ?v . ?v rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q15284282 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?l > ?a ) }
Adolphus
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adolphus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:patron_saint ?v . ?v rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Adolphus property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?l > ?a ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q15284282
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P417 ?v . ?v rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q15284282 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?l > ?a ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Adolphus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:patron_saint ?v . ?v rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Adolphus property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?l > ?a ) }
[]