Simple Question (Direct)
Simple Question
Q6758421
P21
Q290
USER
Which sex does Marcus Robertson possess ?
(Q6758421,P21,c(Q290))
action filter_type
action find
entity Q6758421
relation P21
type Q290
['Q6758421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6758421 property:P21 ?j . ?j rdf:type ontology:Q290 }
Marcus Robertson
action filter_type
action find
entity Marcus Robertson
relation gender
type sex
['Marcus Robertson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Marcus_Robertson property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6758421,P21,c(Q290))
action filter_type
action find
entity Q6758421
relation P21
type Q290
Marcus Robertson possesses a [ANSWER]
['Q6758421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6758421 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Marcus Robertson possesses a male
male
action filter_type
action find
entity Marcus Robertson
relation gender
type sex
['Marcus Robertson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Marcus_Robertson property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17319025 Q6758421
P27
Q15617994
USER
Which administrative territories are Marcus Robertson or Joaquín Lloréns Fernández de Cordoba an inhabitant of ?
OR((Q6758421,P27,c(Q15617994)), (Q17319025,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6758421
relation P27
action find
entity Q17319025
relation P27
type Q15617994
{'OR': [['Q6758421', 'P27', {'concept': 'Q15617994'}], ['Q17319025', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6758421 property:P27 ?s } UNION { resource:Q17319025 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Joaquín Lloréns Fernández de Cordoba Marcus Robertson
action filter_type
action union
action find
entity Marcus Robertson
relation country of citizenship
action find
entity Joaquín Lloréns Fernández de Cordoba
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marcus Robertson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Joaquín Lloréns Fernández de Cordoba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Marcus_Robertson property:country_of_citizenship ?s } UNION { resource:Joaquín_Lloréns_Fernández_de_Cordoba property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q30
SYSTEM
Spain, United States of America
Q29 Q30
OR((Q6758421,P27,c(Q15617994)), (Q17319025,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6758421
relation P27
action find
entity Q17319025
relation P27
type Q15617994
Are Marcus Robertson or Joaquín Lloréns Fernández de Cordoba an inhabitant of both [ANSWERS]
{'OR': [['Q6758421', 'P27', {'concept': 'Q15617994'}], ['Q17319025', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6758421 property:P27 ?s } UNION { resource:Q17319025 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Spain United States of America
Are Marcus Robertson or Joaquín Lloréns Fernández de Cordoba an inhabitant of both Spain and United States of America
Spain United States of America
action filter_type
action union
action find
entity Marcus Robertson
relation country of citizenship
action find
entity Joaquín Lloréns Fernández de Cordoba
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Marcus Robertson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Joaquín Lloréns Fernández de Cordoba', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Marcus_Robertson property:country_of_citizenship ?s } UNION { resource:Joaquín_Lloréns_Fernández_de_Cordoba property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q14042774
P27
Q502895
USER
Are Ricard Torralba i Llauradó a native of those administrative territories ?
(Q14042774,P27,Q29) (Q14042774,P27,Q30)
action is_in
entity prev_answer
action find
entity Q14042774
relation P27
['Q14042774', 'P27', 'Q29'] ['Q14042774', 'P27', 'Q30']
ASK WHERE { VALUES ( ?y ) { ( resource:Q29 ) ( resource:Q30 ) } . resource:Q14042774 property:P27 ?y }
Ricard Torralba i Llauradó
action is_in
entity prev_answer
action find
entity Ricard Torralba i Llauradó
relation country of citizenship
['Ricard Torralba i Llauradó', 'country of citizenship', 'Spain'] ['Ricard Torralba i Llauradó', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?y ) { ( resource:Spain ) ( resource:United_States_of_America ) } . resource:Ricard_Torralba_i_Llauradó property:country_of_citizenship ?y }
[]
common name
SYSTEM
NO
(Q14042774,P27,Q29) (Q14042774,P27,Q30)
action is_in
entity prev_answer
action find
entity Q14042774
relation P27
[ANSWER]
['Q14042774', 'P27', 'Q29'] ['Q14042774', 'P27', 'Q30']
ASK WHERE { VALUES ( ?y ) { ( resource:Q29 ) ( resource:Q30 ) } . resource:Q14042774 property:P27 ?y }
No
action is_in
entity prev_answer
action find
entity Ricard Torralba i Llauradó
relation country of citizenship
['Ricard Torralba i Llauradó', 'country of citizenship', 'Spain'] ['Ricard Torralba i Llauradó', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?y ) { ( resource:Spain ) ( resource:United_States_of_America ) } . resource:Ricard_Torralba_i_Llauradó property:country_of_citizenship ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q145 Q29
P17
Q55488
USER
Which railway stations are present in Spain or United Kingdom ?
OR((c(Q55488),P17,Q29), (c(Q55488),P17,Q145))
action filter_type
action union
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q145
relation P17
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P17', 'Q29'], [{'concept': 'Q55488'}, 'P17', 'Q145']]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Q29 ) ( resource:Q145 ) } . ?a property:P17 ?m } . ?a rdf:type ontology:Q55488 }
United Kingdom Spain
action filter_type
action union
action find_reverse
entity Spain
relation country
action find_reverse
entity United Kingdom
relation country
type railway station
{'OR': [[{'concept': 'railway station'}, 'country', 'Spain'], [{'concept': 'railway station'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Spain ) ( resource:United_Kingdom ) } . ?a property:country ?m } . ?a rdf:type ontology:railway_station }
[]
railway station
Q2503261 Q1074875 Q801441 Q2607435 Q2474414 Q2646936 Q14562709 Q7782528 Q2109006 Q5845574
SYSTEM
Some of them are Vilapicina, Chiswick Park tube station, Shoreditch High Street, Avinguda Carrilet, Barajas, Molí Nou – Ciutat Cooperativa, London Underground station, Therapia Lane tram stop, Urquinaona, Abando
Q1549587 Q2518479 Q477733 Q2056616 Q2313145 Q2019277 Q944664 Q2003013 Q800451 Q1431088 Q774677 Q506934 Q1431081 Q1300073 Q678791 Q2331545 Q801547 Q1033431 Q1473963 Q20811302 Q667797 Q2501185 Q4352661 Q2538959 Q2052560 Q2004752 Q2056497 Q979398 Q801441 Q2640900 Q3192875 Q1947443 Q10948997 Q3269428 Q7005193 Q812631 Q7373931 Q2055844 Q2482086 Q800705 Q1971670 Q955699 Q24035176 Q1366438 Q2120040 Q1113224 Q2120048 Q1141277 Q2058848 Q2056869 Q795322 Q138914 Q526358 Q1135834 Q2547644 Q801616 Q784876 Q2482424 Q4889339 Q2057416 Q5846865 Q1757132 Q3820879 Q2485060 Q999705 Q5116720 Q2485068 Q1317971 Q7974621 Q1459844 Q1822454 Q599724 Q579345 Q20789953 Q1804714 Q2479478 Q20789954 Q1526395 Q1738951 Q630441 Q3269432 Q800858 Q604060 Q2243993 Q2028165 Q2479775 Q732179 Q1061682 Q2481265 Q597571 Q1416721 Q654577 Q4352722 Q2710794 Q4352680 Q175256 Q513260 Q617824 Q2705508 Q800447 Q978377 Q3750918 Q929500 Q800840 Q800841 Q2484433 Q2729745 Q2480862 Q1866200 Q1363805 Q1197072 Q2692167 Q24035180 Q2564204 Q2479062 Q1105305 Q1857104 Q24237784 Q4889669 Q2060520 Q526836 Q514447 Q3544569 Q2018370 Q1569388 Q801347 Q2481009 Q1902898 Q2527066 Q1850417 Q602081 Q510707 Q801156 Q1857076 Q2482152 Q1326180 Q813772 Q20875150 Q800623 Q20875155 Q1277721 Q1929866 Q117586 Q1305890 Q616218 Q1493698 Q616210 Q4503373 Q1332680 Q801124 Q1433544 Q2482166 Q729399 Q2041028 Q2605805 Q2484959 Q2719965 Q2696985 Q605723 Q4352657 Q10948094 Q649362 Q5046100 Q2059161 Q450893 Q895162 Q2059047 Q1869410 Q1650871 Q2696501 Q1276908 Q4341197 Q1857089 Q800922 Q3636954 Q4352806 Q1777884 Q26448 Q952778 Q1363912 Q2109006 Q2548194 Q2482419 Q2481218 Q2481349 Q1803672 Q1026585 Q1287877 Q2482414 Q2420839 Q38876 Q1291126 Q801299 Q38879 Q2481187 Q935853 Q1631346 Q1284426 Q969395 Q2211127 Q2055837 Q1857925 Q1334978 Q1841199 Q2058663 Q697151 Q801000 Q2244102 Q784989 Q3269808 Q764016 Q3849824 Q5544906 Q7416357 Q2484422 Q1481451 Q2028238 Q1272075 Q451653 Q599135 Q214788 Q1334221 Q894569 Q2056886 Q2058644 Q18516630 Q2184180 Q671034 Q1265322 Q451951 Q1810408 Q2055658 Q3780396 Q450533 Q3360320 Q2167448 Q2482135 Q2686184 Q24035178 Q2106590 Q3774738 Q24035179 Q4688384 Q2643379 Q1269975 Q528905 Q3780401 Q17077199 Q895388 Q3780405 Q2482617 Q957660 Q1109527 Q2481243 Q582040 Q1157207 Q1157204 Q7833249 Q2369006 Q2058037 Q4352834 Q2482024 Q1974732 Q895380 Q1917240 Q1074875 Q800907 Q801595 Q800610 Q801459 Q801454 Q800618 Q2647730 Q800754 Q2464246 Q801639 Q2720055 Q2547358 Q1277984 Q685100 Q1146606 Q1877541 Q966680 Q2120057 Q1974740 Q1974743 Q646052 Q1095082 Q1095083 Q2548401 Q1806401 Q1378779 Q636351 Q2056874 Q801623 Q570560 Q591874 Q663938 Q1702680 Q1757107 Q2485075 Q822041 Q945882 Q1431071 Q1813621 Q2304475 Q2547776 Q3306947 Q2072583 Q1663773 Q1113361 Q1486729 Q19819 Q927753 Q2479465 Q2324010 Q24090523 Q2324406 Q2056839 Q2479342 Q4352735 Q1108796 Q2481371 Q2057577 Q2393008 Q2056525 Q4352739 Q1488320 Q684862 Q782924 Q1891699 Q948393 Q2479349 Q782929 Q2480917 Q2482075 Q2061686 Q830779 Q2056461 Q926936 Q388743 Q2226449 Q596655 Q1457814 Q664440 Q1431057 Q2363363 Q3544572 Q2549147 Q20803734 Q892189 Q2481204 Q20827630 Q1426090 Q800541 Q2367549 Q966533 Q2080362 Q2474414 Q2354124 Q450810 Q2462831 Q813749 Q1366462 Q3676061 Q801096 Q8033361 Q344481 Q2305840 Q2284424 Q576330 Q2383315 Q2484967 Q1549573 Q1972193 Q17015928 Q801480 Q801529 Q384453 Q894073 Q1277850 Q2646936 Q890391 Q2059170 Q1028430 Q962261 Q649419 Q2536679 Q2403543 Q1974778 Q634345 Q2479389 Q7782528 Q1434642 Q2481582 Q1974772 Q2180113 Q648558 Q1374399 Q1411854 Q2640991 Q786259 Q175436 Q592352 Q808729 Q2072521 Q24230260 Q1649850 Q2482402 Q2481405 Q2479913 Q2484454 Q2547661 Q2479851 Q14562709 Q17080326 Q2463533 Q2479859 Q486501 Q1181455 Q2378663 Q1997098 Q643209 Q580146 Q2094288 Q1278097 Q801365 Q801366 Q2484416 Q921800 Q1741248 Q2479793 Q15081284 Q2734598 Q2161169 Q2464797 Q990658 Q4352748 Q962642 Q1882713 Q2481248 Q2056510 Q1308799 Q2480338 Q2479837 Q2056515 Q2244021 Q10948342 Q3827253 Q24060460 Q3613056 Q3827256 Q2482103 Q450526 Q1832307 Q16246008 Q1742030 Q801102 Q2463399 Q1804559 Q831397 Q2014690 Q1802437 Q956849 Q3045499 Q1207006 Q2546530 Q747162 Q1431064 Q4940996 Q1191937 Q631448 Q20827646 Q262548 Q2479784 Q20827641 Q2778422 Q1259474 Q2121603 Q1033599 Q2473865 Q826120 Q2547669 Q1427150 Q669990 Q946831 Q636614 Q1393332 Q651554 Q2711177 Q801582 Q5846080 Q1828818 Q2125964 Q1342356 Q2054359 Q2548808 Q949382 Q1975942 Q20859795 Q16994029 Q1766008 Q24090329 Q801580 Q2120068 Q2547046 Q19573587 Q2486887 Q168557 Q1734740 Q2079617 Q2449141 Q1857909 Q2479812 Q801594 Q747555 Q1473616 Q2485042 Q1757110 Q1974794 Q1757115 Q3820855 Q2000556 Q2436833 Q2055810 Q2127269 Q730768 Q2055817 Q1718915 Q1439481 Q1235761 Q2473940 Q1366453 Q1716538 Q2479455 Q1624885 Q2035804 Q5069089 Q2479001 Q536796 Q1974942 Q1974765 Q2547614 Q2481364 Q2547599 Q1761206 Q2056493 Q5447235 Q2704346 Q13141057 Q2605288 Q1890387 Q2244064 Q2056948 Q926679 Q1973338 Q1804600 Q24035182 Q2056478 Q2480845 Q744426 Q1279102 Q2484526 Q801253 Q733229 Q2484445 Q2479031 Q452178 Q2244081 Q2021847 Q2479039 Q615430 Q2055072 Q1277562 Q3504674 Q1868954 Q730267 Q640079 Q24237894 Q1804679 Q1447922 Q1936465 Q1890537 Q664375 Q20859571 Q1532858 Q24238046 Q1477336 Q813750 Q2482098 Q1804696 Q800445 Q1549562 Q2600828 Q2482378 Q2484972 Q1766021 Q801499 Q2482146 Q1885195 Q2617870 Q1093983 Q649184 Q519434 Q2472213 Q2719931 Q2480869 Q801474 Q2481002 Q2482040 Q1095075 Q3497828 Q2482246 Q2696095 Q1768993 Q2474438 Q2477093 Q2375864 Q1146210 Q607324 Q2697462 Q5179839 Q7258528 Q2593088 Q930999 Q2482395 Q2055525 Q1974760 Q535545 Q2597956 Q1857872 Q1566247 Q630409 Q3844841 Q2140013 Q2593086 Q1573996 Q1567095 Q801602 Q801601 Q277100 Q1988621 Q426804 Q7186947 Q2479844 Q2635957 Q1757120 Q5119638 Q1757126 Q913515 Q2462763 Q2536322 Q2057787 Q2382515 Q7307059 Q1592614 Q6773330 Q5131456 Q763293 Q1431094 Q1459835 Q451981 Q2479567 Q768560 Q2484406 Q2479404 Q2016175 Q1628404 Q1684782 Q1347608 Q2404313 Q2479769 Q2484393 Q531444 Q2876854 Q4352690 Q4352693 Q83842 Q2056503 Q2503261 Q284195 Q2482052 Q800892 Q800999 Q2348839 Q450510 Q1530578 Q24060458 Q1492485 Q2736048 Q2244272 Q3544564 Q5225733 Q6662683 Q3495438 Q2058531 Q746880 Q801210 Q736375 Q2251103 Q2514293 Q2464739 Q1804645 Q946924 Q2004333 Q2481170 Q801002 Q3585564 Q2328516 Q2481179 Q2059021 Q2042482 Q678668 Q24247808 Q3786852 Q301995 Q20795661 Q801431 Q801433 Q1094407 Q1475207 Q2547371 Q19462304 Q2058996 Q1211566 Q608766 Q801001 Q4681193 Q2484947 Q2484940 Q1032842 Q1549556 Q808290 Q830777 Q1762419 Q568579 Q806704 Q3820626 Q14559036 Q20948810 Q645943 Q2079609 Q1489665 Q690814 Q543140 Q4923016 Q1974786 Q543261 Q2485050 Q5597828 Q4889839 Q2205125 Q286666 Q3752252 Q2696516 Q1424421 Q2059004 Q1670635 Q934059 Q4352810 Q2054883 Q5845574 Q4352815 Q1924802 Q1115250 Q4681921 Q2058271 Q610740 Q2481355 Q2481198 Q2482116 Q1780856 Q2133945 Q515413 Q3296287 Q2056542 Q800384 Q38909 Q1742147 Q2430675 Q2536272 Q3941077 Q2060846 Q8779955 Q1804611 Q2056760 Q2607435 Q1808896 Q2056442 Q800896 Q976035 Q1828548 Q2000638 Q2055499 Q2479437 Q2397220 Q2181335 Q1347650 Q955065 Q2481227 Q5172891 Q782113 Q2482382 Q880956 Q3858791 Q23081
OR((c(Q55488),P17,Q29), (c(Q55488),P17,Q145))
action filter_type
action union
action find_reverse
entity Q29
relation P17
action find_reverse
entity Q145
relation P17
type Q55488
[ANSWERS] are present in Spain or United Kingdom
{'OR': [[{'concept': 'Q55488'}, 'P17', 'Q29'], [{'concept': 'Q55488'}, 'P17', 'Q145']]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Q29 ) ( resource:Q145 ) } . ?a property:P17 ?m } . ?a rdf:type ontology:Q55488 }
Lambeth North tube station Vall d'Hebron Ruislip Manor tube station Villaverde Bajo-Cruce Paral·lel Sant Roc West Kensington tube station Torrassa Barking station Gloucester Road tube station Francos Rodríguez Santa Coloma St. Paul's tube station Finchley Road tube station Oxford Circus tube station Hospital Clínic Upminster station Canning Town Pimlico tube station Wilkinson Street tram stop Valdecarros Gràcia San Juan Alto Leicester Square tube station Park Royal & Twyford Abbey tube station Sainz de Baranda Torre Arias Lesseps Shoreditch High Street Entença Ventilla Morden tube station Leganés Central Buchanan Street subway station New Addington tram stop Bayswater tube station Royal Centre tram stop Arganda del Rey Avenida de la Ilustración Ealing Broadway station West India Quay Goya University Boulevard tram stop Warren Street tube station Rayners Lane tube station Via Júlia White City tube station Crossharbour Jarama Manuel Becerra Charing Cross tube station Chesham tube station Avenida de la Paz Westminster tube station Fondo Wimbledon station Mile End tube station Parque Oeste Parc Logístic (Barcelona Metro) Oporto Palacio de Congresos railway station North Greenwich tube station La Gavia Los Espartales Buckhurst Hill tube station Church Street tram stop Hospital Severo Ochoa Northolt tube station Watford Vicarage Road tube station Heron Quays Leytonstone tube station Cyprus Balham station Wilford Village tram stop Cessnock subway station Sierra de Guadalupe Meadows Embankment tram stop Poplar Kennington tube station Villa de Vallecas Hillhead subway station Gunnersbury station Belsize Park tube station Hospital Infanta Sofía Totteridge and Whetstone tube station Méndez Álvaro Can Vidalet Chancery Lane tube station Canillas Chigwell tube station Finchley Central tube station Harrow-on-the-Hill station Puerta Jerez Virrei Amat Gran Plaza Rotherhithe railway station Westferry Highgate tube station Nuevos Ministerios Station Plaça de Catalunya station Hounslow West tube station Etxebarri Hospital 12 de Octubre Greenwich Greenford station Abrantes Gran Vía Parque de las Avenidas Camp de l'Arpa West Acton tube station Hatton Cross tube station Tetuan Gregory Street tram stop Nervión La Poveda (Madrid Metro) Cockfosters tube station Willesden Green tube station Clifton South tram stop Santa Rosa Colonia Jardín Mudchute Sant Antoni Can Zam Pinar del Rey Hainault tube station Queen's Park (London) station Suanzes Lago Príncipe Pío Montbau Conservatorio Parque Lisboa Manchester Liverpool Road railway station Neasden tube station Puerta del Ángel Plaistow tube station Becontree tube station Meadows Way West tram stop Chorleywood station Queens Walk tram stop East Acton tube station Artigues – Sant Adrià Brixton tube station Hanger Lane tube station Baker Street tube station Gants Hill tube station Vista Alegre Govan subway station Elm Park tube station Liverpool Street station Holborn tube station Begoña Ickenham tube station Jaume I Aeropuerto T4 Arroyo Culebro Joanic Barrio de la Concepción Whitechapel station Parque de los Príncipes Coslada Central Artilleros Carretera Amarilla / Tesalónica Fuencarral Down Street tube station Bounds Green tube station La Moraleja El Putxet Perivale tube station Urgel Ealing Common tube station Pablo de Olavide West Hampstead tube station Highbury & Islington station Baunatal Cavaleri Royal Albert Piccadilly Circus tube station Penitents Island Gardens Urquinaona Florida Universidad Rey Juan Carlos Alonso Cano Simancas Notting Hill Gate tube station Caledonian Road tube station Ruislip tube station Pan Bendito Cuatro Caminos Barbican tube station Loughton tube station Old Street station Covent Garden tube station Alfonso XIII Rocafort Hounslow East tube station Edgware Road tube station Bac de Roda Wood Lane tube station Valdeacederas Westbourne Park tube station Embankment tube station Sant Gervasi Peñagrande Arnos Grove tube station Kew Gardens station Las Tablas Alfons X St George's Cross subway station Northfields tube station Marqués de la Valdavia George Street tram stop Sandilands tram stop Hospital de Móstoles Elephant & Castle tube station Sant Martí North Ealing tube station South Acton railway station Chalk Farm tube station London Paddington station Elverson Road Boston Manor tube station Rubén Darío San Fernando Docklands Light Railway station Encants High Barnet tube station Selva de Mar Hounslow Town tube station Fabra i Puig Diego de León Bellvitge/Gornal Ongar railway station Paddington (Pared Street) tube station Golders Green tube station Laguna Cornellà Centre University of Nottingham tram stop Congrés Ciudad Expo Queen's Medical Centre tram stop Aeronáutica Horta East Ham tube station Joaquín Vilumbrales Magòria-La Campana Luis Uruñuela Bow Road tube station Sant Josep Carabanchel Alto Lucero Colliers Wood tube station Esperanza Príncipe de Vergara Dagenham Heathway tube station Dagenham East tube station Tramway Pep Ventura Cartagena Plaza de Cuba Cuzco Redbridge tube station Bow Church St Enoch subway station Chiswick Park tube station Heathrow Terminal 5 station West Brompton station Canada Water station South Ruislip station South Kenton station Chalfont & Latimer station La Bonanova Farringdon station Concha Espina Woolwich Arsenal Maragall Roquetes East Putney tube station Tooting Broadway tube station Cutty Sark for Maritime Greenwich Monumental Islas Filipinas Snaresbrook tube station West Harrow tube station Northwick Park tube station Grange Hill tube station Clapham North tube station Clapham South tube station Tarragona Prince Regent Euston tube station Archway tube station Retiro Willesden Junction station Hillingdon tube station Barceloneta Wanstead tube station Tower Gateway Turnpike Lane tube station Getafe Central Bermondsey tube station Wood Green tube station Temple tube station Vallcarca South Ealing tube station Mercat Nou Delicias Zona Universitària Park Royal tube station Iglesia Warwick Avenue tube station Watford tube station Duque de Pastrana Alto del Arenal St Mary's tube station Compton Acres tram stop Trinitat Vella Legazpi República Argentina San Juan Bajo Colindale tube station Arturo Soria Empalme Hucknall station Prosperidad Cocheras Alperton tube station Móstoles Núñez de Balboa Stepney Green tube station El Maresme-Fòrum Ríos Rosas Aldgate tube station García Noblejas San Blas San Francisco Besòs Arganzuela-Planetario Brompton Road tube station Lavapiés Mundet Maria Cristina Parsons Green tube station Alvarado Lancaster Gate tube station Ernest Lluch Singuerlín Drassanes Basford tram stop Bond Street tube station Palos de la Frontera Butler's Hill tram stop Shoreditch Blackhorse Road station Can Serra Valldaura Condequinto Barajas Pubilla Cases British Museum tube station Colombia Beckton Park Green Park tube station Chueca Lewisham Woodside tram stop Acton Town tube station Acacias / Embajadores Gorg station Hospital de Fuenlabrada Liceu Loranca Manor House tube station West Silvertown DLR station Nottingham Trent University tram stop Stratford station Tottenham Hale station Pueblo Nuevo Borough tube station East Finchley tube station Molí Nou – Ciutat Cooperativa Bogatell Puerta de Arganda Camden Town tube station Swiss Cottage tube station Marylebone station Sant Andreu Alameda de Osuna Wimbledon Park tube station High Street Kensington tube station Rivas Vaciamadrid (Madrid Metro) Therapia Lane tram stop Theydon Bois tube station Plaza de España / Noviciado Woodside Park tube station Les Corts New Cross Gate railway station Llacuna Ladbroke Grove tube station Almeda Marble Arch tube station West Finchley tube station Juan de la Cierva Barons Court tube station Europa Toton Lane tram stop Upton Park tube station Guzmán el Bueno Ascao O'Donnell Parque de los Estados Bellvitge Buenos Aires London Underground station Montesierra Barrio del Pilar Vicálvaro - Rey Juan Carlos University Swiss Cottage (Metropolitan line) tube station Debden tube station Ventura Rodríguez Sants Estació Usera Manuel de Falla Urgell Eastcote tube station Rickmansworth station Richmond station La Peseta Pinar de Chamartín Kilburn tube station San Cipriano Danby Wiske railway station Gavarra Roding Valley tube station Estrella Aldwych tube station 1º de Mayo Sant Ildefons Sant Pau – Dos de Maig Colón El Capricho Hendon Central tube station Villaverde Alto Miguel Hernández Puerta de Toledo Bambú Fuenlabrada Central Las Rosas Wilford Lane tram stop Alsacia Las Suertes Alto de Extremadura Blake Hall tube station Verneda Bollington railway station King George V Limehouse Plaza de Castilla West Street subway station Bethnal Green tube station Ventas Cowcaddens subway station Wembley Park tube station Ariz Devons Road Partick station Quevedo Aldgate East tube station Bon Pastor Deptford Bridge Northwood tube station Bulwell Forest tram stop Arsenal tube station Bilbao Moor Bridge tram stop El Casar Regent's Park tube station Sudbury Hill tube station Canons Park tube station Campo de las Naciones King's Cross St. Pancras tube station Torras i Bages La Pau Espanya South Harrow tube station Kentish Town station Fairlop tube station Osterley tube station Can Boixeres Walthamstow Central station Paco de Lucía Brent Cross tube station Santo Domingo Stamford Brook tube station Plaça de Sants Sagrada Família Kilburn Park tube station Canyelles Lace Market tram stop Highbury Vale tram stop Sol Ruddington Lane tram stop Wapping railway station South Woodford tube station Baró de Viver Parkside railway station Casa del Reloj East India Leyton tube station Olivar de Quintos Moncloa Shepherd's Bush Market tube station Vinateros Wembley Central station Trinitat Nova Fulham Broadway tube station El Carrascal Stanmore tube station Putney Bridge tube station Royal Oak tube station La Fortuna Northwood Hills tube station Parc de Montjuïc (Barcelona Metro) San Bernardo Plaça del Centre Avenida de América Conde de Casal Ruislip Gardens tube station Hounslow Central tube station Dollis Hill tube station Antón Martín Euston Square tube station Poblenou Canal Holloway Road tube station Santa Eulàlia Chalvey Halt railway station Menéndez Pelayo Finsbury Park station All Saints Preston Road tube station Navas Campamento Glòries Upney tube station Pirámides Fieldway tram stop Santiago Bernabéu Waterloo tube station Ildefons Cerdà Mornington Crescent tube station La Rambla Marqués de Vadillo Bromley-by-Bow tube station Royal Victoria Shields Road subway station NG2 tram stop San Cristóbal Quintana Newbury Park tube station Hyde Park Corner tube station Julián Besteiro New Cross railway station Pudding Mill Lane Pradillo Portazgo Lord's tube station Estadio Olímpico Hostafrancs Puente de Vallecas Holland Park tube station Callao Earl's Court tube station Avinguda Tibidabo Station London City Airport North Wembley station Plaça Molina Summerwood Lane tram stop Bridge Street subway station Moor Park tube station El Carmel Argüelles Vauxhall station Old Market Square tram stop South Kentish Town tube station Chilwell Road tram stop Mansion House tube station Beckton Valdezarza Kinning Park subway station Arc de Triomf station Stockwell tube station York Road tube station Ciudad Universitaria Alonso de Mendoza La Elipa Surrey Quays railway station Lacoma Maida Vale tube station Muntaner City Road tube station Queensway tube station Turnham Green tube station Provença-Diagonal station Guinardó – Hospital de Sant Pau El Carmen Stonebridge Park station Parque de Santa María Antonio Machado Clapham Common tube station San Bernardo railway station Aviación Española Valdebernardo Sudbury Town tube station Tirso de Molina (Madrid Metro) Aeropuerto T1-T2-T3 Badalona Pompeu Fabra Custom House for ExCeL Croxley tube station Pitis Cowton railway station Puerta Este Wood Lane (Metropolitan line) tube station Canillejas Carpetana Estrecho South Wimbledon tube station Fontana Mar de Cristal Oakwood tube station Queensbury tube station Woodford tube station Manoteras La Sagrera-Meridiana station Wood Lane (Central line) tube station Hampstead tube station St. James's Park tube station West Ruislip station West Ham station Plaza de Armas Nottingham railway station Oval tube station Phoenix Park tram stop Tribunal Pío XII Knightsbridge tube station Ciencias Uxbridge tube station Burnt Oak tube station Herrera Oria Rambla Just Oliveras San Fermín-Orcasur Hospital de Bellvitge Reeves Corner tram stop Heathrow Terminal 4 tube station Leeds Marsh Lane railway station Clemente Hidalgo Heathrow Terminals 1, 2, 3 tube station Tottenham Court Road tube station South Quay DLR station Marlborough Road tube station Lista Ravenscourt Park tube station Puerta del Sur Rivas Urbanizaciones Atocha Hornchurch tube station King William Street tube station Edgware Road tube station Clot Pacífico San Nicasio Angel tube station Sarrià Amate La Plata North Acton tube station Sevilla Vilapicina Blackfriars station Las Musas Harlesden station Kensal Green station Badal North Weald railway station Sloane Square tube station Middle Street tram stop Gallions Reach DLR station Ópera Barrio del Puerto Església Major Dartmouth Street tram stop Lloyd Park tram stop Reina Elisenda Aluche Goodge Street tube station Moorgate station Latimer Road tube station Marina Verdaguer Ibiza Kelvinbridge subway station Great Portland Street Cruz del Rayo Velázquez Kensington (Olympia) station Alcorcón Passeig de Gràcia Serrano Henares Ciudad de los Ángeles Universitat Clifton Centre tram stop Hospital del Henares Goldhawk Road tube station Cinderhill tram stop Shadwell Seven Sisters station Ciutadella-Vila Olímpica Tower Hill tube station Casa de l'Aigua High School tram stop Montecarmelo Shepherd's Bush tube station Tres Olivos Kenton railway station Addington Village tram stop Manuela Malasaña Parque Europa Canary Wharf tube station St. John's Wood tube station Barkingside tube station Besòs Mar Hammersmith tube station Casa de Campo Bank and Monument stations La Almudena Victoria tube station Beeston transport interchange North Harrow tube station Montequinto Upminster Bridge tube station El Coll – La Teixonera Pontoon Dock DLR station Blackhorse Lane tram stop Southfields tube station Almendrales El Bercial Gravel Hill tram stop Can Peixauet Pàdua Southgate tube station Bolueta Station Nueva Numancia Tooting Bec tube station Reyes Católicos Mill Hill East tube station Congosto Blas Infante Ciudad Lineal Abando Prado de San Sebastián Pinner tube station La Latina Adelfas Eugenia de Montijo Poble Sec San Lorenzo Alonso Martínez Opañel Tufnell Park tube station Les Tres Torres Tetuán Marylebone tube station Hortaleza Amersham station Southwark tube station Kingsbury tube station Europa-Fira Palau Reial Ronda de la Comunicación Cuatro Vientos La Granja Kelvinhall subway station Carabanchel Avinguda Carrilet Llucmajor Gregorio Marañón Harrow & Wealdstone station South Kensington tube station Bulwell station North End tube station Rivas Futura Metro Station Pavones Ibrox subway station Collblanc Epping tube station Avenida de Guadalajara Banco de España Correos Plaza Elíptica Metropolitano Blackwall DLR station Mirasierra Madrid Chamartín station
Vilapicina, Chiswick Park tube station, Shoreditch High Street, Avinguda Carrilet, Barajas, Molí Nou – Ciutat Cooperativa, London Underground station, Therapia Lane tram stop, Urquinaona and Abando are present in Spain or United Kingdom
Vilapicina Chiswick Park tube station Shoreditch High Street Avinguda Carrilet Barajas Molí Nou – Ciutat Cooperativa London Underground station Therapia Lane tram stop Urquinaona Abando
action filter_type
action union
action find_reverse
entity Spain
relation country
action find_reverse
entity United Kingdom
relation country
type railway station
{'OR': [[{'concept': 'railway station'}, 'country', 'Spain'], [{'concept': 'railway station'}, 'country', 'United Kingdom']]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?m ) { ( resource:Spain ) ( resource:United_Kingdom ) } . ?a property:country ?m } . ?a rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2503261 Q1074875 Q801441 Q2607435 Q2474414 Q2646936 Q14562709 Q7782528 Q2109006 Q5845574
P17
Q15617994
USER
Which administrative territories are those railway stations a part of ?
(Q2503261,P17,c(Q15617994)) (Q1074875,P17,c(Q15617994)) (Q801441,P17,c(Q15617994)) (Q2607435,P17,c(Q15617994)) (Q2474414,P17,c(Q15617994)) (Q2646936,P17,c(Q15617994)) (Q14562709,P17,c(Q15617994)) (Q7782528,P17,c(Q15617994)) (Q2109006,P17,c(Q15617994)) (Q5845574,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q2503261', 'P17', {'concept': 'Q15617994'}] ['Q1074875', 'P17', {'concept': 'Q15617994'}] ['Q801441', 'P17', {'concept': 'Q15617994'}] ['Q2607435', 'P17', {'concept': 'Q15617994'}] ['Q2474414', 'P17', {'concept': 'Q15617994'}] ['Q2646936', 'P17', {'concept': 'Q15617994'}] ['Q14562709', 'P17', {'concept': 'Q15617994'}] ['Q7782528', 'P17', {'concept': 'Q15617994'}] ['Q2109006', 'P17', {'concept': 'Q15617994'}] ['Q5845574', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . VALUES ( ?d ) { ( resource:Q1549587 ) ( resource:Q2518479 ) ( resource:Q477733 ) } . ?d property:P17 ?s }
Vilapicina Chiswick Park tube station Shoreditch High Street Avinguda Carrilet Barajas Molí Nou – Ciutat Cooperativa London Underground station Therapia Lane tram stop Urquinaona Abando
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Vilapicina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chiswick Park tube station', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Shoreditch High Street', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Avinguda Carrilet', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Barajas', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Molí Nou – Ciutat Cooperativa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['London Underground station', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Therapia Lane tram stop', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Urquinaona', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Abando', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?d ) { ( resource:Lambeth_North_tube_station ) ( resource:Vall_d'Hebron ) ( resource:Ruislip_Manor_tube_station ) } . ?d property:country ?s }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q29 Q145 Q145 Q29 Q29 Q29 Q145 Q145 Q29 Q29
(Q2503261,P17,c(Q15617994)) (Q1074875,P17,c(Q15617994)) (Q801441,P17,c(Q15617994)) (Q2607435,P17,c(Q15617994)) (Q2474414,P17,c(Q15617994)) (Q2646936,P17,c(Q15617994)) (Q14562709,P17,c(Q15617994)) (Q7782528,P17,c(Q15617994)) (Q2109006,P17,c(Q15617994)) (Q5845574,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are those railway stations a part of
['Q2503261', 'P17', {'concept': 'Q15617994'}] ['Q1074875', 'P17', {'concept': 'Q15617994'}] ['Q801441', 'P17', {'concept': 'Q15617994'}] ['Q2607435', 'P17', {'concept': 'Q15617994'}] ['Q2474414', 'P17', {'concept': 'Q15617994'}] ['Q2646936', 'P17', {'concept': 'Q15617994'}] ['Q14562709', 'P17', {'concept': 'Q15617994'}] ['Q7782528', 'P17', {'concept': 'Q15617994'}] ['Q2109006', 'P17', {'concept': 'Q15617994'}] ['Q5845574', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . VALUES ( ?d ) { ( resource:Q1549587 ) ( resource:Q2518479 ) ( resource:Q477733 ) } . ?d property:P17 ?s }
Spain United Kingdom United Kingdom Spain Spain Spain United Kingdom United Kingdom Spain Spain
United Kingdom, United Kingdom and United Kingdom are those railway stations a part of
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Vilapicina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chiswick Park tube station', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Shoreditch High Street', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Avinguda Carrilet', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Barajas', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Molí Nou – Ciutat Cooperativa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['London Underground station', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Therapia Lane tram stop', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Urquinaona', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Abando', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?d ) { ( resource:Lambeth_North_tube_station ) ( resource:Vall_d'Hebron ) ( resource:Ruislip_Manor_tube_station ) } . ?d property:country ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P37
Q34770
USER
What is the official language of United Kingdom ?
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q145 property:P37 ?q }
United Kingdom
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:United_Kingdom property:official_language ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q145,P37,c(Q34770))
action filter_type
action find
entity Q145
relation P37
type Q34770
The official language of United Kingdom is the [ANSWER]
['Q145', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q145 property:P37 ?q }
English
The official language of United Kingdom is the English
English
action filter_type
action find
entity United Kingdom
relation official language
type language
['United Kingdom', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:United_Kingdom property:official_language ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q3114989
P361
Q5962346
USER
Is that language a portion of Western Nilotic languages ?
(Q1860,P361,Q3114989)
action is_in
entity Q3114989
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q3114989']
ASK WHERE { resource:Q1860 property:P361 resource:Q3114989 }
English Western Nilotic languages
action is_in
entity Western Nilotic languages
action find
entity English
relation part of
['English', 'part of', 'Western Nilotic languages']
ASK WHERE { resource:English property:part_of resource:Western_Nilotic_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q3114989)
action is_in
entity Q3114989
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q3114989']
ASK WHERE { resource:Q1860 property:P361 resource:Q3114989 }
No
action is_in
entity Western Nilotic languages
action find
entity English
relation part of
['English', 'part of', 'Western Nilotic languages']
ASK WHERE { resource:English property:part_of resource:Western_Nilotic_languages }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q43229 Q4830453 Q55488
USER
Which railway stations were operated by max number of organizations or business enterprises ?
(c(Q55488),P137,c(Q43229)|c(Q4830453))
action argmax
action union
action find_tuple_counts
relation P137
type Q55488
type Q43229
action find_tuple_counts
relation P137
type Q55488
type Q4830453
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?t WHERE { { ?t property:P137 ?x . ?t rdf:type ontology:Q55488 . ?x rdf:type ontology:Q43229 } UNION { ?t property:P137 ?x . ?t rdf:type ontology:Q55488 . ?x rdf:type ontology:Q4830453 } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) ?f WHERE { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } GROUP BY ?f } . FILTER ( ?r = ?q ) }
action argmax
action union
action find_tuple_counts
relation operator
type railway station
type organization
action find_tuple_counts
relation operator
type railway station
type business enterprise
[{'concept': 'railway station'}, 'operator', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?t WHERE { { ?t property:operator ?x . ?t rdf:type ontology:railway_station . ?x rdf:type ontology:organization } UNION { ?t property:operator ?x . ?t rdf:type ontology:railway_station . ?x rdf:type ontology:business_enterprise } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) ?f WHERE { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:organization ) ( ontology:business_enterprise ) } } GROUP BY ?f } . FILTER ( ?r = ?q ) }
[]
organization business enterprise railway station
Q6456
SYSTEM
Hamburg Central Station
Q6456
(c(Q55488),P137,c(Q43229)|c(Q4830453))
action argmax
action union
action find_tuple_counts
relation P137
type Q55488
type Q43229
action find_tuple_counts
relation P137
type Q55488
type Q4830453
[ANSWER] was operated by max number of organizations or business enterprises
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?t WHERE { { ?t property:P137 ?x . ?t rdf:type ontology:Q55488 . ?x rdf:type ontology:Q43229 } UNION { ?t property:P137 ?x . ?t rdf:type ontology:Q55488 . ?x rdf:type ontology:Q4830453 } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) ?f WHERE { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } } GROUP BY ?f } . FILTER ( ?r = ?q ) }
Hamburg Central Station
Hamburg Central Station was operated by max number of organizations or business enterprises
Hamburg Central Station
action argmax
action union
action find_tuple_counts
relation operator
type railway station
type organization
action find_tuple_counts
relation operator
type railway station
type business enterprise
[{'concept': 'railway station'}, 'operator', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?t WHERE { { ?t property:operator ?x . ?t rdf:type ontology:railway_station . ?x rdf:type ontology:organization } UNION { ?t property:operator ?x . ?t rdf:type ontology:railway_station . ?x rdf:type ontology:business_enterprise } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) ?f WHERE { ?l rdf:type ?p . VALUES ( ?p ) { ( ontology:organization ) ( ontology:business_enterprise ) } } GROUP BY ?f } . FILTER ( ?r = ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P197
Q55488
USER
How many railway stations are adjacent to that railway station ?
(c(Q55488),P197,Q6456)
action count
action filter_type
action find_reverse
entity Q6456
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q6456']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P197 resource:Q6456 . ?m rdf:type ontology:Q55488 }
action count
action filter_type
action find_reverse
entity Hamburg Central Station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Hamburg Central Station']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:adjacent_station resource:Hamburg_Central_Station . ?m rdf:type ontology:railway_station }
[]
railway station
SYSTEM
6
Q322276 Q827247 Q827583 Q180052 Q827138 Q654980
(c(Q55488),P197,Q6456)
action count
action filter_type
action find_reverse
entity Q6456
relation P197
type Q55488
[ANSWER]
[{'concept': 'Q55488'}, 'P197', 'Q6456']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P197 resource:Q6456 . ?m rdf:type ontology:Q55488 }
Jungfernstieg Mönckebergstraße Steinstraße Lohmühlenstraße Berliner Tor station Berlin-Spandau station
6
action count
action filter_type
action find_reverse
entity Hamburg Central Station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Hamburg Central Station']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:adjacent_station resource:Hamburg_Central_Station . ?m rdf:type ontology:railway_station }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q183 Q2474414
P197 P17
Q55488
USER
Which railway stations are in close proximity to Barajas or are present in Germany ?
OR((c(Q55488),P197,Q2474414), (c(Q55488),P17,Q183))
action filter_type
action union
action find_reverse
entity Q2474414
relation P197
action find_reverse
entity Q183
relation P17
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q2474414'], [{'concept': 'Q55488'}, 'P17', 'Q183']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P197 resource:Q2474414 } UNION { ?k property:P17 resource:Q183 } } . ?k rdf:type ontology:Q55488 }
Germany Barajas
action filter_type
action union
action find_reverse
entity Barajas
relation adjacent station
action find_reverse
entity Germany
relation country
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Barajas'], [{'concept': 'railway station'}, 'country', 'Germany']]}
SELECT DISTINCT ?k WHERE { { { ?k property:adjacent_station resource:Barajas } UNION { ?k property:country resource:Germany } } . ?k rdf:type ontology:railway_station }
[]
railway station
Q827138 Q554399 Q788560 Q480059 Q6456 Q2465975 Q1484267 Q823547 Q613766 Q564750
SYSTEM
Some of them are Berliner Tor station, Naturkundemuseum, Garching-Hochbrück, Prinzregentenplatz, Hamburg Central Station, Legienstraße, Victoriaplatz/Klever Straße, Am Hart, Stuttgart Central Station, Bielefeld Central Station
Q657905 Q203532 Q15103466 Q463906 Q2466040 Q704394 Q2466044 Q19835123 Q2466048 Q636700 Q553140 Q833557 Q123726 Q553146 Q15132779 Q822473 Q479493 Q557543 Q287552 Q557547 Q315801 Q439937 Q668563 Q477185 Q801685 Q682583 Q209340 Q571161 Q569905 Q472955 Q439592 Q800742 Q831978 Q26462698 Q20651172 Q20651173 Q20651170 Q20651171 Q20651176 Q20651177 Q20651175 Q281375 Q20651178 Q20651179 Q663308 Q374881 Q689797 Q1584382 Q1912130 Q18920564 Q543350 Q480136 Q822786 Q875571 Q479797 Q479795 Q551768 Q479415 Q455649 Q555939 Q438871 Q660024 Q597759 Q262168 Q666911 Q1305779 Q5307010 Q683239 Q827138 Q322534 Q663231 Q823537 Q4497296 Q869501 Q557566 Q3078950 Q570954 Q439131 Q571845 Q658405 Q3799011 Q325405 Q2466005 Q438759 Q129342 Q2465958 Q21290842 Q2465952 Q833511 Q16894095 Q667035 Q2466093 Q26458337 Q801228 Q658929 Q15854227 Q325491 Q801220 Q1484267 Q3881293 Q254647 Q571855 Q15858421 Q7178218 Q1560016 Q657893 Q2466074 Q656431 Q571485 Q637739 Q559207 Q823622 Q15103429 Q15103426 Q667046 Q743059 Q2605805 Q554474 Q554477 Q2227 Q479458 Q202101 Q470060 Q439906 Q563272 Q439900 Q17347054 Q3786238 Q770706 Q656441 Q1434716 Q472465 Q3786232 Q20651180 Q2152075 Q572749 Q660066 Q8158664 Q571039 Q823579 Q26462991 Q654980 Q21776716 Q439996 Q439160 Q570916 Q662201 Q480063 Q438801 Q3646299 Q322276 Q6353331 Q438808 Q324703 Q439000 Q14912329 Q571479 Q2465914 Q167147 Q571570 Q323870 Q1097 Q389214 Q571324 Q300706 Q18641103 Q558633 Q663245 Q833261 Q823113 Q26460634 Q823119 Q2466035 Q658361 Q800870 Q559249 Q20651181 Q3997085 Q826773 Q201849 Q16885626 Q465972 Q1230823 Q833524 Q822466 Q2363888 Q21748867 Q571393 Q800880 Q557577 Q1647893 Q706994 Q439941 Q15851862 Q1398047 Q656081 Q15851861 Q668574 Q439948 Q1719687 Q1600764 Q165368 Q827583 Q209371 Q800909 Q554481 Q1796309 Q20651264 Q681336 Q20651262 Q20651263 Q20651260 Q20651261 Q656409 Q463931 Q833636 Q656401 Q658302 Q1656488 Q275746 Q15081775 Q555992 Q555998 Q638584 Q2506054 Q663933 Q15858211 Q800357 Q822899 Q479813 Q439586 Q555921 Q327860 Q831845 Q552899 Q692727 Q831982 Q2016811 Q552891 Q2781864 Q21777872 Q21748525 Q374225 Q2363905 Q663204 Q326599 Q475153 Q570961 Q667121 Q503383 Q2465828 Q442739 Q471701 Q570911 Q2465822 Q832027 Q2465945 Q828172 Q571400 Q571403 Q571402 Q571405 Q11753828 Q16894088 Q15076918 Q834829 Q322599 Q668618 Q2466085 Q694848 Q2466086 Q302810 Q2465894 Q2465892 Q831696 Q1572379 Q315629 Q2363470 Q2465879 Q823634 Q2466068 Q439256 Q2804230 Q831350 Q552872 Q559212 Q1233681 Q15103413 Q255951 Q4016141 Q21815066 Q616434 Q656523 Q180052 Q682569 Q15098644 Q570939 Q820359 Q831955 Q22284805 Q555964 Q833497 Q1954 Q519494 Q438887 Q429781 Q577933 Q4482920 Q16887285 Q661876 Q634247 Q198282 Q555492 Q21777502 Q480059 Q617501 Q556003 Q479435 Q570926 Q439606 Q1694188 Q657857 Q1960809 Q2465909 Q571563 Q26462605 Q4960524 Q2465907 Q15994219 Q26460430 Q831678 Q453861 Q543907 Q638526 Q6590961 Q681785 Q18748608 Q567024 Q688541 Q21748884 Q176642 Q672579 Q831988 Q557513 Q2465872 Q2466023 Q2465970 Q2804233 Q438779 Q2465975 Q2466029 Q831626 Q833533 Q1549536 Q2642035 Q476107 Q22291690 Q686132 Q557562 Q571382 Q15709139 Q571380 Q6456 Q26463461 Q2465990 Q1421962 Q800600 Q557586 Q557582 Q438902 Q801425 Q462086 Q559226 Q2051422 Q20651257 Q20651256 Q20651255 Q480276 Q20651259 Q20651258 Q16894707 Q564926 Q831712 Q554647 Q833628 Q833621 Q555986 Q473901 Q703916 Q554360 Q819768 Q479776 Q3853997 Q22284871 Q1650147 Q551802 Q15851859 Q551805 Q653775 Q464355 Q555916 Q801264 Q6591260 Q322693 Q682609 Q823559 Q2786131 Q20851027 Q25858776 Q663212 Q833242 Q20651254 Q1737815 Q439024 Q702402 Q2252910 Q202403 Q617555 Q617499 Q631094 Q3782339 Q658391 Q678372 Q2465936 Q2465932 Q564761 Q255816 Q55423 Q21748622 Q831661 Q285550 Q698497 Q277810 Q663264 Q831687 Q571836 Q831816 Q2466059 Q2466057 Q2466054 Q2465844 Q2465845 Q7979138 Q552867 Q822563 Q571397 Q819495 Q833588 Q833549 Q568627 Q569489 Q557558 Q320614 Q467998 Q571170 Q439925 Q703918 Q138888 Q831966 Q571676 Q826484 Q21235477 Q833482 Q800876 Q833249 Q20651169 Q20651168 Q2151985 Q554399 Q479376 Q962522 Q253850 Q554391 Q682505 Q571019 Q15089867 Q823599 Q2477093 Q823590 Q664051 Q638604 Q568224 Q479781 Q479426 Q479420 Q1034074 Q15529464 Q438863 Q376589 Q788560 Q26457988 Q475553 Q18682951 Q637870 Q321523 Q823501 Q438751 Q9210735 Q9210733 Q439114 Q479490 Q2465987 Q479494 Q660045 Q570943 Q690203 Q2466018 Q823139 Q811635 Q2466010 Q678286 Q2466015 Q1984610 Q914220 Q2465965 Q822522 Q1417831 Q656090 Q178685 Q476171 Q564750 Q801215 Q801216 Q181023 Q826353 Q571841 Q16894090 Q525185 Q371816 Q16889529 Q15132786 Q319542 Q572096 Q288099 Q26462415 Q628770 Q832002 Q668585 Q2382084 Q663945 Q559239 Q823612 Q569474 Q833611 Q657879 Q15103437 Q275505 Q1719628 Q550317 Q827247 Q2465884 Q14540885 Q175212 Q800701 Q657871 Q4890198 Q833478 Q11877023 Q481072 Q529644 Q382626 Q17310438 Q317025 Q570999 Q658790 Q1751987 Q572734 Q666868 Q320366 Q571025 Q1967063 Q570906 Q638553 Q613766 Q823547 Q658720 Q673721 Q439016 Q832013 Q662217 Q557269 Q571467 Q14912335 Q704716 Q473572 Q2465927 Q689293 Q602282 Q2465929 Q15994231 Q15994230 Q571339 Q21510905 Q571331
OR((c(Q55488),P197,Q2474414), (c(Q55488),P17,Q183))
action filter_type
action union
action find_reverse
entity Q2474414
relation P197
action find_reverse
entity Q183
relation P17
type Q55488
[ANSWERS] are in close proximity to Barajas or are present in Germany
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q2474414'], [{'concept': 'Q55488'}, 'P17', 'Q183']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P197 resource:Q2474414 } UNION { ?k property:P17 resource:Q183 } } . ?k rdf:type ontology:Q55488 }
Mehringdamm Aschaffenburg Central Station Buchenkamp Kassel Central Station Poststraße Dortmund Central Station Rauhes Haus Remscheid-Güldenwerth station Reichenspergerplatz Mainz Central Station Kaulsdorf-Nord Weißer Turm Oberwiesenfeld Platz der Luftbrücke Großhansdorf Alte Heide Westendstraße Paradestraße Hansaplatz Cottbusser Platz Passau Central Station Basler Straße Leinestraße Berlin Brandenburger Tor station Übach-Palenberg station Nuremberg Central Station HafenCity Universität Kleistpark Berlin-Neukölln station Oberhausen Central Station Garching-Forschungszentrum Essen-Altenessen station Hasenbuck Karlsplatz (Stachus) Rosental Chlodwigplatz Beuel Rathaus Wilhelmsplatz Husarenstraße Innenministerium LVR-Klinik St. Leonhard Heinrich-Hertz-Europakolleg An der Josefshöhe Voltastraße Bülowstraße Prinzenstraße Farmsen Max-Weber-Platz Bahnhof Rathaus (Bochum) Oldenburg Central Station Richard-Strauss-Straße Studentenstadt Rödingsmarkt Scheidplatz Gern Weberwiese Quiddestraße München Marienplatz station Lindauer Allee Bonner Platz Rudow Görlitzer Bahnhof Alt-Mariendorf Blaschkoallee Ebertplatz Dresden Industriegelände railway station Berlin Ostbahnhof Berliner Tor station Altenbeken station Rosenthaler Platz Dietlindenstraße Hermannplatz Deutsche Oper Holzhauser Straße Herzogenrath-Alt-Merkstein station Tierpark Hohenzollernplatz Britz-Süd Mendelssohn-Bartholdy-Park Berlin Innsbrucker Platz station Universität Mümmelmannsberg Moosfeld Dresden Flughafen railway station Kaulbachplatz Langebrück (Sachs) station Kalk Post Klinikum Leipzig Anger-Crottendorf railway station Augsburger Straße Äußere Kanalstraße Trudering München Ost station Hermannplatz Markkleeberg-Großstädteln railway station Leipzig/Halle Airport station München Trudering station Victoriaplatz/Klever Straße Ohlstedt Munich Central Station Parchimer Allee Leipzig-Möckern railway station Petershain railway station Radebeul-Weintraube station Klosterstraße Steinfurther Allee Neu-Westend Oranienburger Tor Berliner Straße Friedrich-Wilhelm-Platz Nordfriedhof Ahrensburg West Ahrensburg Ost Spichernstraße Friesenplatz Aeropuerto T4 Schloßstraße Rathaus Reinickendorf Bahnhof Köln-Chorweiler Lehel Nürnberger Platz Witten Central Station Machtlfinger Straße Kassel-Wilhelmshöhe station Implerstraße Hauptbahnhof subway station Hoisbüttel Aufseßplatz Olympia-Stadion Steinstraße/Königsallee Krefeld Central Station Hoheluftbrücke Pariser Straße Emilienstraße Olympia-Einkaufszentrum Stadtmitte Landungsbrücken station Nollendorfplatz Haderner Stern Ostbahnhof Berlin-Spandau station Yorckstraße Forstenrieder Allee Maillingerstraße Haselhorst Richard-Wagner-Platz Böhmerwaldplatz Untersbergstraße Buckhorn Jungfernstieg Subway Kalk Kapelle Messestadt-Ost Dülferstrasse Silberhornstraße Kroepcke Station Französische Straße Hammer Kirche Rüdesheimer Platz Hohenzollernplatz Dortmund Möllerbrücke station Berlin Hauptbahnhof Onkel Toms Hütte Podbielskiallee Aachen Central Station Engelskirchen station Georg-Brauchle-Ring U-Fehrbelliner Platz Plärrer Theresienstraße Hauptbahnhof Großhadern Piusstraße Ernst-Reuter-Platz Barmbek station Reinickendorfer Straße Kopenhagener Straße Trabrennbahn Messberg Kochstraße Limperich Nord Berlin Westhafen station Rathaus Bärenschanze Moosacher St.Martin Platz Schippelsweg Zoblitz railway station Mierendorffplatz Hamburg Wandsbeker Chaussee station Amrumer Straße Berlin Jannowitzbrücke station Mannheim Central Station Aidenbachstraße Langenhorn Nord Wandsbek Gartenstadt Südstern Langenhorn Markt Bayerischer Platz Thalkirchen Christuskirche Muggenhof Frankfurt (Main) Hauptbahnhof Steinstraße Überseequartier Hennigsdorf station Westphalweg Friedrich-Ebert-Platz Quirinusplatz Oskar-Helene-Heim Bergstraße Hindenburgplatz Eduard-Otto-Straße Pützstraße Kaiserdamm Fulda station Maximilianstraße Ruhleben Hallesches Tor Florastraße Schlump Waterloo Franz-Neumann-Platz Birkenstraße Walther-Schreiber-Platz Alsdorf-Mariadorf station Kurfürstendamm Leipzig Coppiplatz railway station Aachen Schanz station Gänsemarkt Westfriedhof Fröttmaning St.-Quirin-Platz München Neuperlach Süd station Rennweg Schillingstraße Wittenbergplatz Ziegelstein Emmerich station Samariterstraße Alsdorf-Busch station Heidelberger Platz Pommritz railway station Moritzplatz Niendorf Nord Heinrich-Heine-Straße Obersendling Gustav-Adolf-Straße Wilmersdorfer Straße Wiesbaden Central Station Münchner Freiheit Alter Teichweg München Moosach station Mangfallplatz Rohrdamm Akazienweg Bauernfeindstraße Joachim-Mähl-Straße Lindau Central Station Turmstraße Berlin Schönhauser Allee station Altstadt Spandau Berlin-Tempelhof station Leipzig-Gohlis railway station Leipzig-Lindenau railway station Fuhlsbüttel Fürth Hauptbahnhof Stolberg Central Station Gneisenaustraße Wandsbek Markt Bundestag Wartenau Berlin Heidelberger Platz station Garstedt Stadthalle Scharfreiterring Lübeck-Flughafen station München Karlsplatz station Hagenbecks Tierpark Ellerstraße Holzapfelkreuth Sengelmannstraße Stiglmaierplatz Alsterdorf Rathaus Berlin Frankfurter Allee station Alt-Tempelhof Dehnhaide Schmalenbeck Düsseldorf Central Station Volksdorf Dresden-Plauen railway station Kieferngarten Hausvogteiplatz Lohmühlenstraße Rostock Central Station Klein Borstel Adenauerplatz Harthof Langwasser Mitte Bundesplatz subway station Innsbrucker Ring Lorenzkirche Cologne Central Station Karl-Marx-Straße Königsplatz Friedrichsfelde Hasenbergl Fehrbelliner Platz (U7) Schießbergweg Weinmeisterstraße Berlin-Lichtenberg station Frankfurt East station Berlin Rathaus Steglitz station Fehrbelliner Platz (U3) Prinzregentenplatz Hallerstraße Neue Grottkauer Straße Therese-Giehse-Allee Rathaus Schöneberg Garching Merkenstraße Theodor-Heuss-Platz Leopoldplatz Hamburger Straße Güntzelstraße Marienplatz Bremen-Vegesack station Hagendeel Gelsenkirchen-Hassel station Neuperlach Süd Frankenstraße Bochum Central Station Berlin Yorckstraße station Jakob-Kaiser-Platz Straßburger Straße Berlin Zoologischer Garten railway station Neuwiedenthal station Duisburg Central Station Karlsruhe Central Station Gersdorf (Görlitz) railway station Fürstenried West Berlin Potsdamer Platz station Maffeiplatz Residenzstraße Eppendorfer Baum Ochsenzoll Körnerstraße Burgstraße Karl-Preis-Platz Legienstraße Oststraße Sündersbühl Flughafen Stadtgrenze Bayreuth Central Station Erfurt Central Station Warschauer Straße subway station Bismarckstraße Paracelsus-Bad Eberswalder Straße Wilhelmshaven railway station Pankstraße Hamburg Central Station Heimeranplatz Lohsestraße Berlin Hermannstraße station Büchen station Scharnweberstraße Otisstraße Petuelring Seebad Heringsdorf Gießen station Kaiserin-Augusta-Straße Alsdorf Poststraße station Weberstraße Königstraße Poppelsdorfer Allee Olympiazentrum Haus der Jugend Rittershausstraße Markkleeberg Nord railway station Lübeck Central Station Langwasser Süd Candidplatz Opernhaus Schoppershof Nauener Platz Magdalenenstraße Leipzig Hauptbahnhof Schwartzkopffstraße Kottbusser Tor Rotkreuzplatz Meiendorfer Weg Jungfernheide subway station Ritterstraße Elsterwerdaer Platz Heumarkt Biesdorf-Süd Berlin-Pankow station Osnabrück Central Station Kurt-Schumacher-Platz Norderstedt Mitte Lattenkamp Heilbronn Central Station Würzburg Central Station Goetheplatz Eilendorf station Stadtbahnhaltestelle Marktstraße Bad Lauterberg im Harz Barbis station Zitadelle Gostenhof Thomas-Mann-Straße Berlin Unter Den Linden Station Kreillerstraße Berlin Friedrichstraße station Lutterothstraße Sendlinger Tor Uhlandstraße Klosterstern Bremen main station Habichtstraße Mohrenstraße Gleisdreieck Horner Rennbahn Hudtwalckerstraße Münster Central Station Schweinau Bonn Hauptbahnhof Breitendorf railway station Jakobinenstraße Frankfurt South station Berlin Alexanderplatz station Fraunhoferstraße Siemensdamm Gemeinschaftshaus Grenzallee Herrnhütte Saarlandstraße Metro station Rudolfplatz Richtweg Billstedt Borgweg Wedel station Berlin Wuhletal station U-Bahnhof Festhalle/Messe Blissestraße Boddinstraße Rothenburger Straße Wöhrder Wiese Frankfurter Tor Spittelmarkt Louis-Lewin-Straße Odeonsplatz Heidelberg Central Station Eisenacher Straße Brudermühlstraße Hanover Central Station Regensburg Hauptbahnhof Rathaus Hellersdorf Stephansplatz Berlin-Buckow train station Röthenbach Ohlsdorf Maxfeld Obere Wilhelmstraße Limperich Osterstraße Naturkundemuseum Friedenheimer Straße Appellhofplatz Rehberge Seestraße Augsburg Central Station Konstanzer Straße Königsworther Platz Poccistraße Aeropuerto T1-T2-T3 Westpark Senefelderplatz Berlin-Wedding station Uhlandstraße Kolumbusplatz Schwanthalerhöhe Michaelibad Deutz Fachhochschule Falkenberg (Elster) station Giselastraße Berlin Südkreuz Garching-Hochbrück Feldmoching Berlin Karl-Bonhoeffer-Nervenklinik station Esslingen-Mettingen Ullsteinstraße Sternschanze station Frankfurter Ring Messestadt-West Dresden-Strehlen railway station Dresden-Cotta railway station Josephsplatz Laimer Platz Leyendeckerstraße Neuperlach Zentrum Ostkreuz Paulsternstraße Kurfürstenstraße Nordstraße Milbertshofen Baumwall Neusser Straße/Gürtel (KVB) Berlin-Gesundbrunnen station Niendorf Markt Theresienwiese Oberbilker Markt/Warschauer Straße Kellinghusenstraße Freimann Sierichstraße Alt-Tegel Viktoria-Luise-Platz Stralauer Tor Bielefeld Central Station München-Giesing station München-Feldmoching station Langwasser Nord St. Pauli station Wutzkyallee Leipzig MDR railway station Borsigwerke Frankfurt Airport long-distance station Küdinghoven Kiekut Fürth Hauptbahnhof Zwickauer Damm Eberhardshof Moosach Rathaus Neukölln Messe Dahlem-Dorf Alsdorf-Kellersberg station Krumme Lanke Afrikanische Straße Partnachplatz Cologne/Bonn Airport station Hohe Marter Sophie-Charlotte-Platz Kiwittsmoor Messehallen Lübecker Straße Hönow Mönckebergstraße Feldstraße Fuhlsbüttel Nord Berlin-Wittenau station Düsseldorf Airport station Märkisches Museum Bensberg Rathenauplatz Elbbrücken Klinikum Großhadern Hagen Central Station Nordostbahnhof Aglasterhausen station Dortmund Stadthaus station Strausberger Platz Rosa-Luxemburg-Platz Berne Wettersteinplatz Schönleinstraße Halle Central Station Halemweg Herzogenrath August-Schmidt-Platz station Vinetastraße Johannisthaler Chaussee Stuttgart Central Station Am Hart Mundsburg Berlin Nordbahnhof Josephsburg Hardhöhe Osloer Straße Arabellapark Lipschitzallee Hanover Central Station (underground railway station) Möckernbrücke Freiburg Central Station Hauptbahnhof Bernauer Straße Schlesisches Tor Heinrich-Heine-Allee Marl-Hamm station Marl Mitte station Breitenbachplatz Arsbeck station Thielplatz
Berliner Tor station, Naturkundemuseum, Garching-Hochbrück, Prinzregentenplatz, Hamburg Central Station, Legienstraße, Victoriaplatz/Klever Straße, Am Hart, Stuttgart Central Station and Bielefeld Central Station are in close proximity to Barajas or are present in Germany
Berliner Tor station Naturkundemuseum Garching-Hochbrück Prinzregentenplatz Hamburg Central Station Legienstraße Victoriaplatz/Klever Straße Am Hart Stuttgart Central Station Bielefeld Central Station
action filter_type
action union
action find_reverse
entity Barajas
relation adjacent station
action find_reverse
entity Germany
relation country
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Barajas'], [{'concept': 'railway station'}, 'country', 'Germany']]}
SELECT DISTINCT ?k WHERE { { { ?k property:adjacent_station resource:Barajas } UNION { ?k property:country resource:Germany } } . ?k rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q827138 Q554399 Q788560 Q480059 Q6456 Q2465975 Q1484267 Q823547 Q613766 Q564750
P17
Q1048835
USER
Which political territories do those railway stations belong to ?
(Q827138,P17,c(Q1048835)) (Q554399,P17,c(Q1048835)) (Q788560,P17,c(Q1048835)) (Q480059,P17,c(Q1048835)) (Q6456,P17,c(Q1048835)) (Q2465975,P17,c(Q1048835)) (Q1484267,P17,c(Q1048835)) (Q823547,P17,c(Q1048835)) (Q613766,P17,c(Q1048835)) (Q564750,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q827138', 'P17', {'concept': 'Q1048835'}] ['Q554399', 'P17', {'concept': 'Q1048835'}] ['Q788560', 'P17', {'concept': 'Q1048835'}] ['Q480059', 'P17', {'concept': 'Q1048835'}] ['Q6456', 'P17', {'concept': 'Q1048835'}] ['Q2465975', 'P17', {'concept': 'Q1048835'}] ['Q1484267', 'P17', {'concept': 'Q1048835'}] ['Q823547', 'P17', {'concept': 'Q1048835'}] ['Q613766', 'P17', {'concept': 'Q1048835'}] ['Q564750', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?b property:P17 ?q . ?q rdf:type ontology:Q1048835 . VALUES ( ?b ) { ( resource:Q657905 ) ( resource:Q203532 ) ( resource:Q15103466 ) } }
Berliner Tor station Naturkundemuseum Garching-Hochbrück Prinzregentenplatz Hamburg Central Station Legienstraße Victoriaplatz/Klever Straße Am Hart Stuttgart Central Station Bielefeld Central Station
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Berliner Tor station', 'country', {'concept': 'political territorial entity'}] ['Naturkundemuseum', 'country', {'concept': 'political territorial entity'}] ['Garching-Hochbrück', 'country', {'concept': 'political territorial entity'}] ['Prinzregentenplatz', 'country', {'concept': 'political territorial entity'}] ['Hamburg Central Station', 'country', {'concept': 'political territorial entity'}] ['Legienstraße', 'country', {'concept': 'political territorial entity'}] ['Victoriaplatz/Klever Straße', 'country', {'concept': 'political territorial entity'}] ['Am Hart', 'country', {'concept': 'political territorial entity'}] ['Stuttgart Central Station', 'country', {'concept': 'political territorial entity'}] ['Bielefeld Central Station', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?b property:country ?q . ?q rdf:type ontology:political_territorial_entity . VALUES ( ?b ) { ( resource:Mehringdamm ) ( resource:Aschaffenburg_Central_Station ) ( resource:Buchenkamp ) } }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183 Q183 Q183 Q183 Q183 Q183 Q183 Q183
(Q827138,P17,c(Q1048835)) (Q554399,P17,c(Q1048835)) (Q788560,P17,c(Q1048835)) (Q480059,P17,c(Q1048835)) (Q6456,P17,c(Q1048835)) (Q2465975,P17,c(Q1048835)) (Q1484267,P17,c(Q1048835)) (Q823547,P17,c(Q1048835)) (Q613766,P17,c(Q1048835)) (Q564750,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those railway stations belong to [ANSWER] [ANSWER], [ANSWER] and [ANSWER]
['Q827138', 'P17', {'concept': 'Q1048835'}] ['Q554399', 'P17', {'concept': 'Q1048835'}] ['Q788560', 'P17', {'concept': 'Q1048835'}] ['Q480059', 'P17', {'concept': 'Q1048835'}] ['Q6456', 'P17', {'concept': 'Q1048835'}] ['Q2465975', 'P17', {'concept': 'Q1048835'}] ['Q1484267', 'P17', {'concept': 'Q1048835'}] ['Q823547', 'P17', {'concept': 'Q1048835'}] ['Q613766', 'P17', {'concept': 'Q1048835'}] ['Q564750', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?b property:P17 ?q . ?q rdf:type ontology:Q1048835 . VALUES ( ?b ) { ( resource:Q657905 ) ( resource:Q203532 ) ( resource:Q15103466 ) } }
Germany Germany Germany Germany Germany Germany Germany Germany Germany Germany
Those railway stations belong to Germany Germany, Germany and Germany
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Berliner Tor station', 'country', {'concept': 'political territorial entity'}] ['Naturkundemuseum', 'country', {'concept': 'political territorial entity'}] ['Garching-Hochbrück', 'country', {'concept': 'political territorial entity'}] ['Prinzregentenplatz', 'country', {'concept': 'political territorial entity'}] ['Hamburg Central Station', 'country', {'concept': 'political territorial entity'}] ['Legienstraße', 'country', {'concept': 'political territorial entity'}] ['Victoriaplatz/Klever Straße', 'country', {'concept': 'political territorial entity'}] ['Am Hart', 'country', {'concept': 'political territorial entity'}] ['Stuttgart Central Station', 'country', {'concept': 'political territorial entity'}] ['Bielefeld Central Station', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?b property:country ?q . ?q rdf:type ontology:political_territorial_entity . VALUES ( ?b ) { ( resource:Mehringdamm ) ( resource:Aschaffenburg_Central_Station ) ( resource:Buchenkamp ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q823547
P81
Q728937
USER
What is the railroad line that Am Hart is connected to ?
(Q823547,P81,c(Q728937))
action filter_type
action find
entity Q823547
relation P81
type Q728937
['Q823547', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?b WHERE { resource:Q823547 property:P81 ?b . ?b rdf:type ontology:Q728937 }
Am Hart
action filter_type
action find
entity Am Hart
relation connecting line
type railroad line
['Am Hart', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?b WHERE { resource:Am_Hart property:connecting_line ?b . ?b rdf:type ontology:railroad_line }
[]
railroad line
Q830301
SYSTEM
U2
Q830301
(Q823547,P81,c(Q728937))
action filter_type
action find
entity Q823547
relation P81
type Q728937
The railroad line that Am Hart is connected to is the [ANSWER]
['Q823547', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?b WHERE { resource:Q823547 property:P81 ?b . ?b rdf:type ontology:Q728937 }
U2
The railroad line that Am Hart is connected to is the U2
U2
action filter_type
action find
entity Am Hart
relation connecting line
type railroad line
['Am Hart', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?b WHERE { resource:Am_Hart property:connecting_line ?b . ?b rdf:type ontology:railroad_line }
[]