Simple Question (Direct)
Simple Question
Q66369
P20
Q56061
USER
Where did the expiration of Gustav Frederik Holm occur ?
(Q66369,P20,c(Q56061))
action filter_type
action find
entity Q66369
relation P20
type Q56061
['Q66369', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q66369 property:P20 ?k }
Gustav Frederik Holm
action filter_type
action find
entity Gustav Frederik Holm
relation place of death
type administrative territorial entity
['Gustav Frederik Holm', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Gustav_Frederik_Holm property:place_of_death ?k }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
(Q66369,P20,c(Q56061))
action filter_type
action find
entity Q66369
relation P20
type Q56061
The expiration of Gustav Frederik Holm occurred in [ANSWER]
['Q66369', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q66369 property:P20 ?k }
Copenhagen
The expiration of Gustav Frederik Holm occurred in Copenhagen
Copenhagen
action filter_type
action find
entity Gustav Frederik Holm
relation place of death
type administrative territorial entity
['Gustav Frederik Holm', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Gustav_Frederik_Holm property:place_of_death ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1748
P1001
Q3320743
USER
Which title of honor has jurisdiction over that administrative territory ?
(c(Q3320743),P1001,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P1001
type Q3320743
[{'concept': 'Q3320743'}, 'P1001', 'Q1748']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3320743 . ?o property:P1001 resource:Q1748 }
Copenhagen
action filter_type
action find_reverse
entity Copenhagen
relation applies to jurisdiction
type title of honor
[{'concept': 'title of honor'}, 'applies to jurisdiction', 'Copenhagen']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title_of_honor . ?o property:applies_to_jurisdiction resource:Copenhagen }
[]
title of honor
Q25713826
SYSTEM
Lord Mayor of Copenhagen
Q25713826
(c(Q3320743),P1001,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P1001
type Q3320743
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q3320743'}, 'P1001', 'Q1748']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q3320743 . ?o property:P1001 resource:Q1748 }
Lord Mayor of Copenhagen
Lord Mayor of Copenhagen has jurisdiction over that administrative territory
Lord Mayor of Copenhagen
action filter_type
action find_reverse
entity Copenhagen
relation applies to jurisdiction
type title of honor
[{'concept': 'title of honor'}, 'applies to jurisdiction', 'Copenhagen']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title_of_honor . ?o property:applies_to_jurisdiction resource:Copenhagen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25713826
P39
Q502895
USER
Who held the position of that title of honor ?
(c(Q502895),P39,Q25713826)
action filter_type
action find_reverse
entity Q25713826
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q25713826']
SELECT DISTINCT ?a WHERE { ?a property:P39 resource:Q25713826 . ?a rdf:type ontology:Q502895 }
Lord Mayor of Copenhagen
action filter_type
action find_reverse
entity Lord Mayor of Copenhagen
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Lord Mayor of Copenhagen']
SELECT DISTINCT ?a WHERE { ?a property:position_held resource:Lord_Mayor_of_Copenhagen . ?a rdf:type ontology:common_name }
[]
common name
Q257881
SYSTEM
Ritt Bjerregaard
Q257881
(c(Q502895),P39,Q25713826)
action filter_type
action find_reverse
entity Q25713826
relation P39
type Q502895
[ANSWER] held the position of that title of honor
[{'concept': 'Q502895'}, 'P39', 'Q25713826']
SELECT DISTINCT ?a WHERE { ?a property:P39 resource:Q25713826 . ?a rdf:type ontology:Q502895 }
Ritt Bjerregaard
Ritt Bjerregaard held the position of that title of honor
Ritt Bjerregaard
action filter_type
action find_reverse
entity Lord Mayor of Copenhagen
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Lord Mayor of Copenhagen']
SELECT DISTINCT ?a WHERE { ?a property:position_held resource:Lord_Mayor_of_Copenhagen . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q257881
P6
Q3976655
USER
Which Dutch administrative territory has a government lead by that person ?
(c(Q3976655),P6,Q257881)
action filter_type
action find_reverse
entity Q257881
relation P6
type Q3976655
[{'concept': 'Q3976655'}, 'P6', 'Q257881']
SELECT DISTINCT ?k WHERE { ?k property:P6 resource:Q257881 . ?k rdf:type ontology:Q3976655 }
Ritt Bjerregaard
action filter_type
action find_reverse
entity Ritt Bjerregaard
relation head of government
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'head of government', 'Ritt Bjerregaard']
SELECT DISTINCT ?k WHERE { ?k property:head_of_government resource:Ritt_Bjerregaard . ?k rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
administrative territorial entity of Denmark
Q504125
SYSTEM
Copenhagen Municipality
Q504125
(c(Q3976655),P6,Q257881)
action filter_type
action find_reverse
entity Q257881
relation P6
type Q3976655
[ANSWER] has a government lead by that person
[{'concept': 'Q3976655'}, 'P6', 'Q257881']
SELECT DISTINCT ?k WHERE { ?k property:P6 resource:Q257881 . ?k rdf:type ontology:Q3976655 }
Copenhagen Municipality
Copenhagen Municipality has a government lead by that person
Copenhagen Municipality
action filter_type
action find_reverse
entity Ritt Bjerregaard
relation head of government
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'head of government', 'Ritt Bjerregaard']
SELECT DISTINCT ?k WHERE { ?k property:head_of_government resource:Ritt_Bjerregaard . ?k rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q504125
P47
Q3976655
USER
Which Dutch administrative territories have a shared border with that one ?
(Q504125,P47,c(Q3976655))
action filter_type
action find
entity Q504125
relation P47
type Q3976655
['Q504125', 'P47', {'concept': 'Q3976655'}]
SELECT DISTINCT ?o WHERE { resource:Q504125 property:P47 ?o . ?o rdf:type ontology:Q3976655 }
Copenhagen Municipality
action filter_type
action find
entity Copenhagen Municipality
relation shares border with
type administrative territorial entity of Denmark
['Copenhagen Municipality', 'shares border with', {'concept': 'administrative territorial entity of Denmark'}]
SELECT DISTINCT ?o WHERE { resource:Copenhagen_Municipality property:shares_border_with ?o . ?o rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
administrative territorial entity of Denmark
Q484018 Q164490 Q282496
SYSTEM
Gladsaxe Municipality, Herlev Municipality, Tårnby Municipality
Q484018 Q282496 Q164490 Q2488464 Q503097 Q500076 Q512562
(Q504125,P47,c(Q3976655))
action filter_type
action find
entity Q504125
relation P47
type Q3976655
[ANSWERS] have a shared border with that one
['Q504125', 'P47', {'concept': 'Q3976655'}]
SELECT DISTINCT ?o WHERE { resource:Q504125 property:P47 ?o . ?o rdf:type ontology:Q3976655 }
Gladsaxe Municipality Tårnby Municipality Herlev Municipality Frederiksberg Municipality Rødovre Municipality Gentofte Municipality Hvidovre Municipality
Gladsaxe Municipality, Herlev Municipality and Tårnby Municipality have a shared border with that one
Gladsaxe Municipality Herlev Municipality Tårnby Municipality
action filter_type
action find
entity Copenhagen Municipality
relation shares border with
type administrative territorial entity of Denmark
['Copenhagen Municipality', 'shares border with', {'concept': 'administrative territorial entity of Denmark'}]
SELECT DISTINCT ?o WHERE { resource:Copenhagen_Municipality property:shares_border_with ?o . ?o rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q504125 Q171314
P1376
Q56061
USER
How many administrative territories are center of administration for Copenhagen Municipality or East Macedonia and Thrace ?
(c(Q56061),P1376,Q504125) (c(Q56061),P1376,Q171314)
action count
action union
action filter_type
action find_reverse
entity Q504125
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q171314
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q504125'] [{'concept': 'Q56061'}, 'P1376', 'Q171314']
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P1376 resource:Q504125 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P1376 resource:Q171314 . ?h rdf:type ontology:Q56061 } }
Copenhagen Municipality East Macedonia and Thrace
action count
action union
action filter_type
action find_reverse
entity Copenhagen Municipality
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity East Macedonia and Thrace
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Copenhagen Municipality'] [{'concept': 'administrative territorial entity'}, 'capital of', 'East Macedonia and Thrace']
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:capital_of resource:Copenhagen_Municipality . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:capital_of resource:East_Macedonia_and_Thrace . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q1748 Q208403
(c(Q56061),P1376,Q504125) (c(Q56061),P1376,Q171314)
action count
action union
action filter_type
action find_reverse
entity Q504125
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q171314
relation P1376
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q504125'] [{'concept': 'Q56061'}, 'P1376', 'Q171314']
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P1376 resource:Q504125 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P1376 resource:Q171314 . ?h rdf:type ontology:Q56061 } }
Copenhagen Komotini
2
action count
action union
action filter_type
action find_reverse
entity Copenhagen Municipality
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity East Macedonia and Thrace
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Copenhagen Municipality'] [{'concept': 'administrative territorial entity'}, 'capital of', 'East Macedonia and Thrace']
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:capital_of resource:Copenhagen_Municipality . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:capital_of resource:East_Macedonia_and_Thrace . ?h rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1748
P609
Q83620
USER
Which thoroughfare has Copenhagen as its departure point ?
(c(Q83620),P609,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q1748']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q83620 . ?k property:P609 resource:Q1748 }
Copenhagen
action filter_type
action find_reverse
entity Copenhagen
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Copenhagen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:thoroughfare . ?k property:terminus_location resource:Copenhagen }
[]
thoroughfare
Q802556
SYSTEM
Copenhagen–Fredericia/Taulov Line
Q802556
(c(Q83620),P609,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P609
type Q83620
[ANSWER] has Copenhagen as its departure point
[{'concept': 'Q83620'}, 'P609', 'Q1748']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q83620 . ?k property:P609 resource:Q1748 }
Copenhagen–Fredericia/Taulov Line
Copenhagen–Fredericia/Taulov Line has Copenhagen as its departure point
Copenhagen–Fredericia/Taulov Line
action filter_type
action find_reverse
entity Copenhagen
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Copenhagen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:thoroughfare . ?k property:terminus_location resource:Copenhagen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q802556
P137
Q43229
USER
Who operates that thoroughfare ?
(Q802556,P137,c(Q43229))
action filter_type
action find
entity Q802556
relation P137
type Q43229
['Q802556', 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q802556 property:P137 ?s . ?s rdf:type ontology:Q43229 }
Copenhagen–Fredericia/Taulov Line
action filter_type
action find
entity Copenhagen–Fredericia/Taulov Line
relation operator
type organization
['Copenhagen–Fredericia/Taulov Line', 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:Copenhagen–Fredericia/Taulov_Line property:operator ?s . ?s rdf:type ontology:organization }
[]
organization
Q83824
SYSTEM
DSB
Q83824
(Q802556,P137,c(Q43229))
action filter_type
action find
entity Q802556
relation P137
type Q43229
[ANSWER] operates that thoroughfare
['Q802556', 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?s WHERE { resource:Q802556 property:P137 ?s . ?s rdf:type ontology:Q43229 }
DSB
DSB operates that thoroughfare
DSB
action filter_type
action find
entity Copenhagen–Fredericia/Taulov Line
relation operator
type organization
['Copenhagen–Fredericia/Taulov Line', 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?s WHERE { resource:Copenhagen–Fredericia/Taulov_Line property:operator ?s . ?s rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q83824 Q1748
P740
Q56061
USER
Did that organization orginate Copenhagen ?
(Q83824,P740,Q1748)
action is_in
entity Q1748
action find
entity Q83824
relation P740
['Q83824', 'P740', 'Q1748']
ASK WHERE { resource:Q83824 property:P740 resource:Q1748 }
DSB Copenhagen
action is_in
entity Copenhagen
action find
entity DSB
relation location of formation
['DSB', 'location of formation', 'Copenhagen']
ASK WHERE { resource:DSB property:location_of_formation resource:Copenhagen }
[]
administrative territorial entity
SYSTEM
YES
(Q83824,P740,Q1748)
action is_in
entity Q1748
action find
entity Q83824
relation P740
[ANSWER]
['Q83824', 'P740', 'Q1748']
ASK WHERE { resource:Q83824 property:P740 resource:Q1748 }
Yes
action is_in
entity Copenhagen
action find
entity DSB
relation location of formation
['DSB', 'location of formation', 'Copenhagen']
ASK WHERE { resource:DSB property:location_of_formation resource:Copenhagen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q484018 Q4987136
P190
Q486972
USER
Is Bukowski Młyn twin city of Gladsaxe Municipality ?
(Q484018,P190,Q4987136)
action is_in
entity Q4987136
action find
entity Q484018
relation P190
['Q484018', 'P190', 'Q4987136']
ASK WHERE { resource:Q484018 property:P190 resource:Q4987136 }
Gladsaxe Municipality Bukowski Młyn
action is_in
entity Bukowski Młyn
action find
entity Gladsaxe Municipality
relation sister city
['Gladsaxe Municipality', 'sister city', 'Bukowski Młyn']
ASK WHERE { resource:Gladsaxe_Municipality property:sister_city resource:Bukowski_Młyn }
[]
human settlement
SYSTEM
NO
(Q484018,P190,Q4987136)
action is_in
entity Q4987136
action find
entity Q484018
relation P190
[ANSWER]
['Q484018', 'P190', 'Q4987136']
ASK WHERE { resource:Q484018 property:P190 resource:Q4987136 }
No
action is_in
entity Bukowski Młyn
action find
entity Gladsaxe Municipality
relation sister city
['Gladsaxe Municipality', 'sister city', 'Bukowski Młyn']
ASK WHERE { resource:Gladsaxe_Municipality property:sister_city resource:Bukowski_Młyn }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q950352 Q484018
P190
Q13220204
USER
Which administrative country subdivisions are partner towns of Gladsaxe Municipality or Brtnice ?
OR((Q484018,P190,c(Q13220204)), (Q950352,P190,c(Q13220204)))
action filter_type
action union
action find
entity Q484018
relation P190
action find
entity Q950352
relation P190
type Q13220204
{'OR': [['Q484018', 'P190', {'concept': 'Q13220204'}], ['Q950352', 'P190', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q484018 property:P190 ?k } UNION { resource:Q950352 property:P190 ?k } } . ?k rdf:type ontology:Q13220204 }
Brtnice Gladsaxe Municipality
action filter_type
action union
action find
entity Gladsaxe Municipality
relation sister city
action find
entity Brtnice
relation sister city
type second-level administrative country subdivision
{'OR': [['Gladsaxe Municipality', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Brtnice', 'sister city', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Gladsaxe_Municipality property:sister_city ?k } UNION { resource:Brtnice property:sister_city ?k } } . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1663 Q69227
SYSTEM
Split, Orpund
Q1663 Q69227
OR((Q484018,P190,c(Q13220204)), (Q950352,P190,c(Q13220204)))
action filter_type
action union
action find
entity Q484018
relation P190
action find
entity Q950352
relation P190
type Q13220204
[ANSWERS] are partner towns of Gladsaxe Municipality or Brtnice
{'OR': [['Q484018', 'P190', {'concept': 'Q13220204'}], ['Q950352', 'P190', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q484018 property:P190 ?k } UNION { resource:Q950352 property:P190 ?k } } . ?k rdf:type ontology:Q13220204 }
Split Orpund
Split and Orpund are partner towns of Gladsaxe Municipality or Brtnice
Split Orpund
action filter_type
action union
action find
entity Gladsaxe Municipality
relation sister city
action find
entity Brtnice
relation sister city
type second-level administrative country subdivision
{'OR': [['Gladsaxe Municipality', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Brtnice', 'sister city', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Gladsaxe_Municipality property:sister_city ?k } UNION { resource:Brtnice property:sister_city ?k } } . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1663 Q69227
P159
Q43229
USER
Which organizations have their HQ location at those administrative country subdivisions ?
(c(Q43229),P159,Q1663) (c(Q43229),P159,Q69227)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1663'] [{'concept': 'Q43229'}, 'P159', 'Q69227']
SELECT DISTINCT ?o WHERE { ?o property:P159 ?m . ?o rdf:type ontology:Q43229 . VALUES ( ?m ) { ( resource:Q1663 ) ( resource:Q69227 ) } }
Split Orpund
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Split'] [{'concept': 'organization'}, 'headquarters location', 'Orpund']
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location ?m . ?o rdf:type ontology:organization . VALUES ( ?m ) { ( resource:Split ) ( resource:Orpund ) } }
[]
organization
Q2311854 Q3679155 Q7205180
SYSTEM
Splitska banka, fair trade, Plovput
Q7205180 Q19609400 Q2311854 Q924701 Q3679155
(c(Q43229),P159,Q1663) (c(Q43229),P159,Q69227)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[ANSWERS] have their HQ location at those administrative country subdivisions
[{'concept': 'Q43229'}, 'P159', 'Q1663'] [{'concept': 'Q43229'}, 'P159', 'Q69227']
SELECT DISTINCT ?o WHERE { ?o property:P159 ?m . ?o rdf:type ontology:Q43229 . VALUES ( ?m ) { ( resource:Q1663 ) ( resource:Q69227 ) } }
Plovput Rišpet Splitska banka Brodosplit fair trade
Splitska banka, fair trade and Plovput have their HQ location at those administrative country subdivisions
Splitska banka fair trade Plovput
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Split'] [{'concept': 'organization'}, 'headquarters location', 'Orpund']
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location ?m . ?o rdf:type ontology:organization . VALUES ( ?m ) { ( resource:Split ) ( resource:Orpund ) } }
[]