Simple Question (Direct)
Simple Question
Q2014690
P81
Q728937
USER
Which railroad lines do Ventas have a connection to ?
(Q2014690,P81,c(Q728937))
action filter_type
action find
entity Q2014690
relation P81
type Q728937
['Q2014690', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q728937 . resource:Q2014690 property:P81 ?w }
Ventas
action filter_type
action find
entity Ventas
relation connecting line
type railroad line
['Ventas', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:railroad_line . resource:Ventas property:connecting_line ?w }
[]
railroad line
Q1826679 Q1568028
SYSTEM
Madrid Metro Line 2, Madrid Metro Line 5
Q1826679 Q1568028
(Q2014690,P81,c(Q728937))
action filter_type
action find
entity Q2014690
relation P81
type Q728937
Ventas have a connection to the [ANSWERS]
['Q2014690', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q728937 . resource:Q2014690 property:P81 ?w }
Madrid Metro Line 2 Madrid Metro Line 5
Ventas have a connection to the Madrid Metro Line 2 and Madrid Metro Line 5
Madrid Metro Line 2 Madrid Metro Line 5
action filter_type
action find
entity Ventas
relation connecting line
type railroad line
['Ventas', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:railroad_line . resource:Ventas property:connecting_line ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1826679
P559
Q55488
USER
What are a terminus for that railroad line ?
(Q1826679,P559,c(Q55488))
action filter_type
action find
entity Q1826679
relation P559
type Q55488
['Q1826679', 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?t WHERE { resource:Q1826679 property:P559 ?t . ?t rdf:type ontology:Q55488 }
Madrid Metro Line 2
action filter_type
action find
entity Madrid Metro Line 2
relation terminus
type railway station
['Madrid Metro Line 2', 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?t WHERE { resource:Madrid_Metro_Line_2 property:terminus ?t . ?t rdf:type ontology:railway_station }
[]
railway station
Clarification for simple ques.
Q1568028
SYSTEM
Did you mean Madrid Metro Line 5 ?
Q1826679 Q1568028
(Q1826679,P559,c(Q55488)) (Q1568028,P559,c(Q55488))
[ANSWER]
['Q1826679', 'P559', {'concept': 'Q55488'}] ['Q1568028', 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?t WHERE { resource:Q1826679 property:P559 ?t . ?t rdf:type ontology:Q55488 }
Madrid Metro Line 2 Madrid Metro Line 5
Did you mean Madrid Metro Line 5 ?
Madrid Metro Line 5
['Madrid Metro Line 2', 'terminus', {'concept': 'railway station'}] ['Madrid Metro Line 5', 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?t WHERE { resource:Madrid_Metro_Line_2 property:terminus ?t . ?t rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
USER
No, I meant Madrid Metro Line 2. Could you tell me the answer for that?
(Q1826679,P559,c(Q55488))
Q1826679
['Q1826679', 'P559', {'concept': 'Q55488'}]
['Madrid Metro Line 2', 'terminus', {'concept': 'railway station'}]
[]
Q3827253 Q2420839
SYSTEM
Las Rosas, Cuatro Caminos
Q3827253 Q2420839
(Q1826679,P559,c(Q55488))
action filter_type
action find
entity Q1826679
relation P559
type Q55488
A terminus for that railroad line are stations [ANSWERS]
['Q1826679', 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?t WHERE { resource:Q1826679 property:P559 ?t . ?t rdf:type ontology:Q55488 }
Las Rosas Cuatro Caminos
A terminus for that railroad line are stations Las Rosas and Cuatro Caminos
Las Rosas Cuatro Caminos
action filter_type
action find
entity Madrid Metro Line 2
relation terminus
type railway station
['Madrid Metro Line 2', 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?t WHERE { resource:Madrid_Metro_Line_2 property:terminus ?t . ?t rdf:type ontology:railway_station }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1568028
P81 P17
Q55488
USER
Which railway stations are connected to Madrid Metro Line 5 and are located in Spain ?
AND((c(Q55488),P81,Q1568028), (c(Q55488),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1568028
relation P81
action find_reverse
entity Q29
relation P17
type Q55488
{'AND': [[{'concept': 'Q55488'}, 'P81', 'Q1568028'], [{'concept': 'Q55488'}, 'P17', 'Q29']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q55488 . ?b property:P81 resource:Q1568028 . ?b property:P17 resource:Q29 }
Spain Madrid Metro Line 5
action filter_type
action intersection
action find_reverse
entity Madrid Metro Line 5
relation connecting line
action find_reverse
entity Spain
relation country
type railway station
{'AND': [[{'concept': 'railway station'}, 'connecting line', 'Madrid Metro Line 5'], [{'concept': 'railway station'}, 'country', 'Spain']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:railway_station . ?b property:connecting_line resource:Madrid_Metro_Line_5 . ?b property:country resource:Spain }
[]
railway station
Q2054883 Q2057577 Q2481009 Q2056515 Q2014690 Q2056497 Q2055658 Q2481198 Q2058271 Q2481364
SYSTEM
Some of them are Ciudad Lineal, Empalme, Suanzes, Puerta de Toledo, Ventas, Torre Arias, Diego de León, Alonso Martínez, Eugenia de Montijo, Campamento
Q2480869 Q2480845 Q2729745 Q1115250 Q2014690 Q2058271 Q2056948 Q3676061 Q2481198 Q2305840 Q2057577 Q2056886 Q2057416 Q782924 Q930999 Q568579 Q2055658 Q2055072 Q2056760 Q2403543 Q384453 Q2481009 Q2736048 Q2056497 Q2481364 Q2056493 Q2058531 Q616210 Q2056510 Q2696501 Q2056515 Q2054883
AND((c(Q55488),P81,Q1568028), (c(Q55488),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1568028
relation P81
action find_reverse
entity Q29
relation P17
type Q55488
[ANSWERS] are connected to Madrid Metro Line 5 and are located in Spain
{'AND': [[{'concept': 'Q55488'}, 'P81', 'Q1568028'], [{'concept': 'Q55488'}, 'P17', 'Q29']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q55488 . ?b property:P81 resource:Q1568028 . ?b property:P17 resource:Q29 }
El Carmen Quintana Gran Vía La Latina Ventas Eugenia de Montijo Marqués de Vadillo Chueca Alonso Martínez Acacias / Embajadores Empalme Rubén Darío Oporto Núñez de Balboa Canillejas Casa de Campo Diego de León Callao Carabanchel Alameda de Osuna Pueblo Nuevo Suanzes Ópera Torre Arias Campamento Pirámides Aluche Vista Alegre El Capricho Urgel Puerta de Toledo Ciudad Lineal
Ciudad Lineal, Empalme, Suanzes, Puerta de Toledo, Ventas, Torre Arias, Diego de León, Alonso Martínez, Eugenia de Montijo and Campamento are connected to Madrid Metro Line 5 and are located in Spain
Ciudad Lineal Empalme Suanzes Puerta de Toledo Ventas Torre Arias Diego de León Alonso Martínez Eugenia de Montijo Campamento
action filter_type
action intersection
action find_reverse
entity Madrid Metro Line 5
relation connecting line
action find_reverse
entity Spain
relation country
type railway station
{'AND': [[{'concept': 'railway station'}, 'connecting line', 'Madrid Metro Line 5'], [{'concept': 'railway station'}, 'country', 'Spain']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:railway_station . ?b property:connecting_line resource:Madrid_Metro_Line_5 . ?b property:country resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q728937 Q728937 Q12280
USER
How many railroad lines are atmost 3 railroad lines or bridges a portion of ?
(c(Q728937)|c(Q12280),P361,c(Q728937))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q728937
type Q728937
action find_reverse_tuple_counts
relation P361
type Q728937
type Q12280
value 3
[[{'concept': 'Q728937'}, {'concept': 'Q12280'}], 'P361', {'concept': 'Q728937'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?e ) WHERE { { ?o property:P361 ?v . ?v rdf:type ontology:Q728937 . ?o rdf:type ontology:Q728937 } UNION { ?o property:P361 ?v . ?v rdf:type ontology:Q728937 . ?o rdf:type ontology:Q12280 } } GROUP BY ?v } . FILTER ( ?e <= 3 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation part of
type railroad line
type railroad line
action find_reverse_tuple_counts
relation part of
type railroad line
type bridge
value 3
[[{'concept': 'railroad line'}, {'concept': 'bridge'}], 'part of', {'concept': 'railroad line'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?e ) WHERE { { ?o property:part_of ?v . ?v rdf:type ontology:railroad_line . ?o rdf:type ontology:railroad_line } UNION { ?o property:part_of ?v . ?v rdf:type ontology:railroad_line . ?o rdf:type ontology:bridge } } GROUP BY ?v } . FILTER ( ?e <= 3 ) }
[]
railroad line railroad line bridge
SYSTEM
61
Q945937 Q2534873 Q50745 Q766945 Q570809 Q277604 Q241723 Q587171 Q2261550 Q5329661 Q152015 Q19891 Q19892 Q24641190 Q4415661 Q87056 Q216360 Q729631 Q3832673 Q99729 Q2576140 Q54372 Q54373 Q54371 Q819045 Q852314 Q17501 Q801885 Q850532 Q1138075 Q16266 Q54369 Q572544 Q950794 Q92549 Q15731043 Q2381339 Q3040919 Q1066239 Q24641690 Q1473986 Q642623 Q10907046 Q887043 Q678442 Q616682 Q264936 Q585986 Q989316 Q823251 Q751425 Q460087 Q3176204 Q2136023 Q16948 Q3238912 Q520772 Q1185773 Q1632888 Q1087561 Q1147054
(c(Q728937)|c(Q12280),P361,c(Q728937))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q728937
type Q728937
action find_reverse_tuple_counts
relation P361
type Q728937
type Q12280
value 3
[ANSWER]
[[{'concept': 'Q728937'}, {'concept': 'Q12280'}], 'P361', {'concept': 'Q728937'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?e ) WHERE { { ?o property:P361 ?v . ?v rdf:type ontology:Q728937 . ?o rdf:type ontology:Q728937 } UNION { ?o property:P361 ?v . ?v rdf:type ontology:Q728937 . ?o rdf:type ontology:Q12280 } } GROUP BY ?v } . FILTER ( ?e <= 3 ) }
LGV Est Blue Line Paris Métro Line 5 Red Line Hanover–Berlin high-speed railway High Speed 1 LGV Nord Lübeck–Lüneburg railway Line C East West Corridor Blue Line Metropolitan line Bakerloo line line a of Rennes subway Tramlijn 21 Busan-Gimhae Light Rail Transit Docklands Light Railway Sokolnicheskaya Line M2 metro line U8 Xochimilco Light Rail Scarborough RT Sheppard line Bloor–Danforth line Hanover–Würzburg high-speed railway Minatomirai Line Seoul Subway Line 2 Bad Kleinen–Rostock railway Betuweroute Spårväg City Bundang Line Yonge–University–Spadina line Line A Bergamo–Albino light rail Seoul Subway Line 6 Oslo Metro Line 2 Línia Llobregat-Anoia Frankfurt U-Bahn, section A Sakurajima Line line b of Rennes subway Line 1 Red Line North South Corridor Blue Line LGV Méditerranée IRT Dyre Avenue Line Cologne–Aachen high-speed railway Kalininsko-Solntsevskaya Line Island Line Market–Frankford Line LGV Atlantique Iron Rhine Green Line Red Line Suin Line Mulhouse tram line 3 Tokyo Metro Namboku Line Green Line Utrecht sneltram LGV Rhin-Rhône Tokyo Metro Tōzai Line
61
action count
action atmost
action union
action find_reverse_tuple_counts
relation part of
type railroad line
type railroad line
action find_reverse_tuple_counts
relation part of
type railroad line
type bridge
value 3
[[{'concept': 'railroad line'}, {'concept': 'bridge'}], 'part of', {'concept': 'railroad line'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?e ) WHERE { { ?o property:part_of ?v . ?v rdf:type ontology:railroad_line . ?o rdf:type ontology:railroad_line } UNION { ?o property:part_of ?v . ?v rdf:type ontology:railroad_line . ?o rdf:type ontology:bridge } } GROUP BY ?v } . FILTER ( ?e <= 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1325591 Q2481198
P137 P197
Q55488
USER
Which railway stations are adjacent to Alonso Martínez or can be described as service operator of New York City Transit Authority ?
OR((c(Q55488),P197,Q2481198), (c(Q55488),P137,Q1325591))
action filter_type
action union
action find_reverse
entity Q2481198
relation P197
action find_reverse
entity Q1325591
relation P137
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q2481198'], [{'concept': 'Q55488'}, 'P137', 'Q1325591']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P197 resource:Q2481198 } UNION { ?h property:P137 resource:Q1325591 } } . ?h rdf:type ontology:Q55488 }
New York City Transit Authority Alonso Martínez
action filter_type
action union
action find_reverse
entity Alonso Martínez
relation adjacent station
action find_reverse
entity New York City Transit Authority
relation operator
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Alonso Martínez'], [{'concept': 'railway station'}, 'operator', 'New York City Transit Authority']]}
SELECT DISTINCT ?h WHERE { { { ?h property:adjacent_station resource:Alonso_Martínez } UNION { ?h property:operator resource:New_York_City_Transit_Authority } } . ?h rdf:type ontology:railway_station }
[]
railway station
Q2612718 Q682696 Q2056886 Q2083213 Q2612742 Q4644945 Q2410289 Q2070847 Q2061415 Q2615846
SYSTEM
Some of them are Simpson Street, Beach 44th Street, Rubén Darío, Houston Street, Utica Avenue, 86th Street, 71st Street, 77th Street, 52nd Street, Fort Hamilton Parkway
Q664340 Q2131874 Q2485895 Q2513528 Q1928678 Q2089166 Q2612633 Q2982388 Q2460511 Q2617303 Q2151967 Q2130771 Q768988 Q2351655 Q2051404 Q2531232 Q2612707 Q2612968 Q2551983 Q939753 Q2615292 Q2115775 Q2615298 Q2605243 Q2490165 Q2514165 Q2033763 Q2061415 Q2332237 Q744055 Q2103654 Q605495 Q2631124 Q2612358 Q2617642 Q2887299 Q2612959 Q2024981 Q2379602 Q2099720 Q2193425 Q2133202 Q2565684 Q2159565 Q2066424 Q2613078 Q2116957 Q2207557 Q596784 Q2384549 Q2617820 Q2033264 Q2415750 Q2286335 Q2210205 Q2985519 Q2618248 Q2611956 Q2615127 Q2488977 Q2614658 Q2614653 Q2617225 Q2590604 Q638007 Q2328273 Q2509975 Q594076 Q1949503 Q2068727 Q2382093 Q2421757 Q2982354 Q2275154 Q2339849 Q729394 Q2359935 Q663865 Q649968 Q2612287 Q2247103 Q2195401 Q2415223 Q2615224 Q2615221 Q2328205 Q1921033 Q2257710 Q2096739 Q572625 Q2616774 Q1877937 Q693299 Q2368151 Q2124833 Q1941831 Q2617073 Q606657 Q643274 Q1969782 Q2278502 Q1910136 Q967555 Q2615482 Q2014033 Q2020590 Q2479784 Q2021516 Q4646118 Q2104084 Q2056886 Q2113616 Q2331252 Q1888415 Q594409 Q2612907 Q633313 Q2614974 Q4635443 Q2616494 Q578462 Q2566588 Q1809285 Q2076201 Q2343574 Q950943 Q2027571 Q2454523 Q526848 Q2982555 Q2614271 Q2566977 Q2283660 Q2612605 Q2212011 Q2617310 Q2613326 Q682696 Q2049816 Q2351021 Q2115909 Q11265 Q2981950 Q302474 Q1998489 Q2585850 Q2447422 Q2612734 Q673884 Q2190097 Q2580615 Q648421 Q2263110 Q2515814 Q2613024 Q2613028 Q2339636 Q2083213 Q2350435 Q1866773 Q2615214 Q2135426 Q2612701 Q971807 Q1983255 Q2515468 Q2880976 Q2172841 Q2612947 Q548622 Q2612192 Q2630288 Q2201450 Q585064 Q2075731 Q1976413 Q2059228 Q2159540 Q3504355 Q1821857 Q2586040 Q2616265 Q3499219 Q2273325 Q2617743 Q2618253 Q2502126 Q2614404 Q2618259 Q2513869 Q1815835 Q3676061 Q586518 Q2515975 Q2616500 Q2572253 Q2616507 Q946410 Q2615487 Q2227502 Q2200193 Q2095094 Q1912767 Q2612169 Q2189418 Q2198512 Q779178 Q2070847 Q2066987 Q2188221 Q2612642 Q2612641 Q2612647 Q2612649 Q922697 Q2555226 Q1937702 Q2350333 Q1940025 Q1922437 Q2615244 Q1857260 Q2563370 Q629433 Q1989092 Q2199564 Q2392777 Q1884273 Q2481248 Q2540652 Q1845990 Q2614969 Q2236256 Q2326996 Q1826870 Q1967776 Q2612939 Q2147093 Q2350658 Q2436759 Q2616784 Q2481813 Q2611930 Q2611936 Q1810428 Q743101 Q2612205 Q2613332 Q2613232 Q585278 Q2486052 Q2410289 Q2042314 Q2042310 Q2410552 Q1896000 Q526612 Q583618 Q2618004 Q3498651 Q2631031 Q1968287 Q521682 Q2219277 Q2613750 Q1930001 Q2615206 Q2614984 Q2612593 Q2224825 Q2983379 Q2612615 Q2982207 Q1910673 Q2616979 Q4643230 Q2616970 Q2224706 Q2615846 Q1873598 Q2616059 Q3498505 Q2617505 Q2612181 Q2328744 Q2134240 Q2617483 Q2616065 Q2291991 Q2616905 Q2330191 Q2612899 Q2611901 Q2480842 Q2612366 Q2616277 Q2613745 Q2616272 Q1883056 Q629885 Q2235087 Q2273507 Q2611970 Q2202487 Q2615537 Q2617203 Q2430804 Q2614385 Q2126108 Q2611963 Q2982347 Q2612622 Q2613094 Q2612627 Q2617478 Q1942191 Q2337501 Q2012339 Q2512430 Q969114 Q2095015 Q870982 Q1943858 Q2612718 Q2612658 Q2612713 Q2490779 Q2570712 Q1841026 Q1872869 Q657681 Q2479844 Q4644945 Q2982151 Q2616792 Q2616330 Q2617658 Q2617650 Q2617499 Q2615189 Q2617491 Q2330634 Q2612964 Q2271693 Q2982552 Q2615473 Q2455849 Q1948534 Q2799552 Q2217986 Q941333 Q920773 Q2614375 Q2614058 Q2338494 Q2612742 Q2499351 Q2612216 Q2612210 Q2478212 Q2524318 Q2555514 Q2130857 Q2042249 Q2431462 Q2395564 Q254416 Q2177925 Q2439660 Q1810563 Q2069431 Q1917561 Q2347941 Q2522439 Q951520 Q2146052 Q2616988 Q2613925 Q2181850 Q2982193 Q2008502 Q660492 Q2396800 Q1984831 Q1993140 Q2615780 Q1873173 Q2612361 Q2615787 Q681005 Q2446286 Q2399529 Q2236599 Q2239204 Q2225717 Q2007665 Q2615309 Q919301 Q2611918 Q2056442 Q1936475 Q1924691 Q2612917 Q923666 Q2613217 Q1976258 Q2330847 Q2244828 Q2612913 Q2615543
OR((c(Q55488),P197,Q2481198), (c(Q55488),P137,Q1325591))
action filter_type
action union
action find_reverse
entity Q2481198
relation P197
action find_reverse
entity Q1325591
relation P137
type Q55488
[ANSWERS] are adjacent to Alonso Martínez or can be described as service operator of New York City Transit Authority
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q2481198'], [{'concept': 'Q55488'}, 'P137', 'Q1325591']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P197 resource:Q2481198 } UNION { ?h property:P137 resource:Q1325591 } } . ?h rdf:type ontology:Q55488 }
Third Avenue – 149th Street Second Avenue 137th Street – City College Wakefield – 241st Street Jamaica – 179th Street Bergen Street Clinton–Washington Avenues 42nd Street / Fifth Avenue – Bryant Park Ocean Parkway Grand Street 88th Street Spring Street Broad Street Brook Avenue Dyckman Street 233rd Street 116th Street Beach 98th Street 125th Street 28th Street Kings Highway 170th Street New Utrecht Avenue / 62nd Street 111th Street Rockaway Park – Beach 116th Street 103rd Street – Corona Plaza Rockaway Avenue 52nd Street Aqueduct Racetrack Livonia Avenue Rockaway Avenue 49th Street Van Cortlandt Park – 242nd Street Delancey Street – Essex Street Buhre Avenue 72nd Street 14th Street – Eighth Avenue 75th Street – Elderts Lane East Broadway 104th Street Cortlandt Street Clinton–Washington Avenues Morris Park Alabama Avenue Cathedral Parkway – 110th Street Kingston–Throop Avenues Beverley Road 116th Street Prospect Avenue Bay Parkway Van Siclen Avenue 23rd Street 65th Street 155th Street Cortelyou Road Nassau Avenue Elder Avenue Wall Street West Eighth Street – New York Aquarium Avenue J Prospect Avenue 15th Street – Prospect Park Van Siclen Avenue First Avenue Christopher Street – Sheridan Square 46th Street – Bliss Street Zerega Avenue Hewes Street Far Rockaway – Mott Avenue Halsey Street Bergen Street 67th Avenue 59th Street–Columbus Circle Beverly Road Nereid Avenue 125th Street Grand Avenue – Newtown 145th Street Sutphin Boulevard – Archer Avenue – JFK Airport Hoyt Street 111th Street Burnside Avenue Rector Street Franklin Avenue – Botanic Garden Avenue P Van Siclen Avenue 30th Avenue Kingsbridge Road 46th Street 191st Street Wilson Avenue Woodhaven Boulevard 75th Avenue Junction Boulevard 169th Street Canal Street Cleveland Street Jefferson Street Bay Parkway Lafayette Avenue Cathedral Parkway – 110th Street Pennsylvania Avenue DeKalb Avenue Brighton Beach 104th Street Fort Hamilton Parkway Bilbao Mosholu Parkway 96th Street Nostrand Avenue Rubén Darío Northern Boulevard Rockaway Boulevard 167th Street Clark Street 50th Street Forest Avenue Coney Island – Stillwell Avenue 34th Street – Hudson Yards Gates Avenue Beach 60th Street 125th Street Church Avenue 96th Street West Fourth Street – Washington Square 20th Avenue Prince Street Beach 36th Street Parkchester 96th Street Smith–Ninth Streets 111th Street Bedford Avenue Seventh Avenue Pelham Parkway Flushing Avenue Woodhaven Boulevard Beach 44th Street 157th Street Cypress Avenue 72nd Street Times Square – 42nd Street Atlantic Avenue – Barclays Center Myrtle–Willoughby Avenues Seneca Avenue Lexington Avenue – 63rd Street Euclid Avenue Jay Street – MetroTech 36th Street 25th Avenue Rector Street Howard Beach – JFK Airport Broadway 225th Street Intervale Avenue Beach 105th Street Astoria Boulevard Houston Street Lorimer Street / Metropolitan Avenue (New York City Subway) Central Avenue 36th Avenue Fourth Avenue / Ninth Street Jamaica Center – Parsons/Archer Bronx Park East West Farms Square – East Tremont Avenue 18th Street Marble Hill – 225th Street Kings Highway Shepherd Avenue Cortlandt Street 149th Street – Grand Concourse South Ferry – Whitehall Street 20th Avenue East 180th Street Bay Ridge Avenue 50th Street Union Street Fifth Avenue / 59th Street 14th Street 138th Street – Grand Concourse Avenue N Tremont Avenue 21st Street – Queensbridge Sutter Avenue Castle Hill Avenue Church Avenue Kings Highway 86th Street Newkirk Avenue 238th Street Fort Hamilton Parkway Chueca Classon Avenue Kingston Avenue Halsey Street Neck Road Fresh Pond Road Eastern Parkway – Brooklyn Museum Grand Army Plaza Morgan Avenue Elmhurst Avenue 69th Street Franklin Street Bedford Park Boulevard – Lehman College 167th Street 50th Street Avenue X 77th Street Steinway Street 125th Street Inwood – 207th Street Aqueduct – North Conduit Avenue 145th Street Grant Avenue Avenue U 47th–50th Streets – Rockefeller Center Westchester Square – East Tremont Avenue St. Lawrence Avenue Gun Hill Road 135th Street Newkirk Plaza 231st Street Eighth Avenue Knickerbocker Avenue 110th Street Astor Place 77th Street 86th Street Colón 39th Avenue Whitlock Avenue 18th Avenue York Street 85th Street – Forest Parkway 116th Street – Columbia University Avenue U Freeman Street 207th Street Longwood Avenue Beach 67th Street 121st Street Bushwick Avenue – Aberdeen Street Hunters Point Avenue 33rd Street – Rawson Street Kosciuszko Street Sheepshead Bay 86th Street Forest Hills – 71st Avenue 34th Street – Penn Station 25th Street 86th Street 71st Street Mount Eden Avenue 66th Street – Lincoln Center 116th Street Gun Hill Road 59th Street 79th Street Middletown Road Bleecker Street / Broadway – Lafayette Street 14th Street – Union Square Greenpoint Avenue Bay 50th Street Dyckman Street Parsons Boulevard Fordham Road Ditmas Avenue Avenue I Brooklyn Bridge – City Hall / Chambers Street Crescent Street 63rd Drive – Rego Park Beach 25th Street 28th Street Flushing – Main Street New Lots Avenue 72nd Street Atlantic Avenue 33rd Street Fort Hamilton Parkway 174th–175th Streets Bowery 42nd Street – Port Authority Bus Terminal President Street 161st Street – Yankee Stadium East 143rd Street – St. Mary's Street 18th Avenue Winthrop Street Kingsbridge Road Crown Heights – Utica Avenue Norwood Avenue Pelham Parkway High Street Vernon Boulevard – Jackson Avenue Sutter Avenue – Rutland Road 57th Street Myrtle Avenue Sutphin Boulevard Bay Parkway 174th Street Carroll Street Chambers Street 80th Street 90th Street – Elmhurst Avenue Astoria – Ditmars Boulevard Park Place Cypress Hills Spring Street 45th Street 183rd Street 61st Street – Woodside 68th Street – Hunter College Canal Street 96th Street Liberty Avenue Nostrand Avenue 55th Street Flushing Avenue Eastchester – Dyre Avenue Jamaica – Van Wyck Marcy Avenue Baychester Avenue Lexington Avenue / 59th Street (New York City Subway) 40th Street – Lowery Street Simpson Street 155th Street Burke Avenue 219th Street 181st Street 103rd Street 103rd Street East 105th Street Tribunal 86th Street Grand Central – 42nd Street Fulton Street Bedford Park Boulevard Morrison Avenue – Soundview Flatbush Avenue – Brooklyn College Sterling Street Neptune Avenue Junius Street Third Avenue – 138th Street 135th Street Eighth Street – New York University Fulton Street Avenue U Nevins Street 86th Street 103rd Street Hunts Point Avenue Allerton Avenue Lorimer Street Seventh Avenue 57th Street – Seventh Avenue Avenue H Utica Avenue Jackson Avenue 82nd Street – Jackson Heights Court Street – Borough Hall 36th Street 79th Street Mets – Willets Point 176th Street Bay Ridge – 95th Street Canal Street Middle Village – Metropolitan Avenue Broadway Queensboro Plaza Ninth Avenue 81st Street – Museum of Natural History 182nd–183rd Streets Central Park North – 110th Street Queens Plaza Ozone Park – Lefferts Boulevard Bedford–Nostrand Avenues Briarwood – Van Wyck Boulevard Graham Avenue Avenue M Third Avenue 34th Street – Herald Square East 149th Street City Hall Roosevelt Avenue / 74th Street 170th Street New Lots Avenue Parkside Avenue Montrose Avenue Grand Street Prospect Park Fordham Road Beach 90th Street 34th Street – Penn Station 21st Street Norwood – 205th Street Pelham Bay Park 53rd Street 18th Avenue Seventh Avenue Court Square Gregorio Marañón Ralph Avenue 28th Street Franklin Avenue – Fulton Street Chauncey Street Kew Gardens – Union Turnpike DeKalb Avenue Hoyt–Schermerhorn Streets Canarsie – Rockaway Parkway Broadway Junction Church Avenue
Simpson Street, Beach 44th Street, Rubén Darío, Houston Street, Utica Avenue, 86th Street, 71st Street, 77th Street, 52nd Street and Fort Hamilton Parkway are adjacent to Alonso Martínez or can be described as service operator of New York City Transit Authority
Simpson Street Beach 44th Street Rubén Darío Houston Street Utica Avenue 86th Street 71st Street 77th Street 52nd Street Fort Hamilton Parkway
action filter_type
action union
action find_reverse
entity Alonso Martínez
relation adjacent station
action find_reverse
entity New York City Transit Authority
relation operator
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Alonso Martínez'], [{'concept': 'railway station'}, 'operator', 'New York City Transit Authority']]}
SELECT DISTINCT ?h WHERE { { { ?h property:adjacent_station resource:Alonso_Martínez } UNION { ?h property:operator resource:New_York_City_Transit_Authority } } . ?h rdf:type ontology:railway_station }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q811979 Q55488
USER
Which architectural structures can atmost 1 railway station be located ?
(c(Q55488),P669,c(Q811979))
action atmost
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
value 1
[{'concept': 'Q55488'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P669 ?b . ?b rdf:type ontology:Q811979 . ?e rdf:type ontology:Q55488 } GROUP BY ?b } . FILTER ( ?o <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
value 1
[{'concept': 'railway station'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:located_on_street ?b . ?b rdf:type ontology:architectural_structure . ?e rdf:type ontology:railway_station } GROUP BY ?b } . FILTER ( ?o <= 1 ) }
[]
architectural structure railway station
Q189503 Q175055 Q1573359
SYSTEM
place de la Concorde, place de la République, place de la Nation
Q3389781 Q3389771 Q1019208 Q3389867 Q3390360 Q834403 Q7203716 Q1201111 Q2071624 Q3390406 Q3390656 Q2187982 Q2067174 Q27325650 Q3390652 Q19901143 Q5482884 Q3390561 Q3390566 Q3390086 Q17347170 Q7666566 Q7126262 Q1068262 Q16510200 Q217527 Q3390009 Q3390164 Q15971535 Q3389787 Q3390248 Q15971536 Q19260477 Q3390247 Q3389893 Q3389863 Q1368319 Q175055 Q1070882 Q3389716 Q11819038 Q6811395 Q806988 Q1573359 Q743548 Q870767 Q3365803 Q10669740 Q3390657 Q5160826 Q3390151 Q3390524 Q847613 Q15629976 Q3389976 Q26833863 Q3881523 Q16510199 Q18638628 Q14629278 Q3390556 Q3390091 Q3390090 Q2550495 Q51108 Q3390094 Q2380167 Q3390099 Q27186278 Q3390157 Q3902429 Q16510203 Q3389708 Q14629250 Q390243 Q3390492 Q12012935 Q3390390 Q3389700 Q3390392 Q3390393 Q3390394 Q3390082 Q3390259 Q1759903 Q3390391 Q19407180 Q1959174 Q129143 Q2735858 Q3389961 Q3390686 Q3389963 Q3389962 Q11959872 Q2915521 Q3389966 Q3390541 Q3390418 Q3390370 Q27330020 Q12043370 Q3390149 Q1750652 Q3390729 Q314156 Q3390637 Q15632502 Q1531008 Q3390225 Q2365348 Q3649486 Q16510119 Q1325692 Q24037808 Q5765413 Q3390380 Q3390229 Q12803454 Q14493973 Q3390013 Q3389793 Q24757167 Q3389946 Q3390487 Q3390435 Q3389916 Q3389917 Q3390106 Q3390430 Q3390534 Q3390537 Q1409805 Q3058440 Q3389695 Q892745 Q5016732 Q2052678 Q5055036 Q3390608 Q1656091 Q5052221 Q3649219 Q1936696 Q3389805 Q20799689 Q3390339 Q3390236 Q3389947 Q20796729 Q3390730 Q19670484 Q1017385 Q3389766 Q3390162 Q2099124 Q22956385 Q421678 Q15992418 Q3389878 Q16510156 Q3390141 Q152783 Q500529 Q2032089 Q829294 Q3389828 Q16510186 Q3389904 Q3389903 Q3390330 Q2056775 Q3389821 Q10539292 Q1325713 Q3389826 Q16957223 Q27330007 Q3390599 Q3390613 Q3390421 Q3390444 Q3390617 Q1014325 Q2705335 Q2894411 Q24536371 Q998415 Q10436362 Q16510109 Q4775954 Q701662 Q3390041 Q885408 Q3390123 Q2756450 Q848912 Q7332366 Q3389990 Q3390049 Q17347173 Q1541068 Q20792932 Q16620193 Q3389858 Q643520 Q3390691 Q2748428 Q3362818 Q3389853 Q10548447 Q15715962 Q16670291 Q3390511 Q1810430 Q1506 Q16912462 Q3389831 Q12302841 Q3389837 Q6747523 Q3390544 Q3390598 Q3390667 Q3389840 Q3390593 Q3390596 Q3390210 Q2378453 Q3390057 Q19693351 Q3389747 Q3390054 Q3390053 Q1362670 Q2146085 Q2783781 Q3390699 Q2577891 Q189503 Q683180 Q3389993 Q25467425 Q3390694 Q1957616 Q1422975 Q805259 Q4685881 Q5086152 Q3390503 Q778784 Q3390181 Q20653360 Q1589941 Q3390344 Q1535 Q1811570 Q1810764 Q3390275 Q3390461 Q3390063 Q12323100 Q24493632 Q3390115 Q3390679 Q27325853 Q27325690 Q3390103 Q2736153 Q21777213 Q1428517 Q2406314 Q1721717 Q3389979 Q2402940 Q2097879 Q3390064 Q3389736 Q3389832 Q3389738 Q3048023 Q3902479 Q614 Q1411047 Q863759 Q3390648 Q24481510 Q7849515 Q3389814 Q3390375 Q3390470 Q2493255 Q3783111 Q840577 Q27325663 Q1006268 Q839050 Q3389676 Q3390574 Q3434140 Q970525 Q602107 Q3390077 Q3390076 Q2660380 Q827673 Q801700 Q1966521 Q1753950 Q3390310 Q3390728 Q3390578 Q1579642 Q699504 Q516873 Q12340524 Q3090480 Q1469337 Q1375505 Q16152081 Q5649425 Q3389696 Q3389720 Q426064 Q3390738 Q15651225 Q700753 Q319779 Q16510149 Q127212 Q1368556 Q898629 Q2635425
(c(Q55488),P669,c(Q811979))
action atmost
action find_reverse_tuple_counts
relation P669
type Q811979
type Q55488
value 1
[ANSWERS] can atmost 1 railway station be located
[{'concept': 'Q55488'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P669 ?b . ?b rdf:type ontology:Q811979 . ?e rdf:type ontology:Q55488 } GROUP BY ?b } . FILTER ( ?o <= 1 ) }
place Dalida place Constantin-Pecqueur Malostranské náměstí place Jacques-Bainville place de la Fontaine-aux-Lions Schinkelplatz Plaza del Potro place Saint-Michel Piazza Cordusio place de la Reine-Astrid place du Palais-Bourbon Oudekerksplein plaça del Rei Münzplatz place du Maréchal-de-Lattre-de-Tassigny place des Cordeliers plaza de las Cortes place du 25-Août-1944 place du Bataillon-du-Pacifique place Saint-Ferdinand place de Jacksonville Søren Kierkegaards Plads plaza de San Clemente Carlton House Terrace place du Théâtre Piazza San Marco place Nationale place Victor-et-Hélène-Basch place Clemenceau place Delorme place de Mexico place François-Ier Plaça Major (Montblanc) place de Jaude Place Jean-Paul Riopelle place Hubert-Monmarché Esplanadi place de la République Place Flagey place Baudoyer plac Frankfurcki St. Augustine's Square Bantorget place de la Nation place du Vieux-Marché Place Saint-Lambert Sankt Annæ Plads Skanstorget place du Palais-Royal Congress Square place Valhubert place des Martyrs-Juifs-du-Vélodrome-d'Hiver Wenceslas Square Berliner Platz place Martin-Nadaud plaza de Cuzco Old Palace Yard place Henri-Dunant Praça dos Trabalhadores place de Narvik place des États-Unis place Saint-Gervais place Saint-Georges Washingtonplatz piazza del Duomo place Saint-Germain-des-Prés place Paul-Verlaine place Saint-Louis plaza de los Carros place Vauban piazza Bocca della Verità place Monseigneur-Ruch place Armand-Carrel place Denys-Cochin place Charles-de-Gaulle place des Capucines Jonas Daniël Meijerplein place de la Petite-Hollande place André-Malraux place de la Porte-d'Auteuil place de la Porte-de-Bagnolet place de la Porte-de-Champerret Saint-Epvre square place de Rio-de-Janeiro place du Trocadéro-et-du-11-Novembre place de la Porte-Molitor place du Cardinal-Luçon Münsterplatz Trafalgar Square place Saint-Sulpice place Marc-Elder place du Pont-Neuf place Marcel-Aymé place Marcel-Achard Axeltorv Nathan Phillips Square place Marcelin-Berthelot place des Ternes place de la République place de la Libération Grossmünsterplatz Ovocný trh place Tristan-Bernard Norrmalmstorg place Édith-Piaf Ernst-Reuter-Platz place du Louvre Franz-Xaver-Trips-Platz plaza del Dos de Mayo place de Breteuil Place du 11-Novembre-1918 Cadogan Square place Amédée-Larrieu Place d'Armes Heimplatz Victoria Square Place de la Monnaie place de Colombie Old Square Gemeindehausplatz place Olympe-de-Gouges place Edmond-Rostand Marienplatz place Louis-Lépine place des Abbesses place de la République place Jules-Joffrin place Jules-Renard place Saint-Pierre place de la République Place des Palais/Paleizenplein place des Petits-Pères Leidseplein esplanade Charles-de-Gaulle place Alphonse-Deville Markt Town Square Frederiksplein Cavendish Square place du Guatemala Platz der Vereinten Nationen Cathedral Close, Exeter Cabot Square Tavistock Square place Ferdinand-Brunot place Saint-Martin place de la Bergère-d'Ivry place de Fontenoy place Léon-Blum place de la Liberté place Édouard-VII Place des Nations Piazza Santa Croce place Colette place Victor-Hugo Plaza San Martín Alexandrinenplatz Old Town Square place de Bretagne place Jean-Baptiste-Clément place Notre-Dame place Theodor-Herzl Alexanderplatz St. James's Square Sloane Square Schloßplatz place Gambetta place Napoléon place Joffre place Johann-Strauss place de l'Église-d'Auteuil Paternoster Square place Gaillon Jakobs torg Place Jacques-Cartier place Félix-Éboué Senovážné náměstí Hechtplatz place du Docteur-Alfred-Fournier place du Général-Catroux place de la République place de la Réunion place du Général-Kœnig Canada Square Soho Square Belgrave Square Amtsgerichtsplatz place Franz-Liszt Brunkebergstorg place Aristide-Briand Anton Pieck Square Stephansplatz place Pey-Berland Bloomsbury Square place Salvador-Allende place de l'Opéra Leicester Square Riddarhustorget place Meissonier place Prosper-Goubaux place Guillaume-le-Conquérant largo di Torre Argentina place de la Résistance plaza de Cánovas del Castillo place Henri-Mondor place Vendôme place du Québec College Green Birger Jarls torg place Henri-Krasucki Krafts torg Rathausplatz Emir Abdelkader square place des Fêtes place Dauphine place des Terreaux place de la Mairie place Georges-Guillaumin Banegårdspladsen place Goldoni Manchester Square place des Pyramides place du Colonel-Fabien place du Panthéon place Graslin place du Commerce place du Commerce place d'Iéna place Lucien-Herr place Rhin-et-Danube Theaterplatz place Charles-Dullin place René-Cassin place Raoul-Follereau place des Victoires Mechelseplein Piazza San Babila place du Venezuela place de la Bataille-de-Stalingrad place de la Concorde Muntplein place Michel-Debré Városház Square (Székesfehérvár) place du Sanitat Mårtenstorget place du Châtelet Ballhausplatz Mr. Visserplein Charlotte Square place des Deux-Écus place de la Bastille place Wilson Gough Square Kongens Nytorv place de la Bourse place Antonin-Poncet Haarlemmerplein place de Clichy place de Varsovie place de la Sorbonne place Rochambeau Kultorvet San Francisco Square place Saint-Thomas-d’Aquin place du Président-Mithouard Predigerplatz Zähringerplatz place Saint-Michel Lincoln's Inn Fields Ludwigkirchplatz place d'Armes Tessinerplatz Kaiserplatz place Maréchal-Foch place Saint-Pierre place Denfert-Rochereau place Rodin place Camille-Jullian place Georges-Mulot Cardinal Mercier square Stortorget Piazzale Cadorna place Bellecour Náměstí Republiky Maidan Nezalezhnosti place du Maréchal-Juin Santa Bárbara Square Münsterhof place Fréhel place de la Madeleine place de la Cathédrale Public Square Hanover Square Statue Square St. Peterhofstatt Bundeskanzlerplatz Dam Square place Adolphe-Chérioux place du Canada Gammel Strand plaza de Colón place Pigalle place Saint-Blaise place Saint-Augustin Rijswijkseplein Bertha-von-Suttner-Platz Bahnhofplatz place d'Italie place Kléber place de l'Odéon place Édouard-Renard place du Capitole de Toulouse Rembrandtplein Bebelplatz Agincourt Square Vandkunsten Bolívar Square place de l'Hôtel-de-Ville - Esplanade de la Libération Europaplatz Agias Sofias Square Hanover Square, Manhattan place Alphonse-Laveran place Beauvau place Stanislas place Émile-Goudeau Platz der Deutschen Post Karlsplatz Platz der Luftbrücke place Hardy-de-Lévaré Berkeley Square Parliament Square place des Vosges Victory Square
Place de la Concorde, place de la République and place de la Nation can atmost 1 railway station be located
place de la Concorde place de la République place de la Nation
action atmost
action find_reverse_tuple_counts
relation located on street
type architectural structure
type railway station
value 1
[{'concept': 'railway station'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:located_on_street ?b . ?b rdf:type ontology:architectural_structure . ?e rdf:type ontology:railway_station } GROUP BY ?b } . FILTER ( ?o <= 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q189503 Q175055 Q1573359
P138
Q55488
USER
Which railway stations have those architectural structures as their namesake ?
(c(Q55488),P138,Q189503) (c(Q55488),P138,Q175055) (c(Q55488),P138,Q1573359)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q55488
[{'concept': 'Q55488'}, 'P138', 'Q189503'] [{'concept': 'Q55488'}, 'P138', 'Q175055'] [{'concept': 'Q55488'}, 'P138', 'Q1573359']
SELECT DISTINCT ?g WHERE { ?g property:P138 ?q . VALUES ( ?q ) { ( resource:Q3389781 ) ( resource:Q3389771 ) ( resource:Q1019208 ) } . ?g rdf:type ontology:Q55488 }
place de la Concorde place de la République place de la Nation
action filter_type
action find_reverse
entity prev_answer
relation named after
type railway station
[{'concept': 'railway station'}, 'named after', 'place de la Concorde'] [{'concept': 'railway station'}, 'named after', 'place de la République'] [{'concept': 'railway station'}, 'named after', 'place de la Nation']
SELECT DISTINCT ?g WHERE { ?g property:named_after ?q . VALUES ( ?q ) { ( resource:place_Dalida ) ( resource:place_Constantin-Pecqueur ) ( resource:Malostranské_náměstí ) } . ?g rdf:type ontology:railway_station }
[]
railway station
Q970075 Q1341849 Q1418711
SYSTEM
Concorde, République, Nation
Q970075 Q1341849 Q1418711
(c(Q55488),P138,Q189503) (c(Q55488),P138,Q175055) (c(Q55488),P138,Q1573359)
action filter_type
action find_reverse
entity prev_answer
relation P138
type Q55488
[ANSWERS] have those architectural structures as their namesake
[{'concept': 'Q55488'}, 'P138', 'Q189503'] [{'concept': 'Q55488'}, 'P138', 'Q175055'] [{'concept': 'Q55488'}, 'P138', 'Q1573359']
SELECT DISTINCT ?g WHERE { ?g property:P138 ?q . VALUES ( ?q ) { ( resource:Q3389781 ) ( resource:Q3389771 ) ( resource:Q1019208 ) } . ?g rdf:type ontology:Q55488 }
Concorde République Nation
Concorde, République and Nation have those architectural structures as their namesake
Concorde République Nation
action filter_type
action find_reverse
entity prev_answer
relation named after
type railway station
[{'concept': 'railway station'}, 'named after', 'place de la Concorde'] [{'concept': 'railway station'}, 'named after', 'place de la République'] [{'concept': 'railway station'}, 'named after', 'place de la Nation']
SELECT DISTINCT ?g WHERE { ?g property:named_after ?q . VALUES ( ?q ) { ( resource:place_Dalida ) ( resource:place_Constantin-Pecqueur ) ( resource:Malostranské_náměstí ) } . ?g rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q970075 Q1341849 Q1418711
P197
Q55488
USER
Which railway stations are in the neighbouhood of those ones ?
(Q970075,P197,c(Q55488)) (Q1341849,P197,c(Q55488)) (Q1418711,P197,c(Q55488))
action filter_type
action find
entity prev_answer
relation P197
type Q55488
['Q970075', 'P197', {'concept': 'Q55488'}] ['Q1341849', 'P197', {'concept': 'Q55488'}] ['Q1418711', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q55488 . ?n property:P197 ?g . VALUES ( ?n ) { ( resource:Q970075 ) ( resource:Q1341849 ) ( resource:Q1418711 ) } }
Concorde République Nation
action filter_type
action find
entity prev_answer
relation adjacent station
type railway station
['Concorde', 'adjacent station', {'concept': 'railway station'}] ['République', 'adjacent station', {'concept': 'railway station'}] ['Nation', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:railway_station . ?n property:adjacent_station ?g . VALUES ( ?n ) { ( resource:Concorde ) ( resource:République ) ( resource:Nation ) } }
[]
railway station
Q1417199 Q1403165 Q1578030
SYSTEM
Madeleine, Strasbourg – Saint-Denis, Oberkampf
Q740744 Q666009 Q1061527 Q1417199 Q1528456 Q1536969 Q1403165 Q713944 Q1414178 Q1970334 Q1677923 Q1578030 Q1660212 Q589686 Q517844 Q647271 Q1018331 Q1969472 Q1576928
(Q970075,P197,c(Q55488)) (Q1341849,P197,c(Q55488)) (Q1418711,P197,c(Q55488))
action filter_type
action find
entity prev_answer
relation P197
type Q55488
[ANSWERS] are in the neighbouhood of those ones
['Q970075', 'P197', {'concept': 'Q55488'}] ['Q1341849', 'P197', {'concept': 'Q55488'}] ['Q1418711', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q55488 . ?n property:P197 ?g . VALUES ( ?n ) { ( resource:Q970075 ) ( resource:Q1341849 ) ( resource:Q1418711 ) } }
Assemblée Nationale Tuileries Champs-Élysées – Clemenceau Madeleine Invalides Goncourt Strasbourg – Saint-Denis Arts et Métiers Filles du Calvaire Parmentier Jacques Bonsergent Oberkampf Temple Picpus Avron Reuilly – Diderot Buzenval Rue des Boulets Porte de Vincennes
Madeleine, Strasbourg – Saint-Denis and Oberkampf are in the neighbouhood of those ones
Madeleine Strasbourg – Saint-Denis Oberkampf
action filter_type
action find
entity prev_answer
relation adjacent station
type railway station
['Concorde', 'adjacent station', {'concept': 'railway station'}] ['République', 'adjacent station', {'concept': 'railway station'}] ['Nation', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:railway_station . ?n property:adjacent_station ?g . VALUES ( ?n ) { ( resource:Concorde ) ( resource:République ) ( resource:Nation ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1417199 Q1403165 Q1578030
P197
Q55488
USER
Which railway stations are in the neighbouhood of Madeleine, Strasbourg – Saint-Denis and Oberkampf ?
(c(Q55488),P197,Q1417199) (c(Q55488),P197,Q1403165) (c(Q55488),P197,Q1578030)
action union
action filter_type
action find
entity Q1417199
relation P197
type Q55488
action filter_type
action find
entity Q1403165
relation P197
type Q55488
action filter_type
action find
entity Q1578030
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q1417199'] [{'concept': 'Q55488'}, 'P197', 'Q1403165'] [{'concept': 'Q55488'}, 'P197', 'Q1578030']
SELECT DISTINCT ?q WHERE { ?u property:P197 ?q . VALUES ( ?u ) { ( resource:Q1417199 ) ( resource:Q1403165 ) } }
Madeleine Strasbourg – Saint-Denis Oberkampf
action union
action filter_type
action find
entity Madeleine
relation adjacent station
type railway station
action filter_type
action find
entity Strasbourg – Saint-Denis
relation adjacent station
type railway station
action filter_type
action find
entity Oberkampf
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Madeleine'] [{'concept': 'railway station'}, 'adjacent station', 'Strasbourg – Saint-Denis'] [{'concept': 'railway station'}, 'adjacent station', 'Oberkampf']
SELECT DISTINCT ?q WHERE { ?u property:adjacent_station ?q . VALUES ( ?u ) { ( resource:Madeleine ) ( resource:Strasbourg_–_Saint-Denis ) } }
[]
railway station
Q1341849 Q1341849 Q1341849
SYSTEM
République
Q1392037 Q1501462 Q1519529 Q1519529 Q970075 Q970075 Q669850 Q892720 Q892720 Q1341849 Q1341849 Q1090753 Q1789070 Q1341849 Q1341849 Q1450538
(c(Q55488),P197,Q1417199) (c(Q55488),P197,Q1403165) (c(Q55488),P197,Q1578030)
action union
action filter_type
action find
entity Q1417199
relation P197
type Q55488
action filter_type
action find
entity Q1403165
relation P197
type Q55488
action filter_type
action find
entity Q1578030
relation P197
type Q55488
[ANSWER], [ANSWER] and [ANSWER] are in the neighbouhood of Madeleine, Strasbourg – Saint-Denis and Oberkampf
[{'concept': 'Q55488'}, 'P197', 'Q1417199'] [{'concept': 'Q55488'}, 'P197', 'Q1403165'] [{'concept': 'Q55488'}, 'P197', 'Q1578030']
SELECT DISTINCT ?q WHERE { ?u property:P197 ?q . VALUES ( ?u ) { ( resource:Q1417199 ) ( resource:Q1403165 ) } }
Opéra Pyramides Saint-Lazare Saint-Lazare Concorde Concorde Réaumur – Sébastopol Bonne Nouvelle Bonne Nouvelle République République Château d'Eau Richard-Lenoir République République Saint-Ambroise
République, République and République are in the neighbouhood of Madeleine, Strasbourg – Saint-Denis and Oberkampf
République République République
action union
action filter_type
action find
entity Madeleine
relation adjacent station
type railway station
action filter_type
action find
entity Strasbourg – Saint-Denis
relation adjacent station
type railway station
action filter_type
action find
entity Oberkampf
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Madeleine'] [{'concept': 'railway station'}, 'adjacent station', 'Strasbourg – Saint-Denis'] [{'concept': 'railway station'}, 'adjacent station', 'Oberkampf']
SELECT DISTINCT ?q WHERE { ?u property:adjacent_station ?q . VALUES ( ?u ) { ( resource:Madeleine ) ( resource:Strasbourg_–_Saint-Denis ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189503
P276
Q20667921
USER
Which french administrative division is the location of place de la Concorde ?
(Q189503,P276,c(Q20667921))
action filter_type
action find
entity Q189503
relation P276
type Q20667921
['Q189503', 'P276', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q189503 property:P276 ?e . ?e rdf:type ontology:Q20667921 }
place de la Concorde
action filter_type
action find
entity place de la Concorde
relation location
type type of french administrative division
['place de la Concorde', 'location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:place_de_la_Concorde property:location ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q3413229
SYSTEM
Champs-Élysées
Q3413229
(Q189503,P276,c(Q20667921))
action filter_type
action find
entity Q189503
relation P276
type Q20667921
The [ANSWER] is the location of place de la Concorde
['Q189503', 'P276', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q189503 property:P276 ?e . ?e rdf:type ontology:Q20667921 }
Champs-Élysées
The Champs-Élysées is the location of place de la Concorde
Champs-Élysées
action filter_type
action find
entity place de la Concorde
relation location
type type of french administrative division
['place de la Concorde', 'location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:place_de_la_Concorde property:location ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]