Simple Question (Direct)
Simple Question
Q2902778
P106
Q12737077
USER
Which occupation has Guillaume du Bellay as his/her 's career ?
(Q2902778,P106,c(Q12737077))
action filter_type
action find
entity Q2902778
relation P106
type Q12737077
['Q2902778', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q2902778 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Guillaume du Bellay
action filter_type
action find
entity Guillaume du Bellay
relation occupation
type occupation
['Guillaume du Bellay', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Guillaume_du_Bellay property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q193391
SYSTEM
diplomat
Q193391
(Q2902778,P106,c(Q12737077))
action filter_type
action find
entity Q2902778
relation P106
type Q12737077
The [ANSWER] has Guillaume du Bellay as his/her 's career
['Q2902778', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q2902778 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
diplomat
The diplomat has Guillaume du Bellay as his/her 's career
diplomat
action filter_type
action find
entity Guillaume du Bellay
relation occupation
type occupation
['Guillaume du Bellay', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Guillaume_du_Bellay property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q369500
P748
Q1307214 Q12737077 Q12737077
USER
Which occupations did lesser number of forms of government or occupations appoint than Prime Minister of Latvia ?
(c(Q12737077),P748,c(Q1307214)|c(Q12737077))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q369500
relation P748
type Q1307214
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?m WHERE { VALUES ( ?k ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } . ?j rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } } . resource:Q369500 property:P748 ?y } } . FILTER ( ?g < ?b ) }
Prime Minister of Latvia
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Prime Minister of Latvia
relation appointed by
type form of government
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?m WHERE { VALUES ( ?k ) { ( ontology:form_of_government ) ( ontology:occupation ) } . ?j rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:form_of_government ) ( ontology:occupation ) } } . resource:Prime_Minister_of_Latvia property:appointed_by ?y } } . FILTER ( ?g < ?b ) }
[]
form of government occupation occupation
Q655407 Q22955080 Q81066
SYSTEM
President of the People's Republic of China, president of FIFA, United Nations Secretary-General
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q2631987 Q735575 Q2287650 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q740126 Q21013163 Q14984399 Q7241304 Q1029955 Q2484309 Q642859 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 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 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q182762 Q20859386 Q967750 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q152814 Q1072415 Q26000995 Q3409203 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 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q735587 Q592866 Q81066 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q786242 Q25860233 Q1434880 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q12737077))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q369500
relation P748
type Q1307214
type Q12737077
[ANSWERS] lesser number of forms of government or occupations appointed than Prime Minister of Latvia
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?m WHERE { VALUES ( ?k ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } . ?j rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:Q1307214 ) ( ontology:Q12737077 ) } } . resource:Q369500 property:P748 ?y } } . FILTER ( ?g < ?b ) }
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 Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior 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 President of the European Parliament Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate United States Secretary of Agriculture 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 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 President of the United Nations General Assembly 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 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 President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission 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 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 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 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 municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu United Nations Secretary-General municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer 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 and United Nations Secretary-General lesser number of forms of government or occupations appointed than Prime Minister of Latvia
President of the People's Republic of China president of FIFA United Nations Secretary-General
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Prime Minister of Latvia
relation appointed by
type form of government
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?m WHERE { VALUES ( ?k ) { ( ontology:form_of_government ) ( ontology:occupation ) } . ?j rdf:type ?k } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { ?y rdf:type ?o . VALUES ( ?o ) { ( ontology:form_of_government ) ( ontology:occupation ) } } . resource:Prime_Minister_of_Latvia property:appointed_by ?y } } . FILTER ( ?g < ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1752225
P748
Q1307214 Q12737077 Q12737077
USER
And what about Lord Lieutenant of Ireland?
(c(Q12737077),P748,c(Q1307214)|c(Q12737077))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q1752225
relation P748
type Q1307214
type Q12737077
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?v WHERE { { ?v property:P748 ?s . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q12737077 } UNION { ?v property:P748 ?s . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q1307214 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q1752225 property:P748 ?o . { { ?o rdf:type ontology:Q1307214 } UNION { ?o rdf:type ontology:Q12737077 } } } } . FILTER ( ?d < ?m ) }
Lord Lieutenant of Ireland
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Lord Lieutenant of Ireland
relation appointed by
type form of government
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?v WHERE { { ?v property:appointed_by ?s . ?v rdf:type ontology:occupation . ?s rdf:type ontology:occupation } UNION { ?v property:appointed_by ?s . ?v rdf:type ontology:occupation . ?s rdf:type ontology:form_of_government } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Lord_Lieutenant_of_Ireland property:appointed_by ?o . { { ?o rdf:type ontology:form_of_government } UNION { ?o rdf:type ontology:occupation } } } } . FILTER ( ?d < ?m ) }
[]
form of government occupation occupation
Q655407 Q22955080 Q81066
SYSTEM
President of the People's Republic of China, president of FIFA, United Nations Secretary-General
Q7643465 Q27650845 Q373548 Q4011167 Q17018201 Q20748656 Q20890913 Q2666591 Q191954 Q1846384 Q11793630 Q1072417 Q27650822 Q21371106 Q2631987 Q735575 Q2287650 Q5333410 Q376006 Q21013169 Q26209348 Q39021 Q261746 Q20867494 Q740126 Q21013163 Q14984399 Q7241304 Q1029955 Q2484309 Q642859 Q2012061 Q20890902 Q1140848 Q15730802 Q7444357 Q967762 Q7444352 Q15305714 Q20872382 Q3246797 Q1371091 Q3315116 Q20872273 Q655407 Q3477307 Q1369302 Q27531658 Q842386 Q48894 Q835586 Q12376089 Q19056310 Q4970706 Q890030 Q27516521 Q1161813 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 Q565424 Q15731141 Q313383 Q1043568 Q912994 Q27531790 Q19328352 Q862559 Q13645132 Q636207 Q475658 Q7574264 Q2003296 Q182762 Q20859386 Q967750 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q8882 Q20867550 Q1060844 Q3397406 Q467926 Q813403 Q27516596 Q691615 Q866680 Q20181946 Q21098108 Q20872296 Q838380 Q783785 Q5096847 Q4818607 Q152814 Q1072415 Q26000995 Q3409203 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 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q20748654 Q19328451 Q3777749 Q111784 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q1362216 Q839139 Q1074656 Q735587 Q592866 Q81066 Q26721218 Q1658460 Q628102 Q17058425 Q20128098 Q786242 Q25860233 Q1434880 Q1072341
(c(Q12737077),P748,c(Q1307214)|c(Q12737077))
action less
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action count
action filter_multi_types
action find
entity Q1752225
relation P748
type Q1307214
type Q12737077
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?v WHERE { { ?v property:P748 ?s . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q12737077 } UNION { ?v property:P748 ?s . ?v rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q1307214 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q1752225 property:P748 ?o . { { ?o rdf:type ontology:Q1307214 } UNION { ?o rdf:type ontology:Q12737077 } } } } . FILTER ( ?d < ?m ) }
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 Attorney General for England and Wales Prime Minister of Pakistan United States Secretary of the Interior 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 President of the European Parliament Mayor of The Hague Secretary of State for Environment, Food and Rural Affairs President of the Australian Senate United States Secretary of Agriculture 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 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 President of the United Nations General Assembly 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 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 President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco President of the European Commission 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 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 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 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 municipal executive of Utrecht President of Slovakia First Minister of Scotland President of Romania Prime Minister of Papua New Guinea President of the European Council Prime Minister of Tuvalu United Nations Secretary-General municipal executive of Almere United States Secretary of Veterans Affairs President of Nauru Mayor of Coevorden Mayor of Deventer 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 United Nations Secretary-General
action less
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type occupation
action count
action filter_multi_types
action find
entity Lord Lieutenant of Ireland
relation appointed by
type form of government
type occupation
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) ?v WHERE { { ?v property:appointed_by ?s . ?v rdf:type ontology:occupation . ?s rdf:type ontology:occupation } UNION { ?v property:appointed_by ?s . ?v rdf:type ontology:occupation . ?s rdf:type ontology:form_of_government } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Lord_Lieutenant_of_Ireland property:appointed_by ?o . { { ?o rdf:type ontology:form_of_government } UNION { ?o rdf:type ontology:occupation } } } } . FILTER ( ?d < ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18162 Q655407
P47 P1001
Q15617994
USER
Which administrative territories apply to jurisdiction of President of the People's Republic of China or are bordered by Selve Marcone ?
OR((Q655407,P1001,c(Q15617994)), (Q18162,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q655407
relation P1001
action find
entity Q18162
relation P47
type Q15617994
{'OR': [['Q655407', 'P1001', {'concept': 'Q15617994'}], ['Q18162', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q655407 property:P1001 ?t } UNION { resource:Q18162 property:P47 ?t } } }
Selve Marcone President of the People's Republic of China
action filter_type
action union
action find
entity President of the People's Republic of China
relation applies to jurisdiction
action find
entity Selve Marcone
relation shares border with
type designation for an administrative territorial entity
{'OR': [["President of the People's Republic of China", 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Selve Marcone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:President_of_the_People's_Republic_of_China property:applies_to_jurisdiction ?t } UNION { resource:Selve_Marcone property:shares_border_with ?t } } }
[]
designation for an administrative territorial entity
Q25183 Q18095 Q18141 Q148 Q18172 Q18029 Q18017
SYSTEM
Rassa, Pettinengo, Piedicavallo, People's Republic of China, Tavigliano, Callabiana, Andorno Micca
Q25183 Q18095 Q18141 Q148 Q18172 Q18029 Q18017
OR((Q655407,P1001,c(Q15617994)), (Q18162,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q655407
relation P1001
action find
entity Q18162
relation P47
type Q15617994
[ANSWERS] apply to jurisdiction of President of the People's Republic of China or are bordered by Selve Marcone
{'OR': [['Q655407', 'P1001', {'concept': 'Q15617994'}], ['Q18162', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q655407 property:P1001 ?t } UNION { resource:Q18162 property:P47 ?t } } }
Rassa Pettinengo Piedicavallo People's Republic of China Tavigliano Callabiana Andorno Micca
Rassa, Pettinengo, Piedicavallo, People's Republic of China, Tavigliano, Callabiana and Andorno Micca apply to jurisdiction of President of the People's Republic of China or are bordered by Selve Marcone
Rassa Pettinengo Piedicavallo People's Republic of China Tavigliano Callabiana Andorno Micca
action filter_type
action union
action find
entity President of the People's Republic of China
relation applies to jurisdiction
action find
entity Selve Marcone
relation shares border with
type designation for an administrative territorial entity
{'OR': [["President of the People's Republic of China", 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Selve Marcone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:President_of_the_People's_Republic_of_China property:applies_to_jurisdiction ?t } UNION { resource:Selve_Marcone property:shares_border_with ?t } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q53304
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories are more number of holidays or people a patron saint of than Pasian di Prato ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q53304
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { VALUES ( ?z ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?m rdf:type ?z } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q53304 property:P417 ?y . { { ?y rdf:type ontology:Q1445650 } UNION { ?y rdf:type ontology:Q502895 } } } } . FILTER ( ?w > ?k ) }
Pasian di Prato
action count
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Pasian di Prato
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { VALUES ( ?z ) { ( ontology:holiday ) ( ontology:common_name ) } . ?m rdf:type ?z } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Pasian_di_Prato property:patron_saint ?y . { { ?y rdf:type ontology:holiday } UNION { ?y rdf:type ontology:common_name } } } } . FILTER ( ?w > ?k ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
532
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q36 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q25198 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q286808 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q38 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q53304
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { VALUES ( ?z ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?m rdf:type ?z } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q53304 property:P417 ?y . { { ?y rdf:type ontology:Q1445650 } UNION { ?y rdf:type ontology:Q502895 } } } } . FILTER ( ?w > ?k ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Poland Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Olgiate Olona Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Fiavè Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Italy Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
532
action count
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Pasian di Prato
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?x WHERE { VALUES ( ?z ) { ( ontology:holiday ) ( ontology:common_name ) } . ?m rdf:type ?z } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Pasian_di_Prato property:patron_saint ?y . { { ?y rdf:type ontology:holiday } UNION { ?y rdf:type ontology:common_name } } } } . FILTER ( ?w > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q117471
P417
Q1445650 Q502895 Q15617994
USER
And also tell me about Trevi nel Lazio?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q117471
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q117471 property:P417 ?c . { { ?c rdf:type ontology:Q1445650 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?j > ?e ) }
Trevi nel Lazio
action count
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Trevi nel Lazio
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Trevi_nel_Lazio property:patron_saint ?c . { { ?c rdf:type ontology:holiday } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?j > ?e ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
532
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q36 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q25198 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q286808 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q38 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q117471
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q117471 property:P417 ?c . { { ?c rdf:type ontology:Q1445650 } UNION { ?c rdf:type ontology:Q502895 } } } } . FILTER ( ?j > ?e ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Poland Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Olgiate Olona Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Fiavè Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Italy Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
532
action count
action greater
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Trevi nel Lazio
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) ?k WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:holiday ) ( ontology:common_name ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Trevi_nel_Lazio property:patron_saint ?c . { { ?c rdf:type ontology:holiday } UNION { ?c rdf:type ontology:common_name } } } } . FILTER ( ?j > ?e ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1752225
P39 P21
Q502895
USER
Which people held the position of Lord Lieutenant of Ireland and have the gender as male ?
AND((c(Q502895),P39,Q1752225), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1752225
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q1752225'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P39 resource:Q1752225 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
male Lord Lieutenant of Ireland
action filter_type
action intersection
action find_reverse
entity Lord Lieutenant of Ireland
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Lord Lieutenant of Ireland'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:position_held resource:Lord_Lieutenant_of_Ireland . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
common name
Q17322488 Q3827905 Q7518918 Q4786454 Q333744 Q337676 Q333355 Q3828136 Q25690 Q336529
SYSTEM
Some of them are Ivor Guest, 1st Viscount Wimborne, Laurence Hyde, 1st Earl of Rochester, Simon Harcourt, 1st Earl Harcourt, Archibald Montgomerie, 13th Earl of Eglinton, George Nugent-Temple-Grenville, 1st Marquess of Buckingham, Thomas de Grey, 2nd Earl de Grey, John Spencer-Churchill, 7th Duke of Marlborough, Lawrence Dundas, 1st Marquess of Zetland, John Russell, 6th Duke of Bedford, Charles Townshend, 2nd Viscount Townshend
Q17322488 Q8018720 Q8020938 Q335274 Q1395992 Q597848 Q3760457 Q333355 Q6253138 Q4247435 Q38308 Q332487 Q3828136 Q335388 Q5790337 Q335845 Q3827905 Q335133 Q5342752 Q337676 Q25690 Q338153 Q333744 Q335817 Q2079517 Q335205 Q5957206 Q151352 Q335305 Q7518918 Q335513 Q4786454 Q337505 Q5949661 Q3760605 Q5359607 Q333281 Q335406 Q335394 Q610327 Q336529 Q333418 Q561173 Q336421
AND((c(Q502895),P39,Q1752225), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1752225
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q1752225'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?p WHERE { ?p property:P39 resource:Q1752225 . ?p property:P21 resource:Q6581097 . ?p rdf:type ontology:Q502895 }
Ivor Guest, 1st Viscount Wimborne William Stanhope, 1st Earl of Harrington William à Court, 1st Baron Heytesbury John Carteret, 2nd Earl Granville John Lambert Edmund FitzAlan-Howard, 1st Viscount FitzAlan of Derwent George Cadogan, 5th Earl Cadogan John Spencer-Churchill, 7th Duke of Marlborough John Ponsonby, 4th Earl of Bessborough Francis Cowper, 7th Earl Cowper Thomas Thynne, 1st Marquess of Bath Philip Stanhope, 4th Earl of Chesterfield Lawrence Dundas, 1st Marquess of Zetland William Ward, 2nd Earl of Dudley Philip Yorke, 3rd Earl of Hardwicke Henry Herbert, 4th Earl of Carnarvon Laurence Hyde, 1st Earl of Rochester Henry Paget, 1st Marquess of Anglesey Edward Eliot, 3rd Earl of St Germans Thomas de Grey, 2nd Earl de Grey John Russell, 6th Duke of Bedford Constantine Phipps, 1st Marquess of Normanby George Nugent-Temple-Grenville, 1st Marquess of Buckingham Charles Talbot, 1st Duke of Shrewsbury George Howard, 7th Earl of Carlisle Richard Wellesley, 1st Marquess Wellesley Thomas Hamilton, 9th Earl of Haddington Hugh Percy, 3rd Duke of Northumberland George Villiers, 4th Earl of Clarendon Simon Harcourt, 1st Earl Harcourt James Hamilton, 1st Duke of Abercorn Archibald Montgomerie, 13th Earl of Eglinton Lionel Sackville, 1st Duke of Dorset John Fane, 10th Earl of Westmorland George Montagu-Dunk, 2nd Earl of Halifax Hugh Fortescue, 2nd Earl Fortescue John Spencer, 5th Earl Spencer John Russell, 4th Duke of Bedford Charles Lennox, 4th Duke of Richmond James Butler, 2nd Duke of Ormonde Charles Townshend, 2nd Viscount Townshend John Pratt, 1st Marquess Camden John Talbot, 1st Earl of Shrewsbury Robert Crewe-Milnes, 1st Marquess of Crewe
Ivor Guest, 1st Viscount Wimborne, Laurence Hyde, 1st Earl of Rochester, Simon Harcourt, 1st Earl Harcourt, Archibald Montgomerie, 13th Earl of Eglinton, George Nugent-Temple-Grenville, 1st Marquess of Buckingham, Thomas de Grey, 2nd Earl de Grey, John Spencer-Churchill, 7th Duke of Marlborough, Lawrence Dundas, 1st Marquess of Zetland, John Russell, 6th Duke of Bedford and Charles Townshend, 2nd Viscount Townshend held the position of Lord Lieutenant of Ireland and have the gender as male
Ivor Guest, 1st Viscount Wimborne Laurence Hyde, 1st Earl of Rochester Simon Harcourt, 1st Earl Harcourt Archibald Montgomerie, 13th Earl of Eglinton George Nugent-Temple-Grenville, 1st Marquess of Buckingham Thomas de Grey, 2nd Earl de Grey John Spencer-Churchill, 7th Duke of Marlborough Lawrence Dundas, 1st Marquess of Zetland John Russell, 6th Duke of Bedford Charles Townshend, 2nd Viscount Townshend
action filter_type
action intersection
action find_reverse
entity Lord Lieutenant of Ireland
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Lord Lieutenant of Ireland'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?p WHERE { ?p property:position_held resource:Lord_Lieutenant_of_Ireland . ?p property:gender resource:male . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17322488 Q3827905 Q7518918 Q4786454 Q333744 Q337676 Q333355 Q3828136 Q25690 Q336529
P21
Q290
USER
Which sexes do Ivor Guest, 1st Viscount Wimborne, Laurence Hyde, 1st Earl of Rochester, Simon Harcourt, 1st Earl Harcourt, Archibald Montgomerie, 13th Earl of Eglinton, George Nugent-Temple-Grenville, 1st Marquess of Buckingham, Thomas de Grey, 2nd Earl de Grey, John Spencer-Churchill, 7th Duke of Marlborough, Lawrence Dundas, 1st Marquess of Zetland, John Russell, 6th Duke of Bedford and Charles Townshend, 2nd Viscount Townshend possess ?
(Q17322488,P21,c(Q290)) (Q3827905,P21,c(Q290)) (Q7518918,P21,c(Q290)) (Q4786454,P21,c(Q290)) (Q333744,P21,c(Q290)) (Q337676,P21,c(Q290)) (Q333355,P21,c(Q290)) (Q3828136,P21,c(Q290)) (Q25690,P21,c(Q290)) (Q336529,P21,c(Q290))
action union
action filter_type
action find
entity Q17322488
relation P21
type Q290
action filter_type
action find
entity Q3827905
relation P21
type Q290
action filter_type
action find
entity Q7518918
relation P21
type Q290
action filter_type
action find
entity Q4786454
relation P21
type Q290
action filter_type
action find
entity Q333744
relation P21
type Q290
action filter_type
action find
entity Q337676
relation P21
type Q290
action filter_type
action find
entity Q333355
relation P21
type Q290
action filter_type
action find
entity Q3828136
relation P21
type Q290
action filter_type
action find
entity Q25690
relation P21
type Q290
action filter_type
action find
entity Q336529
relation P21
type Q290
['Q17322488', 'P21', {'concept': 'Q290'}] ['Q3827905', 'P21', {'concept': 'Q290'}] ['Q7518918', 'P21', {'concept': 'Q290'}] ['Q4786454', 'P21', {'concept': 'Q290'}] ['Q333744', 'P21', {'concept': 'Q290'}] ['Q337676', 'P21', {'concept': 'Q290'}] ['Q333355', 'P21', {'concept': 'Q290'}] ['Q3828136', 'P21', {'concept': 'Q290'}] ['Q25690', 'P21', {'concept': 'Q290'}] ['Q336529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { { resource:Q3827905 property:P21 ?j . ?j rdf:type ontology:Q290 } UNION { resource:Q17322488 property:P21 ?j . ?j rdf:type ontology:Q290 } }
Ivor Guest, 1st Viscount Wimborne Laurence Hyde, 1st Earl of Rochester Simon Harcourt, 1st Earl Harcourt Archibald Montgomerie, 13th Earl of Eglinton George Nugent-Temple-Grenville, 1st Marquess of Buckingham Thomas de Grey, 2nd Earl de Grey John Spencer-Churchill, 7th Duke of Marlborough Lawrence Dundas, 1st Marquess of Zetland John Russell, 6th Duke of Bedford Charles Townshend, 2nd Viscount Townshend
action union
action filter_type
action find
entity Ivor Guest, 1st Viscount Wimborne
relation gender
type sex
action filter_type
action find
entity Laurence Hyde, 1st Earl of Rochester
relation gender
type sex
action filter_type
action find
entity Simon Harcourt, 1st Earl Harcourt
relation gender
type sex
action filter_type
action find
entity Archibald Montgomerie, 13th Earl of Eglinton
relation gender
type sex
action filter_type
action find
entity George Nugent-Temple-Grenville, 1st Marquess of Buckingham
relation gender
type sex
action filter_type
action find
entity Thomas de Grey, 2nd Earl de Grey
relation gender
type sex
action filter_type
action find
entity John Spencer-Churchill, 7th Duke of Marlborough
relation gender
type sex
action filter_type
action find
entity Lawrence Dundas, 1st Marquess of Zetland
relation gender
type sex
action filter_type
action find
entity John Russell, 6th Duke of Bedford
relation gender
type sex
action filter_type
action find
entity Charles Townshend, 2nd Viscount Townshend
relation gender
type sex
['Ivor Guest, 1st Viscount Wimborne', 'gender', {'concept': 'sex'}] ['Laurence Hyde, 1st Earl of Rochester', 'gender', {'concept': 'sex'}] ['Simon Harcourt, 1st Earl Harcourt', 'gender', {'concept': 'sex'}] ['Archibald Montgomerie, 13th Earl of Eglinton', 'gender', {'concept': 'sex'}] ['George Nugent-Temple-Grenville, 1st Marquess of Buckingham', 'gender', {'concept': 'sex'}] ['Thomas de Grey, 2nd Earl de Grey', 'gender', {'concept': 'sex'}] ['John Spencer-Churchill, 7th Duke of Marlborough', 'gender', {'concept': 'sex'}] ['Lawrence Dundas, 1st Marquess of Zetland', 'gender', {'concept': 'sex'}] ['John Russell, 6th Duke of Bedford', 'gender', {'concept': 'sex'}] ['Charles Townshend, 2nd Viscount Townshend', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { { resource:Laurence_Hyde,_1st_Earl_of_Rochester property:gender ?j . ?j rdf:type ontology:sex } UNION { resource:Ivor_Guest,_1st_Viscount_Wimborne property:gender ?j . ?j rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q17322488,P21,c(Q290)) (Q3827905,P21,c(Q290)) (Q7518918,P21,c(Q290)) (Q4786454,P21,c(Q290)) (Q333744,P21,c(Q290)) (Q337676,P21,c(Q290)) (Q333355,P21,c(Q290)) (Q3828136,P21,c(Q290)) (Q25690,P21,c(Q290)) (Q336529,P21,c(Q290))
action union
action filter_type
action find
entity Q17322488
relation P21
type Q290
action filter_type
action find
entity Q3827905
relation P21
type Q290
action filter_type
action find
entity Q7518918
relation P21
type Q290
action filter_type
action find
entity Q4786454
relation P21
type Q290
action filter_type
action find
entity Q333744
relation P21
type Q290
action filter_type
action find
entity Q337676
relation P21
type Q290
action filter_type
action find
entity Q333355
relation P21
type Q290
action filter_type
action find
entity Q3828136
relation P21
type Q290
action filter_type
action find
entity Q25690
relation P21
type Q290
action filter_type
action find
entity Q336529
relation P21
type Q290
[ANSWER], [ANSWER] and [ANSWER] Ivor Guest, 1st Viscount Wimborne, Laurence Hyde, 1st Earl of Rochester, Simon Harcourt, 1st Earl Harcourt, Archibald Montgomerie, 13th Earl of Eglinton, George Nugent-Temple-Grenville, 1st Marquess of Buckingham, Thomas de Grey, 2nd Earl de Grey, John Spencer-Churchill, 7th Duke of Marlborough, Lawrence Dundas, 1st Marquess of Zetland, John Russell, 6th Duke of Bedford and Charles Townshend, 2nd Viscount Townshend possess
['Q17322488', 'P21', {'concept': 'Q290'}] ['Q3827905', 'P21', {'concept': 'Q290'}] ['Q7518918', 'P21', {'concept': 'Q290'}] ['Q4786454', 'P21', {'concept': 'Q290'}] ['Q333744', 'P21', {'concept': 'Q290'}] ['Q337676', 'P21', {'concept': 'Q290'}] ['Q333355', 'P21', {'concept': 'Q290'}] ['Q3828136', 'P21', {'concept': 'Q290'}] ['Q25690', 'P21', {'concept': 'Q290'}] ['Q336529', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { { resource:Q3827905 property:P21 ?j . ?j rdf:type ontology:Q290 } UNION { resource:Q17322488 property:P21 ?j . ?j rdf:type ontology:Q290 } }
male male male male male male male male male male
Male, male and male Ivor Guest, 1st Viscount Wimborne, Laurence Hyde, 1st Earl of Rochester, Simon Harcourt, 1st Earl Harcourt, Archibald Montgomerie, 13th Earl of Eglinton, George Nugent-Temple-Grenville, 1st Marquess of Buckingham, Thomas de Grey, 2nd Earl de Grey, John Spencer-Churchill, 7th Duke of Marlborough, Lawrence Dundas, 1st Marquess of Zetland, John Russell, 6th Duke of Bedford and Charles Townshend, 2nd Viscount Townshend possess
male male male
action union
action filter_type
action find
entity Ivor Guest, 1st Viscount Wimborne
relation gender
type sex
action filter_type
action find
entity Laurence Hyde, 1st Earl of Rochester
relation gender
type sex
action filter_type
action find
entity Simon Harcourt, 1st Earl Harcourt
relation gender
type sex
action filter_type
action find
entity Archibald Montgomerie, 13th Earl of Eglinton
relation gender
type sex
action filter_type
action find
entity George Nugent-Temple-Grenville, 1st Marquess of Buckingham
relation gender
type sex
action filter_type
action find
entity Thomas de Grey, 2nd Earl de Grey
relation gender
type sex
action filter_type
action find
entity John Spencer-Churchill, 7th Duke of Marlborough
relation gender
type sex
action filter_type
action find
entity Lawrence Dundas, 1st Marquess of Zetland
relation gender
type sex
action filter_type
action find
entity John Russell, 6th Duke of Bedford
relation gender
type sex
action filter_type
action find
entity Charles Townshend, 2nd Viscount Townshend
relation gender
type sex
['Ivor Guest, 1st Viscount Wimborne', 'gender', {'concept': 'sex'}] ['Laurence Hyde, 1st Earl of Rochester', 'gender', {'concept': 'sex'}] ['Simon Harcourt, 1st Earl Harcourt', 'gender', {'concept': 'sex'}] ['Archibald Montgomerie, 13th Earl of Eglinton', 'gender', {'concept': 'sex'}] ['George Nugent-Temple-Grenville, 1st Marquess of Buckingham', 'gender', {'concept': 'sex'}] ['Thomas de Grey, 2nd Earl de Grey', 'gender', {'concept': 'sex'}] ['John Spencer-Churchill, 7th Duke of Marlborough', 'gender', {'concept': 'sex'}] ['Lawrence Dundas, 1st Marquess of Zetland', 'gender', {'concept': 'sex'}] ['John Russell, 6th Duke of Bedford', 'gender', {'concept': 'sex'}] ['Charles Townshend, 2nd Viscount Townshend', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { { resource:Laurence_Hyde,_1st_Earl_of_Rochester property:gender ?j . ?j rdf:type ontology:sex } UNION { resource:Ivor_Guest,_1st_Viscount_Wimborne property:gender ?j . ?j rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333355
P26
Q502895
USER
Which person is the life partner of John Spencer-Churchill, 7th Duke of Marlborough ?
(Q333355,P26,c(Q502895))
action filter_type
action find
entity Q333355
relation P26
type Q502895
['Q333355', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q333355 property:P26 ?w . ?w rdf:type ontology:Q502895 }
John Spencer-Churchill, 7th Duke of Marlborough
action filter_type
action find
entity John Spencer-Churchill, 7th Duke of Marlborough
relation spouse
type common name
['John Spencer-Churchill, 7th Duke of Marlborough', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:John_Spencer-Churchill,_7th_Duke_of_Marlborough property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q3749340
SYSTEM
Frances Anne Spencer-Churchill, Duchess of Marlborough
Q3749340
(Q333355,P26,c(Q502895))
action filter_type
action find
entity Q333355
relation P26
type Q502895
The [ANSWER] is the life partner of John Spencer-Churchill, 7th Duke of Marlborough
['Q333355', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q333355 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Frances Anne Spencer-Churchill, Duchess of Marlborough
The Frances Anne Spencer-Churchill, Duchess of Marlborough is the life partner of John Spencer-Churchill, 7th Duke of Marlborough
Frances Anne Spencer-Churchill, Duchess of Marlborough
action filter_type
action find
entity John Spencer-Churchill, 7th Duke of Marlborough
relation spouse
type common name
['John Spencer-Churchill, 7th Duke of Marlborough', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:John_Spencer-Churchill,_7th_Duke_of_Marlborough property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3749340
P25
Q502895
USER
Who was the mom of that one ?
(Q3749340,P25,c(Q502895))
action filter_type
action find
entity Q3749340
relation P25
type Q502895
['Q3749340', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3749340 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Frances Anne Spencer-Churchill, Duchess of Marlborough
action filter_type
action find
entity Frances Anne Spencer-Churchill, Duchess of Marlborough
relation mother
type common name
['Frances Anne Spencer-Churchill, Duchess of Marlborough', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Frances_Anne_Spencer-Churchill,_Duchess_of_Marlborough property:mother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q5261565
SYSTEM
Frances Vane, Marchioness of Londonderry
Q5261565
(Q3749340,P25,c(Q502895))
action filter_type
action find
entity Q3749340
relation P25
type Q502895
The mom of that one was Lady [ANSWER]
['Q3749340', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3749340 property:P25 ?q . ?q rdf:type ontology:Q502895 }
Frances Vane, Marchioness of Londonderry
The mom of that one was Lady Frances Vane, Marchioness of Londonderry
Frances Vane, Marchioness of Londonderry
action filter_type
action find
entity Frances Anne Spencer-Churchill, Duchess of Marlborough
relation mother
type common name
['Frances Anne Spencer-Churchill, Duchess of Marlborough', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Frances_Anne_Spencer-Churchill,_Duchess_of_Marlborough property:mother ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5261565 Q1860
P1412
Q34770
USER
Is English Frances Vane, Marchioness of Londonderry capable of writing ?
(Q5261565,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q5261565
relation P1412
['Q5261565', 'P1412', 'Q1860']
ASK WHERE { resource:Q5261565 property:P1412 resource:Q1860 }
Frances Vane, Marchioness of Londonderry English
action is_in
entity English
action find
entity Frances Vane, Marchioness of Londonderry
relation languages spoken, written or signed
['Frances Vane, Marchioness of Londonderry', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Frances_Vane,_Marchioness_of_Londonderry property:languages_spoken,_written_or_signed resource:English }
[]
language
SYSTEM
YES
(Q5261565,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q5261565
relation P1412
[ANSWER]
['Q5261565', 'P1412', 'Q1860']
ASK WHERE { resource:Q5261565 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Frances Vane, Marchioness of Londonderry
relation languages spoken, written or signed
['Frances Vane, Marchioness of Londonderry', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Frances_Vane,_Marchioness_of_Londonderry property:languages_spoken,_written_or_signed resource:English }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5791258 Q2902778
P27
Q15617994
USER
Which administrative territories do Guillaume du Bellay or Cristian Araya Godoy belong to ?
OR((Q2902778,P27,c(Q15617994)), (Q5791258,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2902778
relation P27
action find
entity Q5791258
relation P27
type Q15617994
{'OR': [['Q2902778', 'P27', {'concept': 'Q15617994'}], ['Q5791258', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q5791258 property:P27 ?c } UNION { resource:Q2902778 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Cristian Araya Godoy Guillaume du Bellay
action filter_type
action union
action find
entity Guillaume du Bellay
relation country of citizenship
action find
entity Cristian Araya Godoy
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Guillaume du Bellay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cristian Araya Godoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Cristian_Araya_Godoy property:country_of_citizenship ?c } UNION { resource:Guillaume_du_Bellay property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q298
SYSTEM
France, Chile
Q142 Q298
OR((Q2902778,P27,c(Q15617994)), (Q5791258,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2902778
relation P27
action find
entity Q5791258
relation P27
type Q15617994
Guillaume du Bellay or Cristian Araya Godoy belong to both [ANSWERS]
{'OR': [['Q2902778', 'P27', {'concept': 'Q15617994'}], ['Q5791258', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q5791258 property:P27 ?c } UNION { resource:Q2902778 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
France Chile
Guillaume du Bellay or Cristian Araya Godoy belong to both France and Chile
France Chile
action filter_type
action union
action find
entity Guillaume du Bellay
relation country of citizenship
action find
entity Cristian Araya Godoy
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Guillaume du Bellay', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cristian Araya Godoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Cristian_Araya_Godoy property:country_of_citizenship ?c } UNION { resource:Guillaume_du_Bellay property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]