Simple Question (Direct)
Simple Question
Q17635360
P106
Q12737077
USER
What is the job of Joaquín Luis Ramírez Rodríguez ?
(Q17635360,P106,c(Q12737077))
action filter_type
action find
entity Q17635360
relation P106
type Q12737077
['Q17635360', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q17635360 property:P106 ?s }
Joaquín Luis Ramírez Rodríguez
action filter_type
action find
entity Joaquín Luis Ramírez Rodríguez
relation occupation
type occupation
['Joaquín Luis Ramírez Rodríguez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Joaquín_Luis_Ramírez_Rodríguez property:occupation ?s }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q17635360,P106,c(Q12737077))
action filter_type
action find
entity Q17635360
relation P106
type Q12737077
The job of Joaquín Luis Ramírez Rodríguez is a [ANSWER]
['Q17635360', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q17635360 property:P106 ?s }
politician
The job of Joaquín Luis Ramírez Rodríguez is a politician
politician
action filter_type
action find
entity Joaquín Luis Ramírez Rodríguez
relation occupation
type occupation
['Joaquín Luis Ramírez Rodríguez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Joaquín_Luis_Ramírez_Rodríguez property:occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17635360
P39
Q12737077
USER
What was the position held by that person ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q17635360
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q17635360 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Joaquín Luis Ramírez Rodríguez
action filter_type
action find
entity Joaquín Luis Ramírez Rodríguez
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Joaquín_Luis_Ramírez_Rodríguez property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q19323171
SYSTEM
Member of the Senate of Spain
Q19323171
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q17635360
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q17635360 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of the Senate of Spain
The position held by that person was Member of the Senate of Spain
Member of the Senate of Spain
action filter_type
action find
entity Joaquín Luis Ramírez Rodríguez
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Joaquín_Luis_Ramírez_Rodríguez property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q525692 Q17635360
P39 P106
Q12737077
USER
Which occupations were the positions occupied by Joaquín Luis Ramírez Rodríguez or are the job of Roberto Schwarz ?
OR((Q17635360,P39,c(Q12737077)), (Q525692,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q17635360
relation P39
action find
entity Q525692
relation P106
type Q12737077
{'OR': [['Q17635360', 'P39', {'concept': 'Q12737077'}], ['Q525692', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q525692 property:P106 ?t } UNION { resource:Q17635360 property:P39 ?t } } . ?t rdf:type ontology:Q12737077 }
Roberto Schwarz Joaquín Luis Ramírez Rodríguez
action filter_type
action union
action find
entity Joaquín Luis Ramírez Rodríguez
relation position held
action find
entity Roberto Schwarz
relation occupation
type occupation
{'OR': [['Joaquín Luis Ramírez Rodríguez', 'position held', {'concept': 'occupation'}], ['Roberto Schwarz', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Roberto_Schwarz property:occupation ?t } UNION { resource:Joaquín_Luis_Ramírez_Rodríguez property:position_held ?t } } . ?t rdf:type ontology:occupation }
[]
occupation
Q1930187 Q4263842 Q1622272 Q36180 Q19323171
SYSTEM
journalist, literary critic, university teacher, writer, Member of the Senate of Spain
Q1930187 Q4263842 Q1622272 Q36180 Q19323171
OR((Q17635360,P39,c(Q12737077)), (Q525692,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q17635360
relation P39
action find
entity Q525692
relation P106
type Q12737077
[ANSWERS] were the positions occupied by Joaquín Luis Ramírez Rodríguez or are the job of Roberto Schwarz
{'OR': [['Q17635360', 'P39', {'concept': 'Q12737077'}], ['Q525692', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q525692 property:P106 ?t } UNION { resource:Q17635360 property:P39 ?t } } . ?t rdf:type ontology:Q12737077 }
journalist literary critic university teacher writer Member of the Senate of Spain
Journalist, literary critic, university teacher, writer and Member of the Senate of Spain were the positions occupied by Joaquín Luis Ramírez Rodríguez or are the job of Roberto Schwarz
journalist literary critic university teacher writer Member of the Senate of Spain
action filter_type
action union
action find
entity Joaquín Luis Ramírez Rodríguez
relation position held
action find
entity Roberto Schwarz
relation occupation
type occupation
{'OR': [['Joaquín Luis Ramírez Rodríguez', 'position held', {'concept': 'occupation'}], ['Roberto Schwarz', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Roberto_Schwarz property:occupation ?t } UNION { resource:Joaquín_Luis_Ramírez_Rodríguez property:position_held ?t } } . ?t rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12044999 Q17635360
P27
Q15617994
USER
Which administrative territories are Joaquín Luis Ramírez Rodríguez or Petr Pelzer an inhabitant of ?
OR((Q17635360,P27,c(Q15617994)), (Q12044999,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17635360
relation P27
action find
entity Q12044999
relation P27
type Q15617994
{'OR': [['Q17635360', 'P27', {'concept': 'Q15617994'}], ['Q12044999', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Q17635360 ) ( resource:Q12044999 ) } . ?h property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Petr Pelzer Joaquín Luis Ramírez Rodríguez
action filter_type
action union
action find
entity Joaquín Luis Ramírez Rodríguez
relation country of citizenship
action find
entity Petr Pelzer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Joaquín Luis Ramírez Rodríguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Petr Pelzer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Joaquín_Luis_Ramírez_Rodríguez ) ( resource:Petr_Pelzer ) } . ?h property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q213
SYSTEM
Spain, Czech Republic
Q29 Q213
OR((Q17635360,P27,c(Q15617994)), (Q12044999,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17635360
relation P27
action find
entity Q12044999
relation P27
type Q15617994
[ANSWERS] are Joaquín Luis Ramírez Rodríguez or Petr Pelzer an inhabitant of
{'OR': [['Q17635360', 'P27', {'concept': 'Q15617994'}], ['Q12044999', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Q17635360 ) ( resource:Q12044999 ) } . ?h property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Spain Czech Republic
Spain and Czech Republic are Joaquín Luis Ramírez Rodríguez or Petr Pelzer an inhabitant of
Spain Czech Republic
action filter_type
action union
action find
entity Joaquín Luis Ramírez Rodríguez
relation country of citizenship
action find
entity Petr Pelzer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Joaquín Luis Ramírez Rodríguez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Petr Pelzer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?h ) { ( resource:Joaquín_Luis_Ramírez_Rodríguez ) ( resource:Petr_Pelzer ) } . ?h property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1006398
P748
Q12737077 Q502895 Q12737077
USER
How many occupations did approximately the same number of occupations or people appoint as Federal Chancellor of Austria ?
(c(Q12737077),P748,c(Q12737077)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1006398
relation P748
type Q12737077
type Q502895
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q1006398 property:P748 ?y . { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q502895 ) } . ?y rdf:type ?g } } } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?x ) WHERE { { ?q property:P748 ?m . ?q rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q12737077 } UNION { ?q property:P748 ?m . ?q rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } } GROUP BY ?q } }
Federal Chancellor of Austria
action count
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 common name
action count
action filter_multi_types
action find
entity Federal Chancellor of Austria
relation appointed by
type occupation
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Federal_Chancellor_of_Austria property:appointed_by ?y . { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:common_name ) } . ?y rdf:type ?g } } } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?x ) WHERE { { ?q property:appointed_by ?m . ?q rdf:type ontology:occupation . ?m rdf:type ontology:occupation } UNION { ?q property:appointed_by ?m . ?q rdf:type ontology:occupation . ?m rdf:type ontology:common_name } } GROUP BY ?q } }
[]
occupation common name occupation
SYSTEM
150
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q1846384 Q2631987 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q14984399 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q2484309 Q2012061 Q20736121 Q19190022 Q3251837 Q6865747 Q7444357 Q7444352 Q3246797 Q1749063 Q1371091 Q3315116 Q3477307 Q1369302 Q24636364 Q14565638 Q251724 Q835586 Q6572133 Q1006398 Q6865770 Q531471 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q2636053 Q15971570 Q464103 Q1430943 Q3556884 Q3858507 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1124265 Q1550276 Q208487 Q4294939 Q3477306 Q866756 Q6866295 Q4377230 Q7240361 Q565424 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q862559 Q3564227 Q6866264 Q6865750 Q7240360 Q182762 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q1060844 Q687075 Q3397406 Q3251775 Q1587677 Q691615 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q152814 Q3251793 Q1192903 Q6865904 Q2741479 Q195965 Q6123144 Q3401758 Q7240356 Q6865864 Q1975365 Q609884 Q13527909 Q3315114 Q11895063 Q1123764 Q1469153 Q12270260 Q6865789 Q7240368 Q1195270 Q3297079 Q6865995 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3315134 Q3259469 Q5097071 Q6865981 Q3777749 Q111784 Q1362216 Q3251807 Q13526082 Q6866016 Q1790154 Q6866422 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q25860233 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action count
action filter_multi_types
action find
entity Q1006398
relation P748
type Q12737077
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q1006398 property:P748 ?y . { VALUES ( ?g ) { ( ontology:Q12737077 ) ( ontology:Q502895 ) } . ?y rdf:type ?g } } } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?x ) WHERE { { ?q property:P748 ?m . ?q rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q12737077 } UNION { ?q property:P748 ?m . ?q rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } } GROUP BY ?q } }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Secretary of State for Wales Attorney General for England and Wales Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Secretary of State for Environment, Food and Rural Affairs Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Secretary of State for the Home Department Leader of the House of Lords Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Secretary of State for Work and Pensions Secretary of State for International Development Secretary of State for Transport Minister for Foreign Affairs of Sweden Secretary of State for Foreign and Commonwealth Affairs Minister for the Civil Service Secretary of State for Justice Secretary of State for Northern Ireland bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Prime Minister of Serbia Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Chancellor of the Exchequer Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs Leader of the House of Commons President of the Generalitat Valenciana Speaker of the House of Commons Prime Minister of Jamaica Deputy Prime Minister of Canada Secretary of State for Business, Energy and Industrial Strategy Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy List of Presidents of the Basque Autonomous Community Premier of Western Australia Prime Minister of Israel Minister of Agriculture Secretary of State for Education Prime Minister of Singapore Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Prime Minister of the Bahamas Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Prime Minister of Malaysia Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Prime Minister of Algeria President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Paymaster General Prime Minister of Sweden Secretary of State for Health Minister of the Environment Prime Minister of France Governor of the Virgin Islands Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Prime Minister of Malta Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Governor of Gibraltar Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Prime Minister of Georgia First Lord of the Treasury Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Armenia Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Premier of the Northwest Territories Prime Minister of Croatia Secretary of State for Culture, Media and Sport Minister for the Cabinet Office Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Minister for Women and Equalities Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Attorney General of Ireland Secretary of State for Scotland First Minister of Scotland Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain Secretary of State for Exiting the European Union bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
150
action count
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 common name
action count
action filter_multi_types
action find
entity Federal Chancellor of Austria
relation appointed by
type occupation
type common name
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Federal_Chancellor_of_Austria property:appointed_by ?y . { VALUES ( ?g ) { ( ontology:occupation ) ( ontology:common_name ) } . ?y rdf:type ?g } } } . FILTER ( ?x = ?b ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?x ) WHERE { { ?q property:appointed_by ?m . ?q rdf:type ontology:occupation . ?m rdf:type ontology:occupation } UNION { ?q property:appointed_by ?m . ?q rdf:type ontology:occupation . ?m rdf:type ontology:common_name } } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6456317
P737
Q502895
USER
Who was the person who influenced Juan Polo Velasco ?
(Q6456317,P737,c(Q502895))
action filter_type
action find
entity Q6456317
relation P737
type Q502895
['Q6456317', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q6456317 property:P737 ?v }
Juan Polo Velasco
action filter_type
action find
entity Juan Polo Velasco
relation influenced by
type common name
['Juan Polo Velasco', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Juan_Polo_Velasco property:influenced_by ?v }
[]
common name
Q2402329
SYSTEM
Mariano Benlliure
Q2402329
(Q6456317,P737,c(Q502895))
action filter_type
action find
entity Q6456317
relation P737
type Q502895
The person influenced Juan Polo Velasco was named [ANSWER]
['Q6456317', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q6456317 property:P737 ?v }
Mariano Benlliure
The person influenced Juan Polo Velasco was named Mariano Benlliure
Mariano Benlliure
action filter_type
action find
entity Juan Polo Velasco
relation influenced by
type common name
['Juan Polo Velasco', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Juan_Polo_Velasco property:influenced_by ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2402329 Q17516050
P170
Q838948
USER
Did that person make Francisco de Goya ?
(Q17516050,P170,Q2402329)
action is_in
entity Q2402329
action find
entity Q17516050
relation P170
['Q17516050', 'P170', 'Q2402329']
ASK WHERE { resource:Q17516050 property:P170 resource:Q2402329 }
Mariano Benlliure Francisco de Goya
action is_in
entity Mariano Benlliure
action find
entity Francisco de Goya
relation creator
['Francisco de Goya', 'creator', 'Mariano Benlliure']
ASK WHERE { resource:Francisco_de_Goya property:creator resource:Mariano_Benlliure }
[]
work of art
SYSTEM
YES
(Q17516050,P170,Q2402329)
action is_in
entity Q2402329
action find
entity Q17516050
relation P170
[ANSWER]
['Q17516050', 'P170', 'Q2402329']
ASK WHERE { resource:Q17516050 property:P170 resource:Q2402329 }
Yes
action is_in
entity Mariano Benlliure
action find
entity Francisco de Goya
relation creator
['Francisco de Goya', 'creator', 'Mariano Benlliure']
ASK WHERE { resource:Francisco_de_Goya property:creator resource:Mariano_Benlliure }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q58095 Q17635360
P102
Q7278
USER
Which political parties are Joaquín Luis Ramírez Rodríguez and José García-Margallo y Marfil affiliated with ?
AND((Q17635360,P102,c(Q7278)), (Q58095,P102,c(Q7278)))
action filter_type
action intersection
action find
entity Q17635360
relation P102
action find
entity Q58095
relation P102
type Q7278
{'AND': [['Q17635360', 'P102', {'concept': 'Q7278'}], ['Q58095', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?e WHERE { resource:Q17635360 property:P102 ?e . resource:Q58095 property:P102 ?e . ?e rdf:type ontology:Q7278 }
José García-Margallo y Marfil Joaquín Luis Ramírez Rodríguez
action filter_type
action intersection
action find
entity Joaquín Luis Ramírez Rodríguez
relation member of political party
action find
entity José García-Margallo y Marfil
relation member of political party
type political party
{'AND': [['Joaquín Luis Ramírez Rodríguez', 'member of political party', {'concept': 'political party'}], ['José García-Margallo y Marfil', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?e WHERE { resource:Joaquín_Luis_Ramírez_Rodríguez property:member_of_political_party ?e . resource:José_García-Margallo_y_Marfil property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]
political party
Q185088
SYSTEM
People's Party
Q185088
AND((Q17635360,P102,c(Q7278)), (Q58095,P102,c(Q7278)))
action filter_type
action intersection
action find
entity Q17635360
relation P102
action find
entity Q58095
relation P102
type Q7278
Party [ANSWER] is Joaquín Luis Ramírez Rodríguez and José García-Margallo y Marfil affiliated with
{'AND': [['Q17635360', 'P102', {'concept': 'Q7278'}], ['Q58095', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?e WHERE { resource:Q17635360 property:P102 ?e . resource:Q58095 property:P102 ?e . ?e rdf:type ontology:Q7278 }
People's Party
Party People's Party is Joaquín Luis Ramírez Rodríguez and José García-Margallo y Marfil affiliated with
People's Party
action filter_type
action intersection
action find
entity Joaquín Luis Ramírez Rodríguez
relation member of political party
action find
entity José García-Margallo y Marfil
relation member of political party
type political party
{'AND': [['Joaquín Luis Ramírez Rodríguez', 'member of political party', {'concept': 'political party'}], ['José García-Margallo y Marfil', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?e WHERE { resource:Joaquín_Luis_Ramírez_Rodríguez property:member_of_political_party ?e . resource:José_García-Margallo_y_Marfil property:member_of_political_party ?e . ?e rdf:type ontology:political_party }
[]