Simple Question (Direct)
Simple Question
Q47242
P1435
Q2065736
USER
Which cultural property is the heritage status of Kropswolde railway station ?
(Q47242,P1435,c(Q2065736))
action filter_type
action find
entity Q47242
relation P1435
type Q2065736
['Q47242', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2065736 . resource:Q47242 property:P1435 ?q }
Kropswolde railway station
action filter_type
action find
entity Kropswolde railway station
relation heritage status
type cultural property
['Kropswolde railway station', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:cultural_property . resource:Kropswolde_railway_station property:heritage_status ?q }
[]
cultural property
Q916333
SYSTEM
Rijksmonument
Q916333
(Q47242,P1435,c(Q2065736))
action filter_type
action find
entity Q47242
relation P1435
type Q2065736
The [ANSWER] is the heritage status of Kropswolde railway station
['Q47242', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2065736 . resource:Q47242 property:P1435 ?q }
Rijksmonument
The Rijksmonument is the heritage status of Kropswolde railway station
Rijksmonument
action filter_type
action find
entity Kropswolde railway station
relation heritage status
type cultural property
['Kropswolde railway station', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:cultural_property . resource:Kropswolde_railway_station property:heritage_status ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P186
Q8063 Q16686022 Q41176
USER
How many buildings are constructed exactly 2 rocks and natural physical objects ?
(c(Q41176),P186,c(Q8063)|c(Q16686022))
action count
action equal
action union
action find_tuple_counts
relation P186
type Q41176
type Q8063
action find_tuple_counts
relation P186
type Q41176
type Q16686022
value 2
[{'concept': 'Q41176'}, 'P186', [{'concept': 'Q8063'}, {'concept': 'Q16686022'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?a WHERE { { ?a property:P186 ?n . ?a rdf:type ontology:Q41176 . ?n rdf:type ontology:Q16686022 } UNION { ?a property:P186 ?n . ?a rdf:type ontology:Q41176 . ?n rdf:type ontology:Q8063 } } GROUP BY ?a } . FILTER ( ?j = 2 ) }
action count
action equal
action union
action find_tuple_counts
relation material used
type building
type rock
action find_tuple_counts
relation material used
type building
type natural physical object
value 2
[{'concept': 'building'}, 'material used', [{'concept': 'rock'}, {'concept': 'natural physical object'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?a WHERE { { ?a property:material_used ?n . ?a rdf:type ontology:building . ?n rdf:type ontology:natural_physical_object } UNION { ?a property:material_used ?n . ?a rdf:type ontology:building . ?n rdf:type ontology:rock } } GROUP BY ?a } . FILTER ( ?j = 2 ) }
[]
rock natural physical object building
SYSTEM
2
Q20202955 Q3348560
(c(Q41176),P186,c(Q8063)|c(Q16686022))
action count
action equal
action union
action find_tuple_counts
relation P186
type Q41176
type Q8063
action find_tuple_counts
relation P186
type Q41176
type Q16686022
value 2
[ANSWER]
[{'concept': 'Q41176'}, 'P186', [{'concept': 'Q8063'}, {'concept': 'Q16686022'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?a WHERE { { ?a property:P186 ?n . ?a rdf:type ontology:Q41176 . ?n rdf:type ontology:Q16686022 } UNION { ?a property:P186 ?n . ?a rdf:type ontology:Q41176 . ?n rdf:type ontology:Q8063 } } GROUP BY ?a } . FILTER ( ?j = 2 ) }
Mellish Road Methodist Chapel Obelisk
2
action count
action equal
action union
action find_tuple_counts
relation material used
type building
type rock
action find_tuple_counts
relation material used
type building
type natural physical object
value 2
[{'concept': 'building'}, 'material used', [{'concept': 'rock'}, {'concept': 'natural physical object'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?a WHERE { { ?a property:material_used ?n . ?a rdf:type ontology:building . ?n rdf:type ontology:natural_physical_object } UNION { ?a property:material_used ?n . ?a rdf:type ontology:building . ?n rdf:type ontology:rock } } GROUP BY ?a } . FILTER ( ?j = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q13226383 Q2668072 Q41176
USER
How many buildings mainly plays the role of a around 1 facilities or collections ?
(c(Q41176),P366,c(Q13226383)|c(Q2668072))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q41176
type Q13226383
action find_tuple_counts
relation P366
type Q41176
type Q2668072
value 1
[{'concept': 'Q41176'}, 'P366', [{'concept': 'Q13226383'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q13226383 ) ( ontology:Q2668072 ) } . ?s rdf:type ?o } GROUP BY ?g } . FILTER ( ?d = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation use
type building
type facility
action find_tuple_counts
relation use
type building
type collection
value 1
[{'concept': 'building'}, 'use', [{'concept': 'facility'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:facility ) ( ontology:collection ) } . ?s rdf:type ?o } GROUP BY ?g } . FILTER ( ?d = 1 ) }
[]
facility collection building
SYSTEM
10
Q16093082 Q779605 Q2946 Q4916640 Q21088677 Q20943969 Q6301875 Q20972899 Q20974169 Q7748066
(c(Q41176),P366,c(Q13226383)|c(Q2668072))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q41176
type Q13226383
action find_tuple_counts
relation P366
type Q41176
type Q2668072
value 1
[ANSWER]
[{'concept': 'Q41176'}, 'P366', [{'concept': 'Q13226383'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q13226383 ) ( ontology:Q2668072 ) } . ?s rdf:type ?o } GROUP BY ?g } . FILTER ( ?d = 1 ) }
SBS Broadcasting Center Werhahnmühle Palace of Versailles Birmingham Children's Hospital 2-10 rue du Ruisseau KNN Tower Jubilee Library 116 bis, avenue des Champs-Élysées 133 avenue des Champs-Élysées The London Studios
10
action count
action approx
action union
action find_tuple_counts
relation use
type building
type facility
action find_tuple_counts
relation use
type building
type collection
value 1
[{'concept': 'building'}, 'use', [{'concept': 'facility'}, {'concept': 'collection'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:facility ) ( ontology:collection ) } . ?s rdf:type ?o } GROUP BY ?g } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47242
P276
Q56061
USER
Where is Kropswolde railway station situated ?
(Q47242,P276,c(Q56061))
action filter_type
action find
entity Q47242
relation P276
type Q56061
['Q47242', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q47242 property:P276 ?o }
Kropswolde railway station
action filter_type
action find
entity Kropswolde railway station
relation location
type administrative territorial entity
['Kropswolde railway station', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Kropswolde_railway_station property:location ?o }
[]
administrative territorial entity
Q1870773
SYSTEM
Foxhol
Q1870773
(Q47242,P276,c(Q56061))
action filter_type
action find
entity Q47242
relation P276
type Q56061
Kropswolde railway station is situated at [ANSWER]
['Q47242', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q47242 property:P276 ?o }
Foxhol
Kropswolde railway station is situated at Foxhol
Foxhol
action filter_type
action find
entity Kropswolde railway station
relation location
type administrative territorial entity
['Kropswolde railway station', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Kropswolde_railway_station property:location ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47242
P669
Q34442
USER
Where is Kropswolde railway station located ?
(Q47242,P669,c(Q34442))
action filter_type
action find
entity Q47242
relation P669
type Q34442
['Q47242', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?j WHERE { resource:Q47242 property:P669 ?j . ?j rdf:type ontology:Q34442 }
Kropswolde railway station
action filter_type
action find
entity Kropswolde railway station
relation located on street
type road
['Kropswolde railway station', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?j WHERE { resource:Kropswolde_railway_station property:located_on_street ?j . ?j rdf:type ontology:road }
[]
road
Q18948055
SYSTEM
Woldweg
Q18948055
(Q47242,P669,c(Q34442))
action filter_type
action find
entity Q47242
relation P669
type Q34442
Kropswolde railway station is located at [ANSWER]
['Q47242', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?j WHERE { resource:Q47242 property:P669 ?j . ?j rdf:type ontology:Q34442 }
Woldweg
Kropswolde railway station is located at Woldweg
Woldweg
action filter_type
action find
entity Kropswolde railway station
relation located on street
type road
['Kropswolde railway station', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?j WHERE { resource:Kropswolde_railway_station property:located_on_street ?j . ?j rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47242
P81
Q83620
USER
Which thoroughfare does that building have a connection to ?
(Q18948055,P81,c(Q83620))
action filter_type
action find
entity Q47242
relation P81
type Q83620
['Q18948055', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q83620 . resource:Q47242 property:P81 ?m }
Kropswolde railway station
action filter_type
action find
entity Kropswolde railway station
relation connecting line
type thoroughfare
['Woldweg', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:thoroughfare . resource:Kropswolde_railway_station property:connecting_line ?m }
[]
thoroughfare
Q802411
SYSTEM
Harlingen–Nieuweschans railway
Q802411
(Q18948055,P81,c(Q83620))
action filter_type
action find
entity Q47242
relation P81
type Q83620
[ANSWER] that building has a connection to
['Q18948055', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q83620 . resource:Q47242 property:P81 ?m }
Harlingen–Nieuweschans railway
Harlingen–Nieuweschans railway that building has a connection to
Harlingen–Nieuweschans railway
action filter_type
action find
entity Kropswolde railway station
relation connecting line
type thoroughfare
['Woldweg', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:thoroughfare . resource:Kropswolde_railway_station property:connecting_line ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories are approximately 2 people or holidays a patron saint of ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?n } . FILTER ( ?a = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?n } . FILTER ( ?a = 2 ) }
[]
common name holiday administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?n } . FILTER ( ?a = 2 ) }
Brinzio Rome
2
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?n } . FILTER ( ?a = 2 ) }
[]