Simple Question (Direct)
Simple Question
Q1381825
P27
Q15617994
USER
Which administrative territory is the country of citizenship of John C. Spencer ?
(Q1381825,P27,c(Q15617994))
action filter_type
action find
entity Q1381825
relation P27
type Q15617994
['Q1381825', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1381825 property:P27 ?x }
John C. Spencer
action filter_type
action find
entity John C. Spencer
relation country of citizenship
type designation for an administrative territorial entity
['John C. Spencer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_C._Spencer property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1381825,P27,c(Q15617994))
action filter_type
action find
entity Q1381825
relation P27
type Q15617994
[ANSWER] is the country of citizenship of John C. Spencer
['Q1381825', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1381825 property:P27 ?x }
United States of America
United States of America is the country of citizenship of John C. Spencer
United States of America
action filter_type
action find
entity John C. Spencer
relation country of citizenship
type designation for an administrative territorial entity
['John C. Spencer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_C._Spencer property:country_of_citizenship ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1381825
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q30,P39,c(Q12737077))
action filter_type
action find
entity Q1381825
relation P39
type Q12737077
['Q30', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1381825 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
John C. Spencer
action filter_type
action find
entity John C. Spencer
relation position held
type occupation
['United States of America', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:John_C._Spencer property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q2419102 Q13218630 Q18691526
SYSTEM
United States Secretary of War, United States representative, member of the State Senate of New York
Q4215834 Q2419102 Q13218630 Q17091934 Q18691526 Q16148056
(Q30,P39,c(Q12737077))
action filter_type
action find
entity Q1381825
relation P39
type Q12737077
The [ANSWERS] were the positions for which that person were appointed
['Q30', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1381825 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
United States Secretary of the Treasury United States Secretary of War United States representative Speaker of the New York State Assembly member of the State Senate of New York Secretary of State of New York
The United States Secretary of War, United States representative and member of the State Senate of New York were the positions for which that person were appointed
United States Secretary of War United States representative member of the State Senate of New York
action filter_type
action find
entity John C. Spencer
relation position held
type occupation
['United States of America', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:John_C._Spencer property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1381825
P39
Q502895
USER
Did John C. Spencer hold the position of those occupations ?
(Q1381825,P39,Q2419102) (Q1381825,P39,Q13218630) (Q1381825,P39,Q18691526)
action is_in
entity prev_answer
action find
entity Q1381825
relation P39
['Q1381825', 'P39', 'Q2419102'] ['Q1381825', 'P39', 'Q13218630'] ['Q1381825', 'P39', 'Q18691526']
ASK WHERE { resource:Q1381825 property:P39 ?q . VALUES ( ?q ) { ( resource:Q4215834 ) ( resource:Q2419102 ) ( resource:Q13218630 ) } }
John C. Spencer
action is_in
entity prev_answer
action find
entity John C. Spencer
relation position held
['John C. Spencer', 'position held', 'United States Secretary of War'] ['John C. Spencer', 'position held', 'United States representative'] ['John C. Spencer', 'position held', 'member of the State Senate of New York']
ASK WHERE { resource:John_C._Spencer property:position_held ?q . VALUES ( ?q ) { ( resource:United_States_Secretary_of_the_Treasury ) ( resource:United_States_Secretary_of_War ) ( resource:United_States_representative ) } }
[]
common name
SYSTEM
YES
(Q1381825,P39,Q2419102) (Q1381825,P39,Q13218630) (Q1381825,P39,Q18691526)
action is_in
entity prev_answer
action find
entity Q1381825
relation P39
[ANSWER]
['Q1381825', 'P39', 'Q2419102'] ['Q1381825', 'P39', 'Q13218630'] ['Q1381825', 'P39', 'Q18691526']
ASK WHERE { resource:Q1381825 property:P39 ?q . VALUES ( ?q ) { ( resource:Q4215834 ) ( resource:Q2419102 ) ( resource:Q13218630 ) } }
Yes
action is_in
entity prev_answer
action find
entity John C. Spencer
relation position held
['John C. Spencer', 'position held', 'United States Secretary of War'] ['John C. Spencer', 'position held', 'United States representative'] ['John C. Spencer', 'position held', 'member of the State Senate of New York']
ASK WHERE { resource:John_C._Spencer property:position_held ?q . VALUES ( ?q ) { ( resource:United_States_Secretary_of_the_Treasury ) ( resource:United_States_Secretary_of_War ) ( resource:United_States_representative ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7305452 Q18691526
P17
Q15617994
USER
Which administrative territories do member of the State Senate of New York or Redbank Creek belong to ?
OR((Q18691526,P17,c(Q15617994)), (Q7305452,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18691526
relation P17
action find
entity Q7305452
relation P17
type Q15617994
{'OR': [['Q18691526', 'P17', {'concept': 'Q15617994'}], ['Q7305452', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18691526 property:P17 ?g } UNION { resource:Q7305452 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Redbank Creek member of the State Senate of New York
action filter_type
action union
action find
entity member of the State Senate of New York
relation country
action find
entity Redbank Creek
relation country
type designation for an administrative territorial entity
{'OR': [['member of the State Senate of New York', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Redbank Creek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:member_of_the_State_Senate_of_New_York property:country ?g } UNION { resource:Redbank_Creek property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q18691526,P17,c(Q15617994)), (Q7305452,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18691526
relation P17
action find
entity Q7305452
relation P17
type Q15617994
The [ANSWER] member of the State Senate of New York or Redbank Creek belong to
{'OR': [['Q18691526', 'P17', {'concept': 'Q15617994'}], ['Q7305452', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18691526 property:P17 ?g } UNION { resource:Q7305452 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
United States of America
The United States of America member of the State Senate of New York or Redbank Creek belong to
United States of America
action filter_type
action union
action find
entity member of the State Senate of New York
relation country
action find
entity Redbank Creek
relation country
type designation for an administrative territorial entity
{'OR': [['member of the State Senate of New York', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Redbank Creek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:member_of_the_State_Senate_of_New_York property:country ?g } UNION { resource:Redbank_Creek property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11793630
P748
Q12737077 Q178706 Q12737077
USER
Which occupations are appointed by around the same number of occupations or institutions as governor of national banks of Serbia and Yugoslavia ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q11793630
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?f WHERE { { ?f property:P748 ?c . ?c rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q12737077 } UNION { ?f rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q178706 . ?f property:P748 ?c } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q11793630 property:P748 ?g . { { ?g rdf:type ontology:Q12737077 } UNION { ?g rdf:type ontology:Q178706 } } } } . FILTER ( ?q = ?h ) }
governor of national banks of Serbia and Yugoslavia
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity governor of national banks of Serbia and Yugoslavia
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?f WHERE { { ?f property:appointed_by ?c . ?c rdf:type ontology:occupation . ?f rdf:type ontology:occupation } UNION { ?f rdf:type ontology:occupation . ?c rdf:type ontology:institution . ?f property:appointed_by ?c } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:governor_of_national_banks_of_Serbia_and_Yugoslavia property:appointed_by ?g . { { ?g rdf:type ontology:occupation } UNION { ?g rdf:type ontology:institution } } } } . FILTER ( ?q = ?h ) }
[]
occupation institution 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(Q12737077)|c(Q178706))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q11793630
relation P748
type Q12737077
type Q178706
[ANSWERS] are appointed by around the same number of occupations or institutions as governor of national banks of Serbia and Yugoslavia
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?f WHERE { { ?f property:P748 ?c . ?c rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q12737077 } UNION { ?f rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q178706 . ?f property:P748 ?c } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q11793630 property:P748 ?g . { { ?g rdf:type ontology:Q12737077 } UNION { ?g rdf:type ontology:Q178706 } } } } . FILTER ( ?q = ?h ) }
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 and Federal Chancellor of Germany are appointed by around the same number of occupations or institutions as governor of national banks of Serbia and Yugoslavia
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 occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity governor of national banks of Serbia and Yugoslavia
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?f WHERE { { ?f property:appointed_by ?c . ?c rdf:type ontology:occupation . ?f rdf:type ontology:occupation } UNION { ?f rdf:type ontology:occupation . ?c rdf:type ontology:institution . ?f property:appointed_by ?c } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:governor_of_national_banks_of_Serbia_and_Yugoslavia property:appointed_by ?g . { { ?g rdf:type ontology:occupation } UNION { ?g rdf:type ontology:institution } } } } . FILTER ( ?q = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1052201
P748
Q12737077 Q178706 Q12737077
USER
And what about Ceann Comhairle?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q1052201
relation P748
type Q12737077
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q1052201 property:P748 ?h . { VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } GROUP BY ?k } }
Ceann Comhairle
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Ceann Comhairle
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Ceann_Comhairle property:appointed_by ?h . { VALUES ( ?d ) { ( ontology:occupation ) ( ontology:institution ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:occupation ) ( ontology:institution ) } } GROUP BY ?k } }
[]
occupation institution 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(Q12737077)|c(Q178706))
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q1052201
relation P748
type Q12737077
type Q178706
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Q1052201 property:P748 ?h . { VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q12737077 ) ( ontology:Q178706 ) } } GROUP BY ?k } }
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 occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Ceann Comhairle
relation appointed by
type occupation
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?z = ?c ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { resource:Ceann_Comhairle property:appointed_by ?h . { VALUES ( ?d ) { ( ontology:occupation ) ( ontology:institution ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:occupation ) ( ontology:institution ) } } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q3305213 Q2342494
USER
How many administrative territories are expressed in atleast 1 paintings and collectables ?
(c(Q3305213)|c(Q2342494),P180,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?o WHERE { { ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q3305213 . ?l property:P180 ?o } UNION { ?l property:P180 ?o . ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?d >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 1
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?o WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:painting . ?l property:depicts ?o } UNION { ?l property:depicts ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?d >= 1 ) }
[]
designation for an administrative territorial entity painting collectable
SYSTEM
14
Q3883 Q131596 Q712 Q532 Q38 Q80644 Q1028 Q298 Q79 Q772 Q82025 Q1273 Q1011 Q913434
(c(Q3305213)|c(Q2342494),P180,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?o WHERE { { ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q3305213 . ?l property:P180 ?o } UNION { ?l property:P180 ?o . ?o rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q2342494 } } GROUP BY ?o } . FILTER ( ?d >= 1 ) }
Catanzaro farm Fiji village Italy Köngen Morocco Chile Egypt Drenthe horn Tuscany Cape Verde Les Halles
14
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
value 1
[[{'concept': 'painting'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?o WHERE { { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:painting . ?l property:depicts ?o } UNION { ?l property:depicts ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:collectable } } GROUP BY ?o } . FILTER ( ?d >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2419102
P1001
Q15617994
USER
Which administrative territory is linked to United States Secretary of War ?
(Q2419102,P1001,c(Q15617994))
action filter_type
action find
entity Q2419102
relation P1001
type Q15617994
['Q2419102', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2419102 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
United States Secretary of War
action filter_type
action find
entity United States Secretary of War
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States Secretary of War', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:United_States_Secretary_of_War property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2419102,P1001,c(Q15617994))
action filter_type
action find
entity Q2419102
relation P1001
type Q15617994
[ANSWER] is linked to United States Secretary of War
['Q2419102', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2419102 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
United States of America is linked to United States Secretary of War
United States of America
action filter_type
action find
entity United States Secretary of War
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States Secretary of War', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:United_States_Secretary_of_War property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q326883 Q2419102
P47 P1001
Q15617994
USER
Which administrative territories are judicially linked to United States Secretary of War or share the border with Telve ?
OR((Q2419102,P1001,c(Q15617994)), (Q326883,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2419102
relation P1001
action find
entity Q326883
relation P47
type Q15617994
{'OR': [['Q2419102', 'P1001', {'concept': 'Q15617994'}], ['Q326883', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2419102 property:P1001 ?m } UNION { resource:Q326883 property:P47 ?m } } . ?m rdf:type ontology:Q15617994 }
Telve United States Secretary of War
action filter_type
action union
action find
entity United States Secretary of War
relation applies to jurisdiction
action find
entity Telve
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States Secretary of War', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Telve', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:United_States_Secretary_of_War property:applies_to_jurisdiction ?m } UNION { resource:Telve property:shares_border_with ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q297290 Q246524 Q30 Q265003 Q244005 Q303941 Q327609 Q326913 Q298712
SYSTEM
Palù del Fersina, Borgo Valsugana, United States of America, Castelnuovo, Trentino, Baselga di Pinè, Scurelle, Valfloriana, Telve di Sopra, Pieve Tesino
Q297290 Q246524 Q30 Q265003 Q244005 Q303941 Q327609 Q326913 Q298712
OR((Q2419102,P1001,c(Q15617994)), (Q326883,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2419102
relation P1001
action find
entity Q326883
relation P47
type Q15617994
[ANSWERS] are judicially linked to United States Secretary of War or share the border with Telve
{'OR': [['Q2419102', 'P1001', {'concept': 'Q15617994'}], ['Q326883', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2419102 property:P1001 ?m } UNION { resource:Q326883 property:P47 ?m } } . ?m rdf:type ontology:Q15617994 }
Palù del Fersina Borgo Valsugana United States of America Castelnuovo, Trentino Baselga di Pinè Scurelle Valfloriana Telve di Sopra Pieve Tesino
Palù del Fersina, Borgo Valsugana, United States of America, Castelnuovo, Trentino, Baselga di Pinè, Scurelle, Valfloriana, Telve di Sopra and Pieve Tesino are judicially linked to United States Secretary of War or share the border with Telve
Palù del Fersina Borgo Valsugana United States of America Castelnuovo, Trentino Baselga di Pinè Scurelle Valfloriana Telve di Sopra Pieve Tesino
action filter_type
action union
action find
entity United States Secretary of War
relation applies to jurisdiction
action find
entity Telve
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States Secretary of War', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Telve', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:United_States_Secretary_of_War property:applies_to_jurisdiction ?m } UNION { resource:Telve property:shares_border_with ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q297290 Q246524 Q30 Q265003 Q244005 Q303941 Q327609 Q326913 Q298712
P47
Q15617994
USER
Which administrative territories are next to the border of Palù del Fersina, Borgo Valsugana, United States of America, Castelnuovo, Trentino, Baselga di Pinè, Scurelle, Valfloriana, Telve di Sopra and Pieve Tesino ?
(c(Q15617994),P47,Q297290) (c(Q15617994),P47,Q246524) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q265003) (c(Q15617994),P47,Q244005) (c(Q15617994),P47,Q303941) (c(Q15617994),P47,Q327609) (c(Q15617994),P47,Q326913) (c(Q15617994),P47,Q298712)
action union
action filter_type
action find_reverse
entity Q297290
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q246524
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q265003
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q244005
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q303941
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q327609
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q326913
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q298712
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q297290'] [{'concept': 'Q15617994'}, 'P47', 'Q246524'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q265003'] [{'concept': 'Q15617994'}, 'P47', 'Q244005'] [{'concept': 'Q15617994'}, 'P47', 'Q303941'] [{'concept': 'Q15617994'}, 'P47', 'Q327609'] [{'concept': 'Q15617994'}, 'P47', 'Q326913'] [{'concept': 'Q15617994'}, 'P47', 'Q298712']
SELECT DISTINCT ?p WHERE { { ?p property:P47 resource:Q297290 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P47 resource:Q246524 . ?p rdf:type ontology:Q15617994 } }
Palù del Fersina Borgo Valsugana United States of America Castelnuovo, Trentino Baselga di Pinè Scurelle Valfloriana Telve di Sopra Pieve Tesino
action union
action filter_type
action find_reverse
entity Palù del Fersina
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Borgo Valsugana
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Castelnuovo, Trentino
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Baselga di Pinè
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Scurelle
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Valfloriana
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Telve di Sopra
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pieve Tesino
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Palù del Fersina'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Borgo Valsugana'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelnuovo, Trentino'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Baselga di Pinè'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Scurelle'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Valfloriana'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Telve di Sopra'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Pieve Tesino']
SELECT DISTINCT ?p WHERE { { ?p property:shares_border_with resource:Palù_del_Fersina . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:shares_border_with resource:Borgo_Valsugana . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q159 Q96 Q717
SYSTEM
Russia, Mexico, Venezuela
Q286931 Q327341 Q326913 Q244005 Q326883 Q244037 Q301950 Q300979 Q47066 Q327341 Q296977 Q326913 Q326883 Q294678 Q300962 Q265003 Q241 Q159 Q717 Q96 Q804 Q47066 Q326883 Q303941 Q246524 Q297290 Q298424 Q327609 Q326883 Q200925 Q244037 Q301950 Q304120 Q298712 Q326780 Q326883 Q264885 Q305996 Q268071 Q265003 Q305780 Q258135 Q244005 Q326883 Q200925 Q297290 Q327341 Q326883 Q246524 Q257947 Q291110 Q296995 Q265227 Q326780 Q326883 Q327161 Q297577 Q264885 Q198320 Q268071 Q303941
(c(Q15617994),P47,Q297290) (c(Q15617994),P47,Q246524) (c(Q15617994),P47,Q30) (c(Q15617994),P47,Q265003) (c(Q15617994),P47,Q244005) (c(Q15617994),P47,Q303941) (c(Q15617994),P47,Q327609) (c(Q15617994),P47,Q326913) (c(Q15617994),P47,Q298712)
action union
action filter_type
action find_reverse
entity Q297290
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q246524
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q265003
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q244005
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q303941
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q327609
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q326913
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q298712
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P47
type Q15617994
[ANSWERS] are next to the border of Palù del Fersina, Borgo Valsugana, United States of America, Castelnuovo, Trentino, Baselga di Pinè, Scurelle, Valfloriana, Telve di Sopra and Pieve Tesino
[{'concept': 'Q15617994'}, 'P47', 'Q297290'] [{'concept': 'Q15617994'}, 'P47', 'Q246524'] [{'concept': 'Q15617994'}, 'P47', 'Q30'] [{'concept': 'Q15617994'}, 'P47', 'Q265003'] [{'concept': 'Q15617994'}, 'P47', 'Q244005'] [{'concept': 'Q15617994'}, 'P47', 'Q303941'] [{'concept': 'Q15617994'}, 'P47', 'Q327609'] [{'concept': 'Q15617994'}, 'P47', 'Q326913'] [{'concept': 'Q15617994'}, 'P47', 'Q298712']
SELECT DISTINCT ?p WHERE { { ?p property:P47 resource:Q297290 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P47 resource:Q246524 . ?p rdf:type ontology:Q15617994 } }
Fierozzo Torcegno Telve di Sopra Baselga di Pinè Telve Bedollo Sant'Orsola Terme Ronchi Valsugana Asiago Torcegno Novaledo Telve di Sopra Telve Levico Terme Roncegno Terme Castelnuovo, Trentino Cuba Russia Venezuela Mexico Panama Asiago Telve Scurelle Borgo Valsugana Palù del Fersina Pergine Valsugana Valfloriana Telve Lona-Lases Bedollo Sant'Orsola Terme Segonzano Pieve Tesino Strigno Telve Castello Tesino Spera Cinte Tesino Castelnuovo, Trentino Sover Capriana Baselga di Pinè Telve Lona-Lases Palù del Fersina Torcegno Telve Borgo Valsugana Canal San Bovo Ivano-Fracena Ospedaletto, Trentino Cavalese Strigno Telve Tesero Panchià Castello Tesino Ziano di Fiemme Cinte Tesino Scurelle
Russia, Mexico and Venezuela are next to the border of Palù del Fersina, Borgo Valsugana, United States of America, Castelnuovo, Trentino, Baselga di Pinè, Scurelle, Valfloriana, Telve di Sopra and Pieve Tesino
Russia Mexico Venezuela
action union
action filter_type
action find_reverse
entity Palù del Fersina
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Borgo Valsugana
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Castelnuovo, Trentino
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Baselga di Pinè
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Scurelle
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Valfloriana
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Telve di Sopra
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pieve Tesino
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Palù del Fersina'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Borgo Valsugana'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelnuovo, Trentino'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Baselga di Pinè'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Scurelle'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Valfloriana'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Telve di Sopra'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Pieve Tesino']
SELECT DISTINCT ?p WHERE { { ?p property:shares_border_with resource:Palù_del_Fersina . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:shares_border_with resource:Borgo_Valsugana . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]