Simple Question (Direct)
Simple Question
Q6968487
P19
Q56061
USER
Which administrative territory was Natasha Petrova born in ?
(Q6968487,P19,c(Q56061))
action filter_type
action find
entity Q6968487
relation P19
type Q56061
['Q6968487', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q6968487 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Natasha Petrova
action filter_type
action find
entity Natasha Petrova
relation place of birth
type administrative territorial entity
['Natasha Petrova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Natasha_Petrova property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q237254
SYSTEM
Lom
Q237254
(Q6968487,P19,c(Q56061))
action filter_type
action find
entity Q6968487
relation P19
type Q56061
Natasha Petrova was born in [ANSWER]
['Q6968487', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q6968487 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Lom
Natasha Petrova was born in Lom
Lom
action filter_type
action find
entity Natasha Petrova
relation place of birth
type administrative territorial entity
['Natasha Petrova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Natasha_Petrova property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q237254
P1376
Q1906268
USER
Which municipality of Bulgaria has that administrative territory has its center of administration ?
(Q237254,P1376,c(Q1906268))
action filter_type
action find
entity Q237254
relation P1376
type Q1906268
['Q237254', 'P1376', {'concept': 'Q1906268'}]
SELECT DISTINCT ?l WHERE { resource:Q237254 property:P1376 ?l . ?l rdf:type ontology:Q1906268 }
Lom
action filter_type
action find
entity Lom
relation capital of
type municipality of Bulgaria
['Lom', 'capital of', {'concept': 'municipality of Bulgaria'}]
SELECT DISTINCT ?l WHERE { resource:Lom property:capital_of ?l . ?l rdf:type ontology:municipality_of_Bulgaria }
[]
municipality of Bulgaria
Q288100
SYSTEM
Lom Municipality
Q288100
(Q237254,P1376,c(Q1906268))
action filter_type
action find
entity Q237254
relation P1376
type Q1906268
The [ANSWER] has that administrative territory has its center of administration
['Q237254', 'P1376', {'concept': 'Q1906268'}]
SELECT DISTINCT ?l WHERE { resource:Q237254 property:P1376 ?l . ?l rdf:type ontology:Q1906268 }
Lom Municipality
The Lom Municipality has that administrative territory has its center of administration
Lom Municipality
action filter_type
action find
entity Lom
relation capital of
type municipality of Bulgaria
['Lom', 'capital of', {'concept': 'municipality of Bulgaria'}]
SELECT DISTINCT ?l WHERE { resource:Lom property:capital_of ?l . ?l rdf:type ontology:municipality_of_Bulgaria }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q237254
P47
Q56061
USER
Who shares the border with Lom ?
(Q237254,P47,c(Q56061))
action filter_type
action find
entity Q237254
relation P47
type Q56061
['Q237254', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q237254 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Lom
action filter_type
action find
entity Lom
relation shares border with
type administrative territorial entity
['Lom', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lom property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q178531
SYSTEM
Vidin
Q178531
(Q237254,P47,c(Q56061))
action filter_type
action find
entity Q237254
relation P47
type Q56061
[ANSWER] shares the border with Lom
['Q237254', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q237254 property:P47 ?y . ?y rdf:type ontology:Q56061 }
Vidin
Vidin shares the border with Lom
Vidin
action filter_type
action find
entity Lom
relation shares border with
type administrative territorial entity
['Lom', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Lom property:shares_border_with ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q237254
P20
Q502895
USER
Who died in Lom ?
(c(Q502895),P20,Q237254)
action filter_type
action find_reverse
entity Q237254
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q237254']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q237254 . ?v rdf:type ontology:Q502895 }
Lom
action filter_type
action find_reverse
entity Lom
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lom']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Lom . ?v rdf:type ontology:common_name }
[]
common name
Q2752242
SYSTEM
Krastjo Pischurka
Q2752242
(c(Q502895),P20,Q237254)
action filter_type
action find_reverse
entity Q237254
relation P20
type Q502895
[ANSWER] died in Lom
[{'concept': 'Q502895'}, 'P20', 'Q237254']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q237254 . ?v rdf:type ontology:Q502895 }
Krastjo Pischurka
Krastjo Pischurka died in Lom
Krastjo Pischurka
action filter_type
action find_reverse
entity Lom
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Lom']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Lom . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q237254
P17
Q15617994
USER
Which administrative territory does Lom belong to ?
(Q237254,P17,c(Q15617994))
action filter_type
action find
entity Q237254
relation P17
type Q15617994
['Q237254', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q237254 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Lom
action filter_type
action find
entity Lom
relation country
type designation for an administrative territorial entity
['Lom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lom property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
(Q237254,P17,c(Q15617994))
action filter_type
action find
entity Q237254
relation P17
type Q15617994
Lom belongs to [ANSWER]
['Q237254', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q237254 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Bulgaria
Lom belongs to Bulgaria
Bulgaria
action filter_type
action find
entity Lom
relation country
type designation for an administrative territorial entity
['Lom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lom property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219
P706
Q151885
USER
Which concept is located in that administrative territory ?
(c(Q151885),P706,Q219)
action filter_type
action find_reverse
entity Q219
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q219']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q219 . ?y rdf:type ontology:Q151885 }
Bulgaria
action filter_type
action find_reverse
entity Bulgaria
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Bulgaria']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Bulgaria . ?y rdf:type ontology:concept }
[]
concept
Q1859432
SYSTEM
Varna culture
Q1859432
(c(Q151885),P706,Q219)
action filter_type
action find_reverse
entity Q219
relation P706
type Q151885
[ANSWER] is located in that administrative territory
[{'concept': 'Q151885'}, 'P706', 'Q219']
SELECT DISTINCT ?y WHERE { ?y property:P706 resource:Q219 . ?y rdf:type ontology:Q151885 }
Varna culture
Varna culture is located in that administrative territory
Varna culture
action filter_type
action find_reverse
entity Bulgaria
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Bulgaria']
SELECT DISTINCT ?y WHERE { ?y property:located_on_terrain_feature resource:Bulgaria . ?y rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1859432
P138
Q56061
USER
Which administrative territory is the origin of that concept ?
(Q1859432,P138,c(Q56061))
action filter_type
action find
entity Q1859432
relation P138
type Q56061
['Q1859432', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1859432 property:P138 ?z . ?z rdf:type ontology:Q56061 }
Varna culture
action filter_type
action find
entity Varna culture
relation named after
type administrative territorial entity
['Varna culture', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Varna_culture property:named_after ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6506
SYSTEM
Varna
Q6506
(Q1859432,P138,c(Q56061))
action filter_type
action find
entity Q1859432
relation P138
type Q56061
[ANSWER] is the origin of that concept
['Q1859432', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1859432 property:P138 ?z . ?z rdf:type ontology:Q56061 }
Varna
Varna is the origin of that concept
Varna
action filter_type
action find
entity Varna culture
relation named after
type administrative territorial entity
['Varna culture', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Varna_culture property:named_after ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Bulgaria ?
(Q219,P1313,c(Q12737077))
action filter_type
action find
entity Q219
relation P1313
type Q12737077
['Q219', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q219 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Bulgaria
action filter_type
action find
entity Bulgaria
relation office held by head of government
type occupation
['Bulgaria', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Bulgaria property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q4404583
SYSTEM
Prime Minister of Bulgaria
Q4404583
(Q219,P1313,c(Q12737077))
action filter_type
action find
entity Q219
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Bulgaria
['Q219', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q219 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Prime Minister of Bulgaria
The Prime Minister of Bulgaria serves as the political office that is fulfilled by the head of the government of Bulgaria
Prime Minister of Bulgaria
action filter_type
action find
entity Bulgaria
relation office held by head of government
type occupation
['Bulgaria', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Bulgaria property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219
P1001
Q1292279
USER
Which political borders apply to jurisdiction over that administrative territory ?
(c(Q1292279),P1001,Q4404583)
action filter_type
action find_reverse
entity Q219
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q4404583']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1292279 . ?c property:P1001 resource:Q219 }
Bulgaria
action filter_type
action find_reverse
entity Bulgaria
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Prime Minister of Bulgaria']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_border . ?c property:applies_to_jurisdiction resource:Bulgaria }
[]
political border
Q3088856 Q3088866 Q3088873
SYSTEM
Bulgaria–Greece border, Bulgaria–Serbia border, Bulgaria–Turkey border
Q3088856 Q3088866 Q3088873 Q3088864 Q2749284
(c(Q1292279),P1001,Q4404583)
action filter_type
action find_reverse
entity Q219
relation P1001
type Q1292279
[ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q1292279'}, 'P1001', 'Q4404583']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1292279 . ?c property:P1001 resource:Q219 }
Bulgaria–Greece border Bulgaria–Serbia border Bulgaria–Turkey border Bulgaria–Macedonia border Bulgaria–Romania border
Bulgaria–Greece border, Bulgaria–Serbia border and Bulgaria–Turkey border apply to jurisdiction over that administrative territory
Bulgaria–Greece border Bulgaria–Serbia border Bulgaria–Turkey border
action filter_type
action find_reverse
entity Bulgaria
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Prime Minister of Bulgaria']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_border . ?c property:applies_to_jurisdiction resource:Bulgaria }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q151885 Q2031291 Q15416
USER
Which concepts are the genre for exactly 10 releases and television programs ?
(c(Q2031291)|c(Q15416),P136,c(Q151885))
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q151885
type Q15416
value 10
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:P136 ?b . ?b rdf:type ontology:Q151885 . ?g rdf:type ontology:Q15416 } UNION { ?b rdf:type ontology:Q151885 . ?g rdf:type ontology:Q2031291 . ?g property:P136 ?b } } GROUP BY ?b } . FILTER ( ?u = 10 ) }
action equal
action union
action find_reverse_tuple_counts
relation genre
type concept
type release
action find_reverse_tuple_counts
relation genre
type concept
type television program
value 10
[[{'concept': 'release'}, {'concept': 'television program'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:genre ?b . ?b rdf:type ontology:concept . ?g rdf:type ontology:television_program } UNION { ?b rdf:type ontology:concept . ?g rdf:type ontology:release . ?g property:genre ?b } } GROUP BY ?b } . FILTER ( ?u = 10 ) }
[]
concept release television program
Q2047814 Q877693 Q667659
SYSTEM
Palingsound, rap rock, funk metal
Q667659 Q703778 Q268253 Q2047814 Q383982 Q877693 Q542703
(c(Q2031291)|c(Q15416),P136,c(Q151885))
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q151885
type Q15416
value 10
[ANSWERS] are the genre for exactly 10 releases and television programs
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:P136 ?b . ?b rdf:type ontology:Q151885 . ?g rdf:type ontology:Q15416 } UNION { ?b rdf:type ontology:Q151885 . ?g rdf:type ontology:Q2031291 . ?g property:P136 ?b } } GROUP BY ?b } . FILTER ( ?u = 10 ) }
funk metal neo-psychedelia neo soul Palingsound psychedelic pop rap rock melodic hardcore
Palingsound, rap rock and funk metal are the genre for exactly 10 releases and television programs
Palingsound rap rock funk metal
action equal
action union
action find_reverse_tuple_counts
relation genre
type concept
type release
action find_reverse_tuple_counts
relation genre
type concept
type television program
value 10
[[{'concept': 'release'}, {'concept': 'television program'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?u ) WHERE { { ?g property:genre ?b . ?b rdf:type ontology:concept . ?g rdf:type ontology:television_program } UNION { ?b rdf:type ontology:concept . ?g rdf:type ontology:release . ?g property:genre ?b } } GROUP BY ?b } . FILTER ( ?u = 10 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q811979 Q151885
USER
How many concepts are a portion of lesser number of architectural structures than that concept ?
(c(Q151885),P361,c(Q811979))
[{'concept': 'Q151885'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q811979 }
[{'concept': 'concept'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:concept . ?y rdf:type ontology:architectural_structure }
[]
architectural structure concept
Comparative|Count over More/Less|Single entity type|Clarification
Q667659
SYSTEM
Did you mean funk metal ?
(c(Q151885),P361,c(Q811979))
[ANSWER]
[{'concept': 'Q151885'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q811979 }
Did you mean funk metal ?
funk metal
[{'concept': 'concept'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:concept . ?y rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Palingsound. Could you tell me the answer for that?
(c(Q151885),P361,c(Q811979))
Q2047814
[{'concept': 'Q151885'}, 'P361', {'concept': 'Q811979'}]
[{'concept': 'concept'}, 'part of', {'concept': 'architectural structure'}]
[]
SYSTEM
0
(c(Q151885),P361,c(Q811979))
[ANSWER]
[{'concept': 'Q151885'}, 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q811979 }
0
[{'concept': 'concept'}, 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:concept . ?y rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q1048835 Q151885
USER
Which political territories are around 1 concept located on ?
(c(Q151885),P706,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
value 1
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P706 ?w . ?e rdf:type ontology:Q151885 . ?w rdf:type ontology:Q1048835 } GROUP BY ?w } . FILTER ( ?r = 1 ) }
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:located_on_terrain_feature ?w . ?e rdf:type ontology:concept . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?w } . FILTER ( ?r = 1 ) }
[]
political territorial entity concept
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
(c(Q151885),P706,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
value 1
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P706 ?w . ?e rdf:type ontology:Q151885 . ?w rdf:type ontology:Q1048835 } GROUP BY ?w } . FILTER ( ?r = 1 ) }
Germany Denmark
Which political territories are around 1 concept located on
Germany Denmark
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
value 1
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:located_on_terrain_feature ?w . ?e rdf:type ontology:concept . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?w } . FILTER ( ?r = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35
P85
Q484692
USER
Which hymns are the anthems for that political territory ?
(Q35,P85,c(Q484692))
action filter_type
action find
entity Q35
relation P85
type Q484692
['Q35', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q35 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Denmark
action filter_type
action find
entity Denmark
relation anthem
type hymn
['Denmark', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Denmark property:anthem ?z . ?z rdf:type ontology:hymn }
[]
hymn
Clarification for simple ques.
Q183
SYSTEM
Did you mean Germany ?
Q183 Q35
(Q183,P85,c(Q484692)) (Q35,P85,c(Q484692))
[ANSWER]
['Q183', 'P85', {'concept': 'Q484692'}] ['Q35', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q35 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Germany Denmark
Did you mean Germany ?
Germany
['Germany', 'anthem', {'concept': 'hymn'}] ['Denmark', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Denmark property:anthem ?z . ?z rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
USER
No, I meant Denmark. Could you tell me the answer for that?
(Q35,P85,c(Q484692))
Q35
['Q35', 'P85', {'concept': 'Q484692'}]
['Denmark', 'anthem', {'concept': 'hymn'}]
[]
Q165747 Q908519
SYSTEM
Der er et yndigt land, Kong Christian stod ved højen mast
Q165747 Q908519
(Q35,P85,c(Q484692))
action filter_type
action find
entity Q35
relation P85
type Q484692
[ANSWERS] are the anthems for that political territory
['Q35', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q35 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Der er et yndigt land Kong Christian stod ved højen mast
Der er et yndigt land and Kong Christian stod ved højen mast are the anthems for that political territory
Der er et yndigt land Kong Christian stod ved højen mast
action filter_type
action find
entity Denmark
relation anthem
type hymn
['Denmark', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Denmark property:anthem ?z . ?z rdf:type ontology:hymn }
[]