Simple Question (Direct)
Simple Question
Q1815154
P1382
Q83620
USER
Which thoroughfare has partial concurrency with A20 motorway ?
(Q1815154,P1382,c(Q83620))
action filter_type
action find
entity Q1815154
relation P1382
type Q83620
['Q1815154', 'P1382', {'concept': 'Q83620'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q83620 . resource:Q1815154 property:P1382 ?v }
A20 motorway
action filter_type
action find
entity A20 motorway
relation coincident with
type thoroughfare
['A20 motorway', 'coincident with', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:thoroughfare . resource:A20_motorway property:coincident_with ?v }
[]
thoroughfare
Q1375828
SYSTEM
European route E19
Q1375828
(Q1815154,P1382,c(Q83620))
action filter_type
action find
entity Q1815154
relation P1382
type Q83620
[ANSWER] has partial concurrency with A20 motorway
['Q1815154', 'P1382', {'concept': 'Q83620'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q83620 . resource:Q1815154 property:P1382 ?v }
European route E19
European route E19 has partial concurrency with A20 motorway
European route E19
action filter_type
action find
entity A20 motorway
relation coincident with
type thoroughfare
['A20 motorway', 'coincident with', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:thoroughfare . resource:A20_motorway property:coincident_with ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1375828
P609
Q56061
USER
Which administrative territories are the destinations of that thoroughfare ?
(Q1375828,P609,c(Q56061))
action filter_type
action find
entity Q1375828
relation P609
type Q56061
['Q1375828', 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1375828 property:P609 ?z . ?z rdf:type ontology:Q56061 }
European route E19
action filter_type
action find
entity European route E19
relation terminus location
type administrative territorial entity
['European route E19', 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:European_route_E19 property:terminus_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q90
SYSTEM
Amsterdam, Paris
Q727 Q90
(Q1375828,P609,c(Q56061))
action filter_type
action find
entity Q1375828
relation P609
type Q56061
[ANSWERS] are the destinations of that thoroughfare
['Q1375828', 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1375828 property:P609 ?z . ?z rdf:type ontology:Q56061 }
Amsterdam Paris
Amsterdam and Paris are the destinations of that thoroughfare
Amsterdam Paris
action filter_type
action find
entity European route E19
relation terminus location
type administrative territorial entity
['European route E19', 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:European_route_E19 property:terminus_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1375828
P609
Q83620
USER
Are those administrative territories a destination for European route E19 ?
(Q1375828,P609,Q727) (Q1375828,P609,Q90)
action is_in
entity prev_answer
action find
entity Q1375828
relation P609
['Q1375828', 'P609', 'Q727'] ['Q1375828', 'P609', 'Q90']
ASK WHERE { resource:Q1375828 property:P609 ?b . VALUES ( ?b ) { ( resource:Q727 ) ( resource:Q90 ) } }
European route E19
action is_in
entity prev_answer
action find
entity European route E19
relation terminus location
['European route E19', 'terminus location', 'Amsterdam'] ['European route E19', 'terminus location', 'Paris']
ASK WHERE { resource:European_route_E19 property:terminus_location ?b . VALUES ( ?b ) { ( resource:Amsterdam ) ( resource:Paris ) } }
[]
thoroughfare
SYSTEM
YES
(Q1375828,P609,Q727) (Q1375828,P609,Q90)
action is_in
entity prev_answer
action find
entity Q1375828
relation P609
[ANSWER]
['Q1375828', 'P609', 'Q727'] ['Q1375828', 'P609', 'Q90']
ASK WHERE { resource:Q1375828 property:P609 ?b . VALUES ( ?b ) { ( resource:Q727 ) ( resource:Q90 ) } }
Yes
action is_in
entity prev_answer
action find
entity European route E19
relation terminus location
['European route E19', 'terminus location', 'Amsterdam'] ['European route E19', 'terminus location', 'Paris']
ASK WHERE { resource:European_route_E19 property:terminus_location ?b . VALUES ( ?b ) { ( resource:Amsterdam ) ( resource:Paris ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q727 Q649 Q7920106
P190
Q56061
USER
Is Amsterdam a sister city of Moscow and Venkiryal ?
(Q727,P190,Q649) (Q727,P190,Q7920106)
action is_in
entity Q727
action intersection
action find_reverse
entity Q649
relation P190
action find_reverse
entity Q7920106
relation P190
['Q727', 'P190', 'Q649'] ['Q727', 'P190', 'Q7920106']
ASK WHERE { resource:Q727 property:P190 resource:Q649 . resource:Q727 property:P190 resource:Q7920106 }
Amsterdam Moscow Venkiryal
action is_in
entity Amsterdam
action intersection
action find_reverse
entity Moscow
relation sister city
action find_reverse
entity Venkiryal
relation sister city
['Amsterdam', 'sister city', 'Moscow'] ['Amsterdam', 'sister city', 'Venkiryal']
ASK WHERE { resource:Amsterdam property:sister_city resource:Moscow . resource:Amsterdam property:sister_city resource:Venkiryal }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q727,P190,Q649) (Q727,P190,Q7920106)
action is_in
entity Q727
action intersection
action find_reverse
entity Q649
relation P190
action find_reverse
entity Q7920106
relation P190
[ANSWER]
['Q727', 'P190', 'Q649'] ['Q727', 'P190', 'Q7920106']
ASK WHERE { resource:Q727 property:P190 resource:Q649 . resource:Q727 property:P190 resource:Q7920106 }
YES and NO respectively
action is_in
entity Amsterdam
action intersection
action find_reverse
entity Moscow
relation sister city
action find_reverse
entity Venkiryal
relation sister city
['Amsterdam', 'sister city', 'Moscow'] ['Amsterdam', 'sister city', 'Venkiryal']
ASK WHERE { resource:Amsterdam property:sister_city resource:Moscow . resource:Amsterdam property:sister_city resource:Venkiryal }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1815154 Q659345 Q20073659
P361
Q83620
USER
Is A20 motorway a part of European route E25 and T1319 road ?
(Q1815154,P361,Q659345) (Q1815154,P361,Q20073659)
action is_in
entity Q1815154
action intersection
action find_reverse
entity Q659345
relation P361
action find_reverse
entity Q20073659
relation P361
['Q1815154', 'P361', 'Q659345'] ['Q1815154', 'P361', 'Q20073659']
ASK WHERE { resource:Q1815154 property:P361 resource:Q659345 . resource:Q1815154 property:P361 resource:Q20073659 }
A20 motorway European route E25 T1319 road
action is_in
entity A20 motorway
action intersection
action find_reverse
entity European route E25
relation part of
action find_reverse
entity T1319 road
relation part of
['A20 motorway', 'part of', 'European route E25'] ['A20 motorway', 'part of', 'T1319 road']
ASK WHERE { resource:A20_motorway property:part_of resource:European_route_E25 . resource:A20_motorway property:part_of resource:T1319_road }
[]
thoroughfare
SYSTEM
YES and NO respectively
(Q1815154,P361,Q659345) (Q1815154,P361,Q20073659)
action is_in
entity Q1815154
action intersection
action find_reverse
entity Q659345
relation P361
action find_reverse
entity Q20073659
relation P361
[ANSWER]
['Q1815154', 'P361', 'Q659345'] ['Q1815154', 'P361', 'Q20073659']
ASK WHERE { resource:Q1815154 property:P361 resource:Q659345 . resource:Q1815154 property:P361 resource:Q20073659 }
YES and NO respectively
action is_in
entity A20 motorway
action intersection
action find_reverse
entity European route E25
relation part of
action find_reverse
entity T1319 road
relation part of
['A20 motorway', 'part of', 'European route E25'] ['A20 motorway', 'part of', 'T1319 road']
ASK WHERE { resource:A20_motorway property:part_of resource:European_route_E25 . resource:A20_motorway property:part_of resource:T1319_road }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1815154
P126
Q895526
USER
Who was the administrator of that road ?
action filter_type
action find
entity Q1815154
relation P126
type Q895526
SELECT DISTINCT ?l WHERE { resource:Q1815154 property:P126 ?l . ?l rdf:type ontology:Q895526 }
A20 motorway
action filter_type
action find
entity A20 motorway
relation maintained by
type authority organ
SELECT DISTINCT ?l WHERE { resource:A20_motorway property:maintained_by ?l . ?l rdf:type ontology:authority_organ }
[]
authority organ
Q1408870
SYSTEM
Rijkswaterstaat
Q1408870
action filter_type
action find
entity Q1815154
relation P126
type Q895526
The administrator of that road was the [ANSWER]
SELECT DISTINCT ?l WHERE { resource:Q1815154 property:P126 ?l . ?l rdf:type ontology:Q895526 }
Rijkswaterstaat
The administrator of that road was the Rijkswaterstaat
Rijkswaterstaat
action filter_type
action find
entity A20 motorway
relation maintained by
type authority organ
SELECT DISTINCT ?l WHERE { resource:A20_motorway property:maintained_by ?l . ?l rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q895526 Q7743
USER
How many homes are under posessision of exactly 1 authority organ ?
(c(Q7743),P127,c(Q895526))
action count
action equal
action find_tuple_counts
relation P127
type Q7743
type Q895526
value 1
[{'concept': 'Q7743'}, 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?q property:P127 ?e . ?q rdf:type ontology:Q7743 . ?e rdf:type ontology:Q895526 } GROUP BY ?q } }
action count
action equal
action find_tuple_counts
relation owned by
type home
type authority organ
value 1
[{'concept': 'home'}, 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?q property:owned_by ?e . ?q rdf:type ontology:home . ?e rdf:type ontology:authority_organ } GROUP BY ?q } }
[]
authority organ home
SYSTEM
10
Q756268 Q1741270 Q1891413 Q1757808 Q1012561 Q648226 Q1475894 Q935973 Q1524366 Q742767
(c(Q7743),P127,c(Q895526))
action count
action equal
action find_tuple_counts
relation P127
type Q7743
type Q895526
value 1
[ANSWER]
[{'concept': 'Q7743'}, 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?q property:P127 ?e . ?q rdf:type ontology:Q7743 . ?e rdf:type ontology:Q895526 } GROUP BY ?q } }
Stirling Castle Kildrummy Castle Skokloster Castle Vadstena Castle Häme Castle Kalmar Castle Uppsala Castle Läckö Castle Blackness Castle Dublin Castle
10
action count
action equal
action find_tuple_counts
relation owned by
type home
type authority organ
value 1
[{'concept': 'home'}, 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?m ) WHERE { ?q property:owned_by ?e . ?q rdf:type ontology:home . ?e rdf:type ontology:authority_organ } GROUP BY ?q } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q90
P6
Q502895
USER
How many people are the head of government of Paris ?
(Q90,P6,c(Q502895))
action count
action filter_type
action find
entity Q90
relation P6
type Q502895
['Q90', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q90 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Paris
action count
action filter_type
action find
entity Paris
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Paris property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
16
Q1986521 Q2105 Q289303 Q1685859 Q256294 Q1685102 Q601266 Q2596877 Q677730 Q959708 Q3131449 Q947901 Q2851133 Q656015 Q1684642 Q1685301
(Q90,P6,c(Q502895))
action count
action filter_type
action find
entity Q90
relation P6
type Q502895
[ANSWER]
['Q90', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q90 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Nicolas Chambon Jacques Chirac Étienne Arago Jean Tiberi Bertrand Delanoë Jean-Nicolas Pache Louis-Antoine Garnier-Pagès René Boucher Armand Marrast Jules Ferry Henri Lefèvre d'Ormesson Jérôme Pétion de Villeneuve Anne Hidalgo Philibert Borie Jean-Baptiste Fleuriot-Lescot Jean Sylvain Bailly
16
action count
action filter_type
action find
entity Paris
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Paris property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q10044
P6
Q502895
USER
And what about Houten?
(Q10044,P6,c(Q502895))
action count
action filter_type
action find
entity Q10044
relation P6
type Q502895
['Q10044', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q10044 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Houten
action count
action filter_type
action find
entity Houten
relation head of government
type common name
['Houten', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Houten property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q4451446
(Q10044,P6,c(Q502895))
action count
action filter_type
action find
entity Q10044
relation P6
type Q502895
[ANSWER]
['Q10044', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Q10044 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Rudi Boekhoven
1
action count
action filter_type
action find
entity Houten
relation head of government
type common name
['Houten', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { resource:Houten property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q728215
Q502895
USER
And also tell me about Espinosa de Henares?
(Q728215,P6,c(Q502895))
action count
action filter_type
action find
entity Q728215
relation P6
type Q502895
['Q728215', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q728215 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Espinosa de Henares
action count
action filter_type
action find
entity Espinosa de Henares
relation head of government
type common name
['Espinosa de Henares', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Espinosa_de_Henares property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q728215,P6,c(Q502895))
action count
action filter_type
action find
entity Q728215
relation P6
type Q502895
[ANSWER]
['Q728215', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q728215 property:P6 ?a . ?a rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Espinosa de Henares
relation head of government
type common name
['Espinosa de Henares', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Espinosa_de_Henares property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P159
Q13220204 Q895526
USER
Which administrative country subdivisions are the head offices of max number of authority organs ?
(c(Q895526),P159,Q68311)
action argmax
action find_reverse_tuple_counts
relation P159
type Q13220204
type Q895526
[{'concept': 'Q895526'}, 'P159', 'Q68311']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P159 ?a . ?h rdf:type ontology:Q895526 . ?a rdf:type ontology:Q13220204 } GROUP BY ?a } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P159 ?u . ?u rdf:type ontology:Q13220204 . ?t rdf:type ontology:Q895526 } GROUP BY ?u } } }
action argmax
action find_reverse_tuple_counts
relation headquarters location
type second-level administrative country subdivision
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'Burgdorf']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:headquarters_location ?a . ?h rdf:type ontology:authority_organ . ?a rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?a } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:headquarters_location ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?t rdf:type ontology:authority_organ } GROUP BY ?u } } }
[]
second-level administrative country subdivision authority organ
Q1435 Q2841
SYSTEM
Zagreb, Bogotá
Q1435 Q2841
(c(Q895526),P159,Q68311)
action argmax
action find_reverse_tuple_counts
relation P159
type Q13220204
type Q895526
[ANSWERS] are the head offices of max number of authority organs
[{'concept': 'Q895526'}, 'P159', 'Q68311']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P159 ?a . ?h rdf:type ontology:Q895526 . ?a rdf:type ontology:Q13220204 } GROUP BY ?a } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P159 ?u . ?u rdf:type ontology:Q13220204 . ?t rdf:type ontology:Q895526 } GROUP BY ?u } } }
Zagreb Bogotá
Zagreb and Bogotá are the head offices of max number of authority organs
Zagreb Bogotá
action argmax
action find_reverse_tuple_counts
relation headquarters location
type second-level administrative country subdivision
type authority organ
[{'concept': 'authority organ'}, 'headquarters location', 'Burgdorf']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:headquarters_location ?a . ?h rdf:type ontology:authority_organ . ?a rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?a } . FILTER ( ?n = ?e ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:headquarters_location ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?t rdf:type ontology:authority_organ } GROUP BY ?u } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1435
P740
Q43229
USER
Which are the organizations that originates at Zagreb ?
(c(Q43229),P740,Q1435)
action filter_type
action find_reverse
entity Q1435
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1435']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . ?s property:P740 resource:Q1435 }
Zagreb
action filter_type
action find_reverse
entity Zagreb
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Zagreb']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . ?s property:location_of_formation resource:Zagreb }
[]
organization
Q518563 Q904388 Q3056518
SYSTEM
Konzum, Pliva, Ericsson Nikola Tesla
Q518563 Q1099075 Q904388 Q3056518
(c(Q43229),P740,Q1435)
action filter_type
action find_reverse
entity Q1435
relation P740
type Q43229
The organizations that originates at Zagreb are [ANSWERS]
[{'concept': 'Q43229'}, 'P740', 'Q1435']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . ?s property:P740 resource:Q1435 }
Konzum Cedevita Pliva Ericsson Nikola Tesla
The organizations that originates at Zagreb are Konzum, Pliva and Ericsson Nikola Tesla
Konzum Pliva Ericsson Nikola Tesla
action filter_type
action find_reverse
entity Zagreb
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Zagreb']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . ?s property:location_of_formation resource:Zagreb }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q518563 Q904388 Q3056518
P159
Q13220204
USER
Which administrative country subdivisions are the head offices of Konzum, Pliva and Ericsson Nikola Tesla ?
(Q518563,P159,c(Q13220204)) (Q904388,P159,c(Q13220204)) (Q3056518,P159,c(Q13220204))
action union
action filter_type
action find
entity Q518563
relation P159
type Q13220204
action filter_type
action find
entity Q904388
relation P159
type Q13220204
action filter_type
action find
entity Q3056518
relation P159
type Q13220204
['Q518563', 'P159', {'concept': 'Q13220204'}] ['Q904388', 'P159', {'concept': 'Q13220204'}] ['Q3056518', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { { resource:Q518563 property:P159 ?f . ?f rdf:type ontology:Q13220204 } UNION { ?f rdf:type ontology:Q13220204 . resource:Q904388 property:P159 ?f } }
Konzum Pliva Ericsson Nikola Tesla
action union
action filter_type
action find
entity Konzum
relation headquarters location
type second-level administrative country subdivision
action filter_type
action find
entity Pliva
relation headquarters location
type second-level administrative country subdivision
action filter_type
action find
entity Ericsson Nikola Tesla
relation headquarters location
type second-level administrative country subdivision
['Konzum', 'headquarters location', {'concept': 'second-level administrative country subdivision'}] ['Pliva', 'headquarters location', {'concept': 'second-level administrative country subdivision'}] ['Ericsson Nikola Tesla', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { { resource:Konzum property:headquarters_location ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?f rdf:type ontology:second-level_administrative_country_subdivision . resource:Pliva property:headquarters_location ?f } }
[]
second-level administrative country subdivision
Q1435 Q1435 Q1435
SYSTEM
Zagreb
Q1435 Q1435 Q1435
(Q518563,P159,c(Q13220204)) (Q904388,P159,c(Q13220204)) (Q3056518,P159,c(Q13220204))
action union
action filter_type
action find
entity Q518563
relation P159
type Q13220204
action filter_type
action find
entity Q904388
relation P159
type Q13220204
action filter_type
action find
entity Q3056518
relation P159
type Q13220204
[ANSWER], [ANSWER] and [ANSWER] are the head offices of Konzum, Pliva and Ericsson Nikola Tesla
['Q518563', 'P159', {'concept': 'Q13220204'}] ['Q904388', 'P159', {'concept': 'Q13220204'}] ['Q3056518', 'P159', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { { resource:Q518563 property:P159 ?f . ?f rdf:type ontology:Q13220204 } UNION { ?f rdf:type ontology:Q13220204 . resource:Q904388 property:P159 ?f } }
Zagreb Zagreb Zagreb
Zagreb, Zagreb and Zagreb are the head offices of Konzum, Pliva and Ericsson Nikola Tesla
Zagreb Zagreb Zagreb
action union
action filter_type
action find
entity Konzum
relation headquarters location
type second-level administrative country subdivision
action filter_type
action find
entity Pliva
relation headquarters location
type second-level administrative country subdivision
action filter_type
action find
entity Ericsson Nikola Tesla
relation headquarters location
type second-level administrative country subdivision
['Konzum', 'headquarters location', {'concept': 'second-level administrative country subdivision'}] ['Pliva', 'headquarters location', {'concept': 'second-level administrative country subdivision'}] ['Ericsson Nikola Tesla', 'headquarters location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { { resource:Konzum property:headquarters_location ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?f rdf:type ontology:second-level_administrative_country_subdivision . resource:Pliva property:headquarters_location ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1435
P237
Q17335294
USER
What is the ensign for Zagreb ?
(Q1435,P237,c(Q17335294))
action filter_type
action find
entity Q1435
relation P237
type Q17335294
['Q1435', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q1435 property:P237 ?s . ?s rdf:type ontology:Q17335294 }
Zagreb
action filter_type
action find
entity Zagreb
relation coat of arms
type flag or coat of arms
['Zagreb', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Zagreb property:coat_of_arms ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2342440
SYSTEM
Coat of arms of Zagreb
Q2342440
(Q1435,P237,c(Q17335294))
action filter_type
action find
entity Q1435
relation P237
type Q17335294
The ensign for Zagreb is the [ANSWER]
['Q1435', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q1435 property:P237 ?s . ?s rdf:type ontology:Q17335294 }
Coat of arms of Zagreb
The ensign for Zagreb is the Coat of arms of Zagreb
Coat of arms of Zagreb
action filter_type
action find
entity Zagreb
relation coat of arms
type flag or coat of arms
['Zagreb', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Zagreb property:coat_of_arms ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]