Simple Question (Direct)
Simple Question
Q2472213
P1192
Q15665807
USER
What is a connecting service station for Provença-Diagonal station ?
(Q2472213,P1192,c(Q15665807))
action filter_type
action find
entity Q2472213
relation P1192
type Q15665807
['Q2472213', 'P1192', {'concept': 'Q15665807'}]
SELECT DISTINCT ?w WHERE { resource:Q2472213 property:P1192 ?w . ?w rdf:type ontology:Q15665807 }
Provença-Diagonal station
action filter_type
action find
entity Provença-Diagonal station
relation connecting service
type rapid transit
['Provença-Diagonal station', 'connecting service', {'concept': 'rapid transit'}]
SELECT DISTINCT ?w WHERE { resource:Provença-Diagonal_station property:connecting_service ?w . ?w rdf:type ontology:rapid_transit }
[]
rapid transit
Q5503
SYSTEM
subterranean rapid transit
Q5503
(Q2472213,P1192,c(Q15665807))
action filter_type
action find
entity Q2472213
relation P1192
type Q15665807
A connecting service station for Provença-Diagonal station is a [ANSWER]
['Q2472213', 'P1192', {'concept': 'Q15665807'}]
SELECT DISTINCT ?w WHERE { resource:Q2472213 property:P1192 ?w . ?w rdf:type ontology:Q15665807 }
subterranean rapid transit
A connecting service station for Provença-Diagonal station is a subterranean rapid transit
subterranean rapid transit
action filter_type
action find
entity Provença-Diagonal station
relation connecting service
type rapid transit
['Provença-Diagonal station', 'connecting service', {'concept': 'rapid transit'}]
SELECT DISTINCT ?w WHERE { resource:Provença-Diagonal_station property:connecting_service ?w . ?w rdf:type ontology:rapid_transit }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5503
P452
Q4830453
USER
Who belongs to the industry that rapid transit ?
(c(Q4830453),P452,Q5503)
action filter_type
action find_reverse
entity Q5503
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', 'Q5503']
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5503 . ?u rdf:type ontology:Q4830453 }
subterranean rapid transit
action filter_type
action find_reverse
entity subterranean rapid transit
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'subterranean rapid transit']
SELECT DISTINCT ?u WHERE { ?u property:industry resource:subterranean_rapid_transit . ?u rdf:type ontology:business_enterprise }
[]
business enterprise
Q117215
SYSTEM
Transpole
Q117215
(c(Q4830453),P452,Q5503)
action filter_type
action find_reverse
entity Q5503
relation P452
type Q4830453
[ANSWER] belongs to the industry that rapid transit
[{'concept': 'Q4830453'}, 'P452', 'Q5503']
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5503 . ?u rdf:type ontology:Q4830453 }
Transpole
Transpole belongs to the industry that rapid transit
Transpole
action filter_type
action find_reverse
entity subterranean rapid transit
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'subterranean rapid transit']
SELECT DISTINCT ?u WHERE { ?u property:industry resource:subterranean_rapid_transit . ?u rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2472213
P197
Q55488
USER
Which railway stations are adjoined to Provença-Diagonal station ?
(c(Q55488),P197,Q2472213)
action filter_type
action find
entity Q2472213
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q2472213']
SELECT DISTINCT ?d WHERE { resource:Q2472213 property:P197 ?d . ?d rdf:type ontology:Q55488 }
Provença-Diagonal station
action filter_type
action find
entity Provença-Diagonal station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Provença-Diagonal station']
SELECT DISTINCT ?d WHERE { resource:Provença-Diagonal_station property:adjacent_station ?d . ?d rdf:type ontology:railway_station }
[]
railway station
Q800447 Q2328516 Q2501185
SYSTEM
Plaça de Catalunya station, Passeig de Gràcia, Gràcia
Q2501185 Q535545 Q2514293 Q2328516 Q2331545 Q800447
(c(Q55488),P197,Q2472213)
action filter_type
action find
entity Q2472213
relation P197
type Q55488
[ANSWERS] are adjoined to Provença-Diagonal station
[{'concept': 'Q55488'}, 'P197', 'Q2472213']
SELECT DISTINCT ?d WHERE { resource:Q2472213 property:P197 ?d . ?d rdf:type ontology:Q55488 }
Gràcia Fontana Verdaguer Passeig de Gràcia Hospital Clínic Plaça de Catalunya station
Plaça de Catalunya station, Passeig de Gràcia and Gràcia are adjoined to Provença-Diagonal station
Plaça de Catalunya station Passeig de Gràcia Gràcia
action filter_type
action find
entity Provença-Diagonal station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Provença-Diagonal station']
SELECT DISTINCT ?d WHERE { resource:Provença-Diagonal_station property:adjacent_station ?d . ?d rdf:type ontology:railway_station }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2328516
P81
Q728937
USER
Which railroad lines are that railway station connected to ?
(Q2328516,P81,c(Q728937))
action filter_type
action find
entity Q2328516
relation P81
type Q728937
['Q2328516', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?m WHERE { resource:Q2328516 property:P81 ?m . ?m rdf:type ontology:Q728937 }
Passeig de Gràcia
action filter_type
action find
entity Passeig de Gràcia
relation connecting line
type railroad line
['Passeig de Gràcia', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?m WHERE { resource:Passeig_de_Gràcia property:connecting_line ?m . ?m rdf:type ontology:railroad_line }
[]
railroad line
Clarification for simple ques.
Q2328516
SYSTEM
Did you mean Passeig de Gràcia ?
Q800447 Q2328516 Q2501185
(Q800447,P81,c(Q728937)) (Q2328516,P81,c(Q728937)) (Q2501185,P81,c(Q728937))
[ANSWER]
['Q800447', 'P81', {'concept': 'Q728937'}] ['Q2328516', 'P81', {'concept': 'Q728937'}] ['Q2501185', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?m WHERE { resource:Q2328516 property:P81 ?m . ?m rdf:type ontology:Q728937 }
Plaça de Catalunya station Passeig de Gràcia Gràcia
Did you mean Passeig de Gràcia ?
Passeig de Gràcia
['Plaça de Catalunya station', 'connecting line', {'concept': 'railroad line'}] ['Passeig de Gràcia', 'connecting line', {'concept': 'railroad line'}] ['Gràcia', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?m WHERE { resource:Passeig_de_Gràcia property:connecting_line ?m . ?m rdf:type ontology:railroad_line }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2328516,P81,c(Q728937))
['Q2328516', 'P81', {'concept': 'Q728937'}]
['Passeig de Gràcia', 'connecting line', {'concept': 'railroad line'}]
[]
Q385168 Q1348921 Q961384
SYSTEM
Barcelona Metro line 3, Barcelona Metro line 2, Barcelona Metro line 4
Q385168 Q1348921 Q961384
(Q2328516,P81,c(Q728937))
action filter_type
action find
entity Q2328516
relation P81
type Q728937
[ANSWERS] are that railway station connected to
['Q2328516', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?m WHERE { resource:Q2328516 property:P81 ?m . ?m rdf:type ontology:Q728937 }
Barcelona Metro line 3 Barcelona Metro line 2 Barcelona Metro line 4
Barcelona Metro line 3, Barcelona Metro line 2 and Barcelona Metro line 4 are that railway station connected to
Barcelona Metro line 3 Barcelona Metro line 2 Barcelona Metro line 4
action filter_type
action find
entity Passeig de Gràcia
relation connecting line
type railroad line
['Passeig de Gràcia', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?m WHERE { resource:Passeig_de_Gràcia property:connecting_line ?m . ?m rdf:type ontology:railroad_line }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5328333
P81
Q55488
USER
Are East Falls Church Station connected to those railroad lines ?
(Q5328333,P81,Q385168) (Q5328333,P81,Q1348921) (Q5328333,P81,Q961384)
action is_in
entity prev_answer
action find
entity Q5328333
relation P81
['Q5328333', 'P81', 'Q385168'] ['Q5328333', 'P81', 'Q1348921'] ['Q5328333', 'P81', 'Q961384']
ASK WHERE { resource:Q5328333 property:P81 ?d . VALUES ( ?d ) { ( resource:Q385168 ) ( resource:Q1348921 ) ( resource:Q961384 ) } }
East Falls Church Station
action is_in
entity prev_answer
action find
entity East Falls Church Station
relation connecting line
['East Falls Church Station', 'connecting line', 'Barcelona Metro line 3'] ['East Falls Church Station', 'connecting line', 'Barcelona Metro line 2'] ['East Falls Church Station', 'connecting line', 'Barcelona Metro line 4']
ASK WHERE { resource:East_Falls_Church_Station property:connecting_line ?d . VALUES ( ?d ) { ( resource:Barcelona_Metro_line_3 ) ( resource:Barcelona_Metro_line_2 ) ( resource:Barcelona_Metro_line_4 ) } }
[]
railway station
SYSTEM
NO
(Q5328333,P81,Q385168) (Q5328333,P81,Q1348921) (Q5328333,P81,Q961384)
action is_in
entity prev_answer
action find
entity Q5328333
relation P81
[ANSWER]
['Q5328333', 'P81', 'Q385168'] ['Q5328333', 'P81', 'Q1348921'] ['Q5328333', 'P81', 'Q961384']
ASK WHERE { resource:Q5328333 property:P81 ?d . VALUES ( ?d ) { ( resource:Q385168 ) ( resource:Q1348921 ) ( resource:Q961384 ) } }
No
action is_in
entity prev_answer
action find
entity East Falls Church Station
relation connecting line
['East Falls Church Station', 'connecting line', 'Barcelona Metro line 3'] ['East Falls Church Station', 'connecting line', 'Barcelona Metro line 2'] ['East Falls Church Station', 'connecting line', 'Barcelona Metro line 4']
ASK WHERE { resource:East_Falls_Church_Station property:connecting_line ?d . VALUES ( ?d ) { ( resource:Barcelona_Metro_line_3 ) ( resource:Barcelona_Metro_line_2 ) ( resource:Barcelona_Metro_line_4 ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q86468 Q385168
P81
Q55488
USER
Which railway stations are connected to Barcelona Metro line 3 or Busan Metro Line 3 ?
OR((c(Q55488),P81,Q385168), (c(Q55488),P81,Q86468))
action filter_type
action union
action find_reverse
entity Q385168
relation P81
action find_reverse
entity Q86468
relation P81
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P81', 'Q385168'], [{'concept': 'Q55488'}, 'P81', 'Q86468']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P81 resource:Q385168 } UNION { ?y property:P81 resource:Q86468 } } . ?y rdf:type ontology:Q55488 }
Busan Metro Line 3 Barcelona Metro line 3
action filter_type
action union
action find_reverse
entity Barcelona Metro line 3
relation connecting line
action find_reverse
entity Busan Metro Line 3
relation connecting line
type railway station
{'OR': [[{'concept': 'railway station'}, 'connecting line', 'Barcelona Metro line 3'], [{'concept': 'railway station'}, 'connecting line', 'Busan Metro Line 3']]}
SELECT DISTINCT ?y WHERE { { { ?y property:connecting_line resource:Barcelona_Metro_line_3 } UNION { ?y property:connecting_line resource:Busan_Metro_Line_3 } } . ?y rdf:type ontology:railway_station }
[]
railway station
Q705428 Q669990 Q705756 Q2180113 Q2549147 Q952778 Q706270 Q4865427 Q2328516 Q2226449
SYSTEM
Some of them are Sajik Station, Espanya, Deokcheon Station, Les Corts, Drassanes, Penitents, Mulmangol Station, Gupo Station, Passeig de Gràcia, Mundet
Q2518479 Q2328516 Q979398 Q705415 Q747555 Q706290 Q610740 Q2547358 Q2383315 Q2127269 Q706322 Q1850417 Q706225 Q704815 Q705428 Q705736 Q535545 Q2548401 Q2072583 Q952778 Q705756 Q705836 Q669990 Q2226449 Q705798 Q706241 Q596655 Q2313145 Q2472213 Q2536272 Q1997098 Q4865427 Q2549147 Q706187 Q704940 Q1975942 Q1813621 Q704872 Q706337 Q706270 Q800447 Q966533 Q2180113
OR((c(Q55488),P81,Q385168), (c(Q55488),P81,Q86468))
action filter_type
action union
action find_reverse
entity Q385168
relation P81
action find_reverse
entity Q86468
relation P81
type Q55488
[ANSWERS] are connected to Barcelona Metro line 3 or Busan Metro Line 3
{'OR': [[{'concept': 'Q55488'}, 'P81', 'Q385168'], [{'concept': 'Q55488'}, 'P81', 'Q86468']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P81 resource:Q385168 } UNION { ?y property:P81 resource:Q86468 } } . ?y rdf:type ontology:Q55488 }
Vall d'Hebron Passeig de Gràcia Lesseps Minam Station Trinitat Nova Baesan Station Poble Sec Roquetes Liceu Plaça del Centre Yeonsan Station Montbau Suyeong Station Gangseo-gu Office Station Sajik Station Namsanjeong Station Fontana Tarragona Zona Universitària Penitents Deokcheon Station Sukdeung Station Espanya Mundet Mandeok Station Geoje Station Maria Cristina Paral·lel Provença-Diagonal station Palau Reial Sants Estació Gupo Station Drassanes Mangmi Station Sports Park Station Canyelles Vallcarca Daejeo Station Sports Complex Station Mulmangol Station Plaça de Catalunya station Valldaura Les Corts
Sajik Station, Espanya, Deokcheon Station, Les Corts, Drassanes, Penitents, Mulmangol Station, Gupo Station, Passeig de Gràcia and Mundet are connected to Barcelona Metro line 3 or Busan Metro Line 3
Sajik Station Espanya Deokcheon Station Les Corts Drassanes Penitents Mulmangol Station Gupo Station Passeig de Gràcia Mundet
action filter_type
action union
action find_reverse
entity Barcelona Metro line 3
relation connecting line
action find_reverse
entity Busan Metro Line 3
relation connecting line
type railway station
{'OR': [[{'concept': 'railway station'}, 'connecting line', 'Barcelona Metro line 3'], [{'concept': 'railway station'}, 'connecting line', 'Busan Metro Line 3']]}
SELECT DISTINCT ?y WHERE { { { ?y property:connecting_line resource:Barcelona_Metro_line_3 } UNION { ?y property:connecting_line resource:Busan_Metro_Line_3 } } . ?y rdf:type ontology:railway_station }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q21585418
P669
Q83620 Q55488
USER
Which thoroughfares are around the same number of railway stations located as Warwick Lane ?
(c(Q55488),P669,c(Q83620))
action approx
action find_reverse_tuple_counts
relation P669
type Q83620
type Q55488
action count
action filter_type
action find
entity Q21585418
relation P669
type Q83620
[{'concept': 'Q55488'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q21585418 property:P669 ?o . ?o rdf:type ontology:Q83620 } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P669 ?y . ?y rdf:type ontology:Q83620 . ?h rdf:type ontology:Q55488 } GROUP BY ?y } }
Warwick Lane
action approx
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type railway station
action count
action filter_type
action find
entity Warwick Lane
relation located on street
type thoroughfare
[{'concept': 'railway station'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Warwick_Lane property:located_on_street ?o . ?o rdf:type ontology:thoroughfare } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:located_on_street ?y . ?y rdf:type ontology:thoroughfare . ?h rdf:type ontology:railway_station } GROUP BY ?y } }
[]
thoroughfare railway station
Q3412690 Q3001371 Q1146988
SYSTEM
quai de Valmy, cours de Vincennes, quai d'Orsay
Q925349 Q15030785 Q5601894 Q659373 Q842930 Q5025781 Q7452693 Q17451598 Q3566460 Q16889211 Q3443567 Q3090472 Q7270510 Q2104197 Q1124023 Q2634407 Q18659847 Q169430 Q18659845 Q378991 Q4581969 Q5094624 Q3412695 Q3412693 Q1146988 Q5139684 Q1475467 Q5500055 Q16887011 Q7064249 Q4253168 Q1782648 Q373302 Q612382 Q5882916 Q6680226 Q7269996 Q1782039 Q1068693 Q2905663 Q3412683 Q5187677 Q5164086 Q7179381 Q7097982 Q15224048 Q5450926 Q11893194 Q5522302 Q892187 Q10476968 Q893034 Q2838796 Q3068338 Q3760653 Q7590464 Q3412685 Q16313103 Q3258965 Q2962296 Q22083647 Q2550870 Q18682440 Q4828125 Q846686 Q5137008 Q26311261 Q15213255 Q3368042 Q8023371 Q2436345 Q3412667 Q3412665 Q2741353 Q4649528 Q1146645 Q7798333 Q868616 Q3412709 Q4475857 Q895073 Q7231999 Q3308692 Q6773888 Q1647486 Q1739015 Q12060528 Q8022857 Q1365199 Q192687 Q19581777 Q747271 Q7374297 Q11698324 Q3412658 Q805829 Q215255 Q5654882 Q3412713 Q5068795 Q3412716 Q27464910 Q5196144 Q6781594 Q7083664 Q7235592 Q21585418 Q4972570 Q7291867 Q1070409 Q23688700 Q4968916 Q26303488 Q2796839 Q3412645 Q3161432 Q17150715 Q1631720 Q479469 Q5122150 Q3001371 Q21097991 Q3412725 Q23891209 Q2926113 Q7999677 Q4946315 Q1770585 Q3365085 Q279859 Q1631609 Q1900734 Q6412079 Q6188196 Q5086153 Q19461206 Q5210648 Q756816 Q756819 Q7781517 Q3412738 Q18619695 Q3412735 Q3412630 Q22344691 Q79934 Q27837160 Q8033457 Q22084204 Q2922699 Q3412690 Q14935196 Q15176495 Q4649576 Q17985385 Q389991 Q5591440 Q893261 Q3001832 Q20005749 Q5905761 Q3368123 Q773458 Q3312645 Q3444041 Q5312872 Q866797 Q5123401 Q8032277 Q3090980 Q6126123 Q20220110 Q6483175 Q5607603 Q3443530
(c(Q55488),P669,c(Q83620))
action approx
action find_reverse_tuple_counts
relation P669
type Q83620
type Q55488
action count
action filter_type
action find
entity Q21585418
relation P669
type Q83620
[ANSWERS] are around the same number of railway stations located as Warwick Lane
[{'concept': 'Q55488'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q21585418 property:P669 ?o . ?o rdf:type ontology:Q83620 } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P669 ?y . ?y rdf:type ontology:Q83620 . ?h rdf:type ontology:Q55488 } GROUP BY ?y } }
Pall Mall Stoke Newington Church Street Greek Street quai de Conti The Mall Camden High Street Serangoon Road Dalbyvägen Greek National Road 1 Jurong Town Hall Road Quebec Route 132 quai Voltaire Queen Street Poppelsdorfer Allee Piccadilly St James's Street Main road 86 Jermyn Street Main road 79 Park Lane Queen Victoria Street Cheyne Walk quai de l'Archevêché quai de l'Hôtel-de-Ville quai d'Orsay Cockspur Street E 11 road Free School Lane Sembawang Road Nova Scotia Trunk 2 Lime Street High Holborn King's Road Sloane Street Hollywood Road Lordship Lane, Haringey Queen's Gate Cornhill Cheapside Exhibition Road quai de Grenelle Cromwell Road Constitution Avenue Petty France Ophir Road Hill Street Finsbury Pavement Regional road 815 Garden Road Bond Street Drottning Kristinas väg Haymarket allée Célestin-Hennion Fenchurch Street George Street St. Mary Axe quai de Jemmapes Connaught Road Central London Inner Ring Road Queen Mary Road Regency Street Paseo de Recoletos Piriläntie Avenida de Almeida Ribeiro Fleet Street Clyde Road Willow Terrace Road Dean Street passage de Dantzig Wilton Crescent Maine State Route 103 quai d'Anjou quai Victor-Augagneur quai de l'Horloge A6108 road Via Domitia Throgmorton Street Hollywood Boulevard quai de la Mégisserie Universitetskaya Embankment René Lévesque Boulevard Portland Place Euston Road Marsham Street Tottenham Court Road Kensington Palace Gardens Hope Street Wilmslow Road Marylebone Road Downing Street Queen Anne's Gate quai de la Tournelle Royal Hospital Road Paternoster Row quai Saint-Bernard Colorado Boulevard Piccadilly Circus Harbour Road quai des Antilles Chalk Farm Road quai de la Seine Avenida Kim-Il Sung Curzon Street Marylebone High Street Old Church Street Poultry Warwick Lane Broadwick Street Randolph Street Victoria Embankment London Bridge Street Great Portland Street Moyka embankment‎ Collins Street quai Malaquais James Street Burlington Gardens Shaftesbury Avenue Abbey Road Commercial Street cours de Vincennes allée Georges-Besse quai des Orfèvres New Cavendish Street Brook Street Wigmore Street Borough High Street Horse Guards Road Massachusetts Avenue A1 road Savile Row Spencer Street King Street Jesus Lane Charlotte Street Creek Street Dale Street Via Aurelia Strand Theobald's Road quai Émile-Zola Rathbone Place quai du Louvre quai Anatole-France Snelling Avenue U.S. Route 66 Fuchsbräugasse Woodstock Road, Oxford Elverton Street Bow Street quai de Valmy Little Collins Street Djurgårdsbrunnsvägen A66 road Aberdeen Place Hudson Street Gracechurch Street Kingsway Coventry Street Mount Street, London Horseferry Road passage des Petits-Pères Harley Street Brompton Road route de ceinture du Lac-Daumesnil Duke Street, Marylebone Leadenhall Street City Road Wood Street, London quai André-Citroën Jalan Bukit Merah, Singapore Union Street Lancaster Gate Gresham Street Quebec Route 111
Quai de Valmy, cours de Vincennes and quai d'Orsay are around the same number of railway stations located as Warwick Lane
quai de Valmy cours de Vincennes quai d'Orsay
action approx
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type railway station
action count
action filter_type
action find
entity Warwick Lane
relation located on street
type thoroughfare
[{'concept': 'railway station'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Warwick_Lane property:located_on_street ?o . ?o rdf:type ontology:thoroughfare } } . FILTER ( ?w = ?c ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:located_on_street ?y . ?y rdf:type ontology:thoroughfare . ?h rdf:type ontology:railway_station } GROUP BY ?y } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P559
Q55488 Q44377 Q83620
USER
Which railway stations are the endpoints for min number of tunnels or thoroughfares ?
(c(Q44377)|c(Q83620),P559,c(Q55488))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q44377
action find_reverse_tuple_counts
relation P559
type Q55488
type Q83620
[[{'concept': 'Q44377'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?v ) { ( ontology:Q44377 ) ( ontology:Q83620 ) } . ?k rdf:type ?v } GROUP BY ?g } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q44377 ) ( ontology:Q83620 ) } } GROUP BY ?l } }
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type tunnel
action find_reverse_tuple_counts
relation terminus
type railway station
type thoroughfare
[[{'concept': 'tunnel'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?v ) { ( ontology:tunnel ) ( ontology:thoroughfare ) } . ?k rdf:type ?v } GROUP BY ?g } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:tunnel ) ( ontology:thoroughfare ) } } GROUP BY ?l } }
[]
railway station tunnel thoroughfare
Q6456 Q2705508 Q801282
SYSTEM
Hamburg Central Station, Nuevos Ministerios Station, Nørreport Station
Q2114035 Q1320288 Q568297 Q1537246 Q2030147 Q54275 Q3241406 Q260986 Q3648856 Q5963828 Q16335322 Q390392 Q1969480 Q2518479 Q3289890 Q3947983 Q667797 Q934869 Q477185 Q5945246 Q2427833 Q2657073 Q2519375 Q2542458 Q2077029 Q1064150 Q1974935 Q2547644 Q15168 Q1392037 Q2688592 Q15166 Q2370028 Q4865066 Q660024 Q262168 Q1992961 Q2209314 Q1942383 Q2984111 Q2119789 Q2705508 Q960098 Q5619660 Q2565684 Q3799011 Q6123709 Q2338829 Q512341 Q733618 Q1105305 Q2381248 Q15407739 Q3544569 Q5964096 Q15526614 Q1885858 Q1847502 Q1087575 Q2271776 Q4698956 Q1969873 Q43298 Q2313145 Q800624 Q1971134 Q1583223 Q2921538 Q2446456 Q2605805 Q3211840 Q2820829 Q15529967 Q5063913 Q843947 Q718069 Q1039422 Q1085126 Q5625939 Q571039 Q2548980 Q2910749 Q654980 Q717274 Q2420839 Q2049305 Q5603694 Q639716 Q838864 Q3034416 Q5925879 Q898095 Q2211128 Q16273 Q4698908 Q2152105 Q140277 Q4956341 Q15199514 Q5758111 Q1097 Q2270685 Q3360807 Q1811395 Q2904609 Q932858 Q7402753 Q2686184 Q1366330 Q415553 Q2258149 Q3464342 Q6124130 Q2566876 Q1346764 Q259341 Q1810822 Q3032072 Q2164511 Q1586363 Q800907 Q1384273 Q1090894 Q1494179 Q1857770 Q674350 Q656401 Q2549402 Q717017 Q5443432 Q1568756 Q2000224 Q606164 Q838399 Q482935 Q2072583 Q1344536 Q53000 Q1642454 Q2037690 Q11062024 Q2258101 Q1913884 Q667121 Q915581 Q2444858 Q2721373 Q1187596 Q2424515 Q1087081 Q1728328 Q4055814 Q625028 Q6126826 Q5318333 Q801094 Q2284424 Q601484 Q2454808 Q2818719 Q625055 Q1418711 Q568224 Q682569 Q3094926 Q1087032 Q2329927 Q1089056 Q2403543 Q1088228 Q2172950 Q2106731 Q3077167 Q1039076 Q705415 Q555492 Q3194854 Q3031699 Q54453 Q2369692 Q4235947 Q7365567 Q804647 Q2995069 Q3827253 Q5365402 Q847741 Q1586293 Q833533 Q5581810 Q2655164 Q2561831 Q510765 Q801562 Q6456 Q656090 Q2316625 Q1427150 Q2272692 Q1421962 Q3356829 Q1088305 Q2631124 Q613893 Q2027823 Q3441250 Q747555 Q895108 Q1039443 Q2061439 Q2085825 Q2536740 Q653775 Q2721969 Q8045264 Q1305849 Q5244852 Q801282 Q2947064 Q2449141 Q921800 Q1344555 Q4764353 Q1029092 Q705026 Q624503 Q7807772 Q679473 Q1783803 Q1967220 Q1459245 Q448986 Q698497 Q1890537 Q3064844 Q838420 Q6427903 Q54261 Q1537255 Q8044432 Q887532 Q2721114 Q801554 Q430991 Q10591971 Q5936795 Q8060066 Q2480338 Q1087026 Q2711640 Q2375864 Q2657040 Q676961 Q624047 Q833482 Q2697462 Q1088234 Q837626 Q552872 Q4584392 Q2084603 Q668351 Q3212412 Q2140013 Q1652933 Q7408150 Q2374167 Q2372137 Q1813853 Q1757126 Q376589 Q2382515 Q3234043 Q2469715 Q585752 Q1088096 Q2053224 Q705127 Q1185683 Q3418560 Q1143934 Q270954 Q660045 Q15088440 Q6126288 Q1576928 Q937693 Q16335316 Q1783997 Q801185 Q1139323 Q801189 Q7294949 Q801210 Q2355557 Q3150918 Q1969462 Q841853 Q1087562 Q1588368 Q2902416 Q2720409 Q623583 Q1969904 Q3786852 Q5613728 Q3031716 Q14453731 Q1085066 Q3209200 Q2258190 Q935233 Q663945 Q706225 Q838783 Q568579 Q593257 Q550317 Q683544 Q1519529 Q724559 Q638928 Q299980 Q838763 Q55633 Q946826 Q2626859 Q492223 Q3183147 Q3462466 Q1135973 Q743932 Q704872 Q2012339 Q3211386 Q2099187 Q662217 Q2258125 Q2291079 Q1673779 Q2569761 Q175212 Q2205581 Q5113294 Q2633546 Q1962305 Q2881451 Q2817469
(c(Q44377)|c(Q83620),P559,c(Q55488))
action argmin
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q44377
action find_reverse_tuple_counts
relation P559
type Q55488
type Q83620
[ANSWERS] are the endpoints for min number of tunnels or thoroughfares
[[{'concept': 'Q44377'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?v ) { ( ontology:Q44377 ) ( ontology:Q83620 ) } . ?k rdf:type ?v } GROUP BY ?g } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:Q44377 ) ( ontology:Q83620 ) } } GROUP BY ?l } }
Disneyland Resort Station La Courneuve – 8 Mai 1945 Dempster–Skokie Place d'Italie J.F. Kennedy Gaehwa Station Linden Flinders Street railway station Varketili Jiaokou Station Salah Al Din Hiyoshi Station Porte de Clignancourt Vall d'Hebron Marché de Saint-Denis San Siro Stadio Valdecarros Gare de Vénissieux Berlin Brandenburger Tor station Huntington Station Maryina Roshcha Keleti pályaudvar Duomo Primorskaya Tiu Keng Leng Station Glenmont Station Stockel metro station Fondo Sheung Wan Station Opéra Basso Cambo Central Station Pyatnitskoye Shosse Yangsan Station Rudow Alt-Mariendorf Malinauka Ploshchad Marksa Brussels-West station Cologno Nord Park Kultury Nuevos Ministerios Station Kungsträdgården metro station Guogongzhuang Station Morris Park Berlin Innsbrucker Platz station Panyu Square Station Depo Hostivař Arènes Asnières – Gennevilliers – Les Courtilles Cockfosters tube station Novokosino Sickla Udde tram station Can Zam Wenchong Station Sergels Torg tram station Mairie d'Issy Stade de Gerland QT8 Mexikói út Airport South Station Saint-Denis – Porte de Paris Sindorim Station Paral·lel Charles de Gaulle – Étoile Mezhdunarodnaya metro station Pyeongdong Station Bougainville Mogilevskaya Aeropuerto T4 La Poterie Abbiategrasso Waldemarsudde tram station Nemocnice Motol Luohu Station LOHAS Park Station Sihui East Station Lotto Gåshaga Brygga tram station Nollendorfplatz Novoyasenevskaya Borderouge Berlin-Spandau station Puhŭng Station Cuatro Caminos Perrache Greenbelt Station Kabaty metro station North Point Station Harlem/Lake (CTA station) Huangcun Station Songjiazhuang Station Station Square II Giheung Station Airport East Station Gessate La Défense Branch Avenue Station Bittsevsky Park (Moscow Metro) Higher Education Mega Center South Station Berlin Hauptbahnhof Mairie de Montrouge Palais-de-Justice Skarpnäck metro station Bisceglie Altufyevo Sakaemachi Station Cornellà Centre Rechnoy Vokzal Akalla metro station Sesto 1º Maggio Sainte-Marguerite Dromel Wanshengwei Station Komendantsky Prospekt Vazha-Pshavela Hjulsta metro station Park Pobedy O'Hare Zayeltsovskaya Banseok Station Heathrow Terminal 5 station Kuntsevskaya Châtillon - Montrouge Gare d'Austerlitz Moskovskaya Kőbánya-Kispest Ruhleben Planernaya Red Star Station Fenghuang Xincun Station Hagsätra metro station Norsborg metro station Porte des Lilas Tung Chung Station Sinpyeong Station Zona Universitària Porte Maillot Sinnonhyeon Station Hässelby strand metro station Ropsten metro station Guangzhou South Railway Station Cadorna Ploshchad Garina-Mikhaylovskogo Wiesbaden Central Station Gallieni Kamennaya Gorka Medvedkovo Bulvar Dmitriya Donskogo Spasskaya San Leonardo Aleksandrovsky Sad Aviastroitelnaya Daegok Station Jinzhou Station Dworzec Wileński metro station Lergravsparken Station Gorg station Châtelet Parnas 95th/Dan Ryan Jangsan Station Nation Uhlandstraße Rostock Central Station Gambara Rho Fiera Kashirskaya Caiazzo Alameda de Osuna Maciachini De Terp Chai Wan Station Forest Park Fujin Road Station Minam Station Berlin Rathaus Steglitz station Kelenföld vasútállomás (Budapest Metro) Kimball South Station Buninskaya Alleya Kotelniki Rondo Daszyńskiego metro station Balard Constitución Las Rosas Ellingsrudåsen Tiantongyuan North Station Panam Station Flughafen Gongyixiqiao Station Háje Charpennes - Charles Hernu Porta Genova FS Vestamager Station Hamburg Central Station Alt-Tegel Devyatkino La Pau Jiahewanggang Station Berlin Hermannstraße station Majorstuen Zara Van Cortlandt Park – 242nd Street Hôtel de Ville - Louis Pradel Troparyovo Romolo Trinitat Nova Boulogne – Pont de Saint-Cloud Pingguoyuan Station Újpest-Központ Gare de Vaise Rybatskoye Berlin-Pankow station Prospekt Pobedy Xunfenggang Station Fukuzumi Station Retiro Nørreport Station Cesson-Viasilva Moncloa Pinar de Chamartín Pont de Neuilly Anheqiao North Station Vörösmarty tér Nopo Station Munyang Station Tin King Stop Xinzhuang Station Saint-Denis – Université Prospekt Veteranov Porte Dauphine Alvik metro station Berlin Alexanderplatz station Argüelles Famagosta Yau Ma Tei Station Kolsås Gyeyang Station Louis Blanc Xilang Station Tøyen Shchyolkovskaya Vanløse Station Comasina Lufthavnen Station Suzhuang Station Yuancun Station Villaverde Alto Porta Garibaldi Ulitsa Dybenko Badalona Pompeu Fabra Déli pályaudvar Gorkovskaya Ansim Station Röthenbach Pitis San Donato Sunny Bay Station Berlin Frankfurter Allee station Sinsen Tengachaya Station Mairie de Montreuil La Rose - Technopôle de Château-Gombert La Sagrera-Meridiana station Alma-Atinskaya Sam Shing Stop Uzumasa Tenjingawa Station Zyablikovo Farsta strand metro station Uxbridge tube station Berlin Südkreuz Hospital de Bellvitge Shady Grove Station Akhmeteli Theatre Château de Vincennes Porta Romana Kupchino Anpyeong Station Front Populaire Ramonville Tenjimbashisuji Rokuchōme Station Åkeshov metro station Ostkreuz Mörby centrum metro station Tianhe Coach Terminal Station Porte de Vincennes Sondrio Creek Mairie d'Ivry Milano Cadorna railway station Bulvar Rokossovskogo Milano Rogoredo railway station Rashidiya Moorgate station South Ferry loops Inganni Pont de Levallois – Bécon Tuen Mun Ferry Pier Stop Molino Dorino Midway Bignami Kakhovskaya Nokdong Station Pont de Sèvres Hospital del Henares Guangzhou East Railway Station Howard Yuen Long Stop Sesto Marelli La Fourragère Cascina Gobba Pointe du Lac Krumme Lanke Suyeong Station Tsuen Wan Station Casa de Campo Bobigny – Pablo Picasso Hönow Mairie des Lilas Saint-Lazare Siu Hong Stop Młociny metro station Örs vezér tere Po Lam Station Soyosan Station Gambetta Zolotaya Niva Yeungnam University Station Jolimont Saint-Jacques-Gaîté Assago Milanofiori Forum Uruchcha Daejeo Station Eastchester – Dyre Avenue De Akkers Cuire Osloer Straße Centrale FS Burevestnik Olympiades Fruängen metro station Berlin-Wittenau station Letňany Christopher Street Vaulx-en-Velin - La Soie Zličín Balma – Gramont 54th/Cermak
Hamburg Central Station, Nuevos Ministerios Station and Nørreport Station are the endpoints for min number of tunnels or thoroughfares
Hamburg Central Station Nuevos Ministerios Station Nørreport Station
action argmin
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type tunnel
action find_reverse_tuple_counts
relation terminus
type railway station
type thoroughfare
[[{'concept': 'tunnel'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?w ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { VALUES ( ?v ) { ( ontology:tunnel ) ( ontology:thoroughfare ) } . ?k rdf:type ?v } GROUP BY ?g } } . FILTER ( ?y = ?w ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?y ) WHERE { ?i rdf:type ?d . VALUES ( ?d ) { ( ontology:tunnel ) ( ontology:thoroughfare ) } } GROUP BY ?l } }
[]