Simple Question (Direct)
Simple Question
Q260112
P551
Q56061
USER
Which administrative territory was the place of residence of Els Callens ?
(Q260112,P551,c(Q56061))
action filter_type
action find
entity Q260112
relation P551
type Q56061
['Q260112', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q260112 property:P551 ?q . ?q rdf:type ontology:Q56061 }
Els Callens
action filter_type
action find
entity Els Callens
relation residence
type administrative territorial entity
['Els Callens', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Els_Callens property:residence ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12892
SYSTEM
Antwerp
Q12892
(Q260112,P551,c(Q56061))
action filter_type
action find
entity Q260112
relation P551
type Q56061
[ANSWER] was the place of residence of Els Callens
['Q260112', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q260112 property:P551 ?q . ?q rdf:type ontology:Q56061 }
Antwerp
Antwerp was the place of residence of Els Callens
Antwerp
action filter_type
action find
entity Els Callens
relation residence
type administrative territorial entity
['Els Callens', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Els_Callens property:residence ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q260112
P735
Q82799
USER
What is the firstname of Els Callens ?
(Q260112,P735,c(Q82799))
action filter_type
action find
entity Q260112
relation P735
type Q82799
['Q260112', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q260112 property:P735 ?y . ?y rdf:type ontology:Q82799 }
Els Callens
action filter_type
action find
entity Els Callens
relation given name
type name
['Els Callens', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Els_Callens property:given_name ?y . ?y rdf:type ontology:name }
[]
name
Q18614934
SYSTEM
Els
Q18614934
(Q260112,P735,c(Q82799))
action filter_type
action find
entity Q260112
relation P735
type Q82799
The firstname of [ANSWER] Callens is of [ANSWER]
['Q260112', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q260112 property:P735 ?y . ?y rdf:type ontology:Q82799 }
Els
The firstname of Els Callens is of Els
Els
action filter_type
action find
entity Els Callens
relation given name
type name
['Els Callens', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Els_Callens property:given_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17129207
Q82799
USER
And what about Masaki Kasahara?
(Q17129207,P735,c(Q82799))
action filter_type
action find
entity Q17129207
relation P735
type Q82799
['Q17129207', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q17129207 property:P735 ?m . ?m rdf:type ontology:Q82799 }
Masaki Kasahara
action filter_type
action find
entity Masaki Kasahara
relation given name
type name
['Masaki Kasahara', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Masaki_Kasahara property:given_name ?m . ?m rdf:type ontology:name }
[]
name
Q23857584
SYSTEM
Masaki
Q23857584
(Q17129207,P735,c(Q82799))
action filter_type
action find
entity Q17129207
relation P735
type Q82799
[ANSWER]
['Q17129207', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q17129207 property:P735 ?m . ?m rdf:type ontology:Q82799 }
Masaki
Masaki
action filter_type
action find
entity Masaki Kasahara
relation given name
type name
['Masaki Kasahara', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Masaki_Kasahara property:given_name ?m . ?m rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q18783400 Q3305213
USER
Which names are expressed in min number of genres of sculpture and paintings ?
(c(Q18783400)|c(Q3305213),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?c WHERE { VALUES ( ?q ) { ( ontology:Q18783400 ) ( ontology:Q3305213 ) } . ?e rdf:type ?q } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?p WHERE { { ?n property:P180 ?p . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q18783400 } UNION { ?n property:P180 ?p . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q3305213 } } GROUP BY ?p } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?c WHERE { VALUES ( ?q ) { ( ontology:genre_of_sculpture ) ( ontology:painting ) } . ?e rdf:type ?q } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?p WHERE { { ?n property:depicts ?p . ?p rdf:type ontology:name . ?n rdf:type ontology:genre_of_sculpture } UNION { ?n property:depicts ?p . ?p rdf:type ontology:name . ?n rdf:type ontology:painting } } GROUP BY ?p } } }
[]
name genre of sculpture painting
Q1807269 Q134609 Q11946202
SYSTEM
leek, Cynara scolymus, butterfly
Q13219075 Q134609 Q6453151 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q846664 Q3116510 Q1865281 Q1367 Q1192868 Q9394 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q10968813
(c(Q18783400)|c(Q3305213),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
[ANSWERS] are expressed in min number of genres of sculpture and paintings
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?c WHERE { VALUES ( ?q ) { ( ontology:Q18783400 ) ( ontology:Q3305213 ) } . ?e rdf:type ?q } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?p WHERE { { ?n property:P180 ?p . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q18783400 } UNION { ?n property:P180 ?p . ?p rdf:type ontology:Q82799 . ?n rdf:type ontology:Q3305213 } } GROUP BY ?p } } }
octopus Cynara scolymus toad duck mule wolf Partridge sugarcane shrimp dolphin butterfly trout cattle goose Boy cannoneer leek fox hawk frog whale monkey clam rabbit magpie slug lizard antelope Yellow jacket Tree squirrel mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo jay
Leek, Cynara scolymus and butterfly are expressed in min number of genres of sculpture and paintings
leek Cynara scolymus butterfly
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?c WHERE { VALUES ( ?q ) { ( ontology:genre_of_sculpture ) ( ontology:painting ) } . ?e rdf:type ?q } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?p WHERE { { ?n property:depicts ?p . ?p rdf:type ontology:name . ?n rdf:type ontology:genre_of_sculpture } UNION { ?n property:depicts ?p . ?p rdf:type ontology:name . ?n rdf:type ontology:painting } } GROUP BY ?p } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12892
P47
Q13220204
USER
Which administrative country subdivisions share border with Antwerp ?
(Q12892,P47,c(Q13220204))
action filter_type
action find
entity Q12892
relation P47
type Q13220204
['Q12892', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q12892 property:P47 ?r . ?r rdf:type ontology:Q13220204 }
Antwerp
action filter_type
action find
entity Antwerp
relation shares border with
type second-level administrative country subdivision
['Antwerp', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Antwerp property:shares_border_with ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9881 Q10078 Q10073
SYSTEM
Woensdrecht, Reimerswaal, Hulst
Q9881 Q10078 Q10073
(Q12892,P47,c(Q13220204))
action filter_type
action find
entity Q12892
relation P47
type Q13220204
[ANSWERS] share border with Antwerp
['Q12892', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?r WHERE { resource:Q12892 property:P47 ?r . ?r rdf:type ontology:Q13220204 }
Woensdrecht Reimerswaal Hulst
Woensdrecht, Reimerswaal and Hulst share border with Antwerp
Woensdrecht Reimerswaal Hulst
action filter_type
action find
entity Antwerp
relation shares border with
type second-level administrative country subdivision
['Antwerp', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?r WHERE { resource:Antwerp property:shares_border_with ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q64961
Q13220204
USER
And what about Felsberg?
(Q64961,P47,c(Q13220204))
action filter_type
action find
entity Q64961
relation P47
type Q13220204
['Q64961', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { resource:Q64961 property:P47 ?i . ?i rdf:type ontology:Q13220204 }
Felsberg
action filter_type
action find
entity Felsberg
relation shares border with
type second-level administrative country subdivision
['Felsberg', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { resource:Felsberg property:shares_border_with ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q66052 Q68266 Q66606
SYSTEM
Pfäfers, Domat/Ems, Haldenstein
Q66052 Q68266 Q64740 Q66606
(Q64961,P47,c(Q13220204))
action filter_type
action find
entity Q64961
relation P47
type Q13220204
[ANSWERS]
['Q64961', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { resource:Q64961 property:P47 ?i . ?i rdf:type ontology:Q13220204 }
Pfäfers Domat/Ems Tamins Haldenstein
Pfäfers Domat/Ems Haldenstein
action filter_type
action find
entity Felsberg
relation shares border with
type second-level administrative country subdivision
['Felsberg', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { resource:Felsberg property:shares_border_with ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q64961
P47
Q13220204
USER
Are Felsberg next to the border of those ones ?
(Q64961,P47,Q66052) (Q64961,P47,Q68266) (Q64961,P47,Q66606)
action is_in
entity prev_answer
action find
entity Q64961
relation P47
['Q64961', 'P47', 'Q66052'] ['Q64961', 'P47', 'Q68266'] ['Q64961', 'P47', 'Q66606']
ASK WHERE { resource:Q64961 property:P47 ?k . VALUES ( ?k ) { ( resource:Q66052 ) ( resource:Q68266 ) ( resource:Q64740 ) } }
Felsberg
action is_in
entity prev_answer
action find
entity Felsberg
relation shares border with
['Felsberg', 'shares border with', 'Pfäfers'] ['Felsberg', 'shares border with', 'Domat/Ems'] ['Felsberg', 'shares border with', 'Haldenstein']
ASK WHERE { resource:Felsberg property:shares_border_with ?k . VALUES ( ?k ) { ( resource:Pfäfers ) ( resource:Domat/Ems ) ( resource:Tamins ) } }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q64961,P47,Q66052) (Q64961,P47,Q68266) (Q64961,P47,Q66606)
action is_in
entity prev_answer
action find
entity Q64961
relation P47
[ANSWER]
['Q64961', 'P47', 'Q66052'] ['Q64961', 'P47', 'Q68266'] ['Q64961', 'P47', 'Q66606']
ASK WHERE { resource:Q64961 property:P47 ?k . VALUES ( ?k ) { ( resource:Q66052 ) ( resource:Q68266 ) ( resource:Q64740 ) } }
Yes
action is_in
entity prev_answer
action find
entity Felsberg
relation shares border with
['Felsberg', 'shares border with', 'Pfäfers'] ['Felsberg', 'shares border with', 'Domat/Ems'] ['Felsberg', 'shares border with', 'Haldenstein']
ASK WHERE { resource:Felsberg property:shares_border_with ?k . VALUES ( ?k ) { ( resource:Pfäfers ) ( resource:Domat/Ems ) ( resource:Tamins ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7667675 Q9881
P17
Q15617994
USER
Which administrative territories are Woensdrecht or Səbir present in ?
OR((Q9881,P17,c(Q15617994)), (Q7667675,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9881
relation P17
action find
entity Q7667675
relation P17
type Q15617994
{'OR': [['Q9881', 'P17', {'concept': 'Q15617994'}], ['Q7667675', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?c ) { ( resource:Q9881 ) ( resource:Q7667675 ) } . ?c property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Səbir Woensdrecht
action filter_type
action union
action find
entity Woensdrecht
relation country
action find
entity Səbir
relation country
type designation for an administrative territorial entity
{'OR': [['Woensdrecht', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Səbir', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?c ) { ( resource:Woensdrecht ) ( resource:Səbir ) } . ?c property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q227 Q55
SYSTEM
Azerbaijan, Netherlands
Q227 Q55
OR((Q9881,P17,c(Q15617994)), (Q7667675,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9881
relation P17
action find
entity Q7667675
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q9881', 'P17', {'concept': 'Q15617994'}], ['Q7667675', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?c ) { ( resource:Q9881 ) ( resource:Q7667675 ) } . ?c property:P17 ?r } . ?r rdf:type ontology:Q15617994 }
Azerbaijan Netherlands
Which administrative territories are Woensdrecht or Səbir present in
Azerbaijan Netherlands
action filter_type
action union
action find
entity Woensdrecht
relation country
action find
entity Səbir
relation country
type designation for an administrative territorial entity
{'OR': [['Woensdrecht', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Səbir', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?c ) { ( resource:Woensdrecht ) ( resource:Səbir ) } . ?c property:country ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q227 Q55
P17
Q55488
USER
Which railway stations are located in those administrative territories ?
(c(Q55488),P17,Q227) (c(Q55488),P17,Q55)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q55488
[{'concept': 'Q55488'}, 'P17', 'Q227'] [{'concept': 'Q55488'}, 'P17', 'Q55']
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Q227 ) ( resource:Q55 ) } . ?s property:P17 ?i . ?s rdf:type ontology:Q55488 }
Azerbaijan Netherlands
action filter_type
action find_reverse
entity prev_answer
relation country
type railway station
[{'concept': 'railway station'}, 'country', 'Azerbaijan'] [{'concept': 'railway station'}, 'country', 'Netherlands']
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Azerbaijan ) ( resource:Netherlands ) } . ?s property:country ?i . ?s rdf:type ontology:railway_station }
[]
railway station
Q801388 Q801405 Q7370661
SYSTEM
Rotterdam Centraal railway station, Schiedam Centrum railway station, Rotterdam Blaak railway station
Q2008806 Q3024552 Q1125310 Q1109176 Q3024561 Q616786 Q3025366 Q3025367 Q3025343 Q3025554 Q2020145 Q3025513 Q3025522 Q12838152 Q3025580 Q3024692 Q3025592 Q3025421 Q3025472 Q3025436 Q3024716 Q3025411 Q2427287 Q3025490 Q2677611 Q2172950 Q2737802 Q2331863 Q1846380 Q2162983 Q2169211 Q1844476 Q7979626 Q2457557 Q2061210 Q2224590 Q4667520 Q2787131 Q800656 Q1997723 Q2865415 Q2476031 Q2396147 Q3364889 Q2292205 Q2006465 Q4292182 Q5298715 Q2436525 Q2510831 Q2349892 Q2319722 Q2173663 Q2097912 Q15213280 Q6901219 Q2775546 Q2547811 Q2534934 Q7356536 Q2091165 Q1807246 Q2264349 Q2321538 Q13922931 Q2403083 Q800381 Q1869154 Q2751200 Q2212965 Q2486332 Q2181403 Q1920818 Q2044925 Q2919772 Q2594508 Q4401021 Q4891317 Q4950485 Q2414454 Q3300413 Q4914435 Q3273303 Q2117320 Q3186873 Q2485104 Q1959792 Q5274980 Q7801050 Q2875188 Q3007607 Q2178812 Q2219232 Q16904603 Q2722265 Q5139929 Q5244778 Q1824137 Q3184721 Q2083449 Q2240034 Q1819258 Q1867682 Q2447925 Q5244704 Q2034253 Q3211386 Q2674011 Q1809110 Q2533222 Q2477887 Q200704 Q2566636 Q2539018 Q2740322 Q2711032 Q801382 Q801388 Q2673118 Q13734579 Q7913863 Q2409587 Q2146949 Q4439424 Q2432005 Q1934545 Q2111409 Q690967 Q1913935 Q1830694 Q3209252 Q7095443 Q2739727 Q1993423 Q2637401 Q2785227 Q2607338 Q2208017 Q7370661 Q2192843 Q2593698 Q1913095 Q2241072 Q1986388 Q13652597 Q2074498 Q3127400 Q1941199 Q2140109 Q2109813 Q2187835 Q6902924 Q2184171 Q3466818 Q2287739 Q2928667 Q5244489 Q50724 Q50723 Q50722 Q2018845 Q4975876 Q4837566 Q2218736 Q2312190 Q2709985 Q2046118 Q801405 Q3371836 Q2038715 Q2199766 Q2313853 Q7941698 Q14387332 Q1865371 Q3241211 Q2952320 Q14358713 Q3079905 Q2369808 Q5035276
(c(Q55488),P17,Q227) (c(Q55488),P17,Q55)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q55488
[ANSWERS] are located in those administrative territories
[{'concept': 'Q55488'}, 'P17', 'Q227'] [{'concept': 'Q55488'}, 'P17', 'Q55']
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Q227 ) ( resource:Q55 ) } . ?s property:P17 ?i . ?s rdf:type ontology:Q55488 }
Neftchilar Əhmədli Nəriman Nərimanov Ulduz Xalqlar Dostluğu Gənclik Sahil 28 May Bakmil Dərnəgül (Baku Metro) Həzi Aslanov Nəsimi Azadlıq prospekti Memar Əcəmi-2 (Baku Metro) Cəfər Cabbarlı Qara Qarayev Şah İsmail Xətai Elmlər Akademiyası 20 Yanvar İnşaatçılar Koroğlu Nizami Gəncəvi Icheri Sheher Memar Əcəmi Oostplein De Terp Berkel Westpolder Gein Amstelveenseweg Ambachtsland Wilhelminaplein Steendijkpolder Weesperplein metro station Uilenstede De Vlugtlaan De Boelelaan/VU Spinnerij Delfshaven Den Haag Laan van NOI Rijswijk-Wateringen railway halt Palenstein Poortugaal Coolhaven Spaklerweg Sportlaan Marconiplein Tussenwater Dorp Postjesweg Hesseplaats Nesselande Voorschoterlaan Grote Markt Vijfsluizen Dedemsvaartweg Monnickendamplein Stadhuis (Zoetermeer) RandstadRail station Forepark Ganzenhoef metro station Rodenrijs Hoogvliet Poortwachter Leyenburg Meijersplein Onderuit Blijdorp Amsterdam Holendrecht Slotlaan Henk Sneevlietweg Seghwaert Waterlooplein metro station Strandvliet metro station Slinge Westwijk Willem Dreeslaan Leidschendam-Voorburg Gerdesiaweg Beresteinlaan Bouwlustlaan Pijnacker Zuid Leidschenveen Binnenhof Jan van Galenstraat Amsterdam De Vlugtlaan Wibautstraat metro station Pernis Nieuw Verlaat Dierenselaan Tienhovenselaan Europaplein Noord metro station Heemraadlaan Amstelveen Centrum Zuidwoldepad Vijzelgracht Rotterdam Hofplein railway station De Uithof Meent Venserpolder metro station Capelle Centrum Brink Rijnhaven Oranjebaan Schenkel De Rade IJsselstein-Zuid De Akkers Troelstralaan Driemanspolder Beurs Van Tuyllpark Den Haag Centraal Zalmplaat Kralingse Zoom BleiZo railway station Spijkenisse Centrum Rotterdam Alexander railway station Rotterdam Centraal railway station Noorderpark Jaarbeursplein Van der Madeweg Voorweg Isolatorweg Meerzicht Centrum West Romeynshof Prinsenlaan Pijnacker Centrum Beatrixkwartier Gondel Ternoot Oosterheem Ouderkerkerlaan Rhoon Van Boshuizenstraat De Leyens Melanchthonweg Marne Rotterdam Blaak railway station Leuvehaven Verrijn Stuartweg metro station Nieuwmarkt Parkweg Bullewijk Rietlandpark Buytenwegh De Tochten Reigersbos Maashaven Kronenburg Gaasperplas metro station Monstersestraat Delftsewallen MCH Westeinde Heemstedestraat Dijkzigt De La Reyweg Amsterdam Muiderpoort railway station Amsterdam Bijlmer ArenA Amsterdam Lelylaan Oosterflank Brouwersgracht Leidsewallen Sacharovlaan Javalaan Spui Graskruid Schiedam Centrum railway station Overamstel Stadhuis Zuidplein A.J. Ernststraat Voorburg 't Loo Rotterdam Wilgenplas railway station Rokin Kraaiennest metro station Eendrachtsplein Sixhaven Zonnestein Nootdorp Capelsebrug
Rotterdam Centraal railway station, Schiedam Centrum railway station and Rotterdam Blaak railway station are located in those administrative territories
Rotterdam Centraal railway station Schiedam Centrum railway station Rotterdam Blaak railway station
action filter_type
action find_reverse
entity prev_answer
relation country
type railway station
[{'concept': 'railway station'}, 'country', 'Azerbaijan'] [{'concept': 'railway station'}, 'country', 'Netherlands']
SELECT DISTINCT ?s WHERE { VALUES ( ?i ) { ( resource:Azerbaijan ) ( resource:Netherlands ) } . ?s property:country ?i . ?s rdf:type ontology:railway_station }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q801388 Q801405 Q7370661
P84
Q502895
USER
Who designed the architecture of Rotterdam Centraal railway station, Schiedam Centrum railway station and Rotterdam Blaak railway station ?
(Q801388,P84,c(Q502895)) (Q801405,P84,c(Q502895)) (Q7370661,P84,c(Q502895))
action union
action filter_type
action find
entity Q801388
relation P84
type Q502895
action filter_type
action find
entity Q801405
relation P84
type Q502895
action filter_type
action find
entity Q7370661
relation P84
type Q502895
['Q801388', 'P84', {'concept': 'Q502895'}] ['Q801405', 'P84', {'concept': 'Q502895'}] ['Q7370661', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q502895 . resource:Q801405 property:P84 ?k } UNION { resource:Q801388 property:P84 ?k . ?k rdf:type ontology:Q502895 } }
Rotterdam Centraal railway station Schiedam Centrum railway station Rotterdam Blaak railway station
action union
action filter_type
action find
entity Rotterdam Centraal railway station
relation architect
type common name
action filter_type
action find
entity Schiedam Centrum railway station
relation architect
type common name
action filter_type
action find
entity Rotterdam Blaak railway station
relation architect
type common name
['Rotterdam Centraal railway station', 'architect', {'concept': 'common name'}] ['Schiedam Centrum railway station', 'architect', {'concept': 'common name'}] ['Rotterdam Blaak railway station', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:common_name . resource:Schiedam_Centrum_railway_station property:architect ?k } UNION { resource:Rotterdam_Centraal_railway_station property:architect ?k . ?k rdf:type ontology:common_name } }
[]
common name
Q1974817 Q1974817 Q1778298
SYSTEM
Koen van der Gaast for 3rd, Sybold van Ravesteyn for 1st, 2nd
Q1974817 Q1778298 Q2514768 Q579871 Q1974817
(Q801388,P84,c(Q502895)) (Q801405,P84,c(Q502895)) (Q7370661,P84,c(Q502895))
action union
action filter_type
action find
entity Q801388
relation P84
type Q502895
action filter_type
action find
entity Q801405
relation P84
type Q502895
action filter_type
action find
entity Q7370661
relation P84
type Q502895
[ANSWERS]
['Q801388', 'P84', {'concept': 'Q502895'}] ['Q801405', 'P84', {'concept': 'Q502895'}] ['Q7370661', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q502895 . resource:Q801405 property:P84 ?k } UNION { resource:Q801388 property:P84 ?k . ?k rdf:type ontology:Q502895 } }
Sybold van Ravesteyn Koen van der Gaast Dirk Margadant Harry Reijnders Sybold van Ravesteyn
Sybold van Ravesteyn, Sybold van Ravesteyn and Koen van der Gaast designed the architecture of Rotterdam Centraal railway station, Schiedam Centrum railway station and Rotterdam Blaak railway station
Sybold van Ravesteyn Sybold van Ravesteyn Koen van der Gaast
action union
action filter_type
action find
entity Rotterdam Centraal railway station
relation architect
type common name
action filter_type
action find
entity Schiedam Centrum railway station
relation architect
type common name
action filter_type
action find
entity Rotterdam Blaak railway station
relation architect
type common name
['Rotterdam Centraal railway station', 'architect', {'concept': 'common name'}] ['Schiedam Centrum railway station', 'architect', {'concept': 'common name'}] ['Rotterdam Blaak railway station', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:common_name . resource:Schiedam_Centrum_railway_station property:architect ?k } UNION { resource:Rotterdam_Centraal_railway_station property:architect ?k . ?k rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q801388
P197
Q55488
USER
Which railway stations are next to that one ?
(c(Q55488),P197,Q801388)
action filter_type
action find
entity Q801388
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q801388']
SELECT DISTINCT ?b WHERE { resource:Q801388 property:P197 ?b . ?b rdf:type ontology:Q55488 }
Rotterdam Centraal railway station
action filter_type
action find
entity Rotterdam Centraal railway station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Rotterdam Centraal railway station']
SELECT DISTINCT ?b WHERE { resource:Rotterdam_Centraal_railway_station property:adjacent_station ?b . ?b rdf:type ontology:railway_station }
[]
railway station
Clarification for simple ques.
Q801388
SYSTEM
Did you mean Rotterdam Centraal railway station ?
Q1974817 Q1974817 Q1778298
(c(Q55488),P197,Q1974817) (c(Q55488),P197,Q1974817) (c(Q55488),P197,Q1778298)
[ANSWER]
[{'concept': 'Q55488'}, 'P197', 'Q1974817'] [{'concept': 'Q55488'}, 'P197', 'Q1974817'] [{'concept': 'Q55488'}, 'P197', 'Q1778298']
SELECT DISTINCT ?b WHERE { resource:Q801388 property:P197 ?b . ?b rdf:type ontology:Q55488 }
Sybold van Ravesteyn Sybold van Ravesteyn Koen van der Gaast
Did you mean Rotterdam Centraal railway station ?
Rotterdam Centraal railway station
[{'concept': 'railway station'}, 'adjacent station', 'Sybold van Ravesteyn'] [{'concept': 'railway station'}, 'adjacent station', 'Sybold van Ravesteyn'] [{'concept': 'railway station'}, 'adjacent station', 'Koen van der Gaast']
SELECT DISTINCT ?b WHERE { resource:Rotterdam_Centraal_railway_station property:adjacent_station ?b . ?b rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q55488),P197,Q801388)
[{'concept': 'Q55488'}, 'P197', 'Q801388']
[{'concept': 'railway station'}, 'adjacent station', 'Rotterdam Centraal railway station']
[]
Q801405 Q2403083 Q7370661
SYSTEM
Schiedam Centrum railway station, Blijdorp, Rotterdam Blaak railway station
Q801405 Q7370661 Q2038715 Q2403083
(c(Q55488),P197,Q801388)
action filter_type
action find
entity Q801388
relation P197
type Q55488
[ANSWERS] are next to that one
[{'concept': 'Q55488'}, 'P197', 'Q801388']
SELECT DISTINCT ?b WHERE { resource:Q801388 property:P197 ?b . ?b rdf:type ontology:Q55488 }
Schiedam Centrum railway station Rotterdam Blaak railway station Stadhuis Blijdorp
Schiedam Centrum railway station, Blijdorp and Rotterdam Blaak railway station are next to that one
Schiedam Centrum railway station Blijdorp Rotterdam Blaak railway station
action filter_type
action find
entity Rotterdam Centraal railway station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Rotterdam Centraal railway station']
SELECT DISTINCT ?b WHERE { resource:Rotterdam_Centraal_railway_station property:adjacent_station ?b . ?b rdf:type ontology:railway_station }
[]