Simple Question (Direct)
Simple Question
Q22340932
P197
Q55488
USER
Which railway stations are in the neighbouhood of Spittelau (Vienna U-Bahn) ?
(Q22340932,P197,c(Q55488))
action filter_type
action find
entity Q22340932
relation P197
type Q55488
['Q22340932', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?v WHERE { resource:Q22340932 property:P197 ?v . ?v rdf:type ontology:Q55488 }
Spittelau (Vienna U-Bahn)
action filter_type
action find
entity Spittelau (Vienna U-Bahn)
relation adjacent station
type railway station
['Spittelau (Vienna U-Bahn)', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?v WHERE { resource:Spittelau_(Vienna_U-Bahn) property:adjacent_station ?v . ?v rdf:type ontology:railway_station }
[]
railway station
Q2465701 Q2465750 Q1602480
SYSTEM
Friedensbrücke, Nußdorfer Straße, Jägerstraße
Q15223496 Q2465701 Q2465750 Q1602480
(Q22340932,P197,c(Q55488))
action filter_type
action find
entity Q22340932
relation P197
type Q55488
[ANSWERS] are in the neighbouhood of Spittelau (Vienna U-Bahn)
['Q22340932', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?v WHERE { resource:Q22340932 property:P197 ?v . ?v rdf:type ontology:Q55488 }
Heiligenstadt (Vienna U-Bahn) Friedensbrücke Nußdorfer Straße Jägerstraße
Friedensbrücke, Nußdorfer Straße and Jägerstraße are in the neighbouhood of Spittelau (Vienna U-Bahn)
Friedensbrücke Nußdorfer Straße Jägerstraße
action filter_type
action find
entity Spittelau (Vienna U-Bahn)
relation adjacent station
type railway station
['Spittelau (Vienna U-Bahn)', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?v WHERE { resource:Spittelau_(Vienna_U-Bahn) property:adjacent_station ?v . ?v rdf:type ontology:railway_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22340932
P1192
Q15665807
USER
Which rapid transit is a connecting service for Spittelau (Vienna U-Bahn) ?
(Q22340932,P1192,c(Q15665807))
action filter_type
action find
entity Q22340932
relation P1192
type Q15665807
['Q22340932', 'P1192', {'concept': 'Q15665807'}]
SELECT DISTINCT ?o WHERE { resource:Q22340932 property:P1192 ?o . ?o rdf:type ontology:Q15665807 }
Spittelau (Vienna U-Bahn)
action filter_type
action find
entity Spittelau (Vienna U-Bahn)
relation connecting service
type rapid transit
['Spittelau (Vienna U-Bahn)', 'connecting service', {'concept': 'rapid transit'}]
SELECT DISTINCT ?o WHERE { resource:Spittelau_(Vienna_U-Bahn) property:connecting_service ?o . ?o rdf:type ontology:rapid_transit }
[]
rapid transit
Q5503
SYSTEM
subterranean rapid transit
Q5503
(Q22340932,P1192,c(Q15665807))
action filter_type
action find
entity Q22340932
relation P1192
type Q15665807
[ANSWER] is a connecting service for Spittelau (Vienna U-Bahn)
['Q22340932', 'P1192', {'concept': 'Q15665807'}]
SELECT DISTINCT ?o WHERE { resource:Q22340932 property:P1192 ?o . ?o rdf:type ontology:Q15665807 }
subterranean rapid transit
Subterranean rapid transit is a connecting service for Spittelau (Vienna U-Bahn)
subterranean rapid transit
action filter_type
action find
entity Spittelau (Vienna U-Bahn)
relation connecting service
type rapid transit
['Spittelau (Vienna U-Bahn)', 'connecting service', {'concept': 'rapid transit'}]
SELECT DISTINCT ?o WHERE { resource:Spittelau_(Vienna_U-Bahn) property:connecting_service ?o . ?o rdf:type ontology:rapid_transit }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22340932
P81
Q728937
USER
What serves as the connecting lines for that railway station ?
(Q5503,P81,c(Q728937))
action filter_type
action find
entity Q22340932
relation P81
type Q728937
['Q5503', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?z WHERE { resource:Q22340932 property:P81 ?z . ?z rdf:type ontology:Q728937 }
Spittelau (Vienna U-Bahn)
action filter_type
action find
entity Spittelau (Vienna U-Bahn)
relation connecting line
type railroad line
['subterranean rapid transit', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?z WHERE { resource:Spittelau_(Vienna_U-Bahn) property:connecting_line ?z . ?z rdf:type ontology:railroad_line }
[]
railroad line
Q281409 Q877322
SYSTEM
U6, U4
Q281409 Q877322
(Q5503,P81,c(Q728937))
action filter_type
action find
entity Q22340932
relation P81
type Q728937
[ANSWERS] serve as the connecting lines for that railway station
['Q5503', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?z WHERE { resource:Q22340932 property:P81 ?z . ?z rdf:type ontology:Q728937 }
U6 U4
U6 and U4 serve as the connecting lines for that railway station
U6 U4
action filter_type
action find
entity Spittelau (Vienna U-Bahn)
relation connecting line
type railroad line
['subterranean rapid transit', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?z WHERE { resource:Spittelau_(Vienna_U-Bahn) property:connecting_line ?z . ?z rdf:type ontology:railroad_line }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q83620 Q728937
USER
How many railroad lines are a component of more number of thoroughfares than that railroad line ?
(c(Q728937),P361,c(Q83620))
[{'concept': 'Q728937'}, 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q728937 . ?y rdf:type ontology:Q83620 }
[{'concept': 'railroad line'}, 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:railroad_line . ?y rdf:type ontology:thoroughfare }
[]
thoroughfare railroad line
Comparative|Count over More/Less|Single entity type|Clarification
Q281409
SYSTEM
Did you mean U6 ?
(c(Q728937),P361,c(Q83620))
[ANSWER]
[{'concept': 'Q728937'}, 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q728937 . ?y rdf:type ontology:Q83620 }
Did you mean U6 ?
U6
[{'concept': 'railroad line'}, 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:railroad_line . ?y rdf:type ontology:thoroughfare }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q728937),P361,c(Q83620))
[{'concept': 'Q728937'}, 'P361', {'concept': 'Q83620'}]
[{'concept': 'railroad line'}, 'part of', {'concept': 'thoroughfare'}]
[]
SYSTEM
2
Q463874 Q616682
(c(Q728937),P361,c(Q83620))
[ANSWER]
[{'concept': 'Q728937'}, 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q728937 . ?y rdf:type ontology:Q83620 }
Darjeeling Himalayan Railway IRT Dyre Avenue Line
2
[{'concept': 'railroad line'}, 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:railroad_line . ?y rdf:type ontology:thoroughfare }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7048632 Q2465750
P197
Q55488
USER
What are adjacent to Nußdorfer Straße or Nomismatokopio metro station ?
OR((c(Q55488),P197,Q2465750), (c(Q55488),P197,Q7048632))
action filter_type
action union
action find_reverse
entity Q2465750
relation P197
action find_reverse
entity Q7048632
relation P197
type Q55488
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q2465750'], [{'concept': 'Q55488'}, 'P197', 'Q7048632']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P197 resource:Q2465750 } UNION { ?k property:P197 resource:Q7048632 } } . ?k rdf:type ontology:Q55488 }
Nomismatokopio metro station Nußdorfer Straße
action filter_type
action union
action find_reverse
entity Nußdorfer Straße
relation adjacent station
action find_reverse
entity Nomismatokopio metro station
relation adjacent station
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Nußdorfer Straße'], [{'concept': 'railway station'}, 'adjacent station', 'Nomismatokopio metro station']]}
SELECT DISTINCT ?k WHERE { { { ?k property:adjacent_station resource:Nußdorfer_Straße } UNION { ?k property:adjacent_station resource:Nomismatokopio_metro_station } } . ?k rdf:type ontology:railway_station }
[]
railway station
Q4692510 Q2516432 Q2465793 Q12884797 Q22340932
SYSTEM
Agia Paraskevi metro station, Wien Spittelau railway station, Währinger Straße-Volksoper (Vienna U-Bahn), Holargos metro station, Spittelau (Vienna U-Bahn)
Q4692510 Q2516432 Q2465793 Q12884797 Q22340932
OR((c(Q55488),P197,Q2465750), (c(Q55488),P197,Q7048632))
action filter_type
action union
action find_reverse
entity Q2465750
relation P197
action find_reverse
entity Q7048632
relation P197
type Q55488
[ANSWERS] are adjacent to Nußdorfer Straße or Nomismatokopio metro station
{'OR': [[{'concept': 'Q55488'}, 'P197', 'Q2465750'], [{'concept': 'Q55488'}, 'P197', 'Q7048632']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P197 resource:Q2465750 } UNION { ?k property:P197 resource:Q7048632 } } . ?k rdf:type ontology:Q55488 }
Agia Paraskevi metro station Wien Spittelau railway station Währinger Straße-Volksoper (Vienna U-Bahn) Holargos metro station Spittelau (Vienna U-Bahn)
Agia Paraskevi metro station, Wien Spittelau railway station, Währinger Straße-Volksoper (Vienna U-Bahn), Holargos metro station and Spittelau (Vienna U-Bahn) are adjacent to Nußdorfer Straße or Nomismatokopio metro station
Agia Paraskevi metro station Wien Spittelau railway station Währinger Straße-Volksoper (Vienna U-Bahn) Holargos metro station Spittelau (Vienna U-Bahn)
action filter_type
action union
action find_reverse
entity Nußdorfer Straße
relation adjacent station
action find_reverse
entity Nomismatokopio metro station
relation adjacent station
type railway station
{'OR': [[{'concept': 'railway station'}, 'adjacent station', 'Nußdorfer Straße'], [{'concept': 'railway station'}, 'adjacent station', 'Nomismatokopio metro station']]}
SELECT DISTINCT ?k WHERE { { { ?k property:adjacent_station resource:Nußdorfer_Straße } UNION { ?k property:adjacent_station resource:Nomismatokopio_metro_station } } . ?k rdf:type ontology:railway_station }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q281409 Q4733905
P361
Q83620
USER
How many thoroughfares are U6 or Almondsbury Interchange a component of ?
(Q281409,P361,c(Q83620)) (Q4733905,P361,c(Q83620))
action count
action union
action filter_type
action find
entity Q281409
relation P361
type Q83620
action filter_type
action find
entity Q4733905
relation P361
type Q83620
['Q281409', 'P361', {'concept': 'Q83620'}] ['Q4733905', 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { resource:Q281409 property:P361 ?q . ?q rdf:type ontology:Q83620 } UNION { resource:Q4733905 property:P361 ?q . ?q rdf:type ontology:Q83620 } }
U6 Almondsbury Interchange
action count
action union
action filter_type
action find
entity U6
relation part of
type thoroughfare
action filter_type
action find
entity Almondsbury Interchange
relation part of
type thoroughfare
['U6', 'part of', {'concept': 'thoroughfare'}] ['Almondsbury Interchange', 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { resource:U6 property:part_of ?q . ?q rdf:type ontology:thoroughfare } UNION { resource:Almondsbury_Interchange property:part_of ?q . ?q rdf:type ontology:thoroughfare } }
[]
thoroughfare
SYSTEM
2
Q1824663 Q1638174
(Q281409,P361,c(Q83620)) (Q4733905,P361,c(Q83620))
action count
action union
action filter_type
action find
entity Q281409
relation P361
type Q83620
action filter_type
action find
entity Q4733905
relation P361
type Q83620
[ANSWER]
['Q281409', 'P361', {'concept': 'Q83620'}] ['Q4733905', 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { resource:Q281409 property:P361 ?q . ?q rdf:type ontology:Q83620 } UNION { resource:Q4733905 property:P361 ?q . ?q rdf:type ontology:Q83620 } }
M5 motorway M4 motorway
2
action count
action union
action filter_type
action find
entity U6
relation part of
type thoroughfare
action filter_type
action find
entity Almondsbury Interchange
relation part of
type thoroughfare
['U6', 'part of', {'concept': 'thoroughfare'}] ['Almondsbury Interchange', 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { resource:U6 property:part_of ?q . ?q rdf:type ontology:thoroughfare } UNION { resource:Almondsbury_Interchange property:part_of ?q . ?q rdf:type ontology:thoroughfare } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q281409
P81
Q55488
USER
How many railway stations have a link to U6 ?
(c(Q55488),P81,Q281409)
action count
action filter_type
action find_reverse
entity Q281409
relation P81
type Q55488
[{'concept': 'Q55488'}, 'P81', 'Q281409']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P81 resource:Q281409 . ?v rdf:type ontology:Q55488 }
U6
action count
action filter_type
action find_reverse
entity U6
relation connecting line
type railway station
[{'concept': 'railway station'}, 'connecting line', 'U6']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:connecting_line resource:U6 . ?v rdf:type ontology:railway_station }
[]
railway station
SYSTEM
25
Q22340932 Q1242856 Q1709379 Q2516432 Q1606619 Q1739409 Q1534005 Q801603 Q1602480 Q2465678 Q15266133 Q1623753 Q973992 Q2465793 Q2465683 Q1404089 Q2465691 Q2465698 Q698145 Q2465704 Q2465734 Q2465750 Q1433612 Q2465773 Q1990058
(c(Q55488),P81,Q281409)
action count
action filter_type
action find_reverse
entity Q281409
relation P81
type Q55488
[ANSWER]
[{'concept': 'Q55488'}, 'P81', 'Q281409']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P81 resource:Q281409 . ?v rdf:type ontology:Q55488 }
Spittelau (Vienna U-Bahn) Tscherttegasse Thaliastraße Wien Spittelau railway station Am Schöpfwerk Alser Straße Neue Donau Wien Floridsdorf railway station Jägerstraße Burggasse-Stadthalle (Vienna U-Bahn) Bahnhof Meidling (Vienna U-Bahn) Längenfeldgasse Niederhofstraße Währinger Straße-Volksoper (Vienna U-Bahn) Dresdner Straße Alterlaa Erlaaer Straße Gumpendorfer Straße Vienna West railway station Josefstädter Straße Michelbeuern Nußdorfer Straße Perfektastraße Siebenhirten Handelskai (Vienna U-Bahn)
25
action count
action filter_type
action find_reverse
entity U6
relation connecting line
type railway station
[{'concept': 'railway station'}, 'connecting line', 'U6']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:connecting_line resource:U6 . ?v rdf:type ontology:railway_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q281409
P462
Q4373292
USER
What is the color that U6 is associated with ?
(Q281409,P462,c(Q4373292))
action filter_type
action find
entity Q281409
relation P462
type Q4373292
['Q281409', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?u WHERE { resource:Q281409 property:P462 ?u . ?u rdf:type ontology:Q4373292 }
U6
action filter_type
action find
entity U6
relation color
type physical property
['U6', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?u WHERE { resource:U6 property:color ?u . ?u rdf:type ontology:physical_property }
[]
physical property
Q47071
SYSTEM
brown
Q47071
(Q281409,P462,c(Q4373292))
action filter_type
action find
entity Q281409
relation P462
type Q4373292
The color that U6 is associated with is the [ANSWER]
['Q281409', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?u WHERE { resource:Q281409 property:P462 ?u . ?u rdf:type ontology:Q4373292 }
brown
The color that U6 is associated with is the brown
brown
action filter_type
action find
entity U6
relation color
type physical property
['U6', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?u WHERE { resource:U6 property:color ?u . ?u rdf:type ontology:physical_property }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q281409
P17
Q1048835
USER
Which political territory is that railroad line present in ?
(Q47071,P17,c(Q1048835))
action filter_type
action find
entity Q281409
relation P17
type Q1048835
['Q47071', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q281409 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
U6
action filter_type
action find
entity U6
relation country
type political territorial entity
['brown', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:U6 property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q47071,P17,c(Q1048835))
action filter_type
action find
entity Q281409
relation P17
type Q1048835
Which political territory is that railroad line present in
['Q47071', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q281409 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Austria
Which political territory is that railroad line present in
Austria
action filter_type
action find
entity U6
relation country
type political territorial entity
['brown', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:U6 property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]