Simple Question (Direct)
Simple Question
Q3765306
P39
Q12737077
USER
What was the position for which Giorgio Bornacin was appointed ?
(Q3765306,P39,c(Q12737077))
action filter_type
action find
entity Q3765306
relation P39
type Q12737077
['Q3765306', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3765306 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Giorgio Bornacin
action filter_type
action find
entity Giorgio Bornacin
relation position held
type occupation
['Giorgio Bornacin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Giorgio_Bornacin property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q18558478
SYSTEM
member of the Chamber of Deputies of the Italian Republic
Q18558478
(Q3765306,P39,c(Q12737077))
action filter_type
action find
entity Q3765306
relation P39
type Q12737077
[ANSWER]
['Q3765306', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3765306 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic
Member of the Chamber of Deputies of the Italian Republic
member of the Chamber of Deputies of the Italian Republic
action filter_type
action find
entity Giorgio Bornacin
relation position held
type occupation
['Giorgio Bornacin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Giorgio_Bornacin property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3765306
P106
Q12737077
USER
What is the profession of Giorgio Bornacin ?
(Q3765306,P106,c(Q12737077))
action filter_type
action find
entity Q3765306
relation P106
type Q12737077
['Q3765306', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q3765306 property:P106 ?n }
Giorgio Bornacin
action filter_type
action find
entity Giorgio Bornacin
relation occupation
type occupation
['Giorgio Bornacin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Giorgio_Bornacin property:occupation ?n }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3765306,P106,c(Q12737077))
action filter_type
action find
entity Q3765306
relation P106
type Q12737077
The profession of Giorgio Bornacin is a [ANSWER]
['Q3765306', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q3765306 property:P106 ?n }
politician
The profession of Giorgio Bornacin is a politician
politician
action filter_type
action find
entity Giorgio Bornacin
relation occupation
type occupation
['Giorgio Bornacin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Giorgio_Bornacin property:occupation ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7159858
Q12737077
USER
And how about Pedro Paulo Bruno?
(Q7159858,P106,c(Q12737077))
action filter_type
action find
entity Q7159858
relation P106
type Q12737077
['Q7159858', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7159858 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Pedro Paulo Bruno
action filter_type
action find
entity Pedro Paulo Bruno
relation occupation
type occupation
['Pedro Paulo Bruno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Pedro_Paulo_Bruno property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1028181 Q2865819 Q36180
SYSTEM
painter, opera singer, writer
Q1028181 Q2865819 Q36180 Q49757 Q177220
(Q7159858,P106,c(Q12737077))
action filter_type
action find
entity Q7159858
relation P106
type Q12737077
[ANSWERS]
['Q7159858', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7159858 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
painter opera singer writer poet singer
painter opera singer writer
action filter_type
action find
entity Pedro Paulo Bruno
relation occupation
type occupation
['Pedro Paulo Bruno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Pedro_Paulo_Bruno property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7159858
P20
Q56061
USER
Where did the demise of that person occur ?
(Q1028181,P20,c(Q56061)) (Q2865819,P20,c(Q56061)) (Q36180,P20,c(Q56061))
action filter_type
action find
entity Q7159858
relation P20
type Q56061
['Q1028181', 'P20', {'concept': 'Q56061'}] ['Q2865819', 'P20', {'concept': 'Q56061'}] ['Q36180', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q7159858 property:P20 ?d }
Pedro Paulo Bruno
action filter_type
action find
entity Pedro Paulo Bruno
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}] ['opera singer', 'place of death', {'concept': 'administrative territorial entity'}] ['writer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Pedro_Paulo_Bruno property:place_of_death ?d }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q1028181,P20,c(Q56061)) (Q2865819,P20,c(Q56061)) (Q36180,P20,c(Q56061))
action filter_type
action find
entity Q7159858
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q1028181', 'P20', {'concept': 'Q56061'}] ['Q2865819', 'P20', {'concept': 'Q56061'}] ['Q36180', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q7159858 property:P20 ?d }
Rio de Janeiro
The demise of that person occurred in Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Pedro Paulo Bruno
relation place of death
type administrative territorial entity
['painter', 'place of death', {'concept': 'administrative territorial entity'}] ['opera singer', 'place of death', {'concept': 'administrative territorial entity'}] ['writer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Pedro_Paulo_Bruno property:place_of_death ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P931
Q123705 Q62447
USER
How many neighborhoods and aerodromes do that administrative territory serve ?
(c(Q123705),P931,Q8678) (c(Q62447),P931,Q8678) (c(Q123705),P931,Q8678) (c(Q62447),P931,Q8678)
action count
action union
action filter_type
action find_reverse
entity Q8678
relation P931
type Q123705
action filter_type
action find_reverse
entity Q8678
relation P931
type Q62447
[{'concept': 'Q123705'}, 'P931', 'Q8678'] [{'concept': 'Q62447'}, 'P931', 'Q8678'] [{'concept': 'Q123705'}, 'P931', 'Q8678'] [{'concept': 'Q62447'}, 'P931', 'Q8678']
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:Q123705 ) ( ontology:Q62447 ) } }
action count
action union
action filter_type
action find_reverse
entity Rio de Janeiro
relation place served by airport
type neighborhood
action filter_type
action find_reverse
entity Rio de Janeiro
relation place served by airport
type aerodrome
[{'concept': 'neighborhood'}, 'place served by airport', 'Rio de Janeiro'] [{'concept': 'aerodrome'}, 'place served by airport', 'Rio de Janeiro'] [{'concept': 'neighborhood'}, 'place served by airport', 'Rio de Janeiro'] [{'concept': 'aerodrome'}, 'place served by airport', 'Rio de Janeiro']
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:neighborhood ) ( ontology:aerodrome ) } }
[]
neighborhood aerodrome
SYSTEM
1 neighborhoods and 7 aerodromes
Q1763149 Q3275411 Q865475 Q2625127 Q6749181 Q2786857 Q7419397 Q733998
(c(Q123705),P931,Q8678) (c(Q62447),P931,Q8678) (c(Q123705),P931,Q8678) (c(Q62447),P931,Q8678)
action count
action union
action filter_type
action find_reverse
entity Q8678
relation P931
type Q123705
action filter_type
action find_reverse
entity Q8678
relation P931
type Q62447
[ANSWER]
[{'concept': 'Q123705'}, 'P931', 'Q8678'] [{'concept': 'Q62447'}, 'P931', 'Q8678'] [{'concept': 'Q123705'}, 'P931', 'Q8678'] [{'concept': 'Q62447'}, 'P931', 'Q8678']
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:Q123705 ) ( ontology:Q62447 ) } }
Afonsos Air Force Base Galeão Air Force Base Santos Dumont Airport Jacarepaguá Airport Manguinhos Airport Bartolomeu de Gusmão Airport Santa Cruz Air Force Base Rio de Janeiro-Galeão International Airport
1 neighborhoods and 7 aerodromes
action count
action union
action filter_type
action find_reverse
entity Rio de Janeiro
relation place served by airport
type neighborhood
action filter_type
action find_reverse
entity Rio de Janeiro
relation place served by airport
type aerodrome
[{'concept': 'neighborhood'}, 'place served by airport', 'Rio de Janeiro'] [{'concept': 'aerodrome'}, 'place served by airport', 'Rio de Janeiro'] [{'concept': 'neighborhood'}, 'place served by airport', 'Rio de Janeiro'] [{'concept': 'aerodrome'}, 'place served by airport', 'Rio de Janeiro']
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { ?w rdf:type ?n . VALUES ( ?n ) { ( ontology:neighborhood ) ( ontology:aerodrome ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P127
Q811979
USER
Which architectural structures belongs to Rio de Janeiro ?
(c(Q811979),P127,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q8678']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q8678 . ?n rdf:type ontology:Q811979 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Rio de Janeiro']
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:Rio_de_Janeiro . ?n rdf:type ontology:architectural_structure }
[]
architectural structure
Q24255536 Q7089149
SYSTEM
Future Arena, Carioca Arena 1
Q24255536 Q7089149
(c(Q811979),P127,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P127
type Q811979
[ANSWERS] belong to Rio de Janeiro
[{'concept': 'Q811979'}, 'P127', 'Q8678']
SELECT DISTINCT ?n WHERE { ?n property:P127 resource:Q8678 . ?n rdf:type ontology:Q811979 }
Future Arena Carioca Arena 1
Future Arena and Carioca Arena 1 belong to Rio de Janeiro
Future Arena Carioca Arena 1
action filter_type
action find_reverse
entity Rio de Janeiro
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Rio de Janeiro']
SELECT DISTINCT ?n WHERE { ?n property:owned_by resource:Rio_de_Janeiro . ?n rdf:type ontology:architectural_structure }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24255536
P115
Q2312410
USER
Which sport discipline has that architectural structure as its home field ?
(c(Q2312410),P115,Q24255536)
action filter_type
action find_reverse
entity Q24255536
relation P115
type Q2312410
[{'concept': 'Q2312410'}, 'P115', 'Q24255536']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2312410 . ?j property:P115 resource:Q24255536 }
Future Arena
action filter_type
action find_reverse
entity Future Arena
relation home venue
type sport discipline
[{'concept': 'sport discipline'}, 'home venue', 'Future Arena']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport_discipline . ?j property:home_venue resource:Future_Arena }
[]
sport discipline
Clarification for simple ques.
Q7089149
SYSTEM
Did you mean Carioca Arena 1 ?
Q24255536 Q7089149
(c(Q2312410),P115,Q24255536) (c(Q2312410),P115,Q7089149)
[ANSWER]
[{'concept': 'Q2312410'}, 'P115', 'Q24255536'] [{'concept': 'Q2312410'}, 'P115', 'Q7089149']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2312410 . ?j property:P115 resource:Q24255536 }
Future Arena Carioca Arena 1
Did you mean Carioca Arena 1 ?
Carioca Arena 1
[{'concept': 'sport discipline'}, 'home venue', 'Future Arena'] [{'concept': 'sport discipline'}, 'home venue', 'Carioca Arena 1']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport_discipline . ?j property:home_venue resource:Future_Arena }
[]
Simple Question (Coreferenced)
USER
No, I meant Future Arena. Could you tell me the answer for that?
(c(Q2312410),P115,Q24255536)
Q24255536
[{'concept': 'Q2312410'}, 'P115', 'Q24255536']
[{'concept': 'sport discipline'}, 'home venue', 'Future Arena']
[]
Q11874157
SYSTEM
handball at the 2016 Summer Olympics
Q11874157
(c(Q2312410),P115,Q24255536)
action filter_type
action find_reverse
entity Q24255536
relation P115
type Q2312410
[ANSWER] has that architectural structure as its home field
[{'concept': 'Q2312410'}, 'P115', 'Q24255536']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2312410 . ?j property:P115 resource:Q24255536 }
handball at the 2016 Summer Olympics
Handball at the 2016 Summer Olympics has that architectural structure as its home field
handball at the 2016 Summer Olympics
action filter_type
action find_reverse
entity Future Arena
relation home venue
type sport discipline
[{'concept': 'sport discipline'}, 'home venue', 'Future Arena']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport_discipline . ?j property:home_venue resource:Future_Arena }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q11874157 Q155
P17
Q15617994
USER
Is that sport discipline present in Brazil ?
(Q11874157,P17,Q155)
action is_in
entity Q155
action find
entity Q11874157
relation P17
['Q11874157', 'P17', 'Q155']
ASK WHERE { resource:Q11874157 property:P17 resource:Q155 }
handball at the 2016 Summer Olympics Brazil
action is_in
entity Brazil
action find
entity handball at the 2016 Summer Olympics
relation country
['handball at the 2016 Summer Olympics', 'country', 'Brazil']
ASK WHERE { resource:handball_at_the_2016_Summer_Olympics property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11874157,P17,Q155)
action is_in
entity Q155
action find
entity Q11874157
relation P17
[ANSWER]
['Q11874157', 'P17', 'Q155']
ASK WHERE { resource:Q11874157 property:P17 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity handball at the 2016 Summer Olympics
relation country
['handball at the 2016 Summer Olympics', 'country', 'Brazil']
ASK WHERE { resource:handball_at_the_2016_Summer_Olympics property:country resource:Brazil }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q811979 Q811430 Q41176
USER
Which architectural structures are atmost 1 constructions or buildings named after ?
(c(Q811430)|c(Q41176),P138,c(Q811979))
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q811430
action find_reverse_tuple_counts
relation P138
type Q811979
type Q41176
value 1
[[{'concept': 'Q811430'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811430 ) ( ontology:Q41176 ) } } GROUP BY ?v } . FILTER ( ?a <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type construction
action find_reverse_tuple_counts
relation named after
type architectural structure
type building
value 1
[[{'concept': 'construction'}, {'concept': 'building'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:construction ) ( ontology:building ) } } GROUP BY ?v } . FILTER ( ?a <= 1 ) }
[]
architectural structure construction building
Q189503 Q390243 Q175055
SYSTEM
place de la Concorde, place Charles-de-Gaulle, place de la République
Q7418755 Q2083937 Q2071624 Q3390657 Q23907574 Q884433 Q16820 Q372141 Q17562765 Q164055 Q3389941 Q26451821 Q4868361 Q2465852 Q21834551 Q1781329 Q12061 Q2026601 Q631733 Q38888 Q114160 Q14935869 Q7929512 Q716848 Q2723969 Q26883247 Q10444878 Q2346256 Q908911 Q8546 Q27500602 Q13404 Q7430924 Q24445257 Q7162278 Q19274917 Q27014997 Q26825001 Q185600 Q24377198 Q7071305 Q779683 Q390243 Q1422975 Q3076267 Q648483 Q27014794 Q131183 Q17642754 Q72700 Q24067117 Q4250 Q1196667 Q1411047 Q108325 Q892168 Q7536373 Q24052608 Q254993 Q26252452 Q10549272 Q1621256 Q1248582 Q11481889 Q26885373 Q3397554 Q24340515 Q13218009 Q24499320 Q963509 Q3398926 Q4920798 Q16989961 Q1421991 Q10680668 Q27015068 Q526595 Q2006251 Q18394915 Q27070699 Q23655678 Q18752017 Q3077059 Q151510 Q15100601 Q26701445 Q15838952 Q16560 Q1062780 Q1196460 Q11087830 Q943856 Q189503 Q1608760 Q844426 Q1535247 Q2301532 Q11794512 Q458970 Q700887 Q26710939 Q15093782 Q23894156 Q516072 Q24003214 Q616334 Q23900618 Q1820520 Q4566667 Q2564462 Q1407236 Q24237074 Q2919893 Q274153 Q152783 Q7666363 Q1568693 Q334186 Q27070704 Q425754 Q2315019 Q26885214 Q2532668 Q24572884 Q24555705 Q21777873 Q16963684 Q24029433 Q14352349 Q3649219 Q24571923 Q23901268 Q701662 Q10543356 Q26954688 Q2099124 Q2416242 Q1130137 Q23933950 Q10537329 Q568577 Q179426 Q643520 Q4939768 Q15140170 Q10595668 Q1289370 Q1549893 Q12880480 Q271404 Q17831979 Q10602405 Q21891735 Q39374 Q24273546 Q10681017 Q26477027 Q1064141 Q23905061 Q26884934 Q23930082 Q276173 Q791408 Q26473355 Q21777231 Q2166466 Q785952 Q15132834 Q23637128 Q24013173 Q2577891 Q23907533 Q16964407 Q10562398 Q1750652 Q175055 Q7619466 Q23935160 Q1573359 Q778784 Q10508950 Q602694 Q23935699 Q24754427 Q1810764 Q23894667 Q24556649 Q51244 Q1126357 Q1110010 Q3390268 Q10673297 Q5747 Q1567693 Q9060456 Q525297 Q26698152 Q152974 Q16999453 Q2097879 Q14905549 Q18674701 Q23905111 Q24052640 Q614 Q2910246 Q3390224 Q174350 Q16966078 Q26813697 Q15135369 Q3783111 Q24500126 Q5620963 Q10601593 Q24261879 Q1235440 Q1550106 Q21959473 Q26954985 Q1966521 Q1327827 Q24050277 Q10680632 Q16965853 Q6936733 Q673526 Q1837926 Q23925229 Q23723997 Q15132823 Q700753 Q10712281 Q26452588
(c(Q811430)|c(Q41176),P138,c(Q811979))
action atmost
action union
action find_reverse_tuple_counts
relation P138
type Q811979
type Q811430
action find_reverse_tuple_counts
relation P138
type Q811979
type Q41176
value 1
1 [ANSWERS] are atmost 1 constructions or buildings named after
[[{'concept': 'Q811430'}, {'concept': 'Q41176'}], 'P138', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811430 ) ( ontology:Q41176 ) } } GROUP BY ?v } . FILTER ( ?a <= 1 ) }
Sankt Eriksplan Europaplein Piazza Cordusio place du Palais-Royal El Dragón mine Poppelsdorf Palace Strausberger Platz Älvsborg fortress Valli-Tarama Tiananmen Square place Louis-Pradel Mounana mine Bastnäs glory Jeffrey mine Gullmarsplan Tahrir Square Charax Ytterby mine Olympia Medborgarplatsen Mount Keith mine U.S. Bank Stadium Nybroplan place du Carrousel Aga mine Centralbadet Stettbrunnen Donáttornya Astroballe Gold quarry mine Poterne des Peupliers Schafteløkken Blue Bell mine (Baker) Penberthy Croft mine Bellerberg volcano Treasury Vault mine Låven island portico Maoniuping mine Nytorget Ausoniusstein place Charles-de-Gaulle place du Châtelet fontaine du Château d'eau Stockholm City Hall Fianel mine cabaret Eamont Bridge Les Feuillants Convent Clear Creek claim place Ampère Pont Louis-Philippe Náměstí Republiky chapel causeway Skorpion Zinc Narsaarsuk pegmatite Yakub Kolas Square former town hall of Paris 18th arrondissement Kristinehov pont de l'Alma Allchar deposit Nusamai Bridge Erzwies area Pont la Feuillée Centennial Eureka mine Mine Theresia Jote mine Pont Marie porte Montmartre Black Friars' Monastery of Stockholm Talnakh deposit Östermalmstorg Stockholm Telegraph Station Keystone mine place du Tertre Weesperplein Uchucchacua Serra Branca pegmatite Alacrán mine, Alacrán Cap Garonne mine Tsūjun Bridge University of Heidelberg Kipushi mine Scotia Talc mine Idrija mine palace forum Kintai Bridge Svornost mine Chungking Mansions place de la Concorde Hötorget Sergels torg Palais de Tokyo Waterlooplein Polkowice-Sieroszowice mine St. Pauli Landing Stages Theresienwiese Susanna mine Brommaplan Malyi Punkaruaiv mount Westfalenhallen Korshunovskoye iron-boron skarn deposit Vyšehrad Rappold mine Les Frigos Järntorget Beurs-World Trade Center weigh house Esquire no. 1 claim place Blanche water tower Alexanderplatz Södra Bankohuset Nieuwmarkt Abbey of Saint-Germain-des-Prés Pirquitas Ag-Sn deposit Omonoia Square Victoria Square Madoc area Plaza Italia, Buenos Aires Heftetjern pegmatite Centennial mine Heidelberger Platz Kuranakh mine Roua mines Hallveigarstaðir Cabot Square Jabel Harmun Alcaparrosa mine Stephansplatz Kanslihuset Tanohata mine Plaza San Martín Lubyanka Square Rudolfinum Harstigen mine Islandstorget Frankfurter Tor Ahoy Rotterdam place Vendôme Bollhuset Mackinaw Mine Nedre Manilla Mine Leonie Clara mine Duchess of Plaisance mansion Kolwezi Hvitfeldtsplatsen Norra Bankohuset Pooley Bridge Lindenhof Irhtem mine Stora Hornsberg Ojuela mine plaza Miserere Torrecillas mine Barika ore deposit El Guanaco ore deposit pavilion Batthyány tér Grand Reef mine Hohenzollernplatz Söyembikä Tower public bath Big and Small Somen's mill La Vendida mine Glücksstern mine, Gottlob hill place de la Bataille-de-Stalingrad N'Chwaning mines Mayak mine Lina gård Norrmalmstorg place de la République Stonington mansion Kawazu mine place de la Nation place de la Bastille Groens malmgård Odenplan Fuka mine Qaarsut place de Clichy Blue Lizard mine Lukkulaisvaara ultrabasic massif Admiralty Plaza de Mayo Collège de Navarre place de Valois Solna Centrum Palmyra Siglo Veinte mine Madrid Planetarium Piazzale Loreto Solongo boron deposit Karlsplatz Wessels mine place Denfert-Rochereau Huemul mine St Anne Cloister Cerchiara mine Jakobsberg mine place Bellecour Kikar HaShabbat place de Bretagne Tanco mine Qaqqaarsuk mine Tripuí Big and Small Pryssan Hanover Square Gurim anticline Gustaf Adolfs torg Nockeby torg Xitieshan mine Monastiraki Samson Pit Paratoo Copper mine Byrud Emerald mine place d'Italie Pont au Change Tashelginskoe formation Stockholm police house Ida Dome mine Munkbron Grand Châtelet Schuman roundabout Pollone mine Tsumeb mine Christian Hansson's mill Karlsplatz Valla torg Moctezuma mine
1 place de la Concorde, place Charles-de-Gaulle and place de la République are atmost 1 constructions or buildings named after
place de la Concorde place Charles-de-Gaulle place de la République
action atmost
action union
action find_reverse_tuple_counts
relation named after
type architectural structure
type construction
action find_reverse_tuple_counts
relation named after
type architectural structure
type building
value 1
[[{'concept': 'construction'}, {'concept': 'building'}], 'named after', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?v WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:construction ) ( ontology:building ) } } GROUP BY ?v } . FILTER ( ?a <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189503
P1427
Q79007
USER
Which street has place de la Concorde as the start location ?
(c(Q79007),P1427,Q189503)
action filter_type
action find_reverse
entity Q189503
relation P1427
type Q79007
[{'concept': 'Q79007'}, 'P1427', 'Q189503']
SELECT DISTINCT ?n WHERE { ?n property:P1427 resource:Q189503 . ?n rdf:type ontology:Q79007 }
place de la Concorde
action filter_type
action find_reverse
entity place de la Concorde
relation start point
type street
[{'concept': 'street'}, 'start point', 'place de la Concorde']
SELECT DISTINCT ?n WHERE { ?n property:start_point resource:place_de_la_Concorde . ?n rdf:type ontology:street }
[]
street
Q550
SYSTEM
avenue des Champs-Élysées
Q550
(c(Q79007),P1427,Q189503)
action filter_type
action find_reverse
entity Q189503
relation P1427
type Q79007
[ANSWER] has place de la Concorde as the start location
[{'concept': 'Q79007'}, 'P1427', 'Q189503']
SELECT DISTINCT ?n WHERE { ?n property:P1427 resource:Q189503 . ?n rdf:type ontology:Q79007 }
avenue des Champs-Élysées
Avenue des Champs-Élysées has place de la Concorde as the start location
avenue des Champs-Élysées
action filter_type
action find_reverse
entity place de la Concorde
relation start point
type street
[{'concept': 'street'}, 'start point', 'place de la Concorde']
SELECT DISTINCT ?n WHERE { ?n property:start_point resource:place_de_la_Concorde . ?n rdf:type ontology:street }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189503
P47
Q34442
USER
Which roads are adjacent to place de la Concorde ?
(Q189503,P47,c(Q34442))
action filter_type
action find
entity Q189503
relation P47
type Q34442
['Q189503', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?x WHERE { resource:Q189503 property:P47 ?x . ?x rdf:type ontology:Q34442 }
place de la Concorde
action filter_type
action find
entity place de la Concorde
relation shares border with
type road
['place de la Concorde', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?x WHERE { resource:place_de_la_Concorde property:shares_border_with ?x . ?x rdf:type ontology:road }
[]
road
Q141747 Q3447184 Q3496877
SYSTEM
rue de Rivoli, rue Boissy-d'Anglas, voie Georges-Pompidou
Q3447184 Q1027719 Q3449869 Q3496877 Q141747
(Q189503,P47,c(Q34442))
action filter_type
action find
entity Q189503
relation P47
type Q34442
[ANSWERS] are adjacent to place de la Concorde
['Q189503', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?x WHERE { resource:Q189503 property:P47 ?x . ?x rdf:type ontology:Q34442 }
rue Boissy-d'Anglas rue Royale rue Saint-Florentin voie Georges-Pompidou rue de Rivoli
Rue de Rivoli, rue Boissy-d'Anglas and voie Georges-Pompidou are adjacent to place de la Concorde
rue de Rivoli rue Boissy-d'Anglas voie Georges-Pompidou
action filter_type
action find
entity place de la Concorde
relation shares border with
type road
['place de la Concorde', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?x WHERE { resource:place_de_la_Concorde property:shares_border_with ?x . ?x rdf:type ontology:road }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q189503
Q79007
USER
And which street?
(Q189503,P47,c(Q79007))
action filter_type
action find
entity Q189503
relation P47
type Q79007
['Q189503', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?g WHERE { resource:Q189503 property:P47 ?g . ?g rdf:type ontology:Q79007 }
place de la Concorde
action filter_type
action find
entity place de la Concorde
relation shares border with
type street
['place de la Concorde', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?g WHERE { resource:place_de_la_Concorde property:shares_border_with ?g . ?g rdf:type ontology:street }
[]
street
Q550 Q2873649
SYSTEM
avenue des Champs-Élysées, avenue Gabriel
Q550 Q2873649
(Q189503,P47,c(Q79007))
action filter_type
action find
entity Q189503
relation P47
type Q79007
[ANSWERS]
['Q189503', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?g WHERE { resource:Q189503 property:P47 ?g . ?g rdf:type ontology:Q79007 }
avenue des Champs-Élysées avenue Gabriel
avenue des Champs-Élysées avenue Gabriel
action filter_type
action find
entity place de la Concorde
relation shares border with
type street
['place de la Concorde', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?g WHERE { resource:place_de_la_Concorde property:shares_border_with ?g . ?g rdf:type ontology:street }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P138
Q15700808 Q79007
USER
How many streets are named after more number of urban unit definitions than that street ?
(c(Q79007),P138,c(Q15700808))
[{'concept': 'Q79007'}, 'P138', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q15700808 }
[{'concept': 'street'}, 'named after', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:named_after ?y . ?z rdf:type ontology:street . ?y rdf:type ontology:urban_unit_definition }
[]
urban unit definition street
Comparative|Count over More/Less|Single entity type|Clarification
Q550
SYSTEM
Did you mean avenue des Champs-Élysées ?
(c(Q79007),P138,c(Q15700808))
[ANSWER]
[{'concept': 'Q79007'}, 'P138', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q15700808 }
Did you mean avenue des Champs-Élysées ?
avenue des Champs-Élysées
[{'concept': 'street'}, 'named after', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:named_after ?y . ?z rdf:type ontology:street . ?y rdf:type ontology:urban_unit_definition }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q79007),P138,c(Q15700808))
[{'concept': 'Q79007'}, 'P138', {'concept': 'Q15700808'}]
[{'concept': 'street'}, 'named after', {'concept': 'urban unit definition'}]
[]
SYSTEM
1
Q785707
(c(Q79007),P138,c(Q15700808))
[ANSWER]
[{'concept': 'Q79007'}, 'P138', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q79007 . ?y rdf:type ontology:Q15700808 }
Kifisias Avenue
1
[{'concept': 'street'}, 'named after', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:named_after ?y . ?z rdf:type ontology:street . ?y rdf:type ontology:urban_unit_definition }
[]