Simple Question (Direct)
Simple Question
Q2479784
P197
Q55488
USER
Which railway stations are adjacent to Bilbao ?
(Q2479784,P197,c(Q55488))
action filter_type
action find
entity Q2479784
relation P197
type Q55488
['Q2479784', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q55488 . resource:Q2479784 property:P197 ?q }
Bilbao
action filter_type
action find
entity Bilbao
relation adjacent station
type railway station
['Bilbao', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:railway_station . resource:Bilbao property:adjacent_station ?q }
[]
railway station
Q2481198 Q2055810 Q2479844
SYSTEM
Alonso Martínez, San Bernardo, Tribunal
Q2481198 Q2055810 Q1113361 Q2479844
(Q2479784,P197,c(Q55488))
action filter_type
action find
entity Q2479784
relation P197
type Q55488
[ANSWERS] are adjacent to Bilbao
['Q2479784', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q55488 . resource:Q2479784 property:P197 ?q }
Alonso Martínez San Bernardo Iglesia Tribunal
Alonso Martínez, San Bernardo and Tribunal are adjacent to Bilbao
Alonso Martínez San Bernardo Tribunal
action filter_type
action find
entity Bilbao
relation adjacent station
type railway station
['Bilbao', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:railway_station . resource:Bilbao property:adjacent_station ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2481198
P81
Q728937
USER
Which railroad lines do Alonso Martínez have a connection to ?
(Q2481198,P81,c(Q728937))
action filter_type
action find
entity Q2481198
relation P81
type Q728937
['Q2481198', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?o WHERE { resource:Q2481198 property:P81 ?o . ?o rdf:type ontology:Q728937 }
Alonso Martínez
action filter_type
action find
entity Alonso Martínez
relation connecting line
type railroad line
['Alonso Martínez', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?o WHERE { resource:Alonso_Martínez property:connecting_line ?o . ?o rdf:type ontology:railroad_line }
[]
railroad line
Q1760090 Q1568028 Q1826677
SYSTEM
Madrid Metro Line 10, Madrid Metro Line 5, Line 4
Q1760090 Q1568028 Q1826677
(Q2481198,P81,c(Q728937))
action filter_type
action find
entity Q2481198
relation P81
type Q728937
Alonso Martínez have a connection to [ANSWERS]
['Q2481198', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?o WHERE { resource:Q2481198 property:P81 ?o . ?o rdf:type ontology:Q728937 }
Madrid Metro Line 10 Madrid Metro Line 5 Line 4
Alonso Martínez have a connection to Madrid Metro Line 10, Madrid Metro Line 5 and Line 4
Madrid Metro Line 10 Madrid Metro Line 5 Line 4
action filter_type
action find
entity Alonso Martínez
relation connecting line
type railroad line
['Alonso Martínez', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?o WHERE { resource:Alonso_Martínez property:connecting_line ?o . ?o rdf:type ontology:railroad_line }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5602948
Q728937
USER
And how about Green Park metro station?
(Q5602948,P81,c(Q728937))
action filter_type
action find
entity Q5602948
relation P81
type Q728937
['Q5602948', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?p WHERE { resource:Q5602948 property:P81 ?p . ?p rdf:type ontology:Q728937 }
Green Park metro station
action filter_type
action find
entity Green Park metro station
relation connecting line
type railroad line
['Green Park metro station', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?p WHERE { resource:Green_Park_metro_station property:connecting_line ?p . ?p rdf:type ontology:railroad_line }
[]
railroad line
Q795156
SYSTEM
Yellow Line
Q795156
(Q5602948,P81,c(Q728937))
action filter_type
action find
entity Q5602948
relation P81
type Q728937
[ANSWER]
['Q5602948', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?p WHERE { resource:Q5602948 property:P81 ?p . ?p rdf:type ontology:Q728937 }
Yellow Line
Yellow Line
action filter_type
action find
entity Green Park metro station
relation connecting line
type railroad line
['Green Park metro station', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?p WHERE { resource:Green_Park_metro_station property:connecting_line ?p . ?p rdf:type ontology:railroad_line }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P81
Q55488
USER
How many railway stations are connected to that railroad line ?
(c(Q55488),P81,Q795156)
action count
action filter_type
action find_reverse
entity Q795156
relation P81
type Q55488
[{'concept': 'Q55488'}, 'P81', 'Q795156']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P81 resource:Q795156 . ?s rdf:type ontology:Q55488 }
action count
action filter_type
action find_reverse
entity Yellow Line
relation connecting line
type railway station
[{'concept': 'railway station'}, 'connecting line', 'Yellow Line']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:connecting_line resource:Yellow_Line . ?s rdf:type ontology:railway_station }
[]
railway station
SYSTEM
29
Q4651928 Q888667 Q5556767 Q3634456 Q5124512 Q7402900 Q7936037 Q6888294 Q4680843 Q11352050 Q5094801 Q7273002 Q7877392 Q5071227 Q795125 Q6276226 Q7278893 Q5602948 Q4832101 Q4791528 Q6745134 Q5683002 Q6715812 Q5061812 Q11313479 Q5088577 Q5970668 Q7144407 Q5620352
(c(Q55488),P81,Q795156)
action count
action filter_type
action find_reverse
entity Q795156
relation P81
type Q55488
[ANSWER]
[{'concept': 'Q55488'}, 'P81', 'Q795156']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P81 resource:Q795156 . ?s rdf:type ontology:Q55488 }
AIIMS metro station HUDA City Centre metro station Ghitorni metro station New Delhi metro station Civil Lines Saket metro station Vishwa Vidyalaya metro station Model Town metro station Adarsh Nagar Vidhan Sabha metro station Chhatarpur metro station Qutab Minar metro station Udyog Bhawan metro station Chandni Chowk metro station, Delhi GTB Nagar Jor Bagh metro station Race Course metro station Green Park metro station Azadpur metro station Arjan Garh metro station Malviya Nagar Hauz Khas metro station MG Road metro station Central Secretariat metro station Sultanpur metro station Chawri Bazar metro station IFFCO Chowk metro station Patel Chowk metro station Guru Dronacharya metro station
29
action count
action filter_type
action find_reverse
entity Yellow Line
relation connecting line
type railway station
[{'concept': 'railway station'}, 'connecting line', 'Yellow Line']
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:connecting_line resource:Yellow_Line . ?s rdf:type ontology:railway_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1760090
P17
Q15617994
USER
Which administrative territory does Madrid Metro Line 10 belong to ?
(Q1760090,P17,c(Q15617994))
action filter_type
action find
entity Q1760090
relation P17
type Q15617994
['Q1760090', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1760090 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Madrid Metro Line 10
action filter_type
action find
entity Madrid Metro Line 10
relation country
type designation for an administrative territorial entity
['Madrid Metro Line 10', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Madrid_Metro_Line_10 property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1760090,P17,c(Q15617994))
action filter_type
action find
entity Q1760090
relation P17
type Q15617994
Madrid Metro Line 10 belongs to [ANSWER]
['Q1760090', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1760090 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Spain
Madrid Metro Line 10 belongs to Spain
Spain
action filter_type
action find
entity Madrid Metro Line 10
relation country
type designation for an administrative territorial entity
['Madrid Metro Line 10', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Madrid_Metro_Line_10 property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q51936 Q541860
P17
Q15617994
USER
Is Spain present in Monteleone di Puglia and Bad Sachsa ?
(Q29,P17,Q51936) (Q29,P17,Q541860)
action is_in
entity Q29
action intersection
action find_reverse
entity Q51936
relation P17
action find_reverse
entity Q541860
relation P17
['Q29', 'P17', 'Q51936'] ['Q29', 'P17', 'Q541860']
ASK WHERE { resource:Q29 property:P17 resource:Q51936 . resource:Q29 property:P17 resource:Q541860 }
Spain Monteleone di Puglia Bad Sachsa
action is_in
entity Spain
action intersection
action find_reverse
entity Monteleone di Puglia
relation country
action find_reverse
entity Bad Sachsa
relation country
['Spain', 'country', 'Monteleone di Puglia'] ['Spain', 'country', 'Bad Sachsa']
ASK WHERE { resource:Spain property:country resource:Monteleone_di_Puglia . resource:Spain property:country resource:Bad_Sachsa }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29,P17,Q51936) (Q29,P17,Q541860)
action is_in
entity Q29
action intersection
action find_reverse
entity Q51936
relation P17
action find_reverse
entity Q541860
relation P17
[ANSWER]
['Q29', 'P17', 'Q51936'] ['Q29', 'P17', 'Q541860']
ASK WHERE { resource:Q29 property:P17 resource:Q51936 . resource:Q29 property:P17 resource:Q541860 }
No
action is_in
entity Spain
action intersection
action find_reverse
entity Monteleone di Puglia
relation country
action find_reverse
entity Bad Sachsa
relation country
['Spain', 'country', 'Monteleone di Puglia'] ['Spain', 'country', 'Bad Sachsa']
ASK WHERE { resource:Spain property:country resource:Monteleone_di_Puglia . resource:Spain property:country resource:Bad_Sachsa }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q728937 Q4830453 Q728937
USER
Which railroad lines are a portion of atmost 2 railroad lines or business enterprises ?
(c(Q728937),P361,c(Q728937)|c(Q4830453))
action atmost
action union
action find_tuple_counts
relation P361
type Q728937
type Q728937
action find_tuple_counts
relation P361
type Q728937
type Q4830453
value 2
[{'concept': 'Q728937'}, 'P361', [{'concept': 'Q728937'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?o WHERE { { ?o property:P361 ?m . ?m rdf:type ontology:Q728937 . ?o rdf:type ontology:Q728937 } UNION { ?o property:P361 ?m . ?m rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q728937 } } GROUP BY ?o } . FILTER ( ?i <= 2 ) }
action atmost
action union
action find_tuple_counts
relation part of
type railroad line
type railroad line
action find_tuple_counts
relation part of
type railroad line
type business enterprise
value 2
[{'concept': 'railroad line'}, 'part of', [{'concept': 'railroad line'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?o WHERE { { ?o property:part_of ?m . ?m rdf:type ontology:railroad_line . ?o rdf:type ontology:railroad_line } UNION { ?o property:part_of ?m . ?m rdf:type ontology:business_enterprise . ?o rdf:type ontology:railroad_line } } GROUP BY ?o } . FILTER ( ?i <= 2 ) }
[]
railroad line business enterprise railroad line
Q2519385 Q2400801 Q2519355
SYSTEM
Milan Metro Line 2, Milan Metro Line 1, Milan Metro Line 3
Q924052 Q13645607 Q1143250 Q4540803 Q54372 Q54373 Q54371 Q2041013 Q3238802 Q762347 Q1509576 Q4715207 Q2707909 Q3433210 Q3832654 Q3832656 Q50742 Q3433219 Q1771722 Q20439830 Q2666571 Q736412 Q50745 Q2001449 Q862888 Q200332 Q200331 Q17054000 Q834482 Q50748 Q168571 Q1826681 Q1826683 Q842103 Q2735863 Q2534873 Q198432 Q2333617 Q92549 Q205355 Q3112936 Q781351 Q7395342 Q3239050 Q877322 Q642623 Q4226438 Q152029 Q2145755 Q163215 Q617574 Q2211906 Q1826613 Q2711371 Q3238804 Q50761 Q5926109 Q847767 Q766945 Q1577033 Q594532 Q1004293 Q19892 Q3916689 Q3239226 Q3239227 Q3239225 Q3239222 Q3239223 Q3239220 Q15903000 Q14543324 Q2024859 Q989347 Q626941 Q5066697 Q2420027 Q924028 Q6109356 Q463874 Q2381339 Q5328749 Q18183305 Q6811954 Q489253 Q5986160 Q6811950 Q6811953 Q6811959 Q275451 Q1760090 Q16926791 Q16926797 Q19610191 Q5509821 Q1331322 Q99744 Q99749 Q608251 Q2047989 Q2668472 Q841360 Q1544621 Q12061650 Q12061652 Q152061 Q680973 Q887043 Q2477176 Q588499 Q20035842 Q20035840 Q20035841 Q1047377 Q607539 Q631135 Q385168 Q5947229 Q3362568 Q1841724 Q7985564 Q19960507 Q7334713 Q207689 Q3239063 Q16655720 Q15903043 Q2637212 Q1157061 Q1374502 Q2969 Q832651 Q2965 Q1475527 Q1771527 Q10921992 Q1064795 Q11934440 Q2658981 Q3040919 Q6553083 Q6553127 Q1925762 Q28604 Q6553089 Q54369 Q17053988 Q626996 Q1152341 Q152015 Q1726049 Q1325437 Q3433227 Q1065551 Q2210273 Q2261550 Q99702 Q99708 Q6553152 Q6811968 Q739170 Q6811964 Q6811965 Q281409 Q6811967 Q6811960 Q6811962 Q6711417 Q572544 Q1826679 Q1332908 Q748987 Q2519385 Q961384 Q2193330 Q4590787 Q1376030 Q16981005 Q1419762 Q9295813 Q22910 Q3239029 Q50754 Q50756 Q50757 Q50751 Q50753 Q12054219 Q50759 Q19862991 Q1597847 Q835376 Q616682 Q19862998 Q3238660 Q1152370 Q5944471 Q3112074 Q50746 Q3040891 Q3239230 Q4515924 Q16655715 Q2602185 Q831673 Q5610422 Q989358 Q19863008 Q20439774 Q200310 Q1579583 Q86469 Q86468 Q6553058 Q5954911 Q86467 Q1784097 Q6553110 Q6553119 Q14917524 Q10946020 Q10946021 Q5952205 Q198428 Q11690009 Q6553126 Q2058778 Q11690005 Q1568028 Q369969 Q1326495 Q99697 Q528209 Q99758 Q4215382 Q13224 Q5963161 Q1348921 Q1023114 Q2519355 Q15903207 Q17462780 Q5329661 Q862965 Q6119435 Q847886 Q1826675 Q3011576 Q2740923 Q6956302 Q207699 Q585986 Q989316 Q3176204 Q1826673 Q1157052 Q1157050 Q1185773 Q2976 Q203030 Q1826677 Q1771534 Q910329 Q6553091 Q6553095 Q847744 Q3040904 Q582194 Q211265 Q5123100 Q647340 Q2094433 Q1152238 Q3308465 Q15917019 Q3832673 Q2638932 Q3832679 Q99711 Q18120081 Q99715 Q2657097 Q6420650 Q3040872 Q6553140 Q834540 Q2136023 Q3238913 Q734917 Q3238910 Q6811974 Q6811973 Q6811971 Q6811970 Q1374506 Q20035833 Q20035837 Q20035836 Q20035835 Q20035834 Q20035838 Q2333639 Q210321 Q209739 Q1209679 Q678759 Q795156 Q3112661 Q304264 Q15908713 Q15731043 Q50718 Q5433860 Q4544753 Q651686 Q6718531 Q50743 Q877180 Q50741 Q823251 Q1496137 Q50749 Q1194568 Q1326478 Q11102444 Q3294315 Q4698920 Q2400801 Q2295084 Q3238670 Q1152993 Q15909914 Q18165625 Q3238912 Q1785338 Q19862984 Q876774 Q2466115 Q24641190 Q2331392 Q901027 Q3238813 Q3238811 Q1460442 Q1078111 Q6553108 Q5242742 Q86356 Q3240157 Q3240151 Q945935 Q1047385 Q3832709 Q720653 Q3335826 Q474745 Q18091365 Q99729 Q1490911 Q99720 Q3180068 Q2636308 Q99725 Q961290 Q3238968 Q3238969 Q15145593 Q3238963 Q1348939 Q9025952 Q15150984 Q340562 Q943476 Q99691 Q1075089 Q1073354 Q4593853 Q2420695 Q6553085 Q1071156 Q3239046 Q729631 Q152039 Q6720518 Q514227 Q6515675 Q843793 Q1326504 Q1826609 Q2944 Q248623 Q19960799 Q3239219 Q520772 Q847771 Q5929508 Q3238658 Q384862 Q1073046 Q6342899 Q3308457 Q24641690 Q1292805 Q1369034 Q6553074 Q6553073 Q863422 Q6553070 Q3011583 Q6553078 Q1771110 Q6811947 Q6811945 Q519861 Q3238668 Q16926785 Q692916 Q595450 Q1039452 Q18419905 Q3056105 Q23702850 Q1132660 Q1348946 Q5939429 Q3063407 Q9025969 Q10907046 Q1044919 Q3136247 Q1759707 Q862941 Q16926803 Q2906 Q17503 Q15707859 Q4710841 Q711112 Q1143898 Q1558864 Q25343652 Q211270 Q981826 Q981822 Q967397 Q1459627 Q4715683 Q214793 Q1755582 Q175271 Q989330 Q18165631 Q1147054
(c(Q728937),P361,c(Q728937)|c(Q4830453))
action atmost
action union
action find_tuple_counts
relation P361
type Q728937
type Q728937
action find_tuple_counts
relation P361
type Q728937
type Q4830453
value 2
[ANSWERS] are a portion of atmost 2 railroad lines or business enterprises
[{'concept': 'Q728937'}, 'P361', [{'concept': 'Q728937'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?o WHERE { { ?o property:P361 ?m . ?m rdf:type ontology:Q728937 . ?o rdf:type ontology:Q728937 } UNION { ?o property:P361 ?m . ?m rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q728937 } } GROUP BY ?o } . FILTER ( ?i <= 2 ) }
Kakhovskaya Line Light Rail Route 505 Sakaisuji Line Røa Line Scarborough RT Sheppard line Bloor–Danforth line South Island Line Lille Metro line 2 Karasuma Line Line 3 Green Line Line 7, Shanghai Metro U1 Line 1 (Baku Metro) Line 2 (Baku Metro) Paris Métro Line 3bis U3 Holmenkollen Line Tram line O Line B Kwun Tong Line Paris Métro Line 5 Oʻzbekiston Line Line 5, Guangzhou Metro Daegu Metro Line 2 Daegu Metro Line 1 Green Line Zamoskvoretskaya Line Paris Métro Line 7 Line C Île-de-France tramway Line 4 Madrid Metro Line 7 Luobao Line RandstadRail 4 Blue Line U1 Line 1 Seoul Subway Line 6 Central line Brown Line U3 S Castro Shuttle Toulouse Metro Line A U4 Red Line Kozhukhovskaya Line Orange Line Oostlijn Red line Third Interchange Contour Mulhouse tram line 1 Green Line Dzerzhinskaya Line Marseille Métro Line 2 Paris Métro Line 14 Huanzhong Line Airport Express, Beijing Subway Red Line Barcelona Metro line 9 Leninskaya Line Longhua Line Bakerloo line Purple Line Line 18 Line 19 Line 17 Line 13 Line 14 Line 11 Light Rail Routes 751 and 751P Dulwich Hill Line Mulhouse tram line 2 Tseung Kwan O Line Arbatsko-Pokrovskaya Line Changping Line Bordeaux Tramway Line B Tagansko-Krasnopresnenskaya Line J Church Darjeeling Himalayan Railway Línia Llobregat-Anoia East Kowloon Line Tram line 71 route 3 Seoul Subway Line 4 Line 2 route 19 route 30 route 5 U2 Madrid Metro Line 10 route 16 route 48 Yerevan Metro Line 1 Furuset Line Line 5, Shanghai Metro U9 U10 Line 11 Central Line Seville Metro line 1 Blue Line (Yokohama) Green Line route 86 route 96 Green Line Line 2 Blue Line Line D Line 2 65 61 62 Line 2, Guangzhou Metro Line 13, Shanghai Metro Line 6, Shanghai Metro Barcelona Metro line 3 Shekou Line Line 1 Charleroi Metro line 4 Extension of Island Line to Western District Green line Ring Line Piccadilly line Toulouse Metro Line B Paris Métro Line 17 Light Rail Routes 614 and 614P Charleroi Metro line 3 Line B Toei Shinjuku Line Lyon Metro Line C Budapest Metro Line 4 Lyon Metro Line B Madrid Metro Line 8 Sormovskaya Line 1, Harbin Metro Toden Arakawa Line lines of the Barcelona Metro Bordeaux Tramway Line A Frankfurt U-Bahn, section A Line 16, Shanghai Metro Line 4 Green Line Moskovskaya Line Line 18, Shanghai Metro Yonge–University–Spadina line Green Line Gwangju Metro Line 1 Line 8, Shanghai Metro Blue Line Blue Line Line 2, Shanghai Metro U2 Longgang Line Saburtalo Line Line C U3 U4 Line 7, Guangzhou Metro route 72 Serpukhovsko-Timiryazevskaya Line route 64 route 67 U6 route 70 route 55 route 59 Løren Line Line A Madrid Metro Line 2 Tokyo Metro Fukutoshin Line Line 1 Milan Metro Line 2 Barcelona Metro line 4 Red Line Sognsvann Line Tokyo Metro Hanzōmon Line L Taraval Barcelona Metro line 11 Line 2 (Athens Metro) Seoul Subway Line 7 Île-de-France tramway Line 8 Paris Métro Line 10 Paris Métro Line 11 Paris Métro Line 12 Paris Métro Line 8 Paris Métro Line 9 Capital Line Paris Métro Line 13 U3 Yellow Line Sha Tin to Central Link IRT Dyre Avenue Line U4 Marseille Métro Line 1 Line 9, Shanghai Metro Yizhuang Line, Beijing Subway Purple Line Paris Métro Line 6 U2 Toulouse tramway Chilonzor Line Paris Métro Line 16 Blue Line Koltsevaya Line Grorud Line Tung Chung Line U6 U7 Daejeon Metro Line 1 Line 5 Busan Metro Line 4 Busan Metro Line 3 Line 11, Guangzhou Metro Line 16, Shanghai Metro Busan Metro Line 2 Line 4 Line 21, Guangzhou Metro Line 3 (Athens Metro) Line 1 Line 1 Line 2, Ningbo Rail Transit Line 2, Wuhan Metro Frankfurt U-Bahn, section D Santiago Metro Line 4A Line 4, Wuhan Metro Line C Santiago Metro Line 2 Madrid Metro Line 5 Île-de-France tramway Line 1 Line 3, Shanghai Metro U2 Line 10, Shanghai Metro U12 Santiago Metro Line 1 Paris Métro Line 1 Line 1, Wuhan Metro Barcelona Metro line 2 CDGVAL Milan Metro Line 3 Light Rail Routes 615 and 615P M1 metro line East West Corridor Line 8, Guangzhou Metro Guangming Line Line 10 Line 1 Line 1 Charleroi Metro line 1 N Judah Waterloo & City line Kalininsko-Solntsevskaya Line Island Line Green Line Madrid Metro Line 3 Line D Line C Green Line Lyon Metro Line D Victoria line Line 4 Avtozavodskaya Green Line (Yokohama) Line 19, Shanghai Metro Line 1 Line 13, Beijing Subway U7 Lyublinsko-Dmitrovskaya Line District line City Circle Line 5 Charleroi Metro line 2 Mexico City Metro Line 5 Line 5 Light Rail Route 507 M2 metro line Avtozavodskaya Line Line D U5 Tram line 60 U55 Line 2, Hangzhou Metro Siu Sai Wan Extension U5 Line 6, Guangzhou Metro Filyovskaya Line Red Line Nantes Tramway Line 3 Line 15, Beijing Subway Marseille tramway line 3 route 82 route 8 route 78 route 75 Toei Mita Line 16 67 66 63 18 68 Line 2 Circle line U4 Line A Butovskaya Line Yellow Line Pink Line Line 4 Light Rail Route 610 Oslo Metro Line 2 Paris Métro Line 2 Fangshan Line, Beijing Subway Kolsås Line Tram line 1 Light Rail Routes 705 and 706 Paris Métro Line 4 Line 12, Shanghai Metro Paris Métro Line 3 Market–Frankford Line Ramal Paris Métro Line 7bis Tsuen Wan Line Line 1, Shanghai Metro Line 4, Hangzhou Metro Line 3 Airport Line Milan Metro Line 1 Mexico City Metro Line 1 Nantes Tramway Line 1 Mexico City Metro Line 2 Light Rail Route 761P route 11 Mulhouse tram line 3 Barcelona Metro line 10 U9 Erfurt–Leipzig/Halle high-speed railway Noord/Zuidlijn line a of Rennes subway Bordeaux Tramway Line C Tram line D Nantes Tramway Line 2 Marseille tramway line 2 Line B Budapest Metro Line 1 Line 20, Shanghai Metro Daxing Line, Beijing Subway Busan Metro Line 1 Paris Métro Line 18 Paris Métro Line 15 Mexico City Metro Line 3 Line 1 Line ML-3 Toei Asakusa Line RandstadRail 2 Djurgårdslinjen East Kowloon Line U8 Tram line 43 U6 Orange Line Line 11, Shanghai Metro U7 Jubilee line Île-de-France tramway Line 5 Nantes Tramway Line 5 tram line Milan Metro Line 5 Barcelona Metro line 5 Santiago Metro Line 4 Eungam Circle Akhmeteli–Varketili Line Milan Metro Line 4 U1 Tokyo Metro Chiyoda Line Sennichimae Line Østensjø Line Île-de-France tramway Line 3a Line 17, Shanghai Metro Budapest Metro Line 2 Mexico City Metro Line 9 Sokolnicheskaya Line Red Line M Ocean View Madrid Metro Line 6 Lambertseter Line Namboku Line Line 4, Shanghai Metro Blue Line Lyon Metro Line A U1 Yellow line Line 10 Tokyo Metro Namboku Line Line 8, Beijing Subway Line 9 Lille Metro line 1 Toei Ōedo Line Tokyo Metro Ginza Line K Ingleside Line 4 line b of Rennes subway Line A Red Line Line 14, Shanghai Metro Line 14, Guangzhou Metro Line 4, Guangzhou Metro Line 14, Beijing Subway Line 2 (Metro Bilbao) Line 15, Shanghai Metro Île-de-France tramway Line 2 route 109 route 1 Line 1 Marseille tramway line 1 route 6 Budapest Metro Line 3 Yellow Line Batong Line Line 1 of Quito Metro RandstadRail 3 Tram line 16 Line H Barcelona Metro line 1 Meilin Line U8 Santiago Metro Line 5 North South Corridor Line E Île-de-France tramway Line 3b Madrid Metro Line 9 Line 3, Guangzhou Metro route 57 Lyon Tramway Line 2 Seoul Subway Line 9 Tram line 22 Yellow Line Chollima Line Tōzai Line Madrid Metro Line 12 Al Bidda Hammersmith & City line Tōzai Line Tōhō Line Orange Line Line 2 Orange Line Northern line T Third Street Kaluzhsko-Rizhskaya Line Disneyland Resort Line route 12 Tokyo Metro Tōzai Line
Milan Metro Line 2, Milan Metro Line 1 and Milan Metro Line 3 are a portion of atmost 2 railroad lines or business enterprises
Milan Metro Line 2 Milan Metro Line 1 Milan Metro Line 3
action atmost
action union
action find_tuple_counts
relation part of
type railroad line
type railroad line
action find_tuple_counts
relation part of
type railroad line
type business enterprise
value 2
[{'concept': 'railroad line'}, 'part of', [{'concept': 'railroad line'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?o WHERE { { ?o property:part_of ?m . ?m rdf:type ontology:railroad_line . ?o rdf:type ontology:railroad_line } UNION { ?o property:part_of ?m . ?m rdf:type ontology:business_enterprise . ?o rdf:type ontology:railroad_line } } GROUP BY ?o } . FILTER ( ?i <= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q728937 Q12280 Q55488
USER
Which railroad lines are min number of bridges or railway stations a component of ?
(c(Q12280)|c(Q55488),P361,c(Q728937))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q728937
type Q12280
action find_reverse_tuple_counts
relation P361
type Q728937
type Q55488
[[{'concept': 'Q12280'}, {'concept': 'Q55488'}], 'P361', {'concept': 'Q728937'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?u WHERE { { ?v property:P361 ?u . ?u rdf:type ontology:Q728937 . ?v rdf:type ontology:Q12280 } UNION { ?v property:P361 ?u . ?u rdf:type ontology:Q728937 . ?v rdf:type ontology:Q55488 } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?y WHERE { { ?w property:P361 ?y . ?y rdf:type ontology:Q728937 . ?w rdf:type ontology:Q12280 } UNION { ?w property:P361 ?y . ?y rdf:type ontology:Q728937 . ?w rdf:type ontology:Q55488 } } GROUP BY ?y } . FILTER ( ?q = ?r ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type railroad line
type bridge
action find_reverse_tuple_counts
relation part of
type railroad line
type railway station
[[{'concept': 'bridge'}, {'concept': 'railway station'}], 'part of', {'concept': 'railroad line'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?u WHERE { { ?v property:part_of ?u . ?u rdf:type ontology:railroad_line . ?v rdf:type ontology:bridge } UNION { ?v property:part_of ?u . ?u rdf:type ontology:railroad_line . ?v rdf:type ontology:railway_station } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?y WHERE { { ?w property:part_of ?y . ?y rdf:type ontology:railroad_line . ?w rdf:type ontology:bridge } UNION { ?w property:part_of ?y . ?y rdf:type ontology:railroad_line . ?w rdf:type ontology:railway_station } } GROUP BY ?y } . FILTER ( ?q = ?r ) }
[]
railroad line bridge railway station
Q1087561 Q945937 Q766945
SYSTEM
LGV Rhin-Rhône, LGV Est, Red Line
Q945937 Q766945 Q277604 Q241723 Q5329661 Q19891 Q4415661 Q99729 Q2576140 Q852314 Q850532 Q1138075 Q16266 Q92549 Q15731043 Q3040919 Q1066239 Q642623 Q10907046 Q887043 Q678442 Q989316 Q751425 Q460087 Q3176204 Q2136023 Q16948 Q3238912 Q1185773 Q1087561
(c(Q12280)|c(Q55488),P361,c(Q728937))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q728937
type Q12280
action find_reverse_tuple_counts
relation P361
type Q728937
type Q55488
[ANSWERS] are min number of bridges or railway stations a component of
[[{'concept': 'Q12280'}, {'concept': 'Q55488'}], 'P361', {'concept': 'Q728937'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?u WHERE { { ?v property:P361 ?u . ?u rdf:type ontology:Q728937 . ?v rdf:type ontology:Q12280 } UNION { ?v property:P361 ?u . ?u rdf:type ontology:Q728937 . ?v rdf:type ontology:Q55488 } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?y WHERE { { ?w property:P361 ?y . ?y rdf:type ontology:Q728937 . ?w rdf:type ontology:Q12280 } UNION { ?w property:P361 ?y . ?y rdf:type ontology:Q728937 . ?w rdf:type ontology:Q55488 } } GROUP BY ?y } . FILTER ( ?q = ?r ) }
LGV Est Red Line High Speed 1 LGV Nord East West Corridor Metropolitan line Tramlijn 21 U8 Xochimilco Light Rail Minatomirai Line Betuweroute Spårväg City Bundang Line Seoul Subway Line 6 Oslo Metro Line 2 Frankfurt U-Bahn, section A Sakurajima Line Red Line North South Corridor Blue Line LGV Méditerranée Island Line LGV Atlantique Iron Rhine Green Line Red Line Suin Line Mulhouse tram line 3 Green Line LGV Rhin-Rhône
LGV Rhin-Rhône, LGV Est and Red Line are min number of bridges or railway stations a component of
LGV Rhin-Rhône LGV Est Red Line
action argmin
action union
action find_reverse_tuple_counts
relation part of
type railroad line
type bridge
action find_reverse_tuple_counts
relation part of
type railroad line
type railway station
[[{'concept': 'bridge'}, {'concept': 'railway station'}], 'part of', {'concept': 'railroad line'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) ?u WHERE { { ?v property:part_of ?u . ?u rdf:type ontology:railroad_line . ?v rdf:type ontology:bridge } UNION { ?v property:part_of ?u . ?u rdf:type ontology:railroad_line . ?v rdf:type ontology:railway_station } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) ?y WHERE { { ?w property:part_of ?y . ?y rdf:type ontology:railroad_line . ?w rdf:type ontology:bridge } UNION { ?w property:part_of ?y . ?y rdf:type ontology:railroad_line . ?w rdf:type ontology:railway_station } } GROUP BY ?y } . FILTER ( ?q = ?r ) }
[]