Simple Question (Direct)
Simple Question
Q428811
P197
Q55488
USER
Which railway stations are adjoined to Shibuya Station ?
(Q428811,P197,c(Q55488))
action filter_type
action find
entity Q428811
relation P197
type Q55488
['Q428811', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?m WHERE { resource:Q428811 property:P197 ?m . ?m rdf:type ontology:Q55488 }
Shibuya Station
action filter_type
action find
entity Shibuya Station
relation adjacent station
type railway station
['Shibuya Station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?m WHERE { resource:Shibuya_Station property:adjacent_station ?m . ?m rdf:type ontology:railway_station }
[]
railway station
Q800715 Q801447
SYSTEM
Ebisu Station, Shinjuku Station
Q800715 Q801447
(Q428811,P197,c(Q55488))
action filter_type
action find
entity Q428811
relation P197
type Q55488
Station [ANSWERS] are adjoined to Shibuya Station
['Q428811', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?m WHERE { resource:Q428811 property:P197 ?m . ?m rdf:type ontology:Q55488 }
Ebisu Station Shinjuku Station
Station Ebisu Station and Shinjuku Station are adjoined to Shibuya Station
Ebisu Station Shinjuku Station
action filter_type
action find
entity Shibuya Station
relation adjacent station
type railway station
['Shibuya Station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?m WHERE { resource:Shibuya_Station property:adjacent_station ?m . ?m rdf:type ontology:railway_station }
[]
Clarification
Simple Question|Single Entity|Indirect
Q801447
P81
Q83620
USER
What serves as the connecting lines for that railway station ?
(Q801447,P81,c(Q83620))
action filter_type
action find
entity Q801447
relation P81
type Q83620
['Q801447', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q801447 property:P81 ?b . ?b rdf:type ontology:Q83620 }
Shinjuku Station
action filter_type
action find
entity Shinjuku Station
relation connecting line
type thoroughfare
['Shinjuku Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:Shinjuku_Station property:connecting_line ?b . ?b rdf:type ontology:thoroughfare }
[]
thoroughfare
Clarification for simple ques.
Q800715
SYSTEM
Did you mean Ebisu Station ?
Q800715 Q801447
(Q800715,P81,c(Q83620)) (Q801447,P81,c(Q83620))
[ANSWER]
['Q800715', 'P81', {'concept': 'Q83620'}] ['Q801447', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q801447 property:P81 ?b . ?b rdf:type ontology:Q83620 }
Ebisu Station Shinjuku Station
Did you mean Ebisu Station ?
Ebisu Station
['Ebisu Station', 'connecting line', {'concept': 'thoroughfare'}] ['Shinjuku Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:Shinjuku_Station property:connecting_line ?b . ?b rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
USER
No, I meant Shinjuku Station. Could you tell me the answer for that?
(Q801447,P81,c(Q83620))
Q801447
['Q801447', 'P81', {'concept': 'Q83620'}]
['Shinjuku Station', 'connecting line', {'concept': 'thoroughfare'}]
[]
Q1078110 Q693036 Q135176
SYSTEM
Chūō Main Line, Yamanote Line, Odakyū Odawara Line
Q1147028 Q693036 Q1078110 Q1323112 Q32388 Q135176
(Q801447,P81,c(Q83620))
action filter_type
action find
entity Q801447
relation P81
type Q83620
Railway [ANSWERS] serve as the connecting lines for that railway station
['Q801447', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q801447 property:P81 ?b . ?b rdf:type ontology:Q83620 }
Tokyo Metro Marunouchi Line Yamanote Line Chūō Main Line Keiō Line Keiō New Line Odakyū Odawara Line
Railway Chūō Main Line, Yamanote Line and Odakyū Odawara Line serve as the connecting lines for that railway station
Chūō Main Line Yamanote Line Odakyū Odawara Line
action filter_type
action find
entity Shinjuku Station
relation connecting line
type thoroughfare
['Shinjuku Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:Shinjuku_Station property:connecting_line ?b . ?b rdf:type ontology:thoroughfare }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q801447
P81
Q55488
USER
Are Shinjuku Station connected to those thoroughfares ?
(Q801447,P81,Q1078110) (Q801447,P81,Q693036) (Q801447,P81,Q135176)
action is_in
entity prev_answer
action find
entity Q801447
relation P81
['Q801447', 'P81', 'Q1078110'] ['Q801447', 'P81', 'Q693036'] ['Q801447', 'P81', 'Q135176']
ASK WHERE { resource:Q801447 property:P81 ?v . VALUES ( ?v ) { ( resource:Q1147028 ) ( resource:Q693036 ) ( resource:Q1078110 ) } }
Shinjuku Station
action is_in
entity prev_answer
action find
entity Shinjuku Station
relation connecting line
['Shinjuku Station', 'connecting line', 'Chūō Main Line'] ['Shinjuku Station', 'connecting line', 'Yamanote Line'] ['Shinjuku Station', 'connecting line', 'Odakyū Odawara Line']
ASK WHERE { resource:Shinjuku_Station property:connecting_line ?v . VALUES ( ?v ) { ( resource:Tokyo_Metro_Marunouchi_Line ) ( resource:Yamanote_Line ) ( resource:Chūō_Main_Line ) } }
[]
railway station
SYSTEM
YES
(Q801447,P81,Q1078110) (Q801447,P81,Q693036) (Q801447,P81,Q135176)
action is_in
entity prev_answer
action find
entity Q801447
relation P81
[ANSWER]
['Q801447', 'P81', 'Q1078110'] ['Q801447', 'P81', 'Q693036'] ['Q801447', 'P81', 'Q135176']
ASK WHERE { resource:Q801447 property:P81 ?v . VALUES ( ?v ) { ( resource:Q1147028 ) ( resource:Q693036 ) ( resource:Q1078110 ) } }
Yes
action is_in
entity prev_answer
action find
entity Shinjuku Station
relation connecting line
['Shinjuku Station', 'connecting line', 'Chūō Main Line'] ['Shinjuku Station', 'connecting line', 'Yamanote Line'] ['Shinjuku Station', 'connecting line', 'Odakyū Odawara Line']
ASK WHERE { resource:Shinjuku_Station property:connecting_line ?v . VALUES ( ?v ) { ( resource:Tokyo_Metro_Marunouchi_Line ) ( resource:Yamanote_Line ) ( resource:Chūō_Main_Line ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q83620 Q811979
USER
How many architectural structures are located on around 2 thoroughfares ?
(c(Q811979),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q811979
type Q83620
value 2
[{'concept': 'Q811979'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?x ) WHERE { ?g property:P669 ?r . ?r rdf:type ontology:Q83620 . ?g rdf:type ontology:Q811979 } GROUP BY ?g } . FILTER ( ?x = 2 ) }
action count
action approx
action find_tuple_counts
relation located on street
type architectural structure
type thoroughfare
value 2
[{'concept': 'architectural structure'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?x ) WHERE { ?g property:located_on_street ?r . ?r rdf:type ontology:thoroughfare . ?g rdf:type ontology:architectural_structure } GROUP BY ?g } . FILTER ( ?x = 2 ) }
[]
thoroughfare architectural structure
SYSTEM
1
Q21451829
(c(Q811979),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q811979
type Q83620
value 2
[ANSWER]
[{'concept': 'Q811979'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?x ) WHERE { ?g property:P669 ?r . ?r rdf:type ontology:Q83620 . ?g rdf:type ontology:Q811979 } GROUP BY ?g } . FILTER ( ?x = 2 ) }
The Horses of Helios
1
action count
action approx
action find_tuple_counts
relation located on street
type architectural structure
type thoroughfare
value 2
[{'concept': 'architectural structure'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?x ) WHERE { ?g property:located_on_street ?r . ?r rdf:type ontology:thoroughfare . ?g rdf:type ontology:architectural_structure } GROUP BY ?g } . FILTER ( ?x = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q428811
P137
Q740752
USER
Who manages Shibuya Station ?
(Q428811,P137,c(Q740752))
action filter_type
action find
entity Q428811
relation P137
type Q740752
['Q428811', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?l WHERE { resource:Q428811 property:P137 ?l . ?l rdf:type ontology:Q740752 }
Shibuya Station
action filter_type
action find
entity Shibuya Station
relation operator
type transport company
['Shibuya Station', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?l WHERE { resource:Shibuya_Station property:operator ?l . ?l rdf:type ontology:transport_company }
[]
transport company
Q1332242 Q499071 Q682894
SYSTEM
Tokyu Corporation, East Japan Railway Company, Tokyo Metro
Q499071 Q682894 Q1332242 Q1332506
(Q428811,P137,c(Q740752))
action filter_type
action find
entity Q428811
relation P137
type Q740752
[ANSWERS] manage Shibuya Station
['Q428811', 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?l WHERE { resource:Q428811 property:P137 ?l . ?l rdf:type ontology:Q740752 }
East Japan Railway Company Tokyo Metro Tokyu Corporation Keio Corporation
Tokyu Corporation, East Japan Railway Company and Tokyo Metro manage Shibuya Station
Tokyu Corporation East Japan Railway Company Tokyo Metro
action filter_type
action find
entity Shibuya Station
relation operator
type transport company
['Shibuya Station', 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?l WHERE { resource:Shibuya_Station property:operator ?l . ?l rdf:type ontology:transport_company }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2076201 Q801447
P197
Q55488
USER
Which railway stations are adjoined to Shinjuku Station or 96th Street ?
OR((c(Q55488),P197,Q801447), (c(Q55488),P197,Q2076201))
action filter_type
action union
action find_reverse
entity Q801447
relation P197
action find_reverse
entity Q2076201
relation P197
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q801447'], [{'concept': 'Q55488'}, 'P197', 'Q2076201']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?g ) { ( resource:Q2076201 ) ( resource:Q801447 ) } . ?t property:P197 ?g } . ?t rdf:type ontology:Q55488 }
96th Street Shinjuku Station
action filter_type
action union
action find_reverse
entity Shinjuku Station
relation adjacent station
action find_reverse
entity 96th Street
relation adjacent station
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Shinjuku Station'], [{'concept': 'railway station'}, 'adjacent station', '96th Street']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?g ) { ( resource:96th_Street ) ( resource:Shinjuku_Station ) } . ?t property:adjacent_station ?g } . ?t rdf:type ontology:railway_station }
[]
railway station
Q590162 Q1884273 Q1917561 Q173919 Q428811 Q801654 Q801234
SYSTEM
Yoyogi Station, 86th Street, Central Park North – 110th Street, Ikebukuro Station, Shibuya Station, Yotsuya Station, Nakano Station
Q590162 Q1884273 Q1917561 Q173919 Q428811 Q801654 Q801234
OR((c(Q55488),P197,Q801447), (c(Q55488),P197,Q2076201))
action filter_type
action union
action find_reverse
entity Q801447
relation P197
action find_reverse
entity Q2076201
relation P197
type Q55488
Station [ANSWERS] are adjoined to Shinjuku Station or 96th Street
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q801447'], [{'concept': 'Q55488'}, 'P197', 'Q2076201']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?g ) { ( resource:Q2076201 ) ( resource:Q801447 ) } . ?t property:P197 ?g } . ?t rdf:type ontology:Q55488 }
Yoyogi Station 86th Street Central Park North – 110th Street Ikebukuro Station Shibuya Station Yotsuya Station Nakano Station
Station Yoyogi Station, 86th Street, Central Park North – 110th Street, Ikebukuro Station, Shibuya Station, Yotsuya Station and Nakano Station are adjoined to Shinjuku Station or 96th Street
Yoyogi Station 86th Street Central Park North – 110th Street Ikebukuro Station Shibuya Station Yotsuya Station Nakano Station
action filter_type
action union
action find_reverse
entity Shinjuku Station
relation adjacent station
action find_reverse
entity 96th Street
relation adjacent station
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Shinjuku Station'], [{'concept': 'railway station'}, 'adjacent station', '96th Street']]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?g ) { ( resource:96th_Street ) ( resource:Shinjuku_Station ) } . ?t property:adjacent_station ?g } . ?t rdf:type ontology:railway_station }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P81
Q728937 Q83620
USER
How many railroad lines and thoroughfares are that railway station connected to ?
(Q428811,P81,c(Q728937)) (Q428811,P81,c(Q83620)) (Q590162,P81,c(Q728937)) (Q590162,P81,c(Q83620)) (Q1884273,P81,c(Q728937)) (Q1884273,P81,c(Q83620)) (Q1917561,P81,c(Q728937)) (Q1917561,P81,c(Q83620)) (Q173919,P81,c(Q728937)) (Q173919,P81,c(Q83620)) (Q428811,P81,c(Q728937)) (Q428811,P81,c(Q83620)) (Q801654,P81,c(Q728937)) (Q801654,P81,c(Q83620)) (Q801234,P81,c(Q728937)) (Q801234,P81,c(Q83620))
['Q428811', 'P81', {'concept': 'Q728937'}] ['Q428811', 'P81', {'concept': 'Q83620'}] ['Q590162', 'P81', {'concept': 'Q728937'}] ['Q590162', 'P81', {'concept': 'Q83620'}] ['Q1884273', 'P81', {'concept': 'Q728937'}] ['Q1884273', 'P81', {'concept': 'Q83620'}] ['Q1917561', 'P81', {'concept': 'Q728937'}] ['Q1917561', 'P81', {'concept': 'Q83620'}] ['Q173919', 'P81', {'concept': 'Q728937'}] ['Q173919', 'P81', {'concept': 'Q83620'}] ['Q428811', 'P81', {'concept': 'Q728937'}] ['Q428811', 'P81', {'concept': 'Q83620'}] ['Q801654', 'P81', {'concept': 'Q728937'}] ['Q801654', 'P81', {'concept': 'Q83620'}] ['Q801234', 'P81', {'concept': 'Q728937'}] ['Q801234', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q428811 property:P81 ?z } UNION { resource:Q428811 property:P81 ?y } UNION { resource:Q590162 property:P81 ?z } UNION { resource:Q590162 property:P81 ?y } UNION { resource:Q4644949 property:P81 ?z } UNION { resource:Q4644949 property:P81 ?y } UNION { resource:Q1917561 property:P81 ?z } UNION { resource:Q1917561 property:P81 ?y } UNION { resource:Q173919 property:P81 ?z } UNION { resource:Q173919 property:P81 ?y } UNION { resource:Q428811 property:P81 ?z } UNION { resource:Q428811 property:P81 ?y } UNION { resource:Q801654 property:P81 ?z } UNION { resource:Q801654 property:P81 ?y } UNION { resource:Q843022 property:P81 ?z } UNION { resource:Q843022 property:P81 ?y } } . ?z rdf:type ontology:Q728937 . ?y rdf:type ontology:Q83620 }
['Shibuya Station', 'connecting line', {'concept': 'railroad line'}] ['Shibuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Yoyogi Station', 'connecting line', {'concept': 'railroad line'}] ['Yoyogi Station', 'connecting line', {'concept': 'thoroughfare'}] ['86th Street', 'connecting line', {'concept': 'railroad line'}] ['86th Street', 'connecting line', {'concept': 'thoroughfare'}] ['Central Park North – 110th Street', 'connecting line', {'concept': 'railroad line'}] ['Central Park North – 110th Street', 'connecting line', {'concept': 'thoroughfare'}] ['Ikebukuro Station', 'connecting line', {'concept': 'railroad line'}] ['Ikebukuro Station', 'connecting line', {'concept': 'thoroughfare'}] ['Shibuya Station', 'connecting line', {'concept': 'railroad line'}] ['Shibuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Yotsuya Station', 'connecting line', {'concept': 'railroad line'}] ['Yotsuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Nakano Station', 'connecting line', {'concept': 'railroad line'}] ['Nakano Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Shibuya_Station property:connecting_line ?z } UNION { resource:Shibuya_Station property:connecting_line ?y } UNION { resource:Yoyogi_Station property:connecting_line ?z } UNION { resource:Yoyogi_Station property:connecting_line ?y } UNION { resource:86th_Street property:connecting_line ?z } UNION { resource:86th_Street property:connecting_line ?y } UNION { resource:Central_Park_North_–_110th_Street property:connecting_line ?z } UNION { resource:Central_Park_North_–_110th_Street property:connecting_line ?y } UNION { resource:Ikebukuro_Station property:connecting_line ?z } UNION { resource:Ikebukuro_Station property:connecting_line ?y } UNION { resource:Shibuya_Station property:connecting_line ?z } UNION { resource:Shibuya_Station property:connecting_line ?y } UNION { resource:Yotsuya_Station property:connecting_line ?z } UNION { resource:Yotsuya_Station property:connecting_line ?y } UNION { resource:Nakano_Station property:connecting_line ?z } UNION { resource:Nakano_Station property:connecting_line ?y } } . ?z rdf:type ontology:railroad_line . ?y rdf:type ontology:thoroughfare }
[]
railroad line thoroughfare
Quantitative|Count|Mult. entity type|Clarification
Q1884273
SYSTEM
Did you mean 86th Street ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q428811 property:P81 ?z } UNION { resource:Q428811 property:P81 ?y } UNION { resource:Q590162 property:P81 ?z } UNION { resource:Q590162 property:P81 ?y } UNION { resource:Q4644949 property:P81 ?z } UNION { resource:Q4644949 property:P81 ?y } UNION { resource:Q1917561 property:P81 ?z } UNION { resource:Q1917561 property:P81 ?y } UNION { resource:Q173919 property:P81 ?z } UNION { resource:Q173919 property:P81 ?y } UNION { resource:Q428811 property:P81 ?z } UNION { resource:Q428811 property:P81 ?y } UNION { resource:Q801654 property:P81 ?z } UNION { resource:Q801654 property:P81 ?y } UNION { resource:Q843022 property:P81 ?z } UNION { resource:Q843022 property:P81 ?y } } . ?z rdf:type ontology:Q728937 . ?y rdf:type ontology:Q83620 }
Did you mean 86th Street ?
86th Street
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Shibuya_Station property:connecting_line ?z } UNION { resource:Shibuya_Station property:connecting_line ?y } UNION { resource:Yoyogi_Station property:connecting_line ?z } UNION { resource:Yoyogi_Station property:connecting_line ?y } UNION { resource:86th_Street property:connecting_line ?z } UNION { resource:86th_Street property:connecting_line ?y } UNION { resource:Central_Park_North_–_110th_Street property:connecting_line ?z } UNION { resource:Central_Park_North_–_110th_Street property:connecting_line ?y } UNION { resource:Ikebukuro_Station property:connecting_line ?z } UNION { resource:Ikebukuro_Station property:connecting_line ?y } UNION { resource:Shibuya_Station property:connecting_line ?z } UNION { resource:Shibuya_Station property:connecting_line ?y } UNION { resource:Yotsuya_Station property:connecting_line ?z } UNION { resource:Yotsuya_Station property:connecting_line ?y } UNION { resource:Nakano_Station property:connecting_line ?z } UNION { resource:Nakano_Station property:connecting_line ?y } } . ?z rdf:type ontology:railroad_line . ?y rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Shibuya Station. Could you tell me the answer for that?
(Q428811,P81,c(Q728937)) (Q428811,P81,c(Q83620)) (Q590162,P81,c(Q728937)) (Q590162,P81,c(Q83620)) (Q1884273,P81,c(Q728937)) (Q1884273,P81,c(Q83620)) (Q1917561,P81,c(Q728937)) (Q1917561,P81,c(Q83620)) (Q173919,P81,c(Q728937)) (Q173919,P81,c(Q83620)) (Q428811,P81,c(Q728937)) (Q428811,P81,c(Q83620)) (Q801654,P81,c(Q728937)) (Q801654,P81,c(Q83620)) (Q801234,P81,c(Q728937)) (Q801234,P81,c(Q83620))
Q428811
['Q428811', 'P81', {'concept': 'Q728937'}] ['Q428811', 'P81', {'concept': 'Q83620'}] ['Q590162', 'P81', {'concept': 'Q728937'}] ['Q590162', 'P81', {'concept': 'Q83620'}] ['Q1884273', 'P81', {'concept': 'Q728937'}] ['Q1884273', 'P81', {'concept': 'Q83620'}] ['Q1917561', 'P81', {'concept': 'Q728937'}] ['Q1917561', 'P81', {'concept': 'Q83620'}] ['Q173919', 'P81', {'concept': 'Q728937'}] ['Q173919', 'P81', {'concept': 'Q83620'}] ['Q428811', 'P81', {'concept': 'Q728937'}] ['Q428811', 'P81', {'concept': 'Q83620'}] ['Q801654', 'P81', {'concept': 'Q728937'}] ['Q801654', 'P81', {'concept': 'Q83620'}] ['Q801234', 'P81', {'concept': 'Q728937'}] ['Q801234', 'P81', {'concept': 'Q83620'}]
['Shibuya Station', 'connecting line', {'concept': 'railroad line'}] ['Shibuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Yoyogi Station', 'connecting line', {'concept': 'railroad line'}] ['Yoyogi Station', 'connecting line', {'concept': 'thoroughfare'}] ['86th Street', 'connecting line', {'concept': 'railroad line'}] ['86th Street', 'connecting line', {'concept': 'thoroughfare'}] ['Central Park North – 110th Street', 'connecting line', {'concept': 'railroad line'}] ['Central Park North – 110th Street', 'connecting line', {'concept': 'thoroughfare'}] ['Ikebukuro Station', 'connecting line', {'concept': 'railroad line'}] ['Ikebukuro Station', 'connecting line', {'concept': 'thoroughfare'}] ['Shibuya Station', 'connecting line', {'concept': 'railroad line'}] ['Shibuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Yotsuya Station', 'connecting line', {'concept': 'railroad line'}] ['Yotsuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Nakano Station', 'connecting line', {'concept': 'railroad line'}] ['Nakano Station', 'connecting line', {'concept': 'thoroughfare'}]
[]
SYSTEM
3 railroad lines and 6 thoroughfares
Q1073046 Q1372061 Q1376030 Q1323851 Q1332908 Q1191300 Q1190086 Q1192468 Q693036
(Q428811,P81,c(Q728937)) (Q428811,P81,c(Q83620)) (Q590162,P81,c(Q728937)) (Q590162,P81,c(Q83620)) (Q1884273,P81,c(Q728937)) (Q1884273,P81,c(Q83620)) (Q1917561,P81,c(Q728937)) (Q1917561,P81,c(Q83620)) (Q173919,P81,c(Q728937)) (Q173919,P81,c(Q83620)) (Q428811,P81,c(Q728937)) (Q428811,P81,c(Q83620)) (Q801654,P81,c(Q728937)) (Q801654,P81,c(Q83620)) (Q801234,P81,c(Q728937)) (Q801234,P81,c(Q83620))
[ANSWER]
['Q428811', 'P81', {'concept': 'Q728937'}] ['Q428811', 'P81', {'concept': 'Q83620'}] ['Q590162', 'P81', {'concept': 'Q728937'}] ['Q590162', 'P81', {'concept': 'Q83620'}] ['Q1884273', 'P81', {'concept': 'Q728937'}] ['Q1884273', 'P81', {'concept': 'Q83620'}] ['Q1917561', 'P81', {'concept': 'Q728937'}] ['Q1917561', 'P81', {'concept': 'Q83620'}] ['Q173919', 'P81', {'concept': 'Q728937'}] ['Q173919', 'P81', {'concept': 'Q83620'}] ['Q428811', 'P81', {'concept': 'Q728937'}] ['Q428811', 'P81', {'concept': 'Q83620'}] ['Q801654', 'P81', {'concept': 'Q728937'}] ['Q801654', 'P81', {'concept': 'Q83620'}] ['Q801234', 'P81', {'concept': 'Q728937'}] ['Q801234', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q428811 property:P81 ?z } UNION { resource:Q428811 property:P81 ?y } UNION { resource:Q590162 property:P81 ?z } UNION { resource:Q590162 property:P81 ?y } UNION { resource:Q4644949 property:P81 ?z } UNION { resource:Q4644949 property:P81 ?y } UNION { resource:Q1917561 property:P81 ?z } UNION { resource:Q1917561 property:P81 ?y } UNION { resource:Q173919 property:P81 ?z } UNION { resource:Q173919 property:P81 ?y } UNION { resource:Q428811 property:P81 ?z } UNION { resource:Q428811 property:P81 ?y } UNION { resource:Q801654 property:P81 ?z } UNION { resource:Q801654 property:P81 ?y } UNION { resource:Q843022 property:P81 ?z } UNION { resource:Q843022 property:P81 ?y } } . ?z rdf:type ontology:Q728937 . ?y rdf:type ontology:Q83620 }
Tokyo Metro Ginza Line Saikyō Line Tokyo Metro Hanzōmon Line Shōnan-Shinjuku Line Tokyo Metro Fukutoshin Line Keiō Inokashira Line Tōkyū Den'en-Toshi Line Tōkyū Tōyoko Line Yamanote Line
3 railroad lines and 6 thoroughfares
['Shibuya Station', 'connecting line', {'concept': 'railroad line'}] ['Shibuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Yoyogi Station', 'connecting line', {'concept': 'railroad line'}] ['Yoyogi Station', 'connecting line', {'concept': 'thoroughfare'}] ['86th Street', 'connecting line', {'concept': 'railroad line'}] ['86th Street', 'connecting line', {'concept': 'thoroughfare'}] ['Central Park North – 110th Street', 'connecting line', {'concept': 'railroad line'}] ['Central Park North – 110th Street', 'connecting line', {'concept': 'thoroughfare'}] ['Ikebukuro Station', 'connecting line', {'concept': 'railroad line'}] ['Ikebukuro Station', 'connecting line', {'concept': 'thoroughfare'}] ['Shibuya Station', 'connecting line', {'concept': 'railroad line'}] ['Shibuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Yotsuya Station', 'connecting line', {'concept': 'railroad line'}] ['Yotsuya Station', 'connecting line', {'concept': 'thoroughfare'}] ['Nakano Station', 'connecting line', {'concept': 'railroad line'}] ['Nakano Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Shibuya_Station property:connecting_line ?z } UNION { resource:Shibuya_Station property:connecting_line ?y } UNION { resource:Yoyogi_Station property:connecting_line ?z } UNION { resource:Yoyogi_Station property:connecting_line ?y } UNION { resource:86th_Street property:connecting_line ?z } UNION { resource:86th_Street property:connecting_line ?y } UNION { resource:Central_Park_North_–_110th_Street property:connecting_line ?z } UNION { resource:Central_Park_North_–_110th_Street property:connecting_line ?y } UNION { resource:Ikebukuro_Station property:connecting_line ?z } UNION { resource:Ikebukuro_Station property:connecting_line ?y } UNION { resource:Shibuya_Station property:connecting_line ?z } UNION { resource:Shibuya_Station property:connecting_line ?y } UNION { resource:Yotsuya_Station property:connecting_line ?z } UNION { resource:Yotsuya_Station property:connecting_line ?y } UNION { resource:Nakano_Station property:connecting_line ?z } UNION { resource:Nakano_Station property:connecting_line ?y } } . ?z rdf:type ontology:railroad_line . ?y rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q173919
P17
Q15617994
USER
Which administrative territory is Ikebukuro Station situated in ?
(Q173919,P17,c(Q15617994))
action filter_type
action find
entity Q173919
relation P17
type Q15617994
['Q173919', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q173919 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Ikebukuro Station
action filter_type
action find
entity Ikebukuro Station
relation country
type designation for an administrative territorial entity
['Ikebukuro Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Ikebukuro_Station property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q173919,P17,c(Q15617994))
action filter_type
action find
entity Q173919
relation P17
type Q15617994
Which administrative territory is Ikebukuro Station situated in
['Q173919', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q173919 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Japan
Which administrative territory is Ikebukuro Station situated in
Japan
action filter_type
action find
entity Ikebukuro Station
relation country
type designation for an administrative territorial entity
['Ikebukuro Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Ikebukuro_Station property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5289566
Q15617994
USER
And how about Svironys?
(Q5289566,P17,c(Q15617994))
action filter_type
action find
entity Q5289566
relation P17
type Q15617994
['Q5289566', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q5289566 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Svironys
action filter_type
action find
entity Svironys
relation country
type designation for an administrative territorial entity
['Svironys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Svironys property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q5289566,P17,c(Q15617994))
action filter_type
action find
entity Q5289566
relation P17
type Q15617994
[ANSWER]
['Q5289566', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q5289566 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Lithuania
Lithuania
action filter_type
action find
entity Svironys
relation country
type designation for an administrative territorial entity
['Svironys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Svironys property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]