Simple Question (Direct)
Simple Question
Q1390516
P20
Q56061
USER
Where did the expiration of Fabio Colonna occur ?
(Q1390516,P20,c(Q56061))
action filter_type
action find
entity Q1390516
relation P20
type Q56061
['Q1390516', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1390516 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Fabio Colonna
action filter_type
action find
entity Fabio Colonna
relation place of death
type administrative territorial entity
['Fabio Colonna', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Fabio_Colonna property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q1390516,P20,c(Q56061))
action filter_type
action find
entity Q1390516
relation P20
type Q56061
The expiration of Fabio Colonna occurred in [ANSWER]
['Q1390516', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1390516 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Naples
The expiration of Fabio Colonna occurred in Naples
Naples
action filter_type
action find
entity Fabio Colonna
relation place of death
type administrative territorial entity
['Fabio Colonna', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Fabio_Colonna property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1390516
P734
Q82799
USER
Who is associated with Fabio Colonna ?
(Q1390516,P734,c(Q82799))
action filter_type
action find
entity Q1390516
relation P734
type Q82799
['Q1390516', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q1390516 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Fabio Colonna
action filter_type
action find
entity Fabio Colonna
relation family name
type name
['Fabio Colonna', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Fabio_Colonna property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q16865694
SYSTEM
Colonna
Q16865694
(Q1390516,P734,c(Q82799))
action filter_type
action find
entity Q1390516
relation P734
type Q82799
Family [ANSWER] is associated with Fabio [ANSWER]
['Q1390516', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q1390516 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Colonna
Family Colonna is associated with Fabio Colonna
Colonna
action filter_type
action find
entity Fabio Colonna
relation family name
type name
['Fabio Colonna', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Fabio_Colonna property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7298992
Q82799
USER
And also tell me about Raymond Martin?
(Q7298992,P734,c(Q82799))
action filter_type
action find
entity Q7298992
relation P734
type Q82799
['Q7298992', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q7298992 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Raymond Martin
action filter_type
action find
entity Raymond Martin
relation family name
type name
['Raymond Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Raymond_Martin property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q17744604
SYSTEM
Martin
Q17744604
(Q7298992,P734,c(Q82799))
action filter_type
action find
entity Q7298992
relation P734
type Q82799
[ANSWER]
['Q7298992', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q7298992 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Martin
Martin
action filter_type
action find
entity Raymond Martin
relation family name
type name
['Raymond Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Raymond_Martin property:family_name ?h . ?h rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are around 92 names in ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 92
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P407 ?q . ?q rdf:type ontology:Q34770 . ?y rdf:type ontology:Q82799 } GROUP BY ?q } . FILTER ( ?e = 92 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 92
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:language_of_work_or_name ?q . ?q rdf:type ontology:language . ?y rdf:type ontology:name } GROUP BY ?q } . FILTER ( ?e = 92 ) }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 92
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P407 ?q . ?q rdf:type ontology:Q34770 . ?y rdf:type ontology:Q82799 } GROUP BY ?q } . FILTER ( ?e = 92 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 92
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:language_of_work_or_name ?q . ?q rdf:type ontology:language . ?y rdf:type ontology:name } GROUP BY ?q } . FILTER ( ?e = 92 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q386724 Q340169
USER
Which names are expressed in atleast 1 works and medias ?
(c(Q386724)|c(Q340169),P180,c(Q82799))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q386724 ) } } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type media
value 1
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:media ) ( ontology:work ) } } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
[]
name work media
Q144 Q726 Q7368
SYSTEM
dog, horse, Ovis aries
Q5 Q726 Q830 Q3736439 Q7368 Q7369 Q144 Q24067392 Q3537778 Q1367 Q9394 Q7378
(c(Q386724)|c(Q340169),P180,c(Q82799))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
value 1
[ANSWERS] are expressed in atleast 1 works and medias
[[{'concept': 'Q386724'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q340169 ) ( ontology:Q386724 ) } } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
human horse cattle duck Ovis aries dolphin dog Boy donkeys monkey rabbit elephant
Dog, horse and Ovis aries are expressed in atleast 1 works and medias
dog horse Ovis aries
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type media
value 1
[[{'concept': 'work'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:media ) ( ontology:work ) } } GROUP BY ?c } . FILTER ( ?a >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories are around 1 holidays or people a patron saint of ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?g ) WHERE { { ?e property:P417 ?f . ?e rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1445650 } UNION { ?e rdf:type ontology:Q56061 . ?f rdf:type ontology:Q502895 . ?e property:P417 ?f } } GROUP BY ?e } . FILTER ( ?g = 1 ) }
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?g ) WHERE { { ?e property:patron_saint ?f . ?e rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:holiday } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:common_name . ?e property:patron_saint ?f } } GROUP BY ?e } . FILTER ( ?g = 1 ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 1
[ANSWERS] are around 1 holidays or people a patron saint of
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?g ) WHERE { { ?e property:P417 ?f . ?e rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1445650 } UNION { ?e rdf:type ontology:Q56061 . ?f rdf:type ontology:Q502895 . ?e property:P417 ?f } } GROUP BY ?e } . FILTER ( ?g = 1 ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan are around 1 holidays or people a patron saint of
Moscow Madrid Milan
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?g ) WHERE { { ?e property:patron_saint ?f . ?e rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:holiday } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:common_name . ?e property:patron_saint ?f } } GROUP BY ?e } . FILTER ( ?g = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5790949
P190
Q56061
USER
Are Kuh Neshin partner town of those ones ?
(Q5790949,P190,Q649) (Q5790949,P190,Q2807) (Q5790949,P190,Q490)
action is_in
entity prev_answer
action find
entity Q5790949
relation P190
['Q5790949', 'P190', 'Q649'] ['Q5790949', 'P190', 'Q2807'] ['Q5790949', 'P190', 'Q490']
ASK WHERE { VALUES ( ?w ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } . resource:Q5790949 property:P190 ?w }
Kuh Neshin
action is_in
entity prev_answer
action find
entity Kuh Neshin
relation sister city
['Kuh Neshin', 'sister city', 'Moscow'] ['Kuh Neshin', 'sister city', 'Madrid'] ['Kuh Neshin', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?w ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } . resource:Kuh_Neshin property:sister_city ?w }
[]
administrative territorial entity
SYSTEM
NO
(Q5790949,P190,Q649) (Q5790949,P190,Q2807) (Q5790949,P190,Q490)
action is_in
entity prev_answer
action find
entity Q5790949
relation P190
[ANSWER]
['Q5790949', 'P190', 'Q649'] ['Q5790949', 'P190', 'Q2807'] ['Q5790949', 'P190', 'Q490']
ASK WHERE { VALUES ( ?w ) { ( resource:Q5818 ) ( resource:Q187352 ) ( resource:Q11974 ) } . resource:Q5790949 property:P190 ?w }
No
action is_in
entity prev_answer
action find
entity Kuh Neshin
relation sister city
['Kuh Neshin', 'sister city', 'Moscow'] ['Kuh Neshin', 'sister city', 'Madrid'] ['Kuh Neshin', 'sister city', 'Milan']
ASK WHERE { VALUES ( ?w ) { ( resource:Córdoba ) ( resource:Kavala ) ( resource:Las_Palmas_de_Gran_Canaria ) } . resource:Kuh_Neshin property:sister_city ?w }
[]