Simple Question (Direct)
Simple Question
Q1556706
P20
Q56061
USER
Where did Gustave Fallot expire ?
(Q1556706,P20,c(Q56061))
action filter_type
action find
entity Q1556706
relation P20
type Q56061
['Q1556706', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q1556706 property:P20 ?n }
Gustave Fallot
action filter_type
action find
entity Gustave Fallot
relation place of death
type administrative territorial entity
['Gustave Fallot', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Gustave_Fallot property:place_of_death ?n }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1556706,P20,c(Q56061))
action filter_type
action find
entity Q1556706
relation P20
type Q56061
Gustave Fallot expired [ANSWER]
['Q1556706', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q1556706 property:P20 ?n }
Paris
Gustave Fallot expired Paris
Paris
action filter_type
action find
entity Gustave Fallot
relation place of death
type administrative territorial entity
['Gustave Fallot', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Gustave_Fallot property:place_of_death ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P138
Q376799
USER
Which transport infrastructures are the eponym of that administrative territory ?
(c(Q376799),P138,Q90)
action filter_type
action find_reverse
entity Q90
relation P138
type Q376799
[{'concept': 'Q376799'}, 'P138', 'Q90']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q376799 . ?m property:P138 resource:Q90 }
Paris
action filter_type
action find_reverse
entity Paris
relation named after
type transport infrastructure
[{'concept': 'transport infrastructure'}, 'named after', 'Paris']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:transport_infrastructure . ?m property:named_after resource:Paris }
[]
transport infrastructure
Q19969004 Q3450942
SYSTEM
quai de Paris, rue de Paris
Q19969004 Q3450942
(c(Q376799),P138,Q90)
action filter_type
action find_reverse
entity Q90
relation P138
type Q376799
[ANSWERS] are the eponym of that administrative territory
[{'concept': 'Q376799'}, 'P138', 'Q90']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q376799 . ?m property:P138 resource:Q90 }
quai de Paris rue de Paris
Quai de Paris and rue de Paris are the eponym of that administrative territory
quai de Paris rue de Paris
action filter_type
action find_reverse
entity Paris
relation named after
type transport infrastructure
[{'concept': 'transport infrastructure'}, 'named after', 'Paris']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:transport_infrastructure . ?m property:named_after resource:Paris }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19969004 Q3450942
P138
Q56061
USER
Which administrative territories are the etymology of quai de Paris and rue de Paris ?
(Q19969004,P138,c(Q56061)) (Q3450942,P138,c(Q56061))
action union
action filter_type
action find
entity Q19969004
relation P138
type Q56061
action filter_type
action find
entity Q3450942
relation P138
type Q56061
['Q19969004', 'P138', {'concept': 'Q56061'}] ['Q3450942', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { resource:Q3450942 property:P138 ?k . ?k rdf:type ontology:Q56061 } UNION { ?k rdf:type ontology:Q56061 . resource:Q19969004 property:P138 ?k } }
quai de Paris rue de Paris
action union
action filter_type
action find
entity quai de Paris
relation named after
type administrative territorial entity
action filter_type
action find
entity rue de Paris
relation named after
type administrative territorial entity
['quai de Paris', 'named after', {'concept': 'administrative territorial entity'}] ['rue de Paris', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:rue_de_Paris property:named_after ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k rdf:type ontology:administrative_territorial_entity . resource:quai_de_Paris property:named_after ?k } }
[]
administrative territorial entity
Q90 Q90
SYSTEM
Paris
Q90 Q90
(Q19969004,P138,c(Q56061)) (Q3450942,P138,c(Q56061))
action union
action filter_type
action find
entity Q19969004
relation P138
type Q56061
action filter_type
action find
entity Q3450942
relation P138
type Q56061
[ANSWER] and [ANSWER] are the etymology of quai de [ANSWER] and rue de [ANSWER]
['Q19969004', 'P138', {'concept': 'Q56061'}] ['Q3450942', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { { resource:Q3450942 property:P138 ?k . ?k rdf:type ontology:Q56061 } UNION { ?k rdf:type ontology:Q56061 . resource:Q19969004 property:P138 ?k } }
Paris Paris
Paris and Paris are the etymology of quai de Paris and rue de Paris
Paris Paris
action union
action filter_type
action find
entity quai de Paris
relation named after
type administrative territorial entity
action filter_type
action find
entity rue de Paris
relation named after
type administrative territorial entity
['quai de Paris', 'named after', {'concept': 'administrative territorial entity'}] ['rue de Paris', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:rue_de_Paris property:named_after ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k rdf:type ontology:administrative_territorial_entity . resource:quai_de_Paris property:named_after ?k } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
How many administrative territories have adopted approximately the same number of holidays as patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) 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 ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
holiday administrative territorial entity
Comparative|Count over More/Less|Single entity type|Clarification
Q90
SYSTEM
Did you mean Paris ?
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Did you mean Paris ?
Paris
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
[]
SYSTEM
125
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))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) 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
125
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) 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
Q7262403
P17
Q15617994
USER
Which administrative territory is Putra World Trade Centre a part of ?
(Q7262403,P17,c(Q15617994))
action filter_type
action find
entity Q7262403
relation P17
type Q15617994
['Q7262403', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7262403 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Putra World Trade Centre
action filter_type
action find
entity Putra World Trade Centre
relation country
type designation for an administrative territorial entity
['Putra World Trade Centre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Putra_World_Trade_Centre property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833
SYSTEM
Malaysia
Q833
(Q7262403,P17,c(Q15617994))
action filter_type
action find
entity Q7262403
relation P17
type Q15617994
[ANSWER] is Putra World Trade Centre a part of
['Q7262403', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7262403 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Malaysia
Malaysia is Putra World Trade Centre a part of
Malaysia
action filter_type
action find
entity Putra World Trade Centre
relation country
type designation for an administrative territorial entity
['Putra World Trade Centre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Putra_World_Trade_Centre property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13092326
Q15617994
USER
And what about Bungur Baru?
(Q13092326,P17,c(Q15617994))
action filter_type
action find
entity Q13092326
relation P17
type Q15617994
['Q13092326', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q13092326 property:P17 ?a }
Bungur Baru
action filter_type
action find
entity Bungur Baru
relation country
type designation for an administrative territorial entity
['Bungur Baru', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bungur_Baru property:country ?a }
[]
designation for an administrative territorial entity
Q252
SYSTEM
Indonesia
Q252
(Q13092326,P17,c(Q15617994))
action filter_type
action find
entity Q13092326
relation P17
type Q15617994
[ANSWER]
['Q13092326', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q13092326 property:P17 ?a }
Indonesia
Indonesia
action filter_type
action find
entity Bungur Baru
relation country
type designation for an administrative territorial entity
['Bungur Baru', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bungur_Baru property:country ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q252 Q26479376
P17
Q3700011
USER
Is Sidomakmur located in that administrative territory ?
(Q26479376,P17,Q252)
action is_in
entity Q252
action find
entity Q26479376
relation P17
['Q26479376', 'P17', 'Q252']
ASK WHERE { resource:Q26479376 property:P17 resource:Q252 }
Indonesia Sidomakmur
action is_in
entity Indonesia
action find
entity Sidomakmur
relation country
['Sidomakmur', 'country', 'Indonesia']
ASK WHERE { resource:Sidomakmur property:country resource:Indonesia }
[]
district of Indonesia
SYSTEM
YES
(Q26479376,P17,Q252)
action is_in
entity Q252
action find
entity Q26479376
relation P17
[ANSWER]
['Q26479376', 'P17', 'Q252']
ASK WHERE { resource:Q26479376 property:P17 resource:Q252 }
Yes
action is_in
entity Indonesia
action find
entity Sidomakmur
relation country
['Sidomakmur', 'country', 'Indonesia']
ASK WHERE { resource:Sidomakmur property:country resource:Indonesia }
[]