Simple Question (Direct)
Simple Question
Q579591
P19
Q56061
USER
Which administrative territory was Jan Willem Sluiter born in ?
(Q579591,P19,c(Q56061))
action filter_type
action find
entity Q579591
relation P19
type Q56061
['Q579591', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q579591 property:P19 ?b }
Jan Willem Sluiter
action filter_type
action find
entity Jan Willem Sluiter
relation place of birth
type administrative territorial entity
['Jan Willem Sluiter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Jan_Willem_Sluiter property:place_of_birth ?b }
[]
administrative territorial entity
Q992
SYSTEM
Amersfoort
Q992
(Q579591,P19,c(Q56061))
action filter_type
action find
entity Q579591
relation P19
type Q56061
Jan Willem Sluiter was born in [ANSWER]
['Q579591', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q579591 property:P19 ?b }
Amersfoort
Jan Willem Sluiter was born in Amersfoort
Amersfoort
action filter_type
action find
entity Jan Willem Sluiter
relation place of birth
type administrative territorial entity
['Jan Willem Sluiter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Jan_Willem_Sluiter property:place_of_birth ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q992
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
(Q992,P237,c(Q17335294))
action filter_type
action find
entity Q992
relation P237
type Q17335294
['Q992', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q17335294 . resource:Q992 property:P237 ?a }
Amersfoort
action filter_type
action find
entity Amersfoort
relation coat of arms
type flag or coat of arms
['Amersfoort', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:flag_or_coat_of_arms . resource:Amersfoort property:coat_of_arms ?a }
[]
flag or coat of arms
Q15883677
SYSTEM
coat of arms of  Amersfoort
Q15883677
(Q992,P237,c(Q17335294))
action filter_type
action find
entity Q992
relation P237
type Q17335294
The coat of arms of Amersfoort serves as the ensign for that administrative territory
['Q992', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q17335294 . resource:Q992 property:P237 ?a }
coat of arms of  Amersfoort
The coat of arms of Amersfoort serves as the ensign for that administrative territory
coat of arms of  Amersfoort
action filter_type
action find
entity Amersfoort
relation coat of arms
type flag or coat of arms
['Amersfoort', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:flag_or_coat_of_arms . resource:Amersfoort property:coat_of_arms ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q504244
Q17335294
USER
And how about Rättvik Municipality?
(Q504244,P237,c(Q17335294))
action filter_type
action find
entity Q504244
relation P237
type Q17335294
['Q504244', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?z WHERE { resource:Q504244 property:P237 ?z . ?z rdf:type ontology:Q17335294 }
Rättvik Municipality
action filter_type
action find
entity Rättvik Municipality
relation coat of arms
type flag or coat of arms
['Rättvik Municipality', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?z WHERE { resource:Rättvik_Municipality property:coat_of_arms ?z . ?z rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q15099585
SYSTEM
Coat of arms of the municipality of Rättvik, Sweden
Q15099585
(Q504244,P237,c(Q17335294))
action filter_type
action find
entity Q504244
relation P237
type Q17335294
[ANSWER]
['Q504244', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?z WHERE { resource:Q504244 property:P237 ?z . ?z rdf:type ontology:Q17335294 }
Coat of arms of the municipality of Rättvik, Sweden
Coat of arms of the municipality of Rättvik, Sweden
action filter_type
action find
entity Rättvik Municipality
relation coat of arms
type flag or coat of arms
['Rättvik Municipality', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?z WHERE { resource:Rättvik_Municipality property:coat_of_arms ?z . ?z rdf:type ontology:flag_or_coat_of_arms }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q992
P17
Q15617994
USER
How many administrative territories are Amersfoort located in ?
(Q992,P17,c(Q15617994))
action count
action filter_type
action find
entity Q992
relation P17
type Q15617994
['Q992', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q992 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Amersfoort
action count
action filter_type
action find
entity Amersfoort
relation country
type designation for an administrative territorial entity
['Amersfoort', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Amersfoort property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q55
(Q992,P17,c(Q15617994))
action count
action filter_type
action find
entity Q992
relation P17
type Q15617994
[ANSWER]
['Q992', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q992 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Netherlands
1
action count
action filter_type
action find
entity Amersfoort
relation country
type designation for an administrative territorial entity
['Amersfoort', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Amersfoort property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q992
P609
Q34442
USER
Which roads have that administrative territory as their terminus location ?
action filter_type
action find_reverse
entity Q992
relation P609
type Q34442
SELECT DISTINCT ?c WHERE { ?c property:P609 resource:Q992 . ?c rdf:type ontology:Q34442 }
Amersfoort
action filter_type
action find_reverse
entity Amersfoort
relation terminus location
type road
SELECT DISTINCT ?c WHERE { ?c property:terminus_location resource:Amersfoort . ?c rdf:type ontology:road }
[]
road
Q4666084 Q2273614 Q2356595
SYSTEM
N227 road, N221 road, N226 road
Q2273614 Q2356595 Q4666084 Q2747998
action filter_type
action find_reverse
entity Q992
relation P609
type Q34442
[ANSWERS] have that administrative territory as their terminus location
SELECT DISTINCT ?c WHERE { ?c property:P609 resource:Q992 . ?c rdf:type ontology:Q34442 }
N221 road N226 road N227 road N237 road
N227 road, N221 road and N226 road have that administrative territory as their terminus location
N227 road N221 road N226 road
action filter_type
action find_reverse
entity Amersfoort
relation terminus location
type road
SELECT DISTINCT ?c WHERE { ?c property:terminus_location resource:Amersfoort . ?c rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2273614
P559
Q34442
USER
How many roads have N221 road as terminus ?
(c(Q34442),P559,Q2273614)
action count
action filter_type
action find_reverse
entity Q2273614
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q2273614']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P559 resource:Q2273614 . ?t rdf:type ontology:Q34442 }
N221 road
action count
action filter_type
action find_reverse
entity N221 road
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'N221 road']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:terminus resource:N221_road . ?t rdf:type ontology:road }
[]
road
SYSTEM
2
Q4666084 Q2925286
(c(Q34442),P559,Q2273614)
action count
action filter_type
action find_reverse
entity Q2273614
relation P559
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q2273614']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P559 resource:Q2273614 . ?t rdf:type ontology:Q34442 }
N227 road N234 road
2
action count
action filter_type
action find_reverse
entity N221 road
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'N221 road']
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:terminus resource:N221_road . ?t rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2273614
P559
Q1777515
USER
Which junctions are the endpoints for that road ?
action filter_type
action find
entity Q2273614
relation P559
type Q1777515
SELECT DISTINCT ?m WHERE { resource:Q2273614 property:P559 ?m . ?m rdf:type ontology:Q1777515 }
N221 road
action filter_type
action find
entity N221 road
relation terminus
type junction
SELECT DISTINCT ?m WHERE { resource:N221_road property:terminus ?m . ?m rdf:type ontology:junction }
[]
junction
Q20174690 Q20174395
SYSTEM
Amersfoort-Zuid junction, Soest junction
Q20174690 Q20174395
action filter_type
action find
entity Q2273614
relation P559
type Q1777515
[ANSWERS] are the endpoints for that road
SELECT DISTINCT ?m WHERE { resource:Q2273614 property:P559 ?m . ?m rdf:type ontology:Q1777515 }
Amersfoort-Zuid junction Soest junction
Amersfoort-Zuid junction and Soest junction are the endpoints for that road
Amersfoort-Zuid junction Soest junction
action filter_type
action find
entity N221 road
relation terminus
type junction
SELECT DISTINCT ?m WHERE { resource:N221_road property:terminus ?m . ?m rdf:type ontology:junction }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19476408
P559
Q34442
USER
Do Roerdomp have those junctions as the terminus ?
(Q19476408,P559,Q20174690) (Q19476408,P559,Q20174395)
action is_in
entity prev_answer
action find
entity Q19476408
relation P559
['Q19476408', 'P559', 'Q20174690'] ['Q19476408', 'P559', 'Q20174395']
ASK WHERE { resource:Q19476408 property:P559 ?l . VALUES ( ?l ) { ( resource:Q20174690 ) ( resource:Q20174395 ) } }
Roerdomp
action is_in
entity prev_answer
action find
entity Roerdomp
relation terminus
['Roerdomp', 'terminus', 'Amersfoort-Zuid junction'] ['Roerdomp', 'terminus', 'Soest junction']
ASK WHERE { resource:Roerdomp property:terminus ?l . VALUES ( ?l ) { ( resource:Amersfoort-Zuid_junction ) ( resource:Soest_junction ) } }
[]
road
SYSTEM
NO
(Q19476408,P559,Q20174690) (Q19476408,P559,Q20174395)
action is_in
entity prev_answer
action find
entity Q19476408
relation P559
[ANSWER]
['Q19476408', 'P559', 'Q20174690'] ['Q19476408', 'P559', 'Q20174395']
ASK WHERE { resource:Q19476408 property:P559 ?l . VALUES ( ?l ) { ( resource:Q20174690 ) ( resource:Q20174395 ) } }
No
action is_in
entity prev_answer
action find
entity Roerdomp
relation terminus
['Roerdomp', 'terminus', 'Amersfoort-Zuid junction'] ['Roerdomp', 'terminus', 'Soest junction']
ASK WHERE { resource:Roerdomp property:terminus ?l . VALUES ( ?l ) { ( resource:Amersfoort-Zuid_junction ) ( resource:Soest_junction ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2356595 Q20771 Q55
P17
Q15617994
USER
Is N226 road present in Wyk auf Föhr and Netherlands ?
(Q2356595,P17,Q20771) (Q2356595,P17,Q55)
action is_in
entity Q2356595
action intersection
action find_reverse
entity Q20771
relation P17
action find_reverse
entity Q55
relation P17
['Q2356595', 'P17', 'Q20771'] ['Q2356595', 'P17', 'Q55']
ASK WHERE { resource:Q2356595 property:P17 resource:Q20771 . resource:Q2356595 property:P17 resource:Q55 }
N226 road Wyk auf Föhr Netherlands
action is_in
entity N226 road
action intersection
action find_reverse
entity Wyk auf Föhr
relation country
action find_reverse
entity Netherlands
relation country
['N226 road', 'country', 'Wyk auf Föhr'] ['N226 road', 'country', 'Netherlands']
ASK WHERE { resource:N226_road property:country resource:Wyk_auf_Föhr . resource:N226_road property:country resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q2356595,P17,Q20771) (Q2356595,P17,Q55)
action is_in
entity Q2356595
action intersection
action find_reverse
entity Q20771
relation P17
action find_reverse
entity Q55
relation P17
[ANSWER]
['Q2356595', 'P17', 'Q20771'] ['Q2356595', 'P17', 'Q55']
ASK WHERE { resource:Q2356595 property:P17 resource:Q20771 . resource:Q2356595 property:P17 resource:Q55 }
NO and YES respectively
action is_in
entity N226 road
action intersection
action find_reverse
entity Wyk auf Föhr
relation country
action find_reverse
entity Netherlands
relation country
['N226 road', 'country', 'Wyk auf Föhr'] ['N226 road', 'country', 'Netherlands']
ASK WHERE { resource:N226_road property:country resource:Wyk_auf_Föhr . resource:N226_road property:country resource:Netherlands }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q811430 Q1777515
USER
Which constructions are max number of junctions a part of ?
(c(Q1777515),P361,Q156849)
action argmax
action find_reverse_tuple_counts
relation P361
type Q811430
type Q1777515
[{'concept': 'Q1777515'}, 'P361', 'Q156849']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P361 ?u . ?r rdf:type ontology:Q1777515 . ?u rdf:type ontology:Q811430 } GROUP BY ?u } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P361 ?d . ?z rdf:type ontology:Q1777515 . ?d rdf:type ontology:Q811430 } GROUP BY ?d } . FILTER ( ?b = ?v ) }
action argmax
action find_reverse_tuple_counts
relation part of
type construction
type junction
[{'concept': 'junction'}, 'part of', 'sewer']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:part_of ?u . ?r rdf:type ontology:junction . ?u rdf:type ontology:construction } GROUP BY ?u } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:part_of ?d . ?z rdf:type ontology:junction . ?d rdf:type ontology:construction } GROUP BY ?d } . FILTER ( ?b = ?v ) }
[]
construction junction
Q376799
SYSTEM
transport infrastructure
Q376799
(c(Q1777515),P361,Q156849)
action argmax
action find_reverse_tuple_counts
relation P361
type Q811430
type Q1777515
Max number of junctions are a part of the [ANSWER]
[{'concept': 'Q1777515'}, 'P361', 'Q156849']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P361 ?u . ?r rdf:type ontology:Q1777515 . ?u rdf:type ontology:Q811430 } GROUP BY ?u } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P361 ?d . ?z rdf:type ontology:Q1777515 . ?d rdf:type ontology:Q811430 } GROUP BY ?d } . FILTER ( ?b = ?v ) }
transport infrastructure
Max number of junctions are a part of the transport infrastructure
transport infrastructure
action argmax
action find_reverse_tuple_counts
relation part of
type construction
type junction
[{'concept': 'junction'}, 'part of', 'sewer']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:part_of ?u . ?r rdf:type ontology:junction . ?u rdf:type ontology:construction } GROUP BY ?u } } . { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:part_of ?d . ?z rdf:type ontology:junction . ?d rdf:type ontology:construction } GROUP BY ?d } . FILTER ( ?b = ?v ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q376799
P121
Q1150070
USER
Who manages that construction ?
(c(Q1150070),P121,Q376799)
action filter_type
action find_reverse
entity Q376799
relation P121
type Q1150070
[{'concept': 'Q1150070'}, 'P121', 'Q376799']
SELECT DISTINCT ?c WHERE { ?c property:P121 resource:Q376799 . ?c rdf:type ontology:Q1150070 }
transport infrastructure
action filter_type
action find_reverse
entity transport infrastructure
relation item operated
type change
[{'concept': 'change'}, 'item operated', 'transport infrastructure']
SELECT DISTINCT ?c WHERE { ?c property:item_operated resource:transport_infrastructure . ?c rdf:type ontology:change }
[]
change
Q7590
SYSTEM
transport
Q7590
(c(Q1150070),P121,Q376799)
action filter_type
action find_reverse
entity Q376799
relation P121
type Q1150070
[ANSWER] manages that construction
[{'concept': 'Q1150070'}, 'P121', 'Q376799']
SELECT DISTINCT ?c WHERE { ?c property:P121 resource:Q376799 . ?c rdf:type ontology:Q1150070 }
transport
Transport manages that construction
transport
action filter_type
action find_reverse
entity transport infrastructure
relation item operated
type change
[{'concept': 'change'}, 'item operated', 'transport infrastructure']
SELECT DISTINCT ?c WHERE { ?c property:item_operated resource:transport_infrastructure . ?c rdf:type ontology:change }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7590 Q6338127
P452
Q4830453
USER
Is KSQL part of the industry that change ?
(Q6338127,P452,Q7590)
action is_in
entity Q6338127
action find
entity Q7590
relation P452
['Q6338127', 'P452', 'Q7590']
ASK WHERE { resource:Q7590 property:P452 resource:Q6338127 }
transport KSQL
action is_in
entity KSQL
action find
entity transport
relation industry
['KSQL', 'industry', 'transport']
ASK WHERE { resource:transport property:industry resource:KSQL }
[]
business enterprise
SYSTEM
NO
(Q6338127,P452,Q7590)
action is_in
entity Q6338127
action find
entity Q7590
relation P452
[ANSWER]
['Q6338127', 'P452', 'Q7590']
ASK WHERE { resource:Q7590 property:P452 resource:Q6338127 }
No
action is_in
entity KSQL
action find
entity transport
relation industry
['KSQL', 'industry', 'transport']
ASK WHERE { resource:transport property:industry resource:KSQL }
[]