Simple Question (Direct)
Simple Question
Q369320
P102
Q7210356
USER
Which party is Herman Schmid affiliated with ?
(Q369320,P102,c(Q7210356))
action filter_type
action find
entity Q369320
relation P102
type Q7210356
['Q369320', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q369320 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Herman Schmid
action filter_type
action find
entity Herman Schmid
relation member of political party
type political organization
['Herman Schmid', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Herman_Schmid property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q110837
SYSTEM
Left Party
Q110837
(Q369320,P102,c(Q7210356))
action filter_type
action find
entity Q369320
relation P102
type Q7210356
Herman Schmid is affiliated with [ANSWER]
['Q369320', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q369320 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Left Party
Herman Schmid is affiliated with Left Party
Left Party
action filter_type
action find
entity Herman Schmid
relation member of political party
type political organization
['Herman Schmid', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Herman_Schmid property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110837
P159
Q34442
USER
Which road is the HQ of that political organization ?
(Q110837,P159,c(Q34442))
action filter_type
action find
entity Q110837
relation P159
type Q34442
['Q110837', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?z WHERE { resource:Q110837 property:P159 ?z . ?z rdf:type ontology:Q34442 }
Left Party
action filter_type
action find
entity Left Party
relation headquarters location
type road
['Left Party', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?z WHERE { resource:Left_Party property:headquarters_location ?z . ?z rdf:type ontology:road }
[]
road
Q836909
SYSTEM
Kungsgatan
Q836909
(Q110837,P159,c(Q34442))
action filter_type
action find
entity Q110837
relation P159
type Q34442
[ANSWER] is the HQ of that political organization
['Q110837', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?z WHERE { resource:Q110837 property:P159 ?z . ?z rdf:type ontology:Q34442 }
Kungsgatan
Kungsgatan is the HQ of that political organization
Kungsgatan
action filter_type
action find
entity Left Party
relation headquarters location
type road
['Left Party', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?z WHERE { resource:Left_Party property:headquarters_location ?z . ?z rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that road belong to ?
(Q836909,P17,c(Q15617994))
action count
action filter_type
action find
entity Q836909
relation P17
type Q15617994
['Q836909', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q836909 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Kungsgatan
relation country
type designation for an administrative territorial entity
['Kungsgatan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Kungsgatan property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q836909,P17,c(Q15617994))
action count
action filter_type
action find
entity Q836909
relation P17
type Q15617994
[ANSWER]
['Q836909', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q836909 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Kungsgatan
relation country
type designation for an administrative territorial entity
['Kungsgatan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Kungsgatan property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q836909
P559
Q34442
USER
Which the roads for which Kungsgatan are the terminus ?
(c(Q34442),P559,Q836909)
action filter_type
action find_reverse
entity Q836909
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q836909']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34442 . ?k property:P559 resource:Q836909 }
Kungsgatan
action filter_type
action find_reverse
entity Kungsgatan
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Kungsgatan']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:road . ?k property:terminus resource:Kungsgatan }
[]
road
Q10525252 Q10496638
SYSTEM
Holländargatan, Fleminggatan
Q10525252 Q10496638
(c(Q34442),P559,Q836909)
action filter_type
action find_reverse
entity Q836909
relation P559
type Q34442
[ANSWERS] are the terminus
[{'concept': 'Q34442'}, 'P559', 'Q836909']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34442 . ?k property:P559 resource:Q836909 }
Holländargatan Fleminggatan
Holländargatan and Fleminggatan are the terminus
Holländargatan Fleminggatan
action filter_type
action find_reverse
entity Kungsgatan
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Kungsgatan']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:road . ?k property:terminus resource:Kungsgatan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q836909
P276
Q56061
USER
Which administrative territory is the location of Kungsgatan ?
(Q836909,P276,c(Q56061))
action filter_type
action find
entity Q836909
relation P276
type Q56061
['Q836909', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q836909 property:P276 ?j }
Kungsgatan
action filter_type
action find
entity Kungsgatan
relation location
type administrative territorial entity
['Kungsgatan', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Kungsgatan property:location ?j }
[]
administrative territorial entity
Q1026676
SYSTEM
Norrmalm
Q1026676
(Q836909,P276,c(Q56061))
action filter_type
action find
entity Q836909
relation P276
type Q56061
[ANSWER] is the location of Kungsgatan
['Q836909', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q836909 property:P276 ?j }
Norrmalm
Norrmalm is the location of Kungsgatan
Norrmalm
action filter_type
action find
entity Kungsgatan
relation location
type administrative territorial entity
['Kungsgatan', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Kungsgatan property:location ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q836909
P138
Q12737077
USER
Which occupation is the origin of Kungsgatan ?
(Q836909,P138,c(Q12737077))
action filter_type
action find
entity Q836909
relation P138
type Q12737077
['Q836909', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q836909 property:P138 ?v . ?v rdf:type ontology:Q12737077 }
Kungsgatan
action filter_type
action find
entity Kungsgatan
relation named after
type occupation
['Kungsgatan', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Kungsgatan property:named_after ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q12097
SYSTEM
king
Q12097
(Q836909,P138,c(Q12737077))
action filter_type
action find
entity Q836909
relation P138
type Q12737077
[ANSWER] the origin of Kungsgatan
['Q836909', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q836909 property:P138 ?v . ?v rdf:type ontology:Q12737077 }
king
King the origin of Kungsgatan
king
action filter_type
action find
entity Kungsgatan
relation named after
type occupation
['Kungsgatan', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Kungsgatan property:named_after ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q10525252
P276
Q56061
USER
How many administrative territories are Holländargatan located ?
(Q10525252,P276,c(Q56061))
action count
action filter_type
action find
entity Q10525252
relation P276
type Q56061
['Q10525252', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q10525252 property:P276 ?s . ?s rdf:type ontology:Q56061 }
Holländargatan
action count
action filter_type
action find
entity Holländargatan
relation location
type administrative territorial entity
['Holländargatan', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Holländargatan property:location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q3646335 Q1026676
(Q10525252,P276,c(Q56061))
action count
action filter_type
action find
entity Q10525252
relation P276
type Q56061
[ANSWER]
['Q10525252', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q10525252 property:P276 ?s . ?s rdf:type ontology:Q56061 }
Vasastan Norrmalm
2
action count
action filter_type
action find
entity Holländargatan
relation location
type administrative territorial entity
['Holländargatan', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Holländargatan property:location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1026676
P47
Q56061
USER
Which administrative territories are bordered by Norrmalm ?
(c(Q56061),P47,Q1026676)
action filter_type
action find
entity Q1026676
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q1026676']
SELECT DISTINCT ?y WHERE { resource:Q1026676 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Norrmalm
action filter_type
action find
entity Norrmalm
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Norrmalm']
SELECT DISTINCT ?y WHERE { resource:Norrmalm property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15054735 Q579854 Q3646335
SYSTEM
Kungsholmen, Gamla stan, Vasastan
Q15054735 Q10670072 Q579854 Q3646335 Q298489 Q904462
(c(Q56061),P47,Q1026676)
action filter_type
action find
entity Q1026676
relation P47
type Q56061
[ANSWERS] are bordered by Norrmalm
[{'concept': 'Q56061'}, 'P47', 'Q1026676']
SELECT DISTINCT ?y WHERE { resource:Q1026676 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Kungsholmen Skeppsholmen Gamla stan Vasastan Östermalm Riddarholmen
Kungsholmen, Gamla stan and Vasastan are bordered by Norrmalm
Kungsholmen Gamla stan Vasastan
action filter_type
action find
entity Norrmalm
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Norrmalm']
SELECT DISTINCT ?y WHERE { resource:Norrmalm property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15054735
P706
Q271669
USER
Where is that administrative territory located on ?
(Q15054735,P706,c(Q271669))
action filter_type
action find
entity Q15054735
relation P706
type Q271669
['Q15054735', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { resource:Q15054735 property:P706 ?s . ?s rdf:type ontology:Q271669 }
Kungsholmen
action filter_type
action find
entity Kungsholmen
relation located on terrain feature
type landform
['Kungsholmen', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { resource:Kungsholmen property:located_on_terrain_feature ?s . ?s rdf:type ontology:landform }
[]
landform
Clarification for simple ques.
Q15054735
SYSTEM
Did you mean Kungsholmen ?
Q15054735 Q579854 Q3646335
(Q15054735,P706,c(Q271669)) (Q579854,P706,c(Q271669)) (Q3646335,P706,c(Q271669))
[ANSWER]
['Q15054735', 'P706', {'concept': 'Q271669'}] ['Q579854', 'P706', {'concept': 'Q271669'}] ['Q3646335', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { resource:Q15054735 property:P706 ?s . ?s rdf:type ontology:Q271669 }
Kungsholmen Gamla stan Vasastan
Did you mean Kungsholmen ?
Kungsholmen
['Kungsholmen', 'located on terrain feature', {'concept': 'landform'}] ['Gamla stan', 'located on terrain feature', {'concept': 'landform'}] ['Vasastan', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { resource:Kungsholmen property:located_on_terrain_feature ?s . ?s rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15054735,P706,c(Q271669))
['Q15054735', 'P706', {'concept': 'Q271669'}]
['Kungsholmen', 'located on terrain feature', {'concept': 'landform'}]
[]
Q666729
SYSTEM
Kungsholmen
Q666729
(Q15054735,P706,c(Q271669))
action filter_type
action find
entity Q15054735
relation P706
type Q271669
That administrative territory is located on the [ANSWER]
['Q15054735', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { resource:Q15054735 property:P706 ?s . ?s rdf:type ontology:Q271669 }
Kungsholmen
That administrative territory is located on the Kungsholmen
Kungsholmen
action filter_type
action find
entity Kungsholmen
relation located on terrain feature
type landform
['Kungsholmen', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { resource:Kungsholmen property:located_on_terrain_feature ?s . ?s rdf:type ontology:landform }
[]