Simple Question (Direct)
Simple Question
Q818003
P20
Q56061
USER
Where did the expiration of Benno Walldorf occur ?
(Q818003,P20,c(Q56061))
action filter_type
action find
entity Q818003
relation P20
type Q56061
['Q818003', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q818003 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Benno Walldorf
action filter_type
action find
entity Benno Walldorf
relation place of death
type administrative territorial entity
['Benno Walldorf', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Benno_Walldorf property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4165
SYSTEM
Bad Homburg vor der Höhe
Q4165
(Q818003,P20,c(Q56061))
action filter_type
action find
entity Q818003
relation P20
type Q56061
The expiration of Benno Walldorf occurred in [ANSWER]
['Q818003', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q818003 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Bad Homburg vor der Höhe
The expiration of Benno Walldorf occurred in Bad Homburg vor der Höhe
Bad Homburg vor der Höhe
action filter_type
action find
entity Benno Walldorf
relation place of death
type administrative territorial entity
['Benno Walldorf', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Benno_Walldorf property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q818003
P136
Q151885
USER
Which concept can be considered as genre of Benno Walldorf ?
(Q818003,P136,c(Q151885))
action filter_type
action find
entity Q818003
relation P136
type Q151885
['Q818003', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q818003 property:P136 ?d . ?d rdf:type ontology:Q151885 }
Benno Walldorf
action filter_type
action find
entity Benno Walldorf
relation genre
type concept
['Benno Walldorf', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Benno_Walldorf property:genre ?d . ?d rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q818003,P136,c(Q151885))
action filter_type
action find
entity Q818003
relation P136
type Q151885
[ANSWER] can be considered as genre of Benno Walldorf
['Q818003', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q818003 property:P136 ?d . ?d rdf:type ontology:Q151885 }
jazz
Jazz can be considered as genre of Benno Walldorf
jazz
action filter_type
action find
entity Benno Walldorf
relation genre
type concept
['Benno Walldorf', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Benno_Walldorf property:genre ?d . ?d rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q818003
P106
Q12737077
USER
What are the professions of Benno Walldorf ?
(Q818003,P106,c(Q12737077))
action filter_type
action find
entity Q818003
relation P106
type Q12737077
['Q818003', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q818003 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Benno Walldorf
action filter_type
action find
entity Benno Walldorf
relation occupation
type occupation
['Benno Walldorf', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Benno_Walldorf property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1028181 Q12800682
SYSTEM
painter, saxophonist
Q1028181 Q12800682
(Q818003,P106,c(Q12737077))
action filter_type
action find
entity Q818003
relation P106
type Q12737077
The professions of Benno Walldorf are the [ANSWERS]
['Q818003', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q818003 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
painter saxophonist
The professions of Benno Walldorf are the painter and saxophonist
painter saxophonist
action filter_type
action find
entity Benno Walldorf
relation occupation
type occupation
['Benno Walldorf', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Benno_Walldorf property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q585999
Q12737077
USER
And how about Arturo de Ascanio?
(Q585999,P106,c(Q12737077))
action filter_type
action find
entity Q585999
relation P106
type Q12737077
['Q585999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q585999 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Arturo de Ascanio
action filter_type
action find
entity Arturo de Ascanio
relation occupation
type occupation
['Arturo de Ascanio', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Arturo_de_Ascanio property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q15855449
SYSTEM
stage magician
Q15855449
(Q585999,P106,c(Q12737077))
action filter_type
action find
entity Q585999
relation P106
type Q12737077
[ANSWER]
['Q585999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q585999 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
stage magician
stage magician
action filter_type
action find
entity Arturo de Ascanio
relation occupation
type occupation
['Arturo de Ascanio', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Arturo_de_Ascanio property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q12737077 Q178706 Q12737077
USER
How many occupations did atleast 1 occupations and institutions appoint ?
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action count
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { { ?s property:P748 ?k . ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q12737077 } UNION { ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q178706 . ?s property:P748 ?k } } GROUP BY ?s } . FILTER ( ?d >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { { ?s property:appointed_by ?k . ?s rdf:type ontology:occupation . ?k rdf:type ontology:occupation } UNION { ?s rdf:type ontology:occupation . ?k rdf:type ontology:institution . ?s property:appointed_by ?k } } GROUP BY ?s } . FILTER ( ?d >= 1 ) }
[]
occupation institution occupation
SYSTEM
117
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q740126 Q4377222 Q15304810 Q1511951 Q191827 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q1749063 Q24636364 Q14565638 Q251724 Q1161813 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q16933549 Q18694351 Q45369 Q8882 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q5097071 Q6865981 Q634291 Q3251807 Q13526082 Q6866016 Q735587 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q6865902 Q738695 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q178706))
action count
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q178706
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { { ?s property:P748 ?k . ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q12737077 } UNION { ?s rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q178706 . ?s property:P748 ?k } } GROUP BY ?s } . FILTER ( ?d >= 1 ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government President of the European Parliament Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland President of the United Nations General Assembly Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport High Representative of the Union for Foreign Affairs and Security Policy Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
117
action count
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type institution
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'institution'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?d ) WHERE { { ?s property:appointed_by ?k . ?s rdf:type ontology:occupation . ?k rdf:type ontology:occupation } UNION { ?s rdf:type ontology:occupation . ?k rdf:type ontology:institution . ?s property:appointed_by ?k } } GROUP BY ?s } . FILTER ( ?d >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21646564 Q585999
P20
Q56061
USER
Which administrative territories did the demise of Arturo de Ascanio or Jeanne Françoise Ridderbosch occur ?
OR((Q585999,P20,c(Q56061)), (Q21646564,P20,c(Q56061)))
action filter_type
action union
action find
entity Q585999
relation P20
action find
entity Q21646564
relation P20
type Q56061
{'OR': [['Q585999', 'P20', {'concept': 'Q56061'}], ['Q21646564', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q585999 property:P20 ?q } UNION { resource:Q21646564 property:P20 ?q } } . ?q rdf:type ontology:Q56061 }
Jeanne Françoise Ridderbosch Arturo de Ascanio
action filter_type
action union
action find
entity Arturo de Ascanio
relation place of death
action find
entity Jeanne Françoise Ridderbosch
relation place of death
type administrative territorial entity
{'OR': [['Arturo de Ascanio', 'place of death', {'concept': 'administrative territorial entity'}], ['Jeanne Françoise Ridderbosch', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Arturo_de_Ascanio property:place_of_death ?q } UNION { resource:Jeanne_Françoise_Ridderbosch property:place_of_death ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q1296
SYSTEM
Madrid, Ghent
Q2807 Q1296
OR((Q585999,P20,c(Q56061)), (Q21646564,P20,c(Q56061)))
action filter_type
action union
action find
entity Q585999
relation P20
action find
entity Q21646564
relation P20
type Q56061
The demise of Arturo de Ascanio or Jeanne Françoise Ridderbosch occurred in [ANSWERS]
{'OR': [['Q585999', 'P20', {'concept': 'Q56061'}], ['Q21646564', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q585999 property:P20 ?q } UNION { resource:Q21646564 property:P20 ?q } } . ?q rdf:type ontology:Q56061 }
Madrid Ghent
The demise of Arturo de Ascanio or Jeanne Françoise Ridderbosch occurred in Madrid and Ghent
Madrid Ghent
action filter_type
action union
action find
entity Arturo de Ascanio
relation place of death
action find
entity Jeanne Françoise Ridderbosch
relation place of death
type administrative territorial entity
{'OR': [['Arturo de Ascanio', 'place of death', {'concept': 'administrative territorial entity'}], ['Jeanne Françoise Ridderbosch', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Arturo_de_Ascanio property:place_of_death ?q } UNION { resource:Jeanne_Françoise_Ridderbosch property:place_of_death ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
Which administrative territories have adopted around the same number of holidays as their patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
holiday administrative territorial entity
Comparative|More/Less|Single entity type|Clarification
Q1296
SYSTEM
Did you mean Ghent ?
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Did you mean Ghent ?
Ghent
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Comparative Reasoning (All)
USER
No, I meant Madrid. Could you tell me the answer for that?
(c(Q56061),P417,c(Q1445650))
Q2807
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
[]
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q264716 Q5818 Q187352 Q11974 Q12883498 Q40801 Q212841 Q54494 Q454875 Q14209773 Q50057 Q34111 Q117388 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q6221 Q2028 Q46718 Q929022 Q641 Q46165 Q649 Q58463 Q3395964 Q73489 Q54119 Q53825 Q200908 Q15090 Q81258 Q36647 Q13375 Q47074 Q59257 Q15088 Q4361 Q2914723 Q10305 Q53265 Q6340 Q101229 Q100129 Q52547 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q82208 Q116440 Q2284679 Q3557616 Q374108 Q3562704 Q220 Q90 Q496890 Q297224 Q431389 Q5991813 Q380189 Q617 Q470461 Q259039 Q733574 Q54556 Q932648 Q487786 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q100943 Q51400 Q504216 Q244193 Q1747381 Q51315 Q492475 Q334577 Q210470 Q39493 Q11959 Q329984 Q47034 Q15095 Q215080 Q270288 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q102820 Q15487 Q244207 Q1957 Q50074 Q1897 Q46864
(c(Q56061),P417,c(Q1445650))
[ANSWERS] have adopted around the same number of holidays as their patron saint as that administrative territory
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?z WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Carzano Córdoba Kavala Las Palmas de Gran Canaria Pano Platres Borca di Cadore Drama Belvedere di Spinello Amarante Municipality San Lorenzo de' Picenardi Cagnano Amiterno Pozzallo Strangolagalli Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Brescia Verona Carrè Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Koufalia Camerino San Pedro Altilia Rethymno Lleida Padula Cork Pisa Aielli Montefortino Tarragona Curitiba Nemausus Zaragoza Gemona del Friuli Castel Giorgio Martinengo Calvenzano Campomaggiore Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Kastritsa Arpino General Alvear, Mendoza Platres Altrei Molista Rome Paris Balestrate Padergnone Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Giardinello Istiaia Africo Didymoteicho Orihuela Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Sorbolo Spoltore St. Martin in Passeier Cagno Polykastro Villamagna Valença Quetzaltenango Katerini Cantello Alicante Úbeda Espoo Albacete Machala Riccò del Golfo di Spezia Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Nibbiano Berga Campione d'Italia Vologda Castellafiume Cagliari Arcugnano
Moscow, Madrid and Milan have adopted around the same number of holidays as their patron saint as that administrative territory
Moscow Madrid Milan
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?z WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2807
P237
Q17335294
USER
What is the ensign for Madrid ?
(Q2807,P237,c(Q17335294))
action filter_type
action find
entity Q2807
relation P237
type Q17335294
['Q2807', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q17335294 . resource:Q2807 property:P237 ?q }
Madrid
action filter_type
action find
entity Madrid
relation coat of arms
type flag or coat of arms
['Madrid', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:flag_or_coat_of_arms . resource:Madrid property:coat_of_arms ?q }
[]
flag or coat of arms
Q3775707
SYSTEM
Coat of arms of Madrid
Q3775707
(Q2807,P237,c(Q17335294))
action filter_type
action find
entity Q2807
relation P237
type Q17335294
The ensign for Madrid is the [ANSWER]
['Q2807', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q17335294 . resource:Q2807 property:P237 ?q }
Coat of arms of Madrid
The ensign for Madrid is the Coat of arms of Madrid
Coat of arms of Madrid
action filter_type
action find
entity Madrid
relation coat of arms
type flag or coat of arms
['Madrid', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:flag_or_coat_of_arms . resource:Madrid property:coat_of_arms ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P1427
Q15091377
USER
Which cycling race starts at that administrative territory ?
(c(Q15091377),P1427,Q3775707)
action filter_type
action find_reverse
entity Q2807
relation P1427
type Q15091377
[{'concept': 'Q15091377'}, 'P1427', 'Q3775707']
SELECT DISTINCT ?t WHERE { ?t property:P1427 resource:Q2807 . ?t rdf:type ontology:Q15091377 }
Madrid
action filter_type
action find_reverse
entity Madrid
relation start point
type cycling race
[{'concept': 'cycling race'}, 'start point', 'Coat of arms of Madrid']
SELECT DISTINCT ?t WHERE { ?t property:start_point resource:Madrid . ?t rdf:type ontology:cycling_race }
[]
cycling race
Q21030967
SYSTEM
2015 La Madrid Challenge by La Vuelta
Q21030967
(c(Q15091377),P1427,Q3775707)
action filter_type
action find_reverse
entity Q2807
relation P1427
type Q15091377
[ANSWER] starts at that administrative territory
[{'concept': 'Q15091377'}, 'P1427', 'Q3775707']
SELECT DISTINCT ?t WHERE { ?t property:P1427 resource:Q2807 . ?t rdf:type ontology:Q15091377 }
2015 La Madrid Challenge by La Vuelta
2015 La Madrid Challenge by La Vuelta starts at that administrative territory
2015 La Madrid Challenge by La Vuelta
action filter_type
action find_reverse
entity Madrid
relation start point
type cycling race
[{'concept': 'cycling race'}, 'start point', 'Coat of arms of Madrid']
SELECT DISTINCT ?t WHERE { ?t property:start_point resource:Madrid . ?t rdf:type ontology:cycling_race }
[]