Simple Question (Direct)
Simple Question
Q3449468
P138
Q502895
USER
Which person is namesake of rue Perrée ?
(Q3449468,P138,c(Q502895))
action filter_type
action find
entity Q3449468
relation P138
type Q502895
['Q3449468', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q3449468 property:P138 ?j }
rue Perrée
action filter_type
action find
entity rue Perrée
relation named after
type common name
['rue Perrée', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:rue_Perrée property:named_after ?j }
[]
common name
Q3164348
SYSTEM
Jean-Baptiste Perrée
Q3164348
(Q3449468,P138,c(Q502895))
action filter_type
action find
entity Q3449468
relation P138
type Q502895
In [ANSWER] is namesake of rue Perrée
['Q3449468', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q3449468 property:P138 ?j }
Jean-Baptiste Perrée
In Jean-Baptiste Perrée is namesake of rue Perrée
Jean-Baptiste Perrée
action filter_type
action find
entity rue Perrée
relation named after
type common name
['rue Perrée', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:rue_Perrée property:named_after ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3449468
P47
Q34442
USER
Who share the border with that one ?
(Q3164348,P47,c(Q34442))
action filter_type
action find
entity Q3449468
relation P47
type Q34442
['Q3164348', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?l WHERE { resource:Q3449468 property:P47 ?l . ?l rdf:type ontology:Q34442 }
rue Perrée
action filter_type
action find
entity rue Perrée
relation shares border with
type road
['Jean-Baptiste Perrée', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?l WHERE { resource:rue_Perrée property:shares_border_with ?l . ?l rdf:type ontology:road }
[]
road
Q3452610 Q3450956 Q3447849
SYSTEM
rue du Temple, rue de Picardie, rue Eugène-Spuller
Q3449411 Q3450956 Q3447849 Q3447285 Q3448051 Q3452610
(Q3164348,P47,c(Q34442))
action filter_type
action find
entity Q3449468
relation P47
type Q34442
[ANSWERS] share the border with that one
['Q3164348', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?l WHERE { resource:Q3449468 property:P47 ?l . ?l rdf:type ontology:Q34442 }
rue Paul-Dubois rue de Picardie rue Eugène-Spuller rue Caffarelli rue Gabriel-Vicaire rue du Temple
Rue du Temple, rue de Picardie and rue Eugène-Spuller share the border with that one
rue du Temple rue de Picardie rue Eugène-Spuller
action filter_type
action find
entity rue Perrée
relation shares border with
type road
['Jean-Baptiste Perrée', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?l WHERE { resource:rue_Perrée property:shares_border_with ?l . ?l rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P559
Q34442 Q79007 Q44377
USER
Which roads are a terminus for min number of streets or tunnels ?
(c(Q79007)|c(Q44377),P559,c(Q34442))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q34442
type Q79007
action find_reverse_tuple_counts
relation P559
type Q34442
type Q44377
[[{'concept': 'Q79007'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?j WHERE { VALUES ( ?d ) { ( ontology:Q79007 ) ( ontology:Q44377 ) } . ?z rdf:type ?d } GROUP BY ?j } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?h WHERE { { ?v property:P559 ?h . ?h rdf:type ontology:Q34442 . ?v rdf:type ontology:Q79007 } UNION { ?h rdf:type ontology:Q34442 . ?v rdf:type ontology:Q44377 . ?v property:P559 ?h } } GROUP BY ?h } } }
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type road
type street
action find_reverse_tuple_counts
relation terminus
type road
type tunnel
[[{'concept': 'street'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?j WHERE { VALUES ( ?d ) { ( ontology:street ) ( ontology:tunnel ) } . ?z rdf:type ?d } GROUP BY ?j } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?h WHERE { { ?v property:terminus ?h . ?h rdf:type ontology:road . ?v rdf:type ontology:street } UNION { ?h rdf:type ontology:road . ?v rdf:type ontology:tunnel . ?v property:terminus ?h } } GROUP BY ?h } } }
[]
road street tunnel
Q1557823 Q1422024 Q1479591
SYSTEM
A4 motorway, A2 motorway, A59 motorway
Q15818433 Q15818431 Q10661345 Q10602579 Q11053012 Q3432062 Q10517486 Q19545950 Q12323643 Q1835243 Q10700092 Q17486163 Q15813242 Q7861748 Q15709832 Q10660128 Q15915275 Q19575890 Q11892668 Q1953180 Q2063769 Q10717752 Q18962736 Q4570166 Q2345968 Q11706754 Q19316278 Q19263327 Q214820 Q15649855 Q10430996 Q15649708 Q15813235 Q7332356 Q15813233 Q15829802 Q2246546 Q10526403 Q3375647 Q10636001 Q1512120 Q12334066 Q10718255 Q10508714 Q15745389 Q10685673 Q10604991 Q10466054 Q10525252 Q1876008 Q15719299 Q1935971 Q10699034 Q19345502 Q19658314 Q19199066 Q12334561 Q2079588 Q1868632 Q19403892 Q6747143 Q18660803 Q2473140 Q10436980 Q1422024 Q19482272 Q19121244 Q2160498 Q1674847 Q12344074 Q11090023 Q10684482 Q17379423 Q17379745 Q15728920 Q17379740 Q10503183 Q15120837 Q11869047 Q12318932 Q325011 Q17451951 Q15848286 Q836909 Q12338726 Q1516093 Q15129464 Q10681579 Q19118345 Q7542372 Q4631453 Q510662 Q15804558 Q10561376 Q10658724 Q15885626 Q10908343 Q1933910 Q2113982 Q2113981 Q12312799 Q10661346 Q10606799 Q19522495 Q15955268 Q2752186 Q3380264 Q10700359 Q3432537 Q15814038 Q17111245 Q15739781 Q12331877 Q10480563 Q10715333 Q15735753 Q10931763 Q3450514 Q3429049 Q10489188 Q18947477 Q15802095 Q4566771 Q19575949 Q10418516 Q10418517 Q5399045 Q10650978 Q15651133 Q10682193 Q7309831 Q15649549 Q10501281 Q15902031 Q15698004 Q15784160 Q10728072 Q3050156 Q10543155 Q10672528 Q15784485 Q15651129 Q943946 Q10681082 Q19631998 Q11063275 Q16928653 Q2453912 Q10572547 Q10418184 Q12325236 Q11061950 Q789445 Q4566017 Q15632521 Q10691873 Q15854261 Q10562858 Q1960424 Q10713229 Q2049033 Q7827465 Q10677438 Q11080044 Q10728353 Q13015299 Q10689042 Q15649683 Q15651115 Q779444 Q3323272 Q12327257 Q10405684 Q12313475 Q15887908 Q19599804 Q3434133 Q11995702 Q15936805 Q17465045 Q1469578 Q2113972 Q2127875 Q1476638 Q5398377 Q7628957 Q15813185 Q12340735 Q7050867 Q15730100 Q10572140 Q10572148 Q15632120 Q12303606 Q11090017 Q7825197 Q11090019 Q3387215 Q5471839 Q15813238 Q19429896 Q15931840 Q10641315 Q10498797 Q10527511 Q19511746 Q2496208 Q10671097 Q10527100 Q14178280 Q2925286 Q15745499 Q10428499 Q15632517 Q5559427 Q1925337 Q10726957 Q15618597 Q2391108 Q2863936 Q15887881 Q10570725 Q27853995 Q4801129 Q7655025 Q15848271 Q10903218 Q15802429 Q5613683 Q12313283 Q2046735 Q11869021 Q19258347 Q3140664 Q18123845 Q15728122 Q19195716 Q10547579 Q10595667 Q10727442 Q3272030 Q10688880 Q5684026 Q24705808 Q10550335 Q15649655 Q10928273 Q15728130 Q15728132 Q10609262 Q2512118 Q1903448 Q785402 Q22100035 Q10572109 Q15814007 Q10572106 Q15814003 Q6019749 Q15870363 Q5136521 Q12312494 Q839619 Q15805244 Q1553809 Q14541043 Q654031 Q11065245 Q2092837 Q1668976 Q10496019 Q6142316 Q15649571 Q10549471 Q15649575 Q10720452 Q15649579 Q18952065 Q13313473 Q23301880 Q17111229 Q3381005 Q15699976 Q1479591 Q14922950 Q19566374 Q10726192 Q2551156 Q12317648 Q1852074 Q10550886 Q15724830 Q10314794 Q646268 Q10613433 Q15848334 Q10594611 Q14178223 Q3380382 Q15838817 Q14178229 Q15979752 Q2462535 Q3344057 Q4943680 Q12337455 Q10681119 Q12329212 Q18964449 Q10418051 Q17444669 Q15926006 Q10576082 Q12337357 Q2093936 Q15854274 Q10691845 Q12333856 Q160899 Q10487724 Q10602871 Q3380335 Q5105706 Q2226662 Q19410416 Q24661520 Q15784303 Q10674345 Q10551492 Q7916306 Q10550371 Q5464624 Q12321124 Q18954385 Q21855562 Q15613950 Q15613954 Q10706711 Q2314833 Q18955730 Q15265855 Q19851981 Q15929712 Q877007 Q10532195 Q19634420 Q2113967 Q23309196 Q10903032 Q15813218 Q430370 Q18953340 Q15813214 Q15813190 Q5499323 Q15113428 Q10602450 Q12329634 Q2301854 Q10426539 Q1865839 Q785481 Q10870015 Q18918299 Q12332847 Q19291893 Q12325385 Q10572607 Q2284573 Q15813999 Q10532217 Q11992955 Q15176931 Q2061534 Q15813995 Q10700114 Q392713 Q1279817 Q15814044 Q10546043 Q10546047 Q15632498 Q15801677 Q10546048 Q2466934 Q10540507 Q10519456 Q2640101 Q17163622 Q11850691 Q12304195 Q15700674 Q8079244 Q1859275 Q11143803 Q1666761 Q10498840 Q10676629 Q5451014 Q2887744 Q679282 Q10532361 Q10478625 Q15898831 Q11990783 Q12325259 Q10669372 Q12335322 Q15649560 Q12311005 Q10604249 Q447309 Q19286660 Q2319434 Q15854241 Q15854240 Q5194674 Q10679910 Q15854248 Q15818421 Q16434047 Q15818425 Q10465848 Q15802854 Q1557823 Q2152975 Q2118454 Q10550321 Q19429910 Q15728128 Q15273336 Q18661480 Q17444686 Q17451637 Q15728121 Q15728127 Q13015285 Q21748848 Q7620080 Q15909433 Q21683407 Q15713793 Q13015229 Q8959958 Q2240391 Q12314006 Q7923412 Q11977596 Q2113951 Q10688825 Q15649844 Q15715637 Q19282845 Q16928668 Q17639897 Q15813244 Q2066219 Q10728495 Q12312797 Q10496638 Q15649565 Q15725671 Q15725670 Q15649562 Q2137946 Q6552137 Q15780506 Q18949734 Q3451989 Q21605510 Q4276816 Q4908758 Q15905329 Q18960428 Q15782721 Q19353548 Q2152999 Q10667299 Q12336508 Q18960720 Q1604527 Q10680963 Q10725782 Q10575227 Q3442591 Q15955741 Q2320048 Q15848285 Q12337444 Q1784648 Q10474961 Q12329613 Q10543777 Q12333842 Q2223266 Q2380528 Q15934246 Q10562547 Q10602696 Q10544317 Q2122164 Q18193310 Q12332864 Q2729678 Q685888 Q1386673 Q19551423 Q10524699 Q4909118 Q2794048 Q15116455 Q3451807 Q15745240 Q785443 Q3380402 Q16928650 Q10600821 Q10638085 Q2273614 Q15736443 Q10576436 Q10870819 Q10728300 Q2786015 Q15950649 Q10688901 Q10550319 Q18385700 Q22334364 Q589064 Q15145497 Q11300590 Q10684145 Q15736381 Q10604375 Q10535336 Q10435027 Q17641358 Q3027016 Q10869692 Q10681269 Q17641298 Q15940010 Q18071213 Q2223497 Q22099605 Q19207445 Q15735746 Q2739753 Q19575951 Q19548524 Q15830813 Q15830810 Q2286194 Q15830816 Q19512503 Q12329712 Q10376645 Q12344367 Q12344361 Q2060424 Q7541447 Q21748995 Q26714332 Q10707709 Q12326215 Q10477000 Q15618601 Q785246 Q1821717 Q10549273 Q3363759 Q15848314 Q9210868 Q1716983 Q2566891 Q17451909 Q677808 Q1903183 Q12303796 Q15697954 Q19519956 Q15883867 Q10467140
(c(Q79007)|c(Q44377),P559,c(Q34442))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q34442
type Q79007
action find_reverse_tuple_counts
relation P559
type Q34442
type Q44377
[ANSWERS] are a terminus for min number of streets or tunnels
[[{'concept': 'Q79007'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?j WHERE { VALUES ( ?d ) { ( ontology:Q79007 ) ( ontology:Q44377 ) } . ?z rdf:type ?d } GROUP BY ?j } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?h WHERE { { ?v property:P559 ?h . ?h rdf:type ontology:Q34442 . ?v rdf:type ontology:Q79007 } UNION { ?h rdf:type ontology:Q34442 . ?v rdf:type ontology:Q44377 . ?v property:P559 ?h } } GROUP BY ?h } } }
Maximilianstraße Gangolfstraße Sankt Eriksgatan Norra Stationsgatan Chongwenmen Outer Street Amaliegade Hantverkargatan Staartweg Landemærket Provincial road N331 Torggatan Bryggaregatan Bonner Straße Tyska brinken Rolandsecker Weg Sahlgrensgatan Guangningbo Street Usselerrondweg Savilahdentie N225 road Phahonyothin Road Värtavägen Borneolaan Malmskillnadsgatan Sternstraße Bělohorská Kwelderweg Houtribweg Whitehall Heinrich-Brüning-Straße Blasieholmsgatan Nachtigallenweg Eugen-Langen-Straße Riddarhusgränd Leyboldstraße Björngårdsgatan Plantage Doklaan Hornsbergs strand Østerbrogade Polhemsgatan A28 motorway Ryvangen Västra Hamngatan Grev Turegatan Auf dem Schnitzenbusch Svensksundsvägen Nytorgsgatan Dalagatan Holländargatan N214 road Flurgasse N217 road Tjärhovsgatan Middellaan Willemsweg Havenweg Sankt Jakobs Gade Petersburger Straße N260 road P. Hans Frankfurthersingel Købmagergade Merikoskenkatu N251 road Brännkyrkagatan A2 motorway Rotterdamseweg Europa-allee N244 road Istedgade Vordingborggade Jingshan West Street Svartensgatan Vorgebirgsstraße Brunnenallee Berliner Straße Koblenzer Straße Garvargatan Kungstensgatan Kaivokatu Jagtvej N263 road Brunnsgatan Bahnhofsallee Kungsgatan Tagensvej Södra länken Hornsbruksgatan Strandvejen Entrepothof Slussplan N99 motorway ring road Am Hof Lidingövägen Rålambshovsleden Habsburgerstraße Nanheyan Street N253 road Provincial road N34 Provincial road N302 Frederiksborgvej Sankt Eriksgatan Odengatan Sneekermeer Østergade De Berekuil Nørre Voldgade Torsgatan Bredgade Hainbuchenweg Sølvgade Heinrich-Lübke-Straße Pile Allé Ekelundsgatan Viktoriagatan Königstraße Fuxingmen North Street rue d'Espagne Gothersgade Essinge Brogata Wittenburgerweg Olof Gjödingsgatan Sankt Paulsgatan Utrechtseweg Arsenalsgatan Arsenalsgatan Esplanaden Renstiernas gata Selhofer Straße Strömgatan Rehnsgatan Bahnhofstraße Föreningsgatan Plittersdorfer Straße Bayenthalgürtel Willy-Brandt-Allee Östermalmsgatan Erottaja Kammakargatan Smålandsgatan Rheinweg Karl-Simrock-Straße Nyhavn Stora Nygatan Veluwemeer Fuyou Street Sanlihenanheng Street N232 road Långbrodalsvägen Armfeltsgatan Lyngby Hovedgade Guanganmen Inner Street M1 motorway Själagårdsgatan Karlstraße Tegnérgatan Austraße Linnégatan Provincial road N711 Varvsgatan N48 motorway Torvegade Stallgatan Wenjin Street Östra Larmgatan Arun Amarin road Södra Vägen Am Spitzenbach Rheinpromenade Bishopsgate Provincial road N201 Mimersgade Allmänna gränd Gammel Kalkbrænderi Vej Ludwig-Erhard-Allee Veerstoep Holmens Kanal Pilestræde Xizhimen Inner Street Spelmansvägen A16 motorway N261 road Cameretten A50 motorway Puijonlaaksontie Sturegatan Marienburger Straße Vermundsgade Nordre Toldbod Heisterbacher Straße Stockholm county road 271 Länsväg 279 Friedrich-Wilhelm-Straße Bispeengbuen Jingshan East Street Krystalgade Jingshan Back Street G1501 Guangzhou Ring Expressway Fort Pitt Boulevard Von-Groote-Straße Prins Bernhardlaan Beichang Street Pryssgränd Fredsgatan Hvitfeldtsgatan Schoonenburglaan N233 road Skånegatan Humlegårdsgatan Provincial road N368 N234 road Bergstraße Bergsgatan Linzer Straße Vrouwjuttenland N14 road Åsögatan Luisenstraße St. Anna Street Provincial road N765 Godesberger Allee Lundagatan Karlovarská Artillerigatan Swedish national road 73 Pfefferstraße Beiheyan Street Apelbergsgatan Guangshen Expressway Fælledvej Sarphatistraat Kaisaniemenkatu Hogelandsterweg Hornsgatan Karl Johansgatan Hauptstraße Havenplein Kongahällavägen Nedre Kvarnbergsgatan Örbyleden Provincial road N208 Södra Esplanaden Havnegade Thanon Itsaraphap Kungshöjdsgatan Frankenweg Dianmen Outer Street Bürresheimer Straße Rheinstraße Olof Palmes gata Nassausingel Provincial road N46 G20 Qingdao–Yinchuan Expressway Deshengmen Outer Street Swedish county road 226 Siebengebirgsweg Swedish county road 222 Im Ellig Indiakaj Agnegatan Haagweg Fredensgade Hamngatan Remigiusstraße Phet Kasem Road Heussallee A9 motorway Jianguomen South Street Provincial road N367 A8 motorway Fjällgatan Jingcheng Expressway Menzenberger Straße Kronobergsgatan Schulstraße Wollmar Yxkullsgatan Beueler Straße Zeedijk Kurt-Schumacher-Straße Vindebrogade Smallegade Bellmansgatan Rüdigerstraße A59 motorway Korte Steigerstraat Thorbeckestraat Åbyvägen Provincial road N306 Hyskenstræde A10 motorway Kvarnbergsgatan Reitersdorfer Straße Kungsgatan A73 motorway Otterhällegatan Mainzer Straße Narvavägen N248 road Skindergade Denglerstraße N252 road Thanon Charan Sanit Wong N246 road Norrtullsgatan Unioninkatu Strandvænget Stora Södergatan Nordre Frihavnsgade Boulevard Barnaart Arkivgatan Getingevägen Xuanwumen West Street Malmgårdsvägen Store Kongensgade A12 motorway Konstantinstraße Tegeluddsvägen Rovsingsgade Unter den Linden Eriksbergsgatan Norrlandsgatan Vester Voldgade Provincial road N702 Stadhouderskade Perkpolderhaven Somdet Phra Pinklao road Walter-Flex-Straße Spannmålsgatan Kyrkogatan Vasagatan Kungsträdgårdsgatan Folkungagatan Kalkbrænderihavnsgade Zijpendaalseweg Reventlowsgade Graurheindorfer Straße Rheinallee Tuvevägen Provincial road N764 Blaardorpseweg Pembroke Street Huayuan Street Xidan North Street Prenzlauer Allee Högalidsgatan Vierwoudstedenmeer A256 motorway Børsgade Beixinhua Street Tiberiusstraße Provincial road N348 Bijlmerdreef Unter den Ulmen Pferdmengesstraße Frederiksberg Allé Engelbrektsgatan Norra Hamngatan Nørre Allé N242 road Barnhusgatan Provincial road N205 G4011 Yangzhou–Liyang Expressway Dong'anmen Street Baden Powellweg Randersgade Karspeldreef Løgstørgade Långholmsgatan Brabantse Turfmarkt Westerwaldweg Högbergsgatan Nørrebrogade Gamla Tyresövägen provinciale weg 320 Rheinblick Torkel Knutssonsgatan Essingeleden Eberswalder Straße Eifelweg Klara norra kyrkogata Klara västra kyrkogata Hauptstraße Igeldammsgatan Klarabergsgatan Van Baerlestraat Johannesgatan Heleneborgsgatan Provincial road N247 Rodderbergstraße Aleksanterinkatu Borthigsgade Rhöndorfer Straße Øster Voldgade Provincial road N229 Siyang–Suzhou Expressway A6 motorway Frejgatan Sprängkullsgatan Fiolstræde Bastugatan Vasagatan Högsboleden Döbelnsgatan Borgmästargatan Naboløs Lyngbyvej Sjättenovembervägen Silkeborggade Bergstraße Falkoner Allé Nya Allén N57 motorway Kamperdijk Stichtse Rotonde Gunterstraße Nibelungenstraße Kromme Zandweg Stigbergsliden Siegfriedstraße Kasernenstraße Fai Chai Intersection Kölnstraße Dag Hammarskjölds väg Brunnenstraße A4 motorway A1 motorway Hobbemakade Kungsholmsgatan Prins Bernhardplein Mühlenweg Rosia Road Puijonkatu Biskopsgatan Norra ringen Rheinblickstraße Maarweg Thanon Sutthawat Øster Søgade Storkyrkobrinken Skånegatan Rigensgade Parkgatan Prajadhipok road Friedrich-Ebert-Allee Provincial route 198 in the Netherlands Glasvej Vester, Nørre and Øster Farimagsgade Islands Brygge N220 road Södertäljevägen Petra-Kelly-Allee Malteserstraße Julianastraat Xingsheng Street Simrockallee Militärringstraße Drottninggatan Östra Mårtensgatan Frederiksborggade Fleminggatan Reichenberger Straße Godesberger Straße Friesdorfer Straße Kreuzweidenstraße N210 road Lindarängsvägen Johanniterstraße Wulverhorstbaan rue des Prébendes Rosenborggade Grønningen Annankatu Observatoriegatan Boerhaavelaan Sträßchensweg Neherkade A7 motorway Sibyllegatan Sortedam Dossering Zwarte Pad A58 motorway Stora Badhusgatan Älvsjövägen Magasinsgatan Provincial road N969 Yuetan South Street Ookmeerweg Kurfürstenstraße Strandpromenaden N211 road Djurgårdsvägen Nøjsomhedsvej Karlbergsvägen Rothesgade N224 road Provincial road N708 Beijing Railway Station Street Lindhagensgatan Norrbackagatan Katarinavägen Prins Hendrikkade Sten Sturegatan Rantzausgade Waterlinieweg A27 motorway Mannerheimintie Stontelerweg Hjalmar Brantingsgatan Hämeentie Provincial road N479 (Netherlands) Västmannagatan rue des Faures An der Luhs G15 Shenyang–Haikou Expressway Borgergade Sanlihe South 1st Street Nils Ericsonsgatan Postgatan N221 road Bachstraße Manillavägen Dongzhimen Inner Street Östra Hamngatan De Ruijterkade Beichizi Street Södra Hamngatan Kungsholms strand Stormgade Nørre Farimagsgade A15 motorway Warfvinges väg Gammel Kongevej Surbrunnsgatan Herzogstraße Nybrogatan Inedalsgatan Bredgatan Am Büchel Provincial road N480 (Netherlands) Donghuamen Street Storgatan Ubierstraße S85 Kanaltorgsgatan N212 road Xizhimen Outer Street Groesbeekseweg Rheinufer Provincial road N335 Utrechtseweg Steinhagenseweg Friedrichstraße Oxfordstraße Provincial road N307 Belderberg Schrijversdijk Nørregade Södra Larmgatan Øster Allé Østbanegade Provincial road N305 Slottskajen Sankt Hans Gade Folke Bernadottes Allé Tyresövägen Marstalsgade Drottningholmsvägen Bismarckstraße G56 Hangzhou–Ruili Expressway N240 road Kristinehovsgatan Vesterbrogade Schlossallee Provincial road N709 Norra länken Provincial road N706 Fjelievägen Wilhelmstrasse Nieuwe Amstelstraat Blegdamsvej Oberländer Ufer Sluiskade Waterstraat David Bagares gata
A4 motorway, A2 motorway and A59 motorway are a terminus for min number of streets or tunnels
A4 motorway A2 motorway A59 motorway
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type road
type street
action find_reverse_tuple_counts
relation terminus
type road
type tunnel
[[{'concept': 'street'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?j WHERE { VALUES ( ?d ) { ( ontology:street ) ( ontology:tunnel ) } . ?z rdf:type ?d } GROUP BY ?j } . FILTER ( ?k = ?r ) . { SELECT DISTINCT ( MIN ( ?t ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) ?h WHERE { { ?v property:terminus ?h . ?h rdf:type ontology:road . ?v rdf:type ontology:street } UNION { ?h rdf:type ontology:road . ?v rdf:type ontology:tunnel . ?v property:terminus ?h } } GROUP BY ?h } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1382
Q34442 Q83620
USER
Which roads are concurrent with approximately the same number of thoroughfares as that road ?
(c(Q83620),P1382,c(Q34442))
[{'concept': 'Q83620'}, 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { ?z property:P1382 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
[{'concept': 'thoroughfare'}, 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { ?z property:coincident_with ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
road thoroughfare
Comparative|More/Less|Single entity type|Clarification
Q1479591
SYSTEM
Did you mean A59 motorway ?
(c(Q83620),P1382,c(Q34442))
[ANSWER]
[{'concept': 'Q83620'}, 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { ?z property:P1382 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
Did you mean A59 motorway ?
A59 motorway
[{'concept': 'thoroughfare'}, 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { ?z property:coincident_with ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
Comparative Reasoning (All)
USER
No, I meant A4 motorway. Could you tell me the answer for that?
(c(Q83620),P1382,c(Q34442))
Q1557823
[{'concept': 'Q83620'}, 'P1382', {'concept': 'Q34442'}]
[{'concept': 'thoroughfare'}, 'coincident with', {'concept': 'road'}]
[]
Q1557823 Q1815154 Q685888
SYSTEM
A4 motorway, A20 motorway, A27 motorway
Q1815154 Q5001001 Q685888 Q1465749 Q1557823 Q1512120
(c(Q83620),P1382,c(Q34442))
[ANSWERS] are concurrent with approximately the same number of thoroughfares as that road
[{'concept': 'Q83620'}, 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ?y WHERE { ?z property:P1382 ?y . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
A20 motorway N218 road A27 motorway A37 motorway A4 motorway A28 motorway
A4 motorway, A20 motorway and A27 motorway are concurrent with approximately the same number of thoroughfares as that road
A4 motorway A20 motorway A27 motorway
[{'concept': 'thoroughfare'}, 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ?y WHERE { ?z property:coincident_with ?y . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1382
Q34442 Q83620 Q34442
USER
Which roads have partial concurrency with greater number of roads or thoroughfares than that road ?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:P1382 ?n } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q83620 }
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:coincident_with ?n } . ?z rdf:type ontology:road . ?y rdf:type ontology:thoroughfare }
[]
road thoroughfare road
Comparative|More/Less|Mult. entity type|Clarification
Q1815154
SYSTEM
Did you mean A20 motorway ?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[ANSWER]
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:P1382 ?n } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q83620 }
Did you mean A20 motorway ?
A20 motorway
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?n ) { ( ?z ) ( ?y ) } . ?z property:coincident_with ?n } . ?z rdf:type ontology:road . ?y rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (All)
USER
No, I meant A27 motorway. Could you tell me the answer for that?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
Q685888
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
[]
SYSTEM
25
Q1469578 Q1852074 Q19355601 Q2093936 Q2010195 Q1604527 Q19514326 Q18953926 Q1935971 Q19468446 Q19514444 Q1479591 Q1422024 Q2322959 Q2785188 Q19396214 Q17286915 Q19356030 Q19510476 Q15873126 Q1517975 Q1557823 Q2152975 Q1668976 Q1763757
(c(Q34442),P1382,c(Q34442)|c(Q83620))
[ANSWER]
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1382 ?z } UNION { ?z property:P1382 ?y } } . ?z rdf:type ontology:Q34442 . ?y rdf:type ontology:Q83620 }
A16 motorway A10 motorway Nieuweweg A12 motorway N491 road A58 motorway Serooskerkseweg Biltseweg N217 road Rijksweg 's-Gravendeelseweg A59 motorway A2 motorway Abram van Rijckevorselweg Lozerlaan Oost-westweg Wagenweg Nieuwstraat Schipholweg Biltseweg A67 motorway A4 motorway A1 motorway A8 motorway A35 motorway
25
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:coincident_with ?z } UNION { ?z property:coincident_with ?y } } . ?z rdf:type ontology:road . ?y rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1852074
P1382
Q34442 Q83620 Q34442
USER
How many roads are concurrent with greater number of roads or thoroughfares than A10 motorway ?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
action count
action greater
action union
action find_tuple_counts
relation P1382
type Q34442
type Q34442
action find_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find
entity Q1852074
relation P1382
type Q34442
type Q83620
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q1852074 property:P1382 ?o . { { ?o rdf:type ontology:Q34442 } UNION { ?o rdf:type ontology:Q83620 } } } } . FILTER ( ?r > ?g ) }
A10 motorway
action count
action greater
action union
action find_tuple_counts
relation coincident with
type road
type road
action find_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find
entity A10 motorway
relation coincident with
type road
type thoroughfare
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:A10_motorway property:coincident_with ?o . { { ?o rdf:type ontology:road } UNION { ?o rdf:type ontology:thoroughfare } } } } . FILTER ( ?r > ?g ) }
[]
road thoroughfare road
SYSTEM
9
Q1469578 Q2093936 Q2010195 Q1604527 Q1935971 Q1479591 Q1557823 Q1668976 Q1763757
(c(Q34442),P1382,c(Q34442)|c(Q83620))
action count
action greater
action union
action find_tuple_counts
relation P1382
type Q34442
type Q34442
action find_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find
entity Q1852074
relation P1382
type Q34442
type Q83620
[ANSWER]
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q1852074 property:P1382 ?o . { { ?o rdf:type ontology:Q34442 } UNION { ?o rdf:type ontology:Q83620 } } } } . FILTER ( ?r > ?g ) }
A16 motorway A12 motorway N491 road A58 motorway N217 road A59 motorway A4 motorway A8 motorway A35 motorway
9
action count
action greater
action union
action find_tuple_counts
relation coincident with
type road
type road
action find_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find
entity A10 motorway
relation coincident with
type road
type thoroughfare
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:A10_motorway property:coincident_with ?o . { { ?o rdf:type ontology:road } UNION { ?o rdf:type ontology:thoroughfare } } } } . FILTER ( ?r > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q19544714
P1382
Q34442 Q83620 Q34442
USER
And what about Spuidijk?
(c(Q34442),P1382,c(Q34442)|c(Q83620))
action count
action greater
action union
action find_tuple_counts
relation P1382
type Q34442
type Q34442
action find_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find
entity Q19544714
relation P1382
type Q34442
type Q83620
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?m rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q19544714 property:P1382 ?o . { { ?o rdf:type ontology:Q34442 } UNION { ?o rdf:type ontology:Q83620 } } } } . FILTER ( ?q > ?r ) }
Spuidijk
action count
action greater
action union
action find_tuple_counts
relation coincident with
type road
type road
action find_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find
entity Spuidijk
relation coincident with
type road
type thoroughfare
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?d WHERE { VALUES ( ?k ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?m rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Spuidijk property:coincident_with ?o . { { ?o rdf:type ontology:road } UNION { ?o rdf:type ontology:thoroughfare } } } } . FILTER ( ?q > ?r ) }
[]
road thoroughfare road
SYSTEM
25
Q1469578 Q1852074 Q19355601 Q2093936 Q2010195 Q1604527 Q19514326 Q18953926 Q1935971 Q19468446 Q19514444 Q1479591 Q1422024 Q2322959 Q2785188 Q19396214 Q17286915 Q19356030 Q19510476 Q15873126 Q1517975 Q1557823 Q2152975 Q1668976 Q1763757
(c(Q34442),P1382,c(Q34442)|c(Q83620))
action count
action greater
action union
action find_tuple_counts
relation P1382
type Q34442
type Q34442
action find_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find
entity Q19544714
relation P1382
type Q34442
type Q83620
[ANSWER]
[{'concept': 'Q34442'}, 'P1382', [{'concept': 'Q34442'}, {'concept': 'Q83620'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?d WHERE { VALUES ( ?k ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?m rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q19544714 property:P1382 ?o . { { ?o rdf:type ontology:Q34442 } UNION { ?o rdf:type ontology:Q83620 } } } } . FILTER ( ?q > ?r ) }
A16 motorway A10 motorway Nieuweweg A12 motorway N491 road A58 motorway Serooskerkseweg Biltseweg N217 road Rijksweg 's-Gravendeelseweg A59 motorway A2 motorway Abram van Rijckevorselweg Lozerlaan Oost-westweg Wagenweg Nieuwstraat Schipholweg Biltseweg A67 motorway A4 motorway A1 motorway A8 motorway A35 motorway
25
action count
action greater
action union
action find_tuple_counts
relation coincident with
type road
type road
action find_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find
entity Spuidijk
relation coincident with
type road
type thoroughfare
[{'concept': 'road'}, 'coincident with', [{'concept': 'road'}, {'concept': 'thoroughfare'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) ?d WHERE { VALUES ( ?k ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?m rdf:type ?k } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Spuidijk property:coincident_with ?o . { { ?o rdf:type ontology:road } UNION { ?o rdf:type ontology:thoroughfare } } } } . FILTER ( ?q > ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1557823
P559
Q7860962 Q34442
USER
How many Typess of road or roads terminates at A4 motorway ?
(c(Q7860962),P559,Q1557823) (c(Q34442),P559,Q1557823)
action count
action union
action filter_type
action find_reverse
entity Q1557823
relation P559
type Q7860962
action filter_type
action find_reverse
entity Q1557823
relation P559
type Q34442
[{'concept': 'Q7860962'}, 'P559', 'Q1557823'] [{'concept': 'Q34442'}, 'P559', 'Q1557823']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:P559 resource:Q1557823 . ?w rdf:type ontology:Q7860962 } UNION { ?w property:P559 resource:Q1557823 . ?w rdf:type ontology:Q34442 } }
A4 motorway
action count
action union
action filter_type
action find_reverse
entity A4 motorway
relation terminus
type Types of road
action filter_type
action find_reverse
entity A4 motorway
relation terminus
type road
[{'concept': 'Types of road'}, 'terminus', 'A4 motorway'] [{'concept': 'road'}, 'terminus', 'A4 motorway']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:terminus resource:A4_motorway . ?w rdf:type ontology:Types_of_road } UNION { ?w property:terminus resource:A4_motorway . ?w rdf:type ontology:road } }
[]
Types of road road
SYSTEM
5
Q2327238 Q2184881 Q1871608 Q2456450 Q847373
(c(Q7860962),P559,Q1557823) (c(Q34442),P559,Q1557823)
action count
action union
action filter_type
action find_reverse
entity Q1557823
relation P559
type Q7860962
action filter_type
action find_reverse
entity Q1557823
relation P559
type Q34442
[ANSWER]
[{'concept': 'Q7860962'}, 'P559', 'Q1557823'] [{'concept': 'Q34442'}, 'P559', 'Q1557823']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:P559 resource:Q1557823 . ?w rdf:type ontology:Q7860962 } UNION { ?w property:P559 resource:Q1557823 . ?w rdf:type ontology:Q34442 } }
N223 road N259 motorway s106 N257 road A29 motorway
5
action count
action union
action filter_type
action find_reverse
entity A4 motorway
relation terminus
type Types of road
action filter_type
action find_reverse
entity A4 motorway
relation terminus
type road
[{'concept': 'Types of road'}, 'terminus', 'A4 motorway'] [{'concept': 'road'}, 'terminus', 'A4 motorway']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:terminus resource:A4_motorway . ?w rdf:type ontology:Types_of_road } UNION { ?w property:terminus resource:A4_motorway . ?w rdf:type ontology:road } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19729123 Q1479591
P17
Q15617994
USER
Which administrative territories are A59 motorway or Mekarsari located in ?
OR((Q1479591,P17,c(Q15617994)), (Q19729123,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1479591
relation P17
action find
entity Q19729123
relation P17
type Q15617994
{'OR': [['Q1479591', 'P17', {'concept': 'Q15617994'}], ['Q19729123', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:P17 ?j . VALUES ( ?u ) { ( resource:Q1479591 ) ( resource:Q19729123 ) } } . ?j rdf:type ontology:Q15617994 }
Mekarsari A59 motorway
action filter_type
action union
action find
entity A59 motorway
relation country
action find
entity Mekarsari
relation country
type designation for an administrative territorial entity
{'OR': [['A59 motorway', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mekarsari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:country ?j . VALUES ( ?u ) { ( resource:A59_motorway ) ( resource:Mekarsari ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q252
SYSTEM
Netherlands, Indonesia
Q55 Q252
OR((Q1479591,P17,c(Q15617994)), (Q19729123,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1479591
relation P17
action find
entity Q19729123
relation P17
type Q15617994
A59 motorway or Mekarsari are located in [ANSWERS]
{'OR': [['Q1479591', 'P17', {'concept': 'Q15617994'}], ['Q19729123', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:P17 ?j . VALUES ( ?u ) { ( resource:Q1479591 ) ( resource:Q19729123 ) } } . ?j rdf:type ontology:Q15617994 }
Netherlands Indonesia
A59 motorway or Mekarsari are located in Netherlands and Indonesia
Netherlands Indonesia
action filter_type
action union
action find
entity A59 motorway
relation country
action find
entity Mekarsari
relation country
type designation for an administrative territorial entity
{'OR': [['A59 motorway', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mekarsari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { ?u property:country ?j . VALUES ( ?u ) { ( resource:A59_motorway ) ( resource:Mekarsari ) } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q55 Q252
P17
Q41176
USER
Which buildings are located in those administrative territories ?
(c(Q41176),P17,Q55) (c(Q41176),P17,Q252)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q41176
[{'concept': 'Q41176'}, 'P17', 'Q55'] [{'concept': 'Q41176'}, 'P17', 'Q252']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q41176 . VALUES ( ?s ) { ( resource:Q55 ) ( resource:Q252 ) } . ?c property:P17 ?s }
Netherlands Indonesia
action filter_type
action find_reverse
entity prev_answer
relation country
type building
[{'concept': 'building'}, 'country', 'Netherlands'] [{'concept': 'building'}, 'country', 'Indonesia']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:building . VALUES ( ?s ) { ( resource:Netherlands ) ( resource:Indonesia ) } . ?c property:country ?s }
[]
building
Q50719 Q800675 Q17068614
SYSTEM
Amsterdam Centraal, Dordrecht railway station, Lange Voorhout Palace
Q21757793 Q851200 Q2050495 Q19561003 Q2456800 Q2803035 Q17308321 Q2190997 Q1844809 Q17295804 Q18813124 Q2133879 Q15228839 Q2491047 Q234048 Q2352410 Q2922793 Q21296025 Q2187750 Q11721709 Q2433308 Q2851347 Q17435300 Q17599268 Q800675 Q7777262 Q2676144 Q17203170 Q2520301 Q5411715 Q2208973 Q508613 Q2743529 Q1984352 Q3131140 Q47242 Q21296028 Q2057113 Q3269077 Q2958102 Q801555 Q2634390 Q2552025 Q689942 Q2179815 Q17615282 Q1088619 Q825421 Q1889721 Q2434041 Q17595299 Q2247426 Q17068614 Q21174967 Q2317975 Q2518719 Q2347312 Q19698230 Q2017234 Q1817103 Q1818096 Q2287350 Q17452438 Q17465156 Q4989606 Q13135970 Q2485688 Q1962448 Q3100901 Q2127254 Q1072284 Q575008 Q2436644 Q2376916 Q2609918 Q2227752 Q2495837 Q2438963 Q1234768 Q17458585 Q2788716 Q2451093 Q477221 Q17290077 Q1629214 Q14715492 Q600719 Q2594321 Q800400 Q2692856 Q575044 Q3126873 Q1960205 Q2471415 Q15880390 Q14520193 Q17461651 Q2156410 Q2237396 Q808313 Q2218141 Q17455644 Q4551555 Q2232836 Q2483786 Q2257705 Q2374920 Q2122749 Q3120439 Q2737719 Q2046494 Q1923614 Q511291 Q20706270 Q2196824 Q18813531 Q2540814 Q2269636 Q2507970 Q2974418 Q1989625 Q17595305 Q1650050 Q20051161 Q2743329 Q2113146 Q2585319 Q5481015 Q2536021 Q60481 Q2599273 Q5103309 Q5530594 Q17606617 Q2204224 Q2551811 Q2020929 Q2221631 Q2802804 Q1906803 Q1977799 Q2469476 Q2268246 Q2536586 Q979494 Q1155466 Q5114033 Q1535378 Q17458314 Q800889 Q801182 Q17203961 Q2505167 Q2996628 Q1277901 Q2683798 Q2073999 Q2113356 Q21445477 Q2299669 Q2468686 Q2219072 Q2591096 Q2076385 Q2557651 Q20888634 Q1911838 Q1815376 Q645881 Q1893367 Q1888218 Q17373456 Q2856405 Q599272 Q2347151 Q2485832 Q50720 Q2408007 Q1869519 Q17291266 Q50719 Q2790073 Q2466999 Q3439918 Q1138851 Q1106490 Q2206529 Q2926389 Q3433158 Q800732 Q18813727 Q2624047 Q2626825 Q17195841 Q2415322 Q2789799 Q2200865 Q2619023 Q3322418 Q2136794 Q2805101 Q17445747 Q17592981 Q4364783 Q2079938 Q17407080 Q2522995 Q800935 Q2141961 Q17331173 Q2149792 Q17308319 Q19832755 Q849957 Q13797957 Q2040000 Q4120237 Q18121199 Q4737768 Q1139728 Q16898265 Q27154899 Q17055899 Q15271379 Q3008117 Q41925 Q600719 Q2736554 Q6124456 Q4926985 Q7131849 Q7451408 Q3124902 Q4264984 Q23904914
(c(Q41176),P17,Q55) (c(Q41176),P17,Q252)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q41176
[ANSWERS] are located in those administrative territories
[{'concept': 'Q41176'}, 'P17', 'Q55'] [{'concept': 'Q41176'}, 'P17', 'Q252']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q41176 . VALUES ( ?s ) { ( resource:Q55 ) ( resource:Q252 ) } . ?c property:P17 ?s }
Pathé De Kuip Beurs van Berlage De Duif Schiphol Building University Medical Center Utrecht Vossius Gymnasium Monumental building at Wittenburgergracht 143 Open air school Compagnietheater Multatuli House Gasthuishofje Badhuistheater Isala Theater Onze Lieve Vrouwe Gasthuis Soestdijk Palace Waag Zuiderhofje Merwedestraat 45 Zuwe Hofpoort Hospital Agnietenkapel Nijmegen city theater Circustheater Voorstraat 41 Complex Mariënburg seminary Dordrecht railway station Theater 't Speelhuis Amsterdams Lyceum Main building Hoogovens De Kleine Komedie Onze-Lieve-Vrouw van Zeven Smartenkapel Alto Vista Chapel Vlissingen railway station Wijnbergshofje Wolff City IJsselhallen Kropswolde railway station Merwedestraat 98 University Medical Center Groningen Lycée Vincent van Gogh La Haye-Amsterdam Hofje van Oorschot Veendam railway station Villa Eikenhorst Mallemolen Eindhoven railway station Sint Geertruidsgasthuis Markiezenhof Weigh House Bimhuis Noordeinde Palace Hofje Van Verre (Vlissingen) Klokgebouw Zaanlands Lyceum Lange Voorhout Palace Buitenrust House Johan Enschedé Hof Stadsrijschool (The Hague) Boterwaag Spaarne Gasthuis Westgaarde Stadsschouwburg Louis Hartlooper Complex Eikenburg Voorstraat 41 Rotterdam main post office Café De Unie 't Hammetje Stadsschouwburg Utrecht Magna Plaza Slotervaartziekenhuis PandaVision Huis ten Bosch Hofjes in Haarlem Apollo House Statenpassage Deutzen Hofje Hofje van Guurtje de Waal Thalia Babylon World Forum Convention Center koetshuis De Achterhoek Efteling Theatre De Balie Prins Bernhardhoeve Monumental building at Kattenburgergracht 9A Begijnhof Ruwaard van Putten Ziekenhuis Freemasonry in Indonesia Radboud University Nijmegen Medical Centre Arnemuiden railway station Jaarbeurs Teylers Hofje Erasmus MC Hofje In den Groenen Tuin Royal Theater Heerlen Oudezijds Almshouse Wolff Camera Deventer railway station Waag De Doelen Barlaeus Gymnasium Cinema in Amsterdam Waldeck Pyrmontkade 20, Utrecht Crystal Tower Hofje van Staats Schouwburg of Van Campen New Babylon Lutherse Hofje Ronde Lutherse Kerk Catharina Ziekenhuis Frans Loenenhofje Schuddegeest Hofje van Bakenes Royal Academy of Art, The Hague Meander Medisch Centrum Arsenaal Schouwburg Latin School Ito-toren Hofje van Loo Medisch Spectrum Twente Postkantoor van De Steeg Philips SK building WORM Villa Flora Zonnestraal Groothandelsgebouw Aue Pavilions Hofje van Noblet Waag Melkweg Murmellius Gymnasium Keizersgracht 453 Gemeenlandshuis Havengebouw Brouwershofje Proveniershuis Kneuterdijk Palace Grand Orient of the Netherlands Tingel Tangel Sint Maartenskliniek De Bazel Jaagpad 11 Hofje van Willem Heythuijsen Antoni van Leeuwenhoek Ziekenhuis Waag, Haarlem DRU Culture factory Rooms of Maria van Pallaes Paradiso former Jewish school Harlingen railway station Middelburg railway station Anslo Hofje Astoria (Amsterdam) Raveleijn Pyramid of Austerlitz Order of Mark Master Masons Stadhouderlijk Hof Rialto Court Chapel (The Hague) Medical Center Leeuwarden Stedelijk Gymnasium Haarlem Wytzes- of Schoonbeeksgasthuis Pieter Baan Centre Oudenbosch railway station LUX Het Nieuwe Instituut Academic Hospital Maastricht Extrapool ING House Vught railway station VU University Medical Center Vredestempeltje, Rijs Huiszittenweduwenhof Tuschinski Rijnlands Lyceum Wassenaar Dr. Anton Philipszaal Amsterdam Amstel Máxima Medisch Centrum Bruiningshofje House with neck gable Amsterdam Centraal Martiniplaza Waag Shouwburg Amphion Stopera Carré Theatre Hollandsche Schouwburg City Hall of Tilburg Remonstrants Hofje Enkhuizen railway station Constantinianum Scholengemeenschap Lelystad OSG West-Friesland Bakenessergracht 55 De Nieuwe Ooster Toneelschuur DeLaMar CineStar Rijnhal Hofje Codde en Van Beresteijn Vrouwe- en Antonie Gasthuys Voorstraat 41 De Nederlanden van 1845 (Arnhem) Holbeinhuis OCCII Former Bethlehemsvergadering New Orleans Hoorn railway station De Rode Hoed Station building Praedinius Gymnasium Monumental building at Wittenburgergracht 119 Bioscoop Vreeburg Concertgebouw MCH Westeinde Koninklijke Schouwburg Mata Elang International Stadium Asrama Mahasiswa ITS Dr. Hasan Sadikin Hospital Istana Negara (Jakarta) Pertamina Energy Tower Merdeka Palace Signature Tower Jakarta Kadisoka Cyber Estate Tower Siak Sri Indrapura palace Freemasonry in Indonesia Candi of Indonesia Jakarta Convention Center Blitzmegaplex Panti Rapih Hospital Sentul International Convention Center Balinese temple Dr. Kariadi Hospital Hospital PKT Siaga Ramania
Amsterdam Centraal, Dordrecht railway station and Lange Voorhout Palace are located in those administrative territories
Amsterdam Centraal Dordrecht railway station Lange Voorhout Palace
action filter_type
action find_reverse
entity prev_answer
relation country
type building
[{'concept': 'building'}, 'country', 'Netherlands'] [{'concept': 'building'}, 'country', 'Indonesia']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:building . VALUES ( ?s ) { ( resource:Netherlands ) ( resource:Indonesia ) } . ?c property:country ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50719
P197
Q55488
USER
Which railway stations are in the neighbouhood of Amsterdam Centraal ?
(c(Q55488),P197,Q50719)
action filter_type
action find
entity Q50719
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q50719']
SELECT DISTINCT ?q WHERE { resource:Q50719 property:P197 ?q . ?q rdf:type ontology:Q55488 }
Amsterdam Centraal
action filter_type
action find
entity Amsterdam Centraal
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Amsterdam Centraal']
SELECT DISTINCT ?q WHERE { resource:Amsterdam_Centraal property:adjacent_station ?q . ?q rdf:type ontology:railway_station }
[]
railway station
Q50724 Q2673118 Q1865371
SYSTEM
Amsterdam Muiderpoort railway station, Noorderpark, Rokin
Q50724 Q2673118 Q1865371 Q1913095
(c(Q55488),P197,Q50719)
action filter_type
action find
entity Q50719
relation P197
type Q55488
[ANSWERS] are in the neighbouhood of Amsterdam Centraal
[{'concept': 'Q55488'}, 'P197', 'Q50719']
SELECT DISTINCT ?q WHERE { resource:Q50719 property:P197 ?q . ?q rdf:type ontology:Q55488 }
Amsterdam Muiderpoort railway station Noorderpark Rokin Nieuwmarkt
Amsterdam Muiderpoort railway station, Noorderpark and Rokin are in the neighbouhood of Amsterdam Centraal
Amsterdam Muiderpoort railway station Noorderpark Rokin
action filter_type
action find
entity Amsterdam Centraal
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Amsterdam Centraal']
SELECT DISTINCT ?q WHERE { resource:Amsterdam_Centraal property:adjacent_station ?q . ?q rdf:type ontology:railway_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q50719
P1192
Q740752
USER
What is a connecting service station for Amsterdam Centraal ?
(Q50719,P1192,c(Q740752))
action filter_type
action find
entity Q50719
relation P1192
type Q740752
['Q50719', 'P1192', {'concept': 'Q740752'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q740752 . resource:Q50719 property:P1192 ?q }
Amsterdam Centraal
action filter_type
action find
entity Amsterdam Centraal
relation connecting service
type transport company
['Amsterdam Centraal', 'connecting service', {'concept': 'transport company'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:transport_company . resource:Amsterdam_Centraal property:connecting_service ?q }
[]
transport company
Q466985
SYSTEM
Thalys
Q466985
(Q50719,P1192,c(Q740752))
action filter_type
action find
entity Q50719
relation P1192
type Q740752
A connecting service station for Amsterdam Centraal is called [ANSWER]
['Q50719', 'P1192', {'concept': 'Q740752'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q740752 . resource:Q50719 property:P1192 ?q }
Thalys
A connecting service station for Amsterdam Centraal is called Thalys
Thalys
action filter_type
action find
entity Amsterdam Centraal
relation connecting service
type transport company
['Amsterdam Centraal', 'connecting service', {'concept': 'transport company'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:transport_company . resource:Amsterdam_Centraal property:connecting_service ?q }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q50719
Q3959904
USER
And which multiple unit?
(Q50719,P1192,c(Q3959904))
action filter_type
action find
entity Q50719
relation P1192
type Q3959904
['Q50719', 'P1192', {'concept': 'Q3959904'}]
SELECT DISTINCT ?g WHERE { resource:Q50719 property:P1192 ?g . ?g rdf:type ontology:Q3959904 }
Amsterdam Centraal
action filter_type
action find
entity Amsterdam Centraal
relation connecting service
type multiple unit
['Amsterdam Centraal', 'connecting service', {'concept': 'multiple unit'}]
SELECT DISTINCT ?g WHERE { resource:Amsterdam_Centraal property:connecting_service ?g . ?g rdf:type ontology:multiple_unit }
[]
multiple unit
Q129172 Q129337
SYSTEM
InterCityExpress, TGV
Q129172 Q129337
(Q50719,P1192,c(Q3959904))
action filter_type
action find
entity Q50719
relation P1192
type Q3959904
[ANSWERS]
['Q50719', 'P1192', {'concept': 'Q3959904'}]
SELECT DISTINCT ?g WHERE { resource:Q50719 property:P1192 ?g . ?g rdf:type ontology:Q3959904 }
InterCityExpress TGV
InterCityExpress TGV
action filter_type
action find
entity Amsterdam Centraal
relation connecting service
type multiple unit
['Amsterdam Centraal', 'connecting service', {'concept': 'multiple unit'}]
SELECT DISTINCT ?g WHERE { resource:Amsterdam_Centraal property:connecting_service ?g . ?g rdf:type ontology:multiple_unit }
[]