Simple Question (Direct)
Simple Question
Q2705508
P197
Q55488
USER
Which railway stations are adjacent to Nuevos Ministerios Station ?
(Q2705508,P197,c(Q55488))
action filter_type
action find
entity Q2705508
relation P197
type Q55488
['Q2705508', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?q WHERE { resource:Q2705508 property:P197 ?q . ?q rdf:type ontology:Q55488 }
Nuevos Ministerios Station
action filter_type
action find
entity Nuevos Ministerios Station
relation adjacent station
type railway station
['Nuevos Ministerios Station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?q WHERE { resource:Nuevos_Ministerios_Station property:adjacent_station ?q . ?q rdf:type ontology:railway_station }
[]
railway station
Q23081 Q1766008 Q2420839
SYSTEM
Madrid Chamartín station, Sol, Cuatro Caminos
Q2420839 Q2704346 Q2056442 Q2479342 Q2462831 Q1766008 Q23081
(Q2705508,P197,c(Q55488))
action filter_type
action find
entity Q2705508
relation P197
type Q55488
[ANSWERS] are adjacent to Nuevos Ministerios Station
['Q2705508', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?q WHERE { resource:Q2705508 property:P197 ?q . ?q rdf:type ontology:Q55488 }
Cuatro Caminos Santiago Bernabéu Gregorio Marañón República Argentina Colombia Sol Madrid Chamartín station
Madrid Chamartín station, Sol and Cuatro Caminos are adjacent to Nuevos Ministerios Station
Madrid Chamartín station Sol Cuatro Caminos
action filter_type
action find
entity Nuevos Ministerios Station
relation adjacent station
type railway station
['Nuevos Ministerios Station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?q WHERE { resource:Nuevos_Ministerios_Station property:adjacent_station ?q . ?q rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23081 Q1766008 Q2420839
P197
Q55488
USER
Which railway stations are adjacent to those ones ?
(c(Q55488),P197,Q23081) (c(Q55488),P197,Q1766008) (c(Q55488),P197,Q2420839)
action filter_type
action find
entity prev_answer
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q23081'] [{'concept': 'Q55488'}, 'P197', 'Q1766008'] [{'concept': 'Q55488'}, 'P197', 'Q2420839']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Q2420839 ) ( resource:Q2704346 ) ( resource:Q2056442 ) } . ?e property:P197 ?g . ?g rdf:type ontology:Q55488 }
Madrid Chamartín station Sol Cuatro Caminos
action filter_type
action find
entity prev_answer
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Madrid Chamartín station'] [{'concept': 'railway station'}, 'adjacent station', 'Sol'] [{'concept': 'railway station'}, 'adjacent station', 'Cuatro Caminos']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Cuatro_Caminos ) ( resource:Santiago_Bernabéu ) ( resource:Gregorio_Marañón ) } . ?e property:adjacent_station ?g . ?g rdf:type ontology:railway_station }
[]
railway station
Q2705508 Q2705508 Q2705508
SYSTEM
Nuevos Ministerios Station
Q2705508 Q2705508 Q2705508 Q2705508 Q2705508 Q2705508 Q2482166 Q2244021 Q2463399 Q2463399 Q2705508 Q2705508 Q2474438 Q2056503 Q2055072 Q2736048 Q2729745 Q388743 Q2479455 Q2705508 Q2482402 Q2479349 Q664440
(c(Q55488),P197,Q23081) (c(Q55488),P197,Q1766008) (c(Q55488),P197,Q2420839)
action filter_type
action find
entity prev_answer
relation P197
type Q55488
[ANSWER], [ANSWER] and [ANSWER] are adjacent to those ones
[{'concept': 'Q55488'}, 'P197', 'Q23081'] [{'concept': 'Q55488'}, 'P197', 'Q1766008'] [{'concept': 'Q55488'}, 'P197', 'Q2420839']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Q2420839 ) ( resource:Q2704346 ) ( resource:Q2056442 ) } . ?e property:P197 ?g . ?g rdf:type ontology:Q55488 }
Nuevos Ministerios Station Nuevos Ministerios Station Nuevos Ministerios Station Nuevos Ministerios Station Nuevos Ministerios Station Nuevos Ministerios Station Begoña Bambú Plaza de Castilla Plaza de Castilla Nuevos Ministerios Station Nuevos Ministerios Station Tirso de Molina (Madrid Metro) Sevilla Callao Ópera Gran Vía Lavapiés Canal Nuevos Ministerios Station Guzmán el Bueno Ríos Rosas Alvarado
Nuevos Ministerios Station, Nuevos Ministerios Station and Nuevos Ministerios Station are adjacent to those ones
Nuevos Ministerios Station Nuevos Ministerios Station Nuevos Ministerios Station
action filter_type
action find
entity prev_answer
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'Madrid Chamartín station'] [{'concept': 'railway station'}, 'adjacent station', 'Sol'] [{'concept': 'railway station'}, 'adjacent station', 'Cuatro Caminos']
SELECT DISTINCT ?g WHERE { VALUES ( ?e ) { ( resource:Cuatro_Caminos ) ( resource:Santiago_Bernabéu ) ( resource:Gregorio_Marañón ) } . ?e property:adjacent_station ?g . ?g rdf:type ontology:railway_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2705508
P559
Q728937
USER
Which railroad line has Nuevos Ministerios Station as its endpoint ?
(c(Q728937),P559,Q2705508)
action filter_type
action find_reverse
entity Q2705508
relation P559
type Q728937
[{'concept': 'Q728937'}, 'P559', 'Q2705508']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q728937 . ?x property:P559 resource:Q2705508 }
Nuevos Ministerios Station
action filter_type
action find_reverse
entity Nuevos Ministerios Station
relation terminus
type railroad line
[{'concept': 'railroad line'}, 'terminus', 'Nuevos Ministerios Station']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:railroad_line . ?x property:terminus resource:Nuevos_Ministerios_Station }
[]
railroad line
Q1475527
SYSTEM
Madrid Metro Line 8
Q1475527
(c(Q728937),P559,Q2705508)
action filter_type
action find_reverse
entity Q2705508
relation P559
type Q728937
Station [ANSWER] has Nuevos Ministerios Station as its endpoint
[{'concept': 'Q728937'}, 'P559', 'Q2705508']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q728937 . ?x property:P559 resource:Q2705508 }
Madrid Metro Line 8
Station Madrid Metro Line 8 has Nuevos Ministerios Station as its endpoint
Madrid Metro Line 8
action filter_type
action find_reverse
entity Nuevos Ministerios Station
relation terminus
type railroad line
[{'concept': 'railroad line'}, 'terminus', 'Nuevos Ministerios Station']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:railroad_line . ?x property:terminus resource:Nuevos_Ministerios_Station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2705508
P1192
Q15665807
USER
Which rapid transit is a connecting service for Nuevos Ministerios Station ?
(Q2705508,P1192,c(Q15665807))
action filter_type
action find
entity Q2705508
relation P1192
type Q15665807
['Q2705508', 'P1192', {'concept': 'Q15665807'}]
SELECT DISTINCT ?i WHERE { resource:Q2705508 property:P1192 ?i . ?i rdf:type ontology:Q15665807 }
Nuevos Ministerios Station
action filter_type
action find
entity Nuevos Ministerios Station
relation connecting service
type rapid transit
['Nuevos Ministerios Station', 'connecting service', {'concept': 'rapid transit'}]
SELECT DISTINCT ?i WHERE { resource:Nuevos_Ministerios_Station property:connecting_service ?i . ?i rdf:type ontology:rapid_transit }
[]
rapid transit
Q5503
SYSTEM
subterranean rapid transit
Q5503
(Q2705508,P1192,c(Q15665807))
action filter_type
action find
entity Q2705508
relation P1192
type Q15665807
[ANSWER] is a connecting service for Nuevos Ministerios Station
['Q2705508', 'P1192', {'concept': 'Q15665807'}]
SELECT DISTINCT ?i WHERE { resource:Q2705508 property:P1192 ?i . ?i rdf:type ontology:Q15665807 }
subterranean rapid transit
Subterranean rapid transit is a connecting service for Nuevos Ministerios Station
subterranean rapid transit
action filter_type
action find
entity Nuevos Ministerios Station
relation connecting service
type rapid transit
['Nuevos Ministerios Station', 'connecting service', {'concept': 'rapid transit'}]
SELECT DISTINCT ?i WHERE { resource:Nuevos_Ministerios_Station property:connecting_service ?i . ?i rdf:type ontology:rapid_transit }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2705508
P81
Q83620
USER
Which thoroughfares serve as a connecting line for that railway station ?
(Q5503,P81,c(Q83620))
action filter_type
action find
entity Q2705508
relation P81
type Q83620
['Q5503', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?d WHERE { resource:Q2705508 property:P81 ?d . ?d rdf:type ontology:Q83620 }
Nuevos Ministerios Station
action filter_type
action find
entity Nuevos Ministerios Station
relation connecting line
type thoroughfare
['subterranean rapid transit', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?d WHERE { resource:Nuevos_Ministerios_Station property:connecting_line ?d . ?d rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3832674 Q1919488 Q8879938
SYSTEM
Line C-1, Line C-4, Line C-7
Q3832674 Q1919488 Q8879938 Q2287356 Q8879464 Q8880127 Q583732
(Q5503,P81,c(Q83620))
action filter_type
action find
entity Q2705508
relation P81
type Q83620
[ANSWERS] serve as a connecting line for that railway station
['Q5503', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?d WHERE { resource:Q2705508 property:P81 ?d . ?d rdf:type ontology:Q83620 }
Line C-1 Line C-4 Line C-7 Line C-2 Line C-3 Line C-8 Line C-10
Line C-1, Line C-4 and Line C-7 serve as a connecting line for that railway station
Line C-1 Line C-4 Line C-7
action filter_type
action find
entity Nuevos Ministerios Station
relation connecting line
type thoroughfare
['subterranean rapid transit', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?d WHERE { resource:Nuevos_Ministerios_Station property:connecting_line ?d . ?d rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q823113
P137
Q874405 Q43229 Q55488
USER
How many railway stations were operated by more number of social groups or organizations than Theresienstraße ?
(c(Q55488),P137,c(Q874405)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P137
type Q55488
type Q874405
action find_tuple_counts
relation P137
type Q55488
type Q43229
action count
action filter_multi_types
action find
entity Q823113
relation P137
type Q874405
type Q43229
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q823113 property:P137 ?b . { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } . ?b rdf:type ?n } } } . FILTER ( ?y > ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?y ) WHERE { { ?c property:P137 ?j . ?c rdf:type ontology:Q55488 . ?j rdf:type ontology:Q43229 } UNION { ?c property:P137 ?j . ?j rdf:type ontology:Q874405 . ?c rdf:type ontology:Q55488 } } GROUP BY ?c } }
Theresienstraße
action count
action greater
action union
action find_tuple_counts
relation operator
type railway station
type social group
action find_tuple_counts
relation operator
type railway station
type organization
action count
action filter_multi_types
action find
entity Theresienstraße
relation operator
type social group
type organization
[{'concept': 'railway station'}, 'operator', [{'concept': 'social group'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Theresienstraße property:operator ?b . { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:organization ) } . ?b rdf:type ?n } } } . FILTER ( ?y > ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?y ) WHERE { { ?c property:operator ?j . ?c rdf:type ontology:railway_station . ?j rdf:type ontology:organization } UNION { ?c property:operator ?j . ?j rdf:type ontology:social_group . ?c rdf:type ontology:railway_station } } GROUP BY ?c } }
[]
social group organization railway station
SYSTEM
4
Q6456 Q631094 Q5179839 Q321523
(c(Q55488),P137,c(Q874405)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P137
type Q55488
type Q874405
action find_tuple_counts
relation P137
type Q55488
type Q43229
action count
action filter_multi_types
action find
entity Q823113
relation P137
type Q874405
type Q43229
[ANSWER]
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q823113 property:P137 ?b . { VALUES ( ?n ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } . ?b rdf:type ?n } } } . FILTER ( ?y > ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?y ) WHERE { { ?c property:P137 ?j . ?c rdf:type ontology:Q55488 . ?j rdf:type ontology:Q43229 } UNION { ?c property:P137 ?j . ?j rdf:type ontology:Q874405 . ?c rdf:type ontology:Q55488 } } GROUP BY ?c } }
Hamburg Central Station Bremen main station Cowton railway station Sternschanze station
4
action count
action greater
action union
action find_tuple_counts
relation operator
type railway station
type social group
action find_tuple_counts
relation operator
type railway station
type organization
action count
action filter_multi_types
action find
entity Theresienstraße
relation operator
type social group
type organization
[{'concept': 'railway station'}, 'operator', [{'concept': 'social group'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Theresienstraße property:operator ?b . { VALUES ( ?n ) { ( ontology:social_group ) ( ontology:organization ) } . ?b rdf:type ?n } } } . FILTER ( ?y > ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?y ) WHERE { { ?c property:operator ?j . ?c rdf:type ontology:railway_station . ?j rdf:type ontology:organization } UNION { ?c property:operator ?j . ?j rdf:type ontology:social_group . ?c rdf:type ontology:railway_station } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5069089
P137
Q874405 Q43229 Q55488
USER
And how about Chalvey Halt railway station?
(c(Q55488),P137,c(Q874405)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P137
type Q55488
type Q874405
action find_tuple_counts
relation P137
type Q55488
type Q43229
action count
action filter_multi_types
action find
entity Q5069089
relation P137
type Q874405
type Q43229
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?i WHERE { VALUES ( ?j ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } . ?z rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q5069089 property:P137 ?b . { { ?b rdf:type ontology:Q874405 } UNION { ?b rdf:type ontology:Q43229 } } } } . FILTER ( ?w > ?d ) }
Chalvey Halt railway station
action count
action greater
action union
action find_tuple_counts
relation operator
type railway station
type social group
action find_tuple_counts
relation operator
type railway station
type organization
action count
action filter_multi_types
action find
entity Chalvey Halt railway station
relation operator
type social group
type organization
[{'concept': 'railway station'}, 'operator', [{'concept': 'social group'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?i WHERE { VALUES ( ?j ) { ( ontology:social_group ) ( ontology:organization ) } . ?z rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Chalvey_Halt_railway_station property:operator ?b . { { ?b rdf:type ontology:social_group } UNION { ?b rdf:type ontology:organization } } } } . FILTER ( ?w > ?d ) }
[]
social group organization railway station
SYSTEM
132
Q3232735 Q123726 Q822473 Q3352537 Q439937 Q2894181 Q801447 Q636845 Q439592 Q7005193 Q439586 Q543350 Q480136 Q822786 Q479797 Q479415 Q438871 Q480059 Q202403 Q827138 Q322534 Q823537 Q1560877 Q79977 Q2092734 Q438759 Q438751 Q823622 Q479458 Q439906 Q439900 Q572749 Q480276 Q320614 Q8158664 Q823579 Q439996 Q439160 Q480063 Q438801 Q322276 Q438808 Q324703 Q439000 Q1246552 Q5544906 Q7416357 Q2301274 Q2080870 Q3352542 Q558633 Q823113 Q801282 Q800870 Q800876 Q1260646 Q800880 Q439941 Q439948 Q326599 Q23834392 Q1815575 Q5116720 Q6456 Q479813 Q2300323 Q800953 Q283196 Q176642 Q439131 Q503383 Q577933 Q823634 Q800947 Q616434 Q1912130 Q822466 Q800765 Q820359 Q555964 Q706557 Q388345 Q479435 Q439606 Q4960524 Q1252781 Q1475262 Q438779 Q611831 Q590162 Q703918 Q464355 Q823559 Q5447235 Q439024 Q631094 Q823119 Q801554 Q568050 Q823599 Q439925 Q325405 Q5179839 Q479376 Q823590 Q479426 Q479420 Q7307059 Q616388 Q376192 Q321523 Q439114 Q479490 Q479493 Q479494 Q823139 Q438863 Q1984610 Q1631812 Q822522 Q2038079 Q823612 Q4681193 Q481072 Q438902 Q438887 Q823547 Q439016 Q557269 Q473572 Q962631 Q823501
(c(Q55488),P137,c(Q874405)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P137
type Q55488
type Q874405
action find_tuple_counts
relation P137
type Q55488
type Q43229
action count
action filter_multi_types
action find
entity Q5069089
relation P137
type Q874405
type Q43229
[ANSWER]
[{'concept': 'Q55488'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?i WHERE { VALUES ( ?j ) { ( ontology:Q874405 ) ( ontology:Q43229 ) } . ?z rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Q5069089 property:P137 ?b . { { ?b rdf:type ontology:Q874405 } UNION { ?b rdf:type ontology:Q43229 } } } } . FILTER ( ?w > ?d ) }
Plaza de Mayo Oberwiesenfeld Alte Heide Perú Basler Straße Bela Vista (Lisbon Metro) Shinjuku Station Nishi-Nippori Station Garching-Forschungszentrum New Addington tram stop Fröttmaning Oldenburg Central Station Richard-Strauss-Straße Studentenstadt Scheidplatz Quiddestraße Bonner Platz Prinzregentenplatz Sendlinger Tor Berliner Tor station Altenbeken station Dietlindenstraße Rossio Jongno 3-ga Station Telheiras (Lisbon Metro) Moosfeld Messestadt-West Nordfriedhof Lehel Machtlfinger Straße Implerstraße Olympia-Einkaufszentrum Olympiazentrum Odeonsplatz Landungsbrücken station Haderner Stern Forstenrieder Allee Maillingerstraße Böhmerwaldplatz Untersbergstraße Jungfernstieg Messestadt-Ost Dülferstrasse Silberhornstraße Saldanha (Lisbon Metro) George Street tram stop Sandilands tram stop Campo Grande (Lisbon Metro) Santa Apolónia metro station Piedras Georg-Brauchle-Ring Theresienstraße Nørreport Station Barmbek station Ohlsdorf Chelas (Lisbon Metro) Hamburg Wandsbeker Chaussee station Aidenbachstraße Thalkirchen Obersendling Reboleira Areeiro Church Street tram stop Hamburg Central Station Westfriedhof Baixa-Chiado Iidabashi Station Tokyo Station Fürstenried West Hohenzollernplatz Münchner Freiheit Hasenbergl Holzapfelkreuth Ichigaya Station Kieferngarten Max-Weber-Platz Moosacher St.Martin Platz Flintholm Station Harthof Innsbrucker Ring Haeundae Station Olaias (Lisbon Metro) Therese-Giehse-Allee Garching Bremen-Vegesack station Roma Cabo Ruivo (Lisbon Metro) Karl-Preis-Platz Alameda (Lisbon Metro) Yoyogi Station Hanover Central Station Osnabrück Central Station Goetheplatz Fieldway tram stop Kreillerstraße Bremen main station Großhadern Vanløse Station Moscavide (Lisbon Metro) Poccistraße Brudermühlstraße Universität Cowton railway station Friedenheimer Straße Westpark Schwanthalerhöhe Michaelibad Reeves Corner tram stop Ørestad Station Olivais (Lisbon Metro) Sternschanze station Josephsplatz Laimer Platz Westendstraße Neuperlach Zentrum Milbertshofen Giselastraße Theresienwiese Encarnação (Lisbon Metro) Freimann Terreiro do Paço Partnachplatz Addington Village tram stop Klinikum Großhadern Petuelring Königsplatz Am Hart Josephsburg Arabellapark Freiburg Central Station Estação Laranjeiras Frankfurter Ring
132
action count
action greater
action union
action find_tuple_counts
relation operator
type railway station
type social group
action find_tuple_counts
relation operator
type railway station
type organization
action count
action filter_multi_types
action find
entity Chalvey Halt railway station
relation operator
type social group
type organization
[{'concept': 'railway station'}, 'operator', [{'concept': 'social group'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) ?i WHERE { VALUES ( ?j ) { ( ontology:social_group ) ( ontology:organization ) } . ?z rdf:type ?j } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { resource:Chalvey_Halt_railway_station property:operator ?b . { { ?b rdf:type ontology:social_group } UNION { ?b rdf:type ontology:organization } } } } . FILTER ( ?w > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2420839
P17
Q15617994
USER
Which administrative territory does Cuatro Caminos belong to ?
(Q2420839,P17,c(Q15617994))
action filter_type
action find
entity Q2420839
relation P17
type Q15617994
['Q2420839', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q2420839 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Cuatro Caminos
action filter_type
action find
entity Cuatro Caminos
relation country
type designation for an administrative territorial entity
['Cuatro Caminos', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Cuatro_Caminos property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q2420839,P17,c(Q15617994))
action filter_type
action find
entity Q2420839
relation P17
type Q15617994
Cuatro Caminos belongs to [ANSWER]
['Q2420839', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q2420839 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Spain
Cuatro Caminos belongs to Spain
Spain
action filter_type
action find
entity Cuatro Caminos
relation country
type designation for an administrative territorial entity
['Cuatro Caminos', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Cuatro_Caminos property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q55488 Q728937 Q44377
USER
Which railway stations are the endpoints for exactly 1 railroad lines and tunnels ?
(c(Q728937)|c(Q44377),P559,c(Q55488))
action equal
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q728937
action find_reverse_tuple_counts
relation P559
type Q55488
type Q44377
value 1
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?h WHERE { { ?w property:P559 ?h . ?h rdf:type ontology:Q55488 . ?w rdf:type ontology:Q728937 } UNION { ?w property:P559 ?h . ?h rdf:type ontology:Q55488 . ?w rdf:type ontology:Q44377 } } GROUP BY ?h } . FILTER ( ?j = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type railroad line
action find_reverse_tuple_counts
relation terminus
type railway station
type tunnel
value 1
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?h WHERE { { ?w property:terminus ?h . ?h rdf:type ontology:railway_station . ?w rdf:type ontology:railroad_line } UNION { ?w property:terminus ?h . ?h rdf:type ontology:railway_station . ?w rdf:type ontology:tunnel } } GROUP BY ?h } . FILTER ( ?j = 1 ) }
[]
railway station railroad line tunnel
Q2705508 Q1097 Q601484
SYSTEM
Nuevos Ministerios Station, Berlin Hauptbahnhof, Châtelet
Q2114035 Q1320288 Q568297 Q1537246 Q2030147 Q54275 Q3241406 Q3648856 Q5963828 Q16335322 Q390392 Q1969480 Q2518479 Q3289890 Q3947983 Q667797 Q934869 Q477185 Q5945246 Q2427833 Q2657073 Q2519375 Q2542458 Q2077029 Q1064150 Q1974935 Q2547644 Q15168 Q2688592 Q15166 Q2370028 Q4865066 Q660024 Q262168 Q1992961 Q2209314 Q1942383 Q2984111 Q2119789 Q2705508 Q5619660 Q2565684 Q3799011 Q6123709 Q2338829 Q512341 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 Q2548980 Q2910749 Q717274 Q2420839 Q2049305 Q5603694 Q639716 Q838864 Q3034416 Q5925879 Q898095 Q2211128 Q4698908 Q2152105 Q140277 Q4956341 Q15199514 Q5758111 Q1097 Q2270685 Q3360807 Q2904609 Q932858 Q7402753 Q2686184 Q1366330 Q2258149 Q3464342 Q6124130 Q2566876 Q1346764 Q1810822 Q3032072 Q2164511 Q1586363 Q800907 Q2001751 Q1384273 Q1090894 Q1494179 Q1857770 Q674350 Q656401 Q2549402 Q717017 Q5443432 Q606164 Q838399 Q482935 Q2072583 Q1344536 Q53000 Q2258101 Q1913884 Q915581 Q2444858 Q2721373 Q1187596 Q2424515 Q1087081 Q1728328 Q4055814 Q625028 Q6126826 Q5318333 Q2284424 Q601484 Q2454808 Q2818719 Q625055 Q568224 Q682569 Q3094926 Q1087032 Q2329927 Q1089056 Q2403543 Q1088228 Q2172950 Q2106731 Q3077167 Q1039076 Q705415 Q555492 Q3194854 Q3031699 Q2369692 Q4235947 Q7365567 Q804647 Q497898 Q2995069 Q3827253 Q847741 Q1586293 Q833533 Q5581810 Q2655164 Q2561831 Q510765 Q656090 Q2316625 Q1427150 Q1421962 Q2106205 Q1088305 Q613893 Q2027823 Q3441250 Q895108 Q1039443 Q2061439 Q2085825 Q2536740 Q653775 Q2721969 Q8045264 Q1305849 Q5244852 Q2947064 Q2449141 Q1344555 Q4764353 Q1029092 Q705026 Q624503 Q7807772 Q679473 Q1783803 Q1967220 Q1459245 Q698497 Q1890537 Q3064844 Q838420 Q6427903 Q54261 Q1537255 Q8044432 Q2721114 Q430991 Q5936795 Q8060066 Q2480338 Q2711640 Q2375864 Q2657040 Q676961 Q624047 Q833482 Q2697462 Q1088234 Q837626 Q4584392 Q2084603 Q668351 Q3212412 Q1652933 Q7408150 Q2374167 Q2372137 Q1757126 Q2382515 Q3234043 Q2469715 Q585752 Q1088096 Q2053224 Q705127 Q1185683 Q3418560 Q1143934 Q270954 Q6126288 Q1576928 Q937693 Q16335316 Q1783997 Q1139323 Q7294949 Q3150918 Q1969462 Q1087562 Q1588368 Q2902416 Q2720409 Q623583 Q1969904 Q3786852 Q5613728 Q14453731 Q1085066 Q3209200 Q2258190 Q935233 Q663945 Q1267664 Q706225 Q838783 Q568579 Q593257 Q550317 Q683544 Q1519529 Q724559 Q638928 Q299980 Q838763 Q55633 Q946826 Q2626859 Q492223 Q3183147 Q3462466 Q1135973 Q743932 Q704872 Q2012339 Q3211386 Q2099187 Q662217 Q2291079 Q1673779 Q175212 Q2205581 Q2633546 Q1962305 Q2881451 Q2817469
(c(Q728937)|c(Q44377),P559,c(Q55488))
action equal
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q728937
action find_reverse_tuple_counts
relation P559
type Q55488
type Q44377
value 1
[ANSWERS] are the endpoints for exactly 1 railroad lines and tunnels
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?h WHERE { { ?w property:P559 ?h . ?h rdf:type ontology:Q55488 . ?w rdf:type ontology:Q728937 } UNION { ?w property:P559 ?h . ?h rdf:type ontology:Q55488 . ?w rdf:type ontology:Q44377 } } GROUP BY ?h } . FILTER ( ?j = 1 ) }
Disneyland Resort Station La Courneuve – 8 Mai 1945 Dempster–Skokie Place d'Italie J.F. Kennedy Gaehwa Station Linden 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 Basso Cambo Central Station Pyatnitskoye Shosse Yangsan Station Rudow Alt-Mariendorf Malinauka Ploshchad Marksa Brussels-West station Cologno Nord Park Kultury Nuevos Ministerios Station Guogongzhuang Station Morris Park Berlin Innsbrucker Platz station Panyu Square Station Depo Hostivař Arènes 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 Novoyasenevskaya Borderouge 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 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 Bisceglie Altufyevo Sakaemachi Station Cornellà Centre Rechnoy Vokzal Sesto 1º Maggio Sainte-Marguerite Dromel Wanshengwei Station Komendantsky Prospekt Vazha-Pshavela Park Pobedy O'Hare Zayeltsovskaya Banseok Station Heathrow Terminal 5 station World Trade Center Kuntsevskaya Châtillon - Montrouge Gare d'Austerlitz Moskovskaya Kőbánya-Kispest Ruhleben Planernaya Red Star Station Fenghuang Xincun Station Porte des Lilas Tung Chung Station Sinpyeong Station Zona Universitària Porte Maillot Sinnonhyeon Station Cadorna Ploshchad Garina-Mikhaylovskogo Gallieni Kamennaya Gorka Medvedkovo Bulvar Dmitriya Donskogo Spasskaya San Leonardo Aleksandrovsky Sad Aviastroitelnaya Daegok Station Jinzhou Station Dworzec Wileński metro station Gorg station Châtelet Parnas 95th/Dan Ryan Jangsan Station 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 Buninskaya Alleya Kotelniki Rondo Daszyńskiego metro station Balard Incheon Station Constitución Las Rosas Tiantongyuan North Station Panam Station Flughafen Gongyixiqiao Station Háje Charpennes - Charles Hernu Porta Genova FS Alt-Tegel Devyatkino La Pau Berlin Hermannstraße station Hong Kong Station Zara Hôtel de Ville - Louis Pradel Troparyovo Romolo Boulogne – Pont de Saint-Cloud Pingguoyuan Station Újpest-Központ Gare de Vaise Rybatskoye Berlin-Pankow station Prospekt Pobedy Xunfenggang Station Fukuzumi Station Retiro Cesson-Viasilva Moncloa 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 Berlin Alexanderplatz station Argüelles Famagosta Yau Ma Tei Station Kolsås Gyeyang Station Louis Blanc Xilang Station Shchyolkovskaya Comasina Suzhuang Station Yuancun Station Villaverde Alto Ulitsa Dybenko Badalona Pompeu Fabra Déli pályaudvar Gorkovskaya Ansim Station Röthenbach Pitis San Donato Sunny Bay Station Sinsen Tengachaya Station Mairie de Montreuil La Rose - Technopôle de Château-Gombert Alma-Atinskaya Sam Shing Stop Uzumasa Tenjingawa Station Zyablikovo Uxbridge tube station 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 Tianhe Coach Terminal Station Porte de Vincennes Sondrio Creek Mairie d'Ivry Bulvar Rokossovskogo Rashidiya Inganni Pont de Levallois – Bécon Molino Dorino Midway Bignami Kakhovskaya Nokdong Station Pont de Sèvres Hospital del Henares Guangzhou East Railway Station Yuen Long Stop Sesto Marelli La Fourragère Cascina Gobba Pointe du Lac Krumme Lanke Villejuif - Louis Aragon 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 Burevestnik Olympiades Berlin-Wittenau station Letňany Vaulx-en-Velin - La Soie Zličín Balma – Gramont 54th/Cermak
Nuevos Ministerios Station, Berlin Hauptbahnhof and Châtelet are the endpoints for exactly 1 railroad lines and tunnels
Nuevos Ministerios Station Berlin Hauptbahnhof Châtelet
action equal
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type railroad line
action find_reverse_tuple_counts
relation terminus
type railway station
type tunnel
value 1
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) ?h WHERE { { ?w property:terminus ?h . ?h rdf:type ontology:railway_station . ?w rdf:type ontology:railroad_line } UNION { ?w property:terminus ?h . ?h rdf:type ontology:railway_station . ?w rdf:type ontology:tunnel } } GROUP BY ?h } . FILTER ( ?j = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3640040 Q29
P19 P36
Q56061
USER
Which administrative territories are called the capital of Spain or were Billy Harris born at ?
OR((Q29,P36,c(Q56061)), (Q3640040,P19,c(Q56061)))
action filter_type
action union
action find
entity Q29
relation P36
action find
entity Q3640040
relation P19
type Q56061
{'OR': [['Q29', 'P36', {'concept': 'Q56061'}], ['Q3640040', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q29 property:P36 ?q } UNION { resource:Q3640040 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Billy Harris Spain
action filter_type
action union
action find
entity Spain
relation capital
action find
entity Billy Harris
relation place of birth
type administrative territorial entity
{'OR': [['Spain', 'capital', {'concept': 'administrative territorial entity'}], ['Billy Harris', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Spain property:capital ?q } UNION { resource:Billy_Harris property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807 Q1297
SYSTEM
Madrid, Chicago
Q2807 Q1297
OR((Q29,P36,c(Q56061)), (Q3640040,P19,c(Q56061)))
action filter_type
action union
action find
entity Q29
relation P36
action find
entity Q3640040
relation P19
type Q56061
[ANSWERS] are called the capital of Spain or were Billy Harris born at
{'OR': [['Q29', 'P36', {'concept': 'Q56061'}], ['Q3640040', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q29 property:P36 ?q } UNION { resource:Q3640040 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Madrid Chicago
Madrid and Chicago are called the capital of Spain or were Billy Harris born at
Madrid Chicago
action filter_type
action union
action find
entity Spain
relation capital
action find
entity Billy Harris
relation place of birth
type administrative territorial entity
{'OR': [['Spain', 'capital', {'concept': 'administrative territorial entity'}], ['Billy Harris', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Spain property:capital ?q } UNION { resource:Billy_Harris property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q214880
P937
Q502895
USER
Do Karl Heinrich Knappstein have those administrative territories as their work location ?
(Q214880,P937,Q2807) (Q214880,P937,Q1297)
action is_in
entity prev_answer
action find
entity Q214880
relation P937
['Q214880', 'P937', 'Q2807'] ['Q214880', 'P937', 'Q1297']
ASK WHERE { resource:Q214880 property:P937 ?o . VALUES ( ?o ) { ( resource:Q2807 ) ( resource:Q1297 ) } }
Karl Heinrich Knappstein
action is_in
entity prev_answer
action find
entity Karl Heinrich Knappstein
relation work location
['Karl Heinrich Knappstein', 'work location', 'Madrid'] ['Karl Heinrich Knappstein', 'work location', 'Chicago']
ASK WHERE { resource:Karl_Heinrich_Knappstein property:work_location ?o . VALUES ( ?o ) { ( resource:Madrid ) ( resource:Chicago ) } }
[]
common name
SYSTEM
YES
(Q214880,P937,Q2807) (Q214880,P937,Q1297)
action is_in
entity prev_answer
action find
entity Q214880
relation P937
[ANSWER]
['Q214880', 'P937', 'Q2807'] ['Q214880', 'P937', 'Q1297']
ASK WHERE { resource:Q214880 property:P937 ?o . VALUES ( ?o ) { ( resource:Q2807 ) ( resource:Q1297 ) } }
Yes
action is_in
entity prev_answer
action find
entity Karl Heinrich Knappstein
relation work location
['Karl Heinrich Knappstein', 'work location', 'Madrid'] ['Karl Heinrich Knappstein', 'work location', 'Chicago']
ASK WHERE { resource:Karl_Heinrich_Knappstein property:work_location ?o . VALUES ( ?o ) { ( resource:Madrid ) ( resource:Chicago ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2329927
P559
Q55488 Q728937 Q34442
USER
Which railway stations are the terminus for approximately the same number of railroad lines or roads as Kashirskaya ?
(c(Q728937)|c(Q34442),P559,c(Q55488))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q728937
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q2329927
relation P559
type Q728937
type Q34442
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { VALUES ( ?m ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } . ?n rdf:type ?m } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P559 resource:Q2329927 . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:Q34442 ) ( ontology:Q728937 ) } } } } . FILTER ( ?d = ?s ) }
Kashirskaya
action approx
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type railroad line
action find_reverse_tuple_counts
relation terminus
type railway station
type road
action count
action filter_multi_types
action find_reverse
entity Kashirskaya
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { VALUES ( ?m ) { ( ontology:railroad_line ) ( ontology:road ) } . ?n rdf:type ?m } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:terminus resource:Kashirskaya . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:road ) ( ontology:railroad_line ) } } } } . FILTER ( ?d = ?s ) }
[]
railway station railroad line road
Q2705508 Q1097 Q601484
SYSTEM
Nuevos Ministerios Station, Berlin Hauptbahnhof, Châtelet
Q2114035 Q1320288 Q568297 Q1537246 Q2030147 Q54275 Q3241406 Q3648856 Q5963828 Q16335322 Q390392 Q1969480 Q2518479 Q3289890 Q3947983 Q667797 Q934869 Q477185 Q5945246 Q2427833 Q2657073 Q2519375 Q2542458 Q2077029 Q1064150 Q1974935 Q2547644 Q15168 Q2688592 Q15166 Q2370028 Q4865066 Q660024 Q262168 Q1992961 Q2209314 Q1942383 Q2984111 Q2119789 Q2705508 Q5619660 Q2565684 Q3799011 Q6123709 Q2338829 Q512341 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 Q2548980 Q2910749 Q717274 Q2420839 Q2049305 Q5603694 Q639716 Q838864 Q3034416 Q5925879 Q898095 Q2211128 Q4698908 Q2152105 Q140277 Q4956341 Q15199514 Q5758111 Q1097 Q2270685 Q3360807 Q2904609 Q932858 Q7402753 Q2686184 Q1366330 Q2258149 Q3464342 Q6124130 Q2566876 Q1346764 Q1810822 Q3032072 Q2164511 Q1586363 Q800907 Q1384273 Q1090894 Q1494179 Q1857770 Q674350 Q656401 Q2549402 Q717017 Q5443432 Q606164 Q838399 Q482935 Q2072583 Q1344536 Q53000 Q2258101 Q1913884 Q915581 Q2444858 Q2721373 Q1187596 Q2424515 Q1087081 Q1728328 Q4055814 Q625028 Q6126826 Q5318333 Q2284424 Q601484 Q2454808 Q2818719 Q625055 Q568224 Q682569 Q3094926 Q1087032 Q2329927 Q1089056 Q2403543 Q1088228 Q2172950 Q2106731 Q3077167 Q1039076 Q705415 Q555492 Q3194854 Q3031699 Q2369692 Q4235947 Q7365567 Q804647 Q497898 Q2995069 Q3827253 Q847741 Q1586293 Q833533 Q5581810 Q2655164 Q2561831 Q510765 Q656090 Q2316625 Q1427150 Q1421962 Q2106205 Q1088305 Q613893 Q2027823 Q3441250 Q895108 Q1039443 Q2061439 Q2085825 Q2536740 Q653775 Q2721969 Q8045264 Q1305849 Q5244852 Q2947064 Q2449141 Q1344555 Q4764353 Q1029092 Q705026 Q624503 Q7807772 Q679473 Q1783803 Q1967220 Q1459245 Q698497 Q1890537 Q3064844 Q838420 Q6427903 Q54261 Q1537255 Q8044432 Q2721114 Q430991 Q5936795 Q8060066 Q2480338 Q2711640 Q2375864 Q2657040 Q676961 Q624047 Q833482 Q2697462 Q1088234 Q837626 Q552872 Q4584392 Q2084603 Q668351 Q3212412 Q1652933 Q7408150 Q2374167 Q2372137 Q1757126 Q2382515 Q3234043 Q2469715 Q585752 Q1088096 Q2053224 Q705127 Q1185683 Q3418560 Q1143934 Q270954 Q6126288 Q1576928 Q937693 Q16335316 Q1783997 Q1139323 Q7294949 Q3150918 Q1969462 Q1087562 Q1588368 Q2902416 Q2720409 Q623583 Q1969904 Q3786852 Q5613728 Q14453731 Q1085066 Q3209200 Q2258190 Q935233 Q663945 Q1267664 Q706225 Q838783 Q568579 Q593257 Q550317 Q683544 Q1519529 Q724559 Q638928 Q299980 Q838763 Q55633 Q946826 Q2626859 Q492223 Q3183147 Q3462466 Q1135973 Q743932 Q704872 Q2012339 Q3211386 Q2099187 Q662217 Q2291079 Q1673779 Q175212 Q2205581 Q2633546 Q1962305 Q2881451 Q2817469
(c(Q728937)|c(Q34442),P559,c(Q55488))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q55488
type Q728937
action find_reverse_tuple_counts
relation P559
type Q55488
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q2329927
relation P559
type Q728937
type Q34442
[ANSWERS] are the terminus for approximately the same number of railroad lines or roads as Kashirskaya
[[{'concept': 'Q728937'}, {'concept': 'Q34442'}], 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { VALUES ( ?m ) { ( ontology:Q728937 ) ( ontology:Q34442 ) } . ?n rdf:type ?m } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P559 resource:Q2329927 . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:Q34442 ) ( ontology:Q728937 ) } } } } . FILTER ( ?d = ?s ) }
Disneyland Resort Station La Courneuve – 8 Mai 1945 Dempster–Skokie Place d'Italie J.F. Kennedy Gaehwa Station Linden 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 Basso Cambo Central Station Pyatnitskoye Shosse Yangsan Station Rudow Alt-Mariendorf Malinauka Ploshchad Marksa Brussels-West station Cologno Nord Park Kultury Nuevos Ministerios Station Guogongzhuang Station Morris Park Berlin Innsbrucker Platz station Panyu Square Station Depo Hostivař Arènes 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 Novoyasenevskaya Borderouge 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 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 Bisceglie Altufyevo Sakaemachi Station Cornellà Centre Rechnoy Vokzal Sesto 1º Maggio Sainte-Marguerite Dromel Wanshengwei Station Komendantsky Prospekt Vazha-Pshavela 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 Porte des Lilas Tung Chung Station Sinpyeong Station Zona Universitària Porte Maillot Sinnonhyeon Station Cadorna Ploshchad Garina-Mikhaylovskogo Gallieni Kamennaya Gorka Medvedkovo Bulvar Dmitriya Donskogo Spasskaya San Leonardo Aleksandrovsky Sad Aviastroitelnaya Daegok Station Jinzhou Station Dworzec Wileński metro station Gorg station Châtelet Parnas 95th/Dan Ryan Jangsan Station 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 Buninskaya Alleya Kotelniki Rondo Daszyńskiego metro station Balard Incheon Station Constitución Las Rosas Tiantongyuan North Station Panam Station Flughafen Gongyixiqiao Station Háje Charpennes - Charles Hernu Porta Genova FS Alt-Tegel Devyatkino La Pau Berlin Hermannstraße station Hong Kong Station Zara Hôtel de Ville - Louis Pradel Troparyovo Romolo Boulogne – Pont de Saint-Cloud Pingguoyuan Station Újpest-Központ Gare de Vaise Rybatskoye Berlin-Pankow station Prospekt Pobedy Xunfenggang Station Fukuzumi Station Retiro Cesson-Viasilva Moncloa 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 Berlin Alexanderplatz station Argüelles Famagosta Yau Ma Tei Station Kolsås Gyeyang Station Louis Blanc Xilang Station Shchyolkovskaya Comasina Suzhuang Station Yuancun Station Villaverde Alto 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 Alma-Atinskaya Sam Shing Stop Uzumasa Tenjingawa Station Zyablikovo Uxbridge tube station 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 Tianhe Coach Terminal Station Porte de Vincennes Sondrio Creek Mairie d'Ivry Bulvar Rokossovskogo Rashidiya Inganni Pont de Levallois – Bécon Molino Dorino Midway Bignami Kakhovskaya Nokdong Station Pont de Sèvres Hospital del Henares Guangzhou East Railway Station Yuen Long Stop Sesto Marelli La Fourragère Cascina Gobba Pointe du Lac Krumme Lanke Villejuif - Louis Aragon 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 Burevestnik Olympiades Berlin-Wittenau station Letňany Vaulx-en-Velin - La Soie Zličín Balma – Gramont 54th/Cermak
Nuevos Ministerios Station, Berlin Hauptbahnhof and Châtelet are the terminus for approximately the same number of railroad lines or roads as Kashirskaya
Nuevos Ministerios Station Berlin Hauptbahnhof Châtelet
action approx
action union
action find_reverse_tuple_counts
relation terminus
type railway station
type railroad line
action find_reverse_tuple_counts
relation terminus
type railway station
type road
action count
action filter_multi_types
action find_reverse
entity Kashirskaya
relation terminus
type railroad line
type road
[[{'concept': 'railroad line'}, {'concept': 'road'}], 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { VALUES ( ?m ) { ( ontology:railroad_line ) ( ontology:road ) } . ?n rdf:type ?m } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:terminus resource:Kashirskaya . { ?w rdf:type ?c . VALUES ( ?c ) { ( ontology:road ) ( ontology:railroad_line ) } } } } . FILTER ( ?d = ?s ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1192
Q83620 Q3959904 Q55488
USER
How many railway stations have more number of thoroughfares and multiple units as connecting station than that railway station ?
(c(Q55488),P1192,c(Q83620)|c(Q3959904))
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q83620'}, {'concept': 'Q3959904'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:P1192 ?e } . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q3959904 }
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'thoroughfare'}, {'concept': 'multiple unit'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:connecting_service ?e } . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:multiple_unit }
[]
thoroughfare multiple unit railway station
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1097
SYSTEM
Did you mean Berlin Hauptbahnhof ?
(c(Q55488),P1192,c(Q83620)|c(Q3959904))
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q83620'}, {'concept': 'Q3959904'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:P1192 ?e } . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q3959904 }
Did you mean Berlin Hauptbahnhof ?
Berlin Hauptbahnhof
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'thoroughfare'}, {'concept': 'multiple unit'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?e ) { ( ?y ) ( ?x ) } . ?z property:connecting_service ?e } . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:multiple_unit }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q55488),P1192,c(Q83620)|c(Q3959904))
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q83620'}, {'concept': 'Q3959904'}]]
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'thoroughfare'}, {'concept': 'multiple unit'}]]
[]
SYSTEM
63
Q203532 Q636700 Q315801 Q682583 Q801447 Q472955 Q704394 Q688541 Q590162 Q564926 Q543350 Q322534 Q10606802 Q514441 Q325491 Q254647 Q54321 Q563272 Q801654 Q1097 Q371816 Q300706 Q697300 Q801289 Q801282 Q706994 Q165368 Q463931 Q283196 Q654980 Q683239 Q667121 Q255951 Q682569 Q1954 Q453861 Q567024 Q800989 Q476107 Q6456 Q529644 Q631094 Q564761 Q55423 Q285550 Q467998 Q703918 Q138888 Q703916 Q682505 Q800587 Q376589 Q682609 Q678286 Q564750 Q569474 Q464355 Q800701 Q10726739 Q613766 Q801388 Q473572 Q320366
(c(Q55488),P1192,c(Q83620)|c(Q3959904))
[ANSWER]
[{'concept': 'Q55488'}, 'P1192', [{'concept': 'Q83620'}, {'concept': 'Q3959904'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P1192 ?y } UNION { ?z property:P1192 ?x } } . ?z rdf:type ontology:Q55488 . ?y rdf:type ontology:Q83620 . ?x rdf:type ontology:Q3959904 }
Aschaffenburg Central Station Mainz Central Station Passau Central Station Nuremberg Central Station Shinjuku Station Oberhausen Central Station Dortmund Central Station Karlsruhe Central Station Yoyogi Station Lübeck Central Station Oldenburg Central Station Altenbeken station Odenplan railway station Wien Meidling Leipzig/Halle Airport station Munich Central Station Stockholms södra Kassel-Wilhelmshöhe station Yotsuya Station Berlin Hauptbahnhof Frankfurt Airport long-distance station Aachen Central Station Wien Hauptbahnhof Ochanomizu Station Nørreport Station Mannheim Central Station Frankfurt (Main) Hauptbahnhof Fulda station Tokyo Station Berlin-Spandau station Berlin Ostbahnhof Wiesbaden Central Station Düsseldorf Central Station Rostock Central Station Cologne Central Station Bochum Central Station Duisburg Central Station Kanda Station Erfurt Central Station Hamburg Central Station Hagen Central Station Bremen main station Münster Central Station Bonn Hauptbahnhof Frankfurt South station Heidelberg Central Station Hanover Central Station Regensburg Hauptbahnhof Leipzig Hauptbahnhof Augsburg Central Station Brussels-South railway station Berlin Südkreuz Würzburg Central Station Berlin-Gesundbrunnen station Bielefeld Central Station Cologne/Bonn Airport station Osnabrück Central Station Düsseldorf Airport station Årstaberg railway station Stuttgart Central Station Rotterdam Centraal railway station Freiburg Central Station Halle Central Station
63
[{'concept': 'railway station'}, 'connecting service', [{'concept': 'thoroughfare'}, {'concept': 'multiple unit'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:connecting_service ?y } UNION { ?z property:connecting_service ?x } } . ?z rdf:type ontology:railway_station . ?y rdf:type ontology:thoroughfare . ?x rdf:type ontology:multiple_unit }
[]