Simple Question (Direct)
Simple Question
Q801595
P1435
Q41176
USER
Which building represents the heritage status given to West Brompton station ?
(Q801595,P1435,c(Q41176))
action filter_type
action find
entity Q801595
relation P1435
type Q41176
['Q801595', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { resource:Q801595 property:P1435 ?s . ?s rdf:type ontology:Q41176 }
West Brompton station
action filter_type
action find
entity West Brompton station
relation heritage status
type building
['West Brompton station', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { resource:West_Brompton_station property:heritage_status ?s . ?s rdf:type ontology:building }
[]
building
Q15700834
SYSTEM
Grade II listed building
Q15700834
(Q801595,P1435,c(Q41176))
action filter_type
action find
entity Q801595
relation P1435
type Q41176
[ANSWER] represents the heritage status given to West Brompton station
['Q801595', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?s WHERE { resource:Q801595 property:P1435 ?s . ?s rdf:type ontology:Q41176 }
Grade II listed building
Grade II listed building represents the heritage status given to West Brompton station
Grade II listed building
action filter_type
action find
entity West Brompton station
relation heritage status
type building
['West Brompton station', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?s WHERE { resource:West_Brompton_station property:heritage_status ?s . ?s rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801595
P197
Q55488
USER
Which railway stations are next to West Brompton station ?
(c(Q55488),P197,Q801595)
action filter_type
action find_reverse
entity Q801595
relation P197
type Q55488
[{'concept': 'Q55488'}, 'P197', 'Q801595']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q55488 . ?u property:P197 resource:Q801595 }
West Brompton station
action filter_type
action find_reverse
entity West Brompton station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'West Brompton station']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:railway_station . ?u property:adjacent_station resource:West_Brompton_station }
[]
railway station
Q801002 Q1473616
SYSTEM
Kensington (Olympia) station, Fulham Broadway tube station
Q801002 Q1473616
(c(Q55488),P197,Q801595)
action filter_type
action find_reverse
entity Q801595
relation P197
type Q55488
[ANSWERS] are next to West Brompton station
[{'concept': 'Q55488'}, 'P197', 'Q801595']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q55488 . ?u property:P197 resource:Q801595 }
Kensington (Olympia) station Fulham Broadway tube station
Kensington (Olympia) station and Fulham Broadway tube station are next to West Brompton station
Kensington (Olympia) station Fulham Broadway tube station
action filter_type
action find_reverse
entity West Brompton station
relation adjacent station
type railway station
[{'concept': 'railway station'}, 'adjacent station', 'West Brompton station']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:railway_station . ?u property:adjacent_station resource:West_Brompton_station }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801002
P17
Q15617994
USER
Which administrative territory is Kensington (Olympia) station present in ?
(Q801002,P17,c(Q15617994))
action filter_type
action find
entity Q801002
relation P17
type Q15617994
['Q801002', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q801002 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Kensington (Olympia) station
action filter_type
action find
entity Kensington (Olympia) station
relation country
type designation for an administrative territorial entity
['Kensington (Olympia) station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Kensington_(Olympia)_station property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q801002,P17,c(Q15617994))
action filter_type
action find
entity Q801002
relation P17
type Q15617994
Which administrative territory is Kensington (Olympia) station present in
['Q801002', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q801002 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Kensington (Olympia) station present in
United Kingdom
action filter_type
action find
entity Kensington (Olympia) station
relation country
type designation for an administrative territorial entity
['Kensington (Olympia) station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Kensington_(Olympia)_station property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19387926
Q15617994
USER
And what about Offenbachlaan?
(Q19387926,P17,c(Q15617994))
action filter_type
action find
entity Q19387926
relation P17
type Q15617994
['Q19387926', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q19387926 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Offenbachlaan
action filter_type
action find
entity Offenbachlaan
relation country
type designation for an administrative territorial entity
['Offenbachlaan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Offenbachlaan property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19387926,P17,c(Q15617994))
action filter_type
action find
entity Q19387926
relation P17
type Q15617994
[ANSWER]
['Q19387926', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q19387926 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Offenbachlaan
relation country
type designation for an administrative territorial entity
['Offenbachlaan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Offenbachlaan property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q362
P137
Q2235308
USER
How many ship types are the administrator of Netherlands or World War II ?
(c(Q2235308),P137,Q55) (c(Q2235308),P137,Q362)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q55'] [{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { VALUES ( ?i ) { ( resource:Q362 ) ( resource:Q55 ) } . ?w property:P137 ?i }
Netherlands World War II
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation operator
type ship type
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Netherlands'] [{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { VALUES ( ?i ) { ( resource:World_War_II ) ( resource:Netherlands ) } . ?w property:operator ?i }
[]
ship type
SYSTEM
4
Q11705699 Q7500115 Q11708758 Q5115983
(c(Q2235308),P137,Q55) (c(Q2235308),P137,Q362)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q362
relation P137
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P137', 'Q55'] [{'concept': 'Q2235308'}, 'P137', 'Q362']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { VALUES ( ?i ) { ( resource:Q362 ) ( resource:Q55 ) } . ?w property:P137 ?i }
Toku Daihatsu-class landing craft Shohatsu class landing craft Moku Daihatsu-class landing craft Chuhatsu class landing craft
4
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation operator
type ship type
action filter_type
action find_reverse
entity World War II
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Netherlands'] [{'concept': 'ship type'}, 'operator', 'World War II']
SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { VALUES ( ?i ) { ( resource:World_War_II ) ( resource:Netherlands ) } . ?w property:operator ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P610
Q16889133
USER
What is the highest point of United Kingdom ?
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q16889133 . resource:Q145 property:P610 ?t }
United Kingdom
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:class . resource:United_Kingdom property:highest_point ?t }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
The highest point of United Kingdom is Mount [ANSWER]
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q16889133 . resource:Q145 property:P610 ?t }
Ben Nevis
The highest point of United Kingdom is Mount Ben Nevis
Ben Nevis
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:class . resource:United_Kingdom property:highest_point ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23066
Q16889133
USER
And how about Cumbria?
(Q23066,P610,c(Q16889133))
action filter_type
action find
entity Q23066
relation P610
type Q16889133
['Q23066', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?c WHERE { resource:Q23066 property:P610 ?c . ?c rdf:type ontology:Q16889133 }
Cumbria
action filter_type
action find
entity Cumbria
relation highest point
type class
['Cumbria', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?c WHERE { resource:Cumbria property:highest_point ?c . ?c rdf:type ontology:class }
[]
class
Q1146222
SYSTEM
Scafell Pike
Q1146222
(Q23066,P610,c(Q16889133))
action filter_type
action find
entity Q23066
relation P610
type Q16889133
[ANSWER]
['Q23066', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?c WHERE { resource:Q23066 property:P610 ?c . ?c rdf:type ontology:Q16889133 }
Scafell Pike
Scafell Pike
action filter_type
action find
entity Cumbria
relation highest point
type class
['Cumbria', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?c WHERE { resource:Cumbria property:highest_point ?c . ?c rdf:type ontology:class }
[]