Simple Question (Direct)
Simple Question
Q3619629
P19
Q56061
USER
Which administrative territory was Antonio García born at ?
(Q3619629,P19,c(Q56061))
action filter_type
action find
entity Q3619629
relation P19
type Q56061
['Q3619629', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q3619629 property:P19 ?z }
Antonio García
action filter_type
action find
entity Antonio García
relation place of birth
type administrative territorial entity
['Antonio García', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Antonio_García property:place_of_birth ?z }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q3619629,P19,c(Q56061))
action filter_type
action find
entity Q3619629
relation P19
type Q56061
Antonio García was born en [ANSWER]
['Q3619629', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q3619629 property:P19 ?z }
Madrid
Antonio García was born en Madrid
Madrid
action filter_type
action find
entity Antonio García
relation place of birth
type administrative territorial entity
['Antonio García', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Antonio_García property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2807
P47
Q1048835
USER
Which political territories are adjacent to that administrative territory ?
(Q2807,P47,c(Q1048835))
action filter_type
action find
entity Q2807
relation P47
type Q1048835
['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q2807 property:P47 ?f . ?f rdf:type ontology:Q1048835 }
Madrid
action filter_type
action find
entity Madrid
relation shares border with
type political territorial entity
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Madrid property:shares_border_with ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q55480 Q77433 Q842211
SYSTEM
Colmenar Viejo, Leganés, San Fernando de Henares
Q77433 Q484717 Q542958 Q664769 Q55480 Q427505 Q592747 Q644481 Q639422 Q10372 Q2046249 Q164197 Q842211 Q910410
(Q2807,P47,c(Q1048835))
action filter_type
action find
entity Q2807
relation P47
type Q1048835
[ANSWERS] are adjacent to that administrative territory
['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q2807 property:P47 ?f . ?f rdf:type ontology:Q1048835 }
Leganés San Sebastián de los Reyes Torrelodones Hoyo de Manzanares Colmenar Viejo Majadahonda Las Rozas de Madrid Rivas-Vaciamadrid Pozuelo de Alarcón Alcorcón Paracuellos de Jarama Coslada San Fernando de Henares Tres Cantos
Colmenar Viejo, Leganés and San Fernando de Henares are adjacent to that administrative territory
Colmenar Viejo Leganés San Fernando de Henares
action filter_type
action find
entity Madrid
relation shares border with
type political territorial entity
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Madrid property:shares_border_with ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2807
P47
Q56061
USER
Do those political territories share a border with Madrid ?
(Q2807,P47,Q55480) (Q2807,P47,Q77433) (Q2807,P47,Q842211)
action is_in
entity prev_answer
action find
entity Q2807
relation P47
['Q2807', 'P47', 'Q55480'] ['Q2807', 'P47', 'Q77433'] ['Q2807', 'P47', 'Q842211']
ASK WHERE { VALUES ( ?h ) { ( resource:Q77433 ) ( resource:Q484717 ) ( resource:Q542958 ) } . resource:Q2807 property:P47 ?h }
Madrid
action is_in
entity prev_answer
action find
entity Madrid
relation shares border with
['Madrid', 'shares border with', 'Colmenar Viejo'] ['Madrid', 'shares border with', 'Leganés'] ['Madrid', 'shares border with', 'San Fernando de Henares']
ASK WHERE { VALUES ( ?h ) { ( resource:Leganés ) ( resource:San_Sebastián_de_los_Reyes ) ( resource:Torrelodones ) } . resource:Madrid property:shares_border_with ?h }
[]
administrative territorial entity
SYSTEM
YES
(Q2807,P47,Q55480) (Q2807,P47,Q77433) (Q2807,P47,Q842211)
action is_in
entity prev_answer
action find
entity Q2807
relation P47
[ANSWER]
['Q2807', 'P47', 'Q55480'] ['Q2807', 'P47', 'Q77433'] ['Q2807', 'P47', 'Q842211']
ASK WHERE { VALUES ( ?h ) { ( resource:Q77433 ) ( resource:Q484717 ) ( resource:Q542958 ) } . resource:Q2807 property:P47 ?h }
Yes
action is_in
entity prev_answer
action find
entity Madrid
relation shares border with
['Madrid', 'shares border with', 'Colmenar Viejo'] ['Madrid', 'shares border with', 'Leganés'] ['Madrid', 'shares border with', 'San Fernando de Henares']
ASK WHERE { VALUES ( ?h ) { ( resource:Leganés ) ( resource:San_Sebastián_de_los_Reyes ) ( resource:Torrelodones ) } . resource:Madrid property:shares_border_with ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77433
P159
Q874405
USER
Which social group has its HQ location at Leganés ?
(c(Q874405),P159,Q77433)
action filter_type
action find_reverse
entity Q77433
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q77433']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q874405 . ?w property:P159 resource:Q77433 }
Leganés
action filter_type
action find_reverse
entity Leganés
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Leganés']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:social_group . ?w property:headquarters_location resource:Leganés }
[]
social group
Q6039118
SYSTEM
Institute IMDEA Networks
Q6039118
(c(Q874405),P159,Q77433)
action filter_type
action find_reverse
entity Q77433
relation P159
type Q874405
[ANSWER] has its HQ location at Leganés
[{'concept': 'Q874405'}, 'P159', 'Q77433']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q874405 . ?w property:P159 resource:Q77433 }
Institute IMDEA Networks
Institute IMDEA Networks has its HQ location at Leganés
Institute IMDEA Networks
action filter_type
action find_reverse
entity Leganés
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Leganés']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:social_group . ?w property:headquarters_location resource:Leganés }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77433
P1427
Q878123
USER
Which racing starts at Leganés ?
(c(Q878123),P1427,Q77433)
action filter_type
action find_reverse
entity Q77433
relation P1427
type Q878123
[{'concept': 'Q878123'}, 'P1427', 'Q77433']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q77433 . ?e rdf:type ontology:Q878123 }
Leganés
action filter_type
action find_reverse
entity Leganés
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Leganés']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Leganés . ?e rdf:type ontology:racing }
[]
racing
Q14702207
SYSTEM
2013 Vuelta a España, Stage 21
Q14702207
(c(Q878123),P1427,Q77433)
action filter_type
action find_reverse
entity Q77433
relation P1427
type Q878123
The [ANSWER] starts at Leganés
[{'concept': 'Q878123'}, 'P1427', 'Q77433']
SELECT DISTINCT ?e WHERE { ?e property:P1427 resource:Q77433 . ?e rdf:type ontology:Q878123 }
2013 Vuelta a España, Stage 21
The 2013 Vuelta a España, Stage 21 starts at Leganés
2013 Vuelta a España, Stage 21
action filter_type
action find_reverse
entity Leganés
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Leganés']
SELECT DISTINCT ?e WHERE { ?e property:start_point resource:Leganés . ?e rdf:type ontology:racing }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14702207
P641
Q31629
USER
Which type of sport did that racing participate in ?
(Q14702207,P641,c(Q31629))
action filter_type
action find
entity Q14702207
relation P641
type Q31629
['Q14702207', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?a WHERE { resource:Q14702207 property:P641 ?a . ?a rdf:type ontology:Q31629 }
2013 Vuelta a España, Stage 21
action filter_type
action find
entity 2013 Vuelta a España, Stage 21
relation sport
type type of sport
['2013 Vuelta a España, Stage 21', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?a WHERE { resource:2013_Vuelta_a_España,_Stage_21 property:sport ?a . ?a rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q14702207,P641,c(Q31629))
action filter_type
action find
entity Q14702207
relation P641
type Q31629
That racing participated in [ANSWER]
['Q14702207', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?a WHERE { resource:Q14702207 property:P641 ?a . ?a rdf:type ontology:Q31629 }
road bicycle racing
That racing participated in road bicycle racing
road bicycle racing
action filter_type
action find
entity 2013 Vuelta a España, Stage 21
relation sport
type type of sport
['2013 Vuelta a España, Stage 21', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?a WHERE { resource:2013_Vuelta_a_España,_Stage_21 property:sport ?a . ?a rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14702207
P1444
Q56061
USER
Which administrative territory is the end point of that racing ?
(Q3609,P1444,c(Q56061))
action filter_type
action find
entity Q14702207
relation P1444
type Q56061
['Q3609', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q14702207 property:P1444 ?q . ?q rdf:type ontology:Q56061 }
2013 Vuelta a España, Stage 21
action filter_type
action find
entity 2013 Vuelta a España, Stage 21
relation destination point
type administrative territorial entity
['road bicycle racing', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:2013_Vuelta_a_España,_Stage_21 property:destination_point ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q3609,P1444,c(Q56061))
action filter_type
action find
entity Q14702207
relation P1444
type Q56061
[ANSWER] is the end point of that racing
['Q3609', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q14702207 property:P1444 ?q . ?q rdf:type ontology:Q56061 }
Madrid
Madrid is the end point of that racing
Madrid
action filter_type
action find
entity 2013 Vuelta a España, Stage 21
relation destination point
type administrative territorial entity
['road bicycle racing', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:2013_Vuelta_a_España,_Stage_21 property:destination_point ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2807 Q2906656 Q6394868
P190
Q56061
USER
Is that administrative territory twin town of Blitterswijck and Palanglu ?
(Q2807,P190,Q2906656) (Q2807,P190,Q6394868)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q2906656
relation P190
action find_reverse
entity Q6394868
relation P190
['Q2807', 'P190', 'Q2906656'] ['Q2807', 'P190', 'Q6394868']
ASK WHERE { resource:Q2807 property:P190 resource:Q2906656 . resource:Q2807 property:P190 resource:Q6394868 }
Madrid Blitterswijck Palanglu
action is_in
entity Madrid
action intersection
action find_reverse
entity Blitterswijck
relation sister city
action find_reverse
entity Palanglu
relation sister city
['Madrid', 'sister city', 'Blitterswijck'] ['Madrid', 'sister city', 'Palanglu']
ASK WHERE { resource:Madrid property:sister_city resource:Blitterswijck . resource:Madrid property:sister_city resource:Palanglu }
[]
administrative territorial entity
SYSTEM
NO
(Q2807,P190,Q2906656) (Q2807,P190,Q6394868)
action is_in
entity Q2807
action intersection
action find_reverse
entity Q2906656
relation P190
action find_reverse
entity Q6394868
relation P190
[ANSWER]
['Q2807', 'P190', 'Q2906656'] ['Q2807', 'P190', 'Q6394868']
ASK WHERE { resource:Q2807 property:P190 resource:Q2906656 . resource:Q2807 property:P190 resource:Q6394868 }
No
action is_in
entity Madrid
action intersection
action find_reverse
entity Blitterswijck
relation sister city
action find_reverse
entity Palanglu
relation sister city
['Madrid', 'sister city', 'Blitterswijck'] ['Madrid', 'sister city', 'Palanglu']
ASK WHERE { resource:Madrid property:sister_city resource:Blitterswijck . resource:Madrid property:sister_city resource:Palanglu }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2807
P291
Q732577 Q11032
USER
How many publications and newspapers have Madrid as their publication location ?
(c(Q732577),P291,Q2807) (c(Q11032),P291,Q2807)
action count
action union
action filter_type
action find_reverse
entity Q2807
relation P291
type Q732577
action filter_type
action find_reverse
entity Q2807
relation P291
type Q11032
[{'concept': 'Q732577'}, 'P291', 'Q2807'] [{'concept': 'Q11032'}, 'P291', 'Q2807']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:Q732577 ) ( ontology:Q11032 ) } . ?g rdf:type ?k }
Madrid
action count
action union
action filter_type
action find_reverse
entity Madrid
relation place of publication
type publication
action filter_type
action find_reverse
entity Madrid
relation place of publication
type newspaper
[{'concept': 'publication'}, 'place of publication', 'Madrid'] [{'concept': 'newspaper'}, 'place of publication', 'Madrid']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:publication ) ( ontology:newspaper ) } . ?g rdf:type ?k }
[]
publication newspaper
SYSTEM
29 publications and 36 newspapers
Q24762599 Q2879461 Q26237174 Q26235181 Q5648270 Q26236788 Q24231811 Q3049971 Q18644108 Q11681334 Q26207580 Q21682682 Q16578645 Q20652713 Q26227211 Q20757863 Q25197411 Q25929287 Q18327395 Q26220959 Q5821318 Q20013553 Q24707626 Q1324423 Q1141916 Q956914 Q21001944 Q24940492 Q26226409 Q23954957 Q5805385 Q921217 Q532267 Q9018285 Q25197407 Q966531 Q6419450 Q26209446 Q2747548 Q1835391 Q5821816 Q17274534 Q3312268 Q27312515 Q27304410 Q5682872 Q506978 Q191433 Q25513792 Q26220588 Q5822574 Q25255641 Q20203423 Q5965557 Q26217921 Q26160508 Q26197424 Q26213109 Q25631063 Q26224402 Q50009 Q24938738 Q3207827 Q26211333 Q18908007
(c(Q732577),P291,Q2807) (c(Q11032),P291,Q2807)
action count
action union
action filter_type
action find_reverse
entity Q2807
relation P291
type Q732577
action filter_type
action find_reverse
entity Q2807
relation P291
type Q11032
[ANSWER]
[{'concept': 'Q732577'}, 'P291', 'Q2807'] [{'concept': 'Q11032'}, 'P291', 'Q2807']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:Q732577 ) ( ontology:Q11032 ) } . ?g rdf:type ?k }
Las Dominicales del Libre Pensamiento La Libertad La Estafeta La Razón Española La Nación El Clamor Público La Avispa Heraldo de Madrid El Correo Nacional El Imparcial ABC: diario republicano de izquierdas Crisol infoLibre El Español La República Federal La Esperanza Boletín Bibliográfico Español Ahora Diario de avisos de Madrid La España El Censor Boletín de Orientación Bibliográfica Don Quijote El Nuevo Herald El Sol El Debate El Cruzado Español El Conciso La Periódico-manía Cuadernos de Política Social Diario de Madrid El Mundo La Solidaridad La Acción El Bibliógrafo Español y Estrangero Mundo Gráfico La Ilustración Española y Americana Gil Blas La Conquista del Estado Público El Ecologista El Censor Qué! Mercurio de España El Cabecilla Ya Diario 16 La Razón Bandera Social El Espectador El Motín Diario noticioso, curioso, erudito y comercial público y económico El Heraldo La Voz El Tío Camorra Diario oficial de avisos de Madrid El Cultural El Pensador Anuario de Prehistoria Madrileña El Diario Español El País Correo de los Ciegos La Correspondencia de España Rigoleto La Correspondencia Militar
29 publications and 36 newspapers
action count
action union
action filter_type
action find_reverse
entity Madrid
relation place of publication
type publication
action filter_type
action find_reverse
entity Madrid
relation place of publication
type newspaper
[{'concept': 'publication'}, 'place of publication', 'Madrid'] [{'concept': 'newspaper'}, 'place of publication', 'Madrid']
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:publication ) ( ontology:newspaper ) } . ?g rdf:type ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q956 Q77433
P190
Q56061
USER
Which administrative territories are sister town of Leganés or Beijing ?
OR((c(Q56061),P190,Q77433), (c(Q56061),P190,Q956))
action filter_type
action union
action find_reverse
entity Q77433
relation P190
action find_reverse
entity Q956
relation P190
type Q56061
{'OR': [[{'concept': 'Q56061'}, 'P190', 'Q77433'], [{'concept': 'Q56061'}, 'P190', 'Q956']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P190 resource:Q77433 } UNION { ?b property:P190 resource:Q956 } } . ?b rdf:type ontology:Q56061 }
Beijing Leganés
action filter_type
action union
action find_reverse
entity Leganés
relation sister city
action find_reverse
entity Beijing
relation sister city
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Leganés'], [{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing']]}
SELECT DISTINCT ?b WHERE { { { ?b property:sister_city resource:Leganés } UNION { ?b property:sister_city resource:Beijing } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1930 Q727 Q6722685 Q1010954 Q64 Q84 Q5776 Q3114 Q61 Q2280
SYSTEM
Some of them are Ottawa, Amsterdam, Macará, Somoto, Berlin, London, Bethlehem, Canberra, Washington, D.C., Minsk
Q1010954 Q6722685 Q727 Q649 Q1861 Q365 Q3114 Q1356850 Q34820 Q1524 Q1748 Q1520 Q1781 Q1489 Q5776 Q64 Q3630 Q3711 Q33935 Q3561 Q3805 Q2544562 Q84 Q85 Q1930 Q174 Q2868 Q8678 Q239 Q34647 Q490 Q2807 Q2280 Q3640 Q1490 Q210987 Q60 Q61
OR((c(Q56061),P190,Q77433), (c(Q56061),P190,Q956))
action filter_type
action union
action find_reverse
entity Q77433
relation P190
action find_reverse
entity Q956
relation P190
type Q56061
[ANSWERS] are sister town of Leganés or Beijing
{'OR': [[{'concept': 'Q56061'}, 'P190', 'Q77433'], [{'concept': 'Q56061'}, 'P190', 'Q956']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P190 resource:Q77433 } UNION { ?b property:P190 resource:Q956 } } . ?b rdf:type ontology:Q56061 }
Somoto Macará Amsterdam Moscow Bangkok Cologne Canberra La Agüera Santo Domingo Athens Copenhagen Astana Budapest Mexico City Bethlehem Berlin Jakarta Belgrade Tel Aviv Algiers Amman Targuist London Cairo Ottawa São Paulo Lima Rio de Janeiro Brussels Johannesburg Milan Madrid Minsk Ankara Tokyo Salo New York City Washington, D.C.
Ottawa, Amsterdam, Macará, Somoto, Berlin, London, Bethlehem, Canberra, Washington, D.C. and Minsk are sister town of Leganés or Beijing
Ottawa Amsterdam Macará Somoto Berlin London Bethlehem Canberra Washington, D.C. Minsk
action filter_type
action union
action find_reverse
entity Leganés
relation sister city
action find_reverse
entity Beijing
relation sister city
type administrative territorial entity
{'OR': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Leganés'], [{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing']]}
SELECT DISTINCT ?b WHERE { { { ?b property:sister_city resource:Leganés } UNION { ?b property:sister_city resource:Beijing } } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5776
P17
Q5589178
USER
Which regime is that administrative territory present in ?
(Q5776,P17,c(Q5589178))
action filter_type
action find
entity Q5776
relation P17
type Q5589178
['Q5776', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?d WHERE { resource:Q5776 property:P17 ?d . ?d rdf:type ontology:Q5589178 }
Bethlehem
action filter_type
action find
entity Bethlehem
relation country
type regime
['Bethlehem', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?d WHERE { resource:Bethlehem property:country ?d . ?d rdf:type ontology:regime }
[]
regime
Clarification for simple ques.
Q2280
SYSTEM
Did you mean Minsk ?
Q1930 Q727 Q6722685 Q1010954 Q64 Q84 Q5776 Q3114 Q61 Q2280
(Q1930,P17,c(Q5589178)) (Q727,P17,c(Q5589178)) (Q6722685,P17,c(Q5589178)) (Q1010954,P17,c(Q5589178)) (Q64,P17,c(Q5589178)) (Q84,P17,c(Q5589178)) (Q5776,P17,c(Q5589178)) (Q3114,P17,c(Q5589178)) (Q61,P17,c(Q5589178)) (Q2280,P17,c(Q5589178))
[ANSWER]
['Q1930', 'P17', {'concept': 'Q5589178'}] ['Q727', 'P17', {'concept': 'Q5589178'}] ['Q6722685', 'P17', {'concept': 'Q5589178'}] ['Q1010954', 'P17', {'concept': 'Q5589178'}] ['Q64', 'P17', {'concept': 'Q5589178'}] ['Q84', 'P17', {'concept': 'Q5589178'}] ['Q5776', 'P17', {'concept': 'Q5589178'}] ['Q3114', 'P17', {'concept': 'Q5589178'}] ['Q61', 'P17', {'concept': 'Q5589178'}] ['Q2280', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?d WHERE { resource:Q5776 property:P17 ?d . ?d rdf:type ontology:Q5589178 }
Ottawa Amsterdam Macará Somoto Berlin London Bethlehem Canberra Washington, D.C. Minsk
Did you mean Minsk ?
Minsk
['Ottawa', 'country', {'concept': 'regime'}] ['Amsterdam', 'country', {'concept': 'regime'}] ['Macará', 'country', {'concept': 'regime'}] ['Somoto', 'country', {'concept': 'regime'}] ['Berlin', 'country', {'concept': 'regime'}] ['London', 'country', {'concept': 'regime'}] ['Bethlehem', 'country', {'concept': 'regime'}] ['Canberra', 'country', {'concept': 'regime'}] ['Washington, D.C.', 'country', {'concept': 'regime'}] ['Minsk', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?d WHERE { resource:Bethlehem property:country ?d . ?d rdf:type ontology:regime }
[]
Simple Question (Coreferenced)
USER
No, I meant Bethlehem. Could you tell me the answer for that?
(Q5776,P17,c(Q5589178))
Q5776
['Q5776', 'P17', {'concept': 'Q5589178'}]
['Bethlehem', 'country', {'concept': 'regime'}]
[]
Q219060
SYSTEM
Palestine
Q219060
(Q5776,P17,c(Q5589178))
action filter_type
action find
entity Q5776
relation P17
type Q5589178
That administrative territory is in [ANSWER]
['Q5776', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ?d WHERE { resource:Q5776 property:P17 ?d . ?d rdf:type ontology:Q5589178 }
Palestine
That administrative territory is in Palestine
Palestine
action filter_type
action find
entity Bethlehem
relation country
type regime
['Bethlehem', 'country', {'concept': 'regime'}]
SELECT DISTINCT ?d WHERE { resource:Bethlehem property:country ?d . ?d rdf:type ontology:regime }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q4603307
P361
Q476300 Q18608583 Q878123
USER
Which racings are a part of approximately the same number of competitions and recurring sporting events as 2004 Speedway World Cup Event 2 ?
(c(Q878123),P361,c(Q476300)|c(Q18608583))
action approx
action union
action find_tuple_counts
relation P361
type Q878123
type Q476300
action find_tuple_counts
relation P361
type Q878123
type Q18608583
action count
action filter_multi_types
action find
entity Q4603307
relation P361
type Q476300
type Q18608583
[{'concept': 'Q878123'}, 'P361', [{'concept': 'Q476300'}, {'concept': 'Q18608583'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?r WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:Q18608583 ) ( ontology:Q476300 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:Q18608583 ) ( ontology:Q476300 ) } } . resource:Q4603307 property:P361 ?i } } . FILTER ( ?p = ?z ) }
2004 Speedway World Cup Event 2
action approx
action union
action find_tuple_counts
relation part of
type racing
type competition
action find_tuple_counts
relation part of
type racing
type recurring sporting event
action count
action filter_multi_types
action find
entity 2004 Speedway World Cup Event 2
relation part of
type competition
type recurring sporting event
[{'concept': 'racing'}, 'part of', [{'concept': 'competition'}, {'concept': 'recurring sporting event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?r WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:recurring_sporting_event ) ( ontology:competition ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:recurring_sporting_event ) ( ontology:competition ) } } . resource:2004_Speedway_World_Cup_Event_2 property:part_of ?i } } . FILTER ( ?p = ?z ) }
[]
competition recurring sporting event racing
Q20035570 Q21876099 Q21876103
SYSTEM
2015 Tour de Luxembourg, Prologue, 2005 Triptyque des Monts et Châteaux, Stage 1, 2005 Triptyque des Monts et Châteaux, Stage 3
Q16905663 Q22039354 Q22039351 Q22039352 Q22039353 Q221005 Q14931672 Q12122476 Q4606942 Q20035572 Q20035570 Q20035571 Q20035574 Q26208895 Q26208894 Q220969 Q596592 Q2473277 Q18213856 Q18213854 Q16929804 Q14643686 Q18213853 Q14643688 Q18213858 Q221078 Q19947297 Q19947292 Q18213563 Q18213561 Q2807488 Q20727961 Q16913638 Q2815949 Q2711078 Q18086068 Q18086067 Q18086066 Q18086065 Q2808384 Q4600504 Q17620782 Q13365502 Q4600500 Q221041 Q4603310 Q4603314 Q19818874 Q18220918 Q14928215 Q20087607 Q20087609 Q20087608 Q20645277 Q15881430 Q20645278 Q20645279 Q4606943 Q4606941 Q4606946 Q2807942 Q18086096 Q16303442 Q16938093 Q221091 Q14831009 Q4611953 Q4611952 Q4611955 Q22329696 Q17616422 Q20020763 Q20012554 Q596665 Q14702203 Q14702201 Q14702207 Q14702205 Q14702208 Q2703168 Q16964066 Q4600498 Q4609315 Q4600496 Q14654751 Q18043296 Q221010 Q22329693 Q4853241 Q22329695 Q15881407 Q20016668 Q325988 Q175399 Q2814779 Q18213559 Q18213558 Q18213555 Q18213550 Q2807499 Q16800741 Q2807491 Q13391015 Q751001 Q2813454 Q2813453 Q16929816 Q13033865 Q4600515 Q4603307 Q4603306 Q221112 Q13033863 Q20087614 Q20087615 Q20087612 Q20087613 Q20087611 Q1291433 Q13382735 Q20640442 Q20640443 Q20640444 Q20640445 Q20640446 Q16905637 Q16905635 Q4614812 Q18434799 Q13217403 Q13217400 Q16303458 Q4601858 Q4601854 Q4601851 Q4601850 Q4601853 Q2806904 Q19911371 Q221055 Q172859 Q17616437 Q952889 Q14855220 Q17620752 Q2713533 Q220988 Q16936986 Q22329694 Q220981 Q20012553 Q2808923 Q22329697 Q14645530 Q14702218 Q17055836 Q20728070 Q4609321 Q20025237 Q14850391 Q17055170 Q4358693 Q16905640 Q179346 Q15140193 Q20827564 Q20827565 Q20827562 Q20827563 Q20827560 Q20827561 Q17055304 Q15881415 Q20016679 Q19861645 Q20016673 Q20016670 Q20016671 Q221065 Q172920 Q4618443 Q4618444 Q4618445 Q4618448 Q596544 Q20750872 Q20070480 Q1498024 Q849059 Q4604882 Q4614811 Q221100 Q16915572 Q172932 Q849227 Q17134867 Q17134864 Q1804506 Q13217402 Q19947739 Q13033864 Q2810922 Q14702196 Q14702194 Q14702195 Q21876103 Q21876102 Q20858271 Q4600497 Q4614815 Q4614813 Q20025040 Q20025038 Q20025039 Q220996 Q14702199 Q14702221 Q20025248 Q4609318 Q4599114 Q4599115 Q4599117 Q4599111 Q4599118 Q17487511 Q13365503 Q14822123 Q2807651 Q4622462 Q4622461 Q4622460 Q12342244 Q12342245 Q12342247 Q12342241 Q12342242 Q20827559 Q18710415 Q2818174 Q2818172 Q15881426 Q172944 Q19947744 Q19947743 Q19947742 Q19947741 Q19947740 Q20155461 Q20155462 Q20155464 Q12342235 Q12342236 Q12342239 Q16905653 Q16905657 Q13370220 Q21876099 Q15087382 Q14702217 Q20070476 Q4611949 Q20070478 Q17591505 Q15069847 Q20087606 Q20070492 Q14702222 Q17115814 Q17620772 Q2807176 Q20025045 Q20025044 Q20025043 Q20025041 Q20645280 Q4604876 Q4604877 Q4604879 Q171576 Q4609317 Q14702210 Q14702212 Q14702214 Q14702216 Q2806903
(c(Q878123),P361,c(Q476300)|c(Q18608583))
action approx
action union
action find_tuple_counts
relation P361
type Q878123
type Q476300
action find_tuple_counts
relation P361
type Q878123
type Q18608583
action count
action filter_multi_types
action find
entity Q4603307
relation P361
type Q476300
type Q18608583
[ANSWERS]
[{'concept': 'Q878123'}, 'P361', [{'concept': 'Q476300'}, {'concept': 'Q18608583'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?r WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:Q18608583 ) ( ontology:Q476300 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:Q18608583 ) ( ontology:Q476300 ) } } . resource:Q4603307 property:P361 ?i } } . FILTER ( ?p = ?z ) }
2014 Giro d'Italia, Stage 9 2016 Tour d'Annaba, Stage 4 2016 Tour d'Annaba, Stage 1 2016 Tour d'Annaba, Stage 2 2016 Tour d'Annaba, Stage 3 1999 European Grand Prix Dutch Food Valley Classic 2013 2013 Giro d'Italia, Stage 1 2006 Speedway World Cup Event 2 2015 Tour de Luxembourg, Stage 2 2015 Tour de Luxembourg, Prologue 2015 Tour de Luxembourg, Stage 1 2015 Tour de Luxembourg, Stage 4 Visegrad 4 Bicycle Race - GP Hungary Visegrad 4 Bicycle Race - GP Slovakia 1994 European Grand Prix 1991 United States Grand Prix 2007 Vuelta a España, Stage 10 2014 Vuelta a España, Stage 8 2014 Vuelta a España, Stage 7 2014 Giro d'Italia, Stage 12 2013 Vuelta a España, Stage 1 2014 Vuelta a España, Stage 6 2013 Vuelta a España, Stage 2 2014 Vuelta a España, Stage 9 2005 European Grand Prix 2015 Giro d'Italia, Stage 8 2015 Giro d'Italia, Stage 10 2014 Vuelta a España, Stage 15 2014 Vuelta a España, Stage 14 1998 Vuelta a España, Stage 12 1957 Tour de Colombia, Stage 15 2014 Giro d'Italia, Stage 10 1999 Vuelta a España, Stage 2 2011 Giro d'Italia, Stage 10 2014 Vuelta a España, Stage 17 2014 Vuelta a España, Stage 18 2014 Vuelta a España, Stage 19 2014 Vuelta a España, Stage 20 1998 Vuelta/15 2002 Speedway World Cup Race-off 2014 Vuelta a España, Stage 5 2013 Giro d'Italia, Stage 16 2002 Speedway World Cup Final 2002 European Grand Prix 2004 Speedway World Cup Final 2004 Speedway World Cup Race-off 1953 Challenge Desgrange-Colombo 2014 Tour of Beijing Tour du Doubs 2013 2015 tour of Switzerland, Stage 2 2015 tour of Switzerland, Stage 4 2015 tour of Switzerland, Stage 3 2015 Arctic Race of Norway, Stage 1 Giro 2008/17 2015 Arctic Race of Norway, Stage 2 2015 Arctic Race of Norway, Stage 3 2006 Speedway World Cup Final 2006 Speedway World Cup Event 1 2006 Speedway World Cup Race-off 1998 Vuelta a España, Stage 14 2014 Vuelta a España, Stage 16 2014 Giro d'Italia, Stage 1 2014 Giro d'Italia, Stage 15 2006 European Grand Prix 2013 Schaal Sels 2008 Speedway World Cup Final 2008 Speedway World Cup Event 2 2008 Speedway World Cup Race-off 2016 Tour of Sarawak, Stage 4 2014 Vuelta a España, Stage 1 2015 Giro d'Italia, Stage 12 2015 Giro d'Italia, Stage 18 2000 United States Grand Prix 2013 Vuelta a España, Stage 9 2013 Vuelta a España, Stage 8 2013 Vuelta a España, Stage 21 2013 Vuelta a España, Stage 10 2013 Vuelta a España, Stage 20 2009 Vuelta a España, Stage 11 2014 Giro d'Italia, Stage 16 2002 Speedway World Cup Event 3 2007 Speedway World Cup Event 1 2002 Speedway World Cup Event 1 2013 Vuelta a España, Stage 3 2014 Grand Prix Cycliste de Montréal 2001 European Grand Prix 2016 Tour of Sarawak, Stage 1 cycling at the 2011 Commonwealth Youth Games 2016 Tour of Sarawak, Stage 3 Giro 2008/18 2015 Tour of Belgium, prologue 2011 Grand Prix Cycliste de Montréal points classification in the Tour de France 1998 Vuelta a España, Stage 20 2014 Vuelta a España, Stage 13 2014 Vuelta a España, Stage 12 2014 Vuelta a España, Stage 11 2014 Vuelta a España, Stage 10 2008 Giro d'Italia, Stage 12 to Stage 21#Stage 12 2014 Tour of Britain 2006 Vuelta a España, Stage 12 to Stage 21 2013 Giro d'Italia, Stage 21 Grand Prix Sven Nys 1999 Vuelta a España, Stage 19 1998 Vuelta a España, Stage 19 2014 Giro d'Italia, Stage 13 2013 Giro d'Italia, Stage 12 2002 Sure For Men Rockingham 500 2004 Speedway World Cup Event 2 2004 Speedway World Cup Event 1 2011 European Grand Prix 2013 Giro d'Italia, Stage 10 2015 tour of Switzerland, Stage 8 2015 tour of Switzerland, Stage 9 2015 tour of Switzerland, Stage 6 2015 tour of Switzerland, Stage 7 2015 tour of Switzerland, Stage 5 2008 Vuelta a España, Stage 12 to Stage 21 2013 Giro d'Italia, Stage 20 2015 Volta ao Algarve, Stage 1 2015 Volta ao Algarve, Stage 2 2015 Volta ao Algarve, Stage 3 2015 Volta ao Algarve, Stage 4 2015 Volta ao Algarve, Stage 5 2014 Giro d'Italia, Stage 5 2014 Giro d'Italia, Stage 4 2009 Speedway World Cup Event 2 2014 Vuelta a España, Stage 21 2013 Giro d'Italia, Stage 13 2013 Giro d'Italia, Stage 15 2014 Giro d'Italia, Stage 2 2003 Speedway World Cup Race-off 2003 Speedway World Cup Final 2003 Speedway World Cup Event 2 2003 Speedway World Cup Event 1 2003 Speedway World Cup Event 3 2006 Vuelta a España, Stage 1 to Stage 11 2015 Giro d'Italia, Stage 5 2003 European Grand Prix 2012 European Grand Prix 2014 Vuelta a España, Stage 2 2007 Vuelta a España, Stage 12 2013 RideLondon–Surrey Classic 2014 Vuelta a España, Stage 3 2012 Giro d'Italia, Stage 10 1996 European Grand Prix 2014 Giro d'Italia, Stage 14 2016 Tour of Sarawak, Stage 2 1995 European Grand Prix 2015 Giro d'Italia, Stage 17 1999 Vuelta a España, Stage 16 2016 Tour of Sarawak, Stage 5 2013 Vuelta a España, Stage 17 2013 Vuelta a España, Stage 13 2014 Giro d'Italia, Stage 19 2013 Giro d'Italia, Stage 19 2007 Speedway World Cup Race-off 2015 Tour of Estonia, Stage 1 Druivenkoers Overijse 2013 2014 Giro d'Italia, Stage 21 2011 Giro d'Italia, Stage 19 2014 Giro d'Italia, Stage 6 2008 European Grand Prix 1999 Vuelta a España, Stage 10 2015 Tour of Utah, Stage 6 2015 Tour of Utah, Stage 7 2015 Tour of Utah, Stage 4 2015 Tour of Utah, Stage 5 2015 Tour of Utah, Stage 2 2015 Tour of Utah, Stage 3 2014 Giro d'Italia, Stage 20 2008 Giro d'Italia, Stage 19 2015 Tour of Belgium, Stage 5 2015 Tour of California 2015 Tour of Belgium, Stage 4 2015 Tour of Belgium, Stage 2 2015 Tour of Belgium, Stage 3 2004 European Grand Prix 2010 European Grand Prix 2010 Speedway World Cup Event 1 2010 Speedway World Cup Event 2 2010 Speedway World Cup Final 2010 Speedway World Cup Race-off 1990 United States Grand Prix 2015 Vuelta a Colombia 2015 Tour of Croatia, Stage 5 criterium 2012 UCI World Tour 2005 Speedway World Cup Race-off 2009 Speedway World Cup Event 1 2007 European Grand Prix 2014 Giro d'Italia, Stage 11 2009 European Grand Prix 2008 Vuelta a España, Stage 1 2014 Giro d'Italia, Stage 18 2014 Giro d'Italia, Stage 17 Vuelta a Mallorca 2013 Giro d'Italia, Stage 14 2015 Giro d'Italia, Stage 3 2013 Giro d'Italia, Stage 11 1998 Vuelta a España, Stage 18 2013 Vuelta a España, Stage 6 2013 Vuelta a España, Stage 4 2013 Vuelta a España, Stage 5 2005 Triptyque des Monts et Châteaux, Stage 3 2005 Triptyque des Monts et Châteaux, Stage 2b 2001 Rockingham 500 2002 Speedway World Cup Event 2 2009 Speedway World Cup Race-off 2009 Speedway World Cup Final 2015 Giro d'Italia, Stage 14 2015 Giro d'Italia, Stage 16 2015 Giro d'Italia, Stage 15 1997 European Grand Prix 2013 Vuelta a España, Stage 7 2013 Vuelta a España, Stage 12 2015 Tour of Estonia, Stage 2 2007 Speedway World Cup Final 2001 Speedway World Cup Qualifying round 1 2001 Speedway World Cup Qualifying round 2 2001 Speedway World Cup Qualifying round 3 2001 Speedway World Cup Final 2001 Speedway World Cup Race-off 2014 Danmark Rundt 2013 Giro d'Italia, Stage 17 Tour du Poitou-Charentes 2013 1998 Vuelta/13 2011 Speedway World Cup Event 2 2011 Speedway World Cup Final 2011 Speedway World Cup Event 1 2013 Giro d'Italia, Stage 7 2013 Giro d'Italia, Stage 8 2013 Giro d'Italia, Stage 9 2013 Giro d'Italia, Stage 5 2013 Giro d'Italia, Stage 6 2015 Tour of Utah, Stage 1 2015 Tirreno–Adriatico 1999 Vuelta a España, Stage 6 1998 Vuelta a España, Stage 6 Giro 2008/16 2000 European Grand Prix 2015 Giro d'Italia, Stage 11 2015 Giro d'Italia, Stage 9 2015 Giro d'Italia, Stage 7 2015 Giro d'Italia, Stage 6 2015 Giro d'Italia, Stage 4 2015 Tour de Yorkshire, Stage 1 2015 Tour de Yorkshire, Stage 2 2015 Tour de Yorkshire, Stage 3 2013 Giro d'Italia, stage 2 2013 Giro d'Italia, Stage 3 2013 Giro d'Italia, Stage 4 2014 Giro d'Italia, Stage 7 2014 Giro d'Italia, Stage 8 2013 Giro d'Italia, Stage 18 2005 Triptyque des Monts et Châteaux, Stage 1 Chrono des Nations-Les Herbiers-Vendée 2013 2013 Vuelta a España, Stage 14 2015 Tour of Croatia, Stage 3 2008 Speedway World Cup Event 1 2015 Tour of Croatia, Stage 4 2014 Vattenfall Cyclassics 2013 Paris–Tours 2015 tour of Switzerland, Stage 1 2015 Tour of Croatia, Stage 2 2013 Vuelta a España, Stage 11 2011 Speedway World Cup Race-off 2014 Vuelta a España, Stage 4 1998 Vuelta/11 2015 Giro d'Italia, Stage 19 2015 Giro d'Italia, Stage 20 2015 Giro d'Italia, Stage 21 2015 Giro d'Italia, Stage 13 2015 Arctic Race of Norway, Stage 4 2005 Speedway World Cup Event 1 2005 Speedway World Cup Event 2 2005 Speedway World Cup Final 1993 European Grand Prix 2007 Speedway World Cup Event 2 2013 Vuelta a España, Stage 19 2013 Vuelta a España, Stage 18 2013 Vuelta a España, Stage 16 2013 Vuelta a España, Stage 15 1998 Vuelta/10
The 2015 Tour de Luxembourg, Prologue, 2005 Triptyque des Monts et Châteaux, Stage 1 and 2005 Triptyque des Monts et Châteaux, Stage 3 are a part of approximately the same number of competitions and recurring sporting events as 2004 Speedway World Cup Event 2
2015 Tour de Luxembourg, Prologue 2005 Triptyque des Monts et Châteaux, Stage 1 2005 Triptyque des Monts et Châteaux, Stage 3
action approx
action union
action find_tuple_counts
relation part of
type racing
type competition
action find_tuple_counts
relation part of
type racing
type recurring sporting event
action count
action filter_multi_types
action find
entity 2004 Speedway World Cup Event 2
relation part of
type competition
type recurring sporting event
[{'concept': 'racing'}, 'part of', [{'concept': 'competition'}, {'concept': 'recurring sporting event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?r WHERE { ?u rdf:type ?n . VALUES ( ?n ) { ( ontology:recurring_sporting_event ) ( ontology:competition ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { ?i rdf:type ?w . VALUES ( ?w ) { ( ontology:recurring_sporting_event ) ( ontology:competition ) } } . resource:2004_Speedway_World_Cup_Event_2 property:part_of ?i } } . FILTER ( ?p = ?z ) }
[]