Simple Question (Direct)
Simple Question
Q166808
P22
Q502895
USER
Which person was the father of Corfitz Ulfeldt ?
(Q166808,P22,c(Q502895))
action filter_type
action find
entity Q166808
relation P22
type Q502895
['Q166808', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q166808 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Corfitz Ulfeldt
action filter_type
action find
entity Corfitz Ulfeldt
relation father
type common name
['Corfitz Ulfeldt', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Corfitz_Ulfeldt property:father ?h . ?h rdf:type ontology:common_name }
[]
common name
Q6119383
SYSTEM
Jacob Ulfeldt
Q6119383
(Q166808,P22,c(Q502895))
action filter_type
action find
entity Q166808
relation P22
type Q502895
[ANSWER] was the father of Corfitz Ulfeldt
['Q166808', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q166808 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Jacob Ulfeldt
Jacob Ulfeldt was the father of Corfitz Ulfeldt
Jacob Ulfeldt
action filter_type
action find
entity Corfitz Ulfeldt
relation father
type common name
['Corfitz Ulfeldt', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Corfitz_Ulfeldt property:father ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6119383
P21
Q290
USER
Which sex does that person have ?
(Q6119383,P21,c(Q290))
action filter_type
action find
entity Q6119383
relation P21
type Q290
['Q6119383', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q6119383 property:P21 ?a . ?a rdf:type ontology:Q290 }
Jacob Ulfeldt
action filter_type
action find
entity Jacob Ulfeldt
relation gender
type sex
['Jacob Ulfeldt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Jacob_Ulfeldt property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6119383,P21,c(Q290))
action filter_type
action find
entity Q6119383
relation P21
type Q290
That person has a [ANSWER]
['Q6119383', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q6119383 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jacob Ulfeldt
relation gender
type sex
['Jacob Ulfeldt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Jacob_Ulfeldt property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1752162
Q290
USER
And what about Stephan Wassilko von Serecki?
(Q1752162,P21,c(Q290))
action filter_type
action find
entity Q1752162
relation P21
type Q290
['Q1752162', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1752162 property:P21 ?m . ?m rdf:type ontology:Q290 }
Stephan Wassilko von Serecki
action filter_type
action find
entity Stephan Wassilko von Serecki
relation gender
type sex
['Stephan Wassilko von Serecki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Stephan_Wassilko_von_Serecki property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1752162,P21,c(Q290))
action filter_type
action find
entity Q1752162
relation P21
type Q290
[ANSWER]
['Q1752162', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1752162 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Stephan Wassilko von Serecki
relation gender
type sex
['Stephan Wassilko von Serecki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Stephan_Wassilko_von_Serecki property:gender ?m . ?m rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q18668455
P21
Q502895
USER
Does Craig Czury have the gender as that sex ?
(Q18668455,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18668455
relation P21
['Q18668455', 'P21', 'Q6581097']
ASK WHERE { resource:Q18668455 property:P21 resource:Q6581097 }
male Craig Czury
action is_in
entity male
action find
entity Craig Czury
relation gender
['Craig Czury', 'gender', 'male']
ASK WHERE { resource:Craig_Czury property:gender resource:male }
[]
common name
SYSTEM
YES
(Q18668455,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18668455
relation P21
[ANSWER]
['Q18668455', 'P21', 'Q6581097']
ASK WHERE { resource:Q18668455 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Craig Czury
relation gender
['Craig Czury', 'gender', 'male']
ASK WHERE { resource:Craig_Czury property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18758223 Q6119383
P27
Q1048835
USER
Which political territories are Jacob Ulfeldt or Romaric Rogombé a civilian of ?
OR((Q6119383,P27,c(Q1048835)), (Q18758223,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q6119383
relation P27
action find
entity Q18758223
relation P27
type Q1048835
{'OR': [['Q6119383', 'P27', {'concept': 'Q1048835'}], ['Q18758223', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6119383 property:P27 ?y } UNION { resource:Q18758223 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
Romaric Rogombé Jacob Ulfeldt
action filter_type
action union
action find
entity Jacob Ulfeldt
relation country of citizenship
action find
entity Romaric Rogombé
relation country of citizenship
type political territorial entity
{'OR': [['Jacob Ulfeldt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Romaric Rogombé', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Jacob_Ulfeldt property:country_of_citizenship ?y } UNION { resource:Romaric_Rogombé property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1000 Q35
SYSTEM
Gabon, Denmark
Q1000 Q35
OR((Q6119383,P27,c(Q1048835)), (Q18758223,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q6119383
relation P27
action find
entity Q18758223
relation P27
type Q1048835
[ANSWERS] are Jacob Ulfeldt or Romaric Rogombé a civilian of
{'OR': [['Q6119383', 'P27', {'concept': 'Q1048835'}], ['Q18758223', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q6119383 property:P27 ?y } UNION { resource:Q18758223 property:P27 ?y } } . ?y rdf:type ontology:Q1048835 }
Gabon Denmark
Gabon and Denmark are Jacob Ulfeldt or Romaric Rogombé a civilian of
Gabon Denmark
action filter_type
action union
action find
entity Jacob Ulfeldt
relation country of citizenship
action find
entity Romaric Rogombé
relation country of citizenship
type political territorial entity
{'OR': [['Jacob Ulfeldt', 'country of citizenship', {'concept': 'political territorial entity'}], ['Romaric Rogombé', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Jacob_Ulfeldt property:country_of_citizenship ?y } UNION { resource:Romaric_Rogombé property:country_of_citizenship ?y } } . ?y rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1000
P35
Q502895
USER
Who are the heads of state of that political territory ?
(Q1000,P35,c(Q502895))
action filter_type
action find
entity Q1000
relation P35
type Q502895
['Q1000', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1000 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Gabon
action filter_type
action find
entity Gabon
relation head of state
type common name
['Gabon', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Gabon property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1000
SYSTEM
Did you mean Gabon ?
Q1000 Q35
(Q1000,P35,c(Q502895)) (Q35,P35,c(Q502895))
[ANSWER]
['Q1000', 'P35', {'concept': 'Q502895'}] ['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1000 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Gabon Denmark
Did you mean Gabon ?
Gabon
['Gabon', 'head of state', {'concept': 'common name'}] ['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Gabon property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1000,P35,c(Q502895))
['Q1000', 'P35', {'concept': 'Q502895'}]
['Gabon', 'head of state', {'concept': 'common name'}]
[]
Q299629 Q57521 Q172083
SYSTEM
Léon M'ba, Ali Bongo Ondimba, Omar Bongo
Q299629 Q57521 Q270645 Q172083
(Q1000,P35,c(Q502895))
action filter_type
action find
entity Q1000
relation P35
type Q502895
The heads of state of that political territory are [ANSWERS]
['Q1000', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q1000 property:P35 ?z . ?z rdf:type ontology:Q502895 }
Léon M'ba Ali Bongo Ondimba Rose Francine Rogombé Omar Bongo
The heads of state of that political territory are Léon M'ba, Ali Bongo Ondimba and Omar Bongo
Léon M'ba Ali Bongo Ondimba Omar Bongo
action filter_type
action find
entity Gabon
relation head of state
type common name
['Gabon', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Gabon property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1000
P35
Q1048835
USER
Are those people the head of state of Gabon ?
(Q1000,P35,Q299629) (Q1000,P35,Q57521) (Q1000,P35,Q172083)
action is_in
entity prev_answer
action find
entity Q1000
relation P35
['Q1000', 'P35', 'Q299629'] ['Q1000', 'P35', 'Q57521'] ['Q1000', 'P35', 'Q172083']
ASK WHERE { resource:Q1000 property:P35 ?b . VALUES ( ?b ) { ( resource:Q299629 ) ( resource:Q57521 ) ( resource:Q270645 ) } }
Gabon
action is_in
entity prev_answer
action find
entity Gabon
relation head of state
['Gabon', 'head of state', "Léon M'ba"] ['Gabon', 'head of state', 'Ali Bongo Ondimba'] ['Gabon', 'head of state', 'Omar Bongo']
ASK WHERE { resource:Gabon property:head_of_state ?b . VALUES ( ?b ) { ( resource:Léon_M'ba ) ( resource:Ali_Bongo_Ondimba ) ( resource:Rose_Francine_Rogombé ) } }
[]
political territorial entity
SYSTEM
YES
(Q1000,P35,Q299629) (Q1000,P35,Q57521) (Q1000,P35,Q172083)
action is_in
entity prev_answer
action find
entity Q1000
relation P35
[ANSWER]
['Q1000', 'P35', 'Q299629'] ['Q1000', 'P35', 'Q57521'] ['Q1000', 'P35', 'Q172083']
ASK WHERE { resource:Q1000 property:P35 ?b . VALUES ( ?b ) { ( resource:Q299629 ) ( resource:Q57521 ) ( resource:Q270645 ) } }
Yes
action is_in
entity prev_answer
action find
entity Gabon
relation head of state
['Gabon', 'head of state', "Léon M'ba"] ['Gabon', 'head of state', 'Ali Bongo Ondimba'] ['Gabon', 'head of state', 'Omar Bongo']
ASK WHERE { resource:Gabon property:head_of_state ?b . VALUES ( ?b ) { ( resource:Léon_M'ba ) ( resource:Ali_Bongo_Ondimba ) ( resource:Rose_Francine_Rogombé ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q490054
P1303
Q34379 Q502895
USER
How many musical instruments can around the same number of people perform with as Ondioline ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q490054 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } . FILTER ( ?d = ?j ) }
Ondioline
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Ondioline property:instrument ?p . ?p rdf:type ontology:musical_instrument } } . FILTER ( ?d = ?j ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q490054
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q490054 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } . FILTER ( ?d = ?j ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Ondioline
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?d ) WHERE { ?k property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Ondioline property:instrument ?p . ?p rdf:type ontology:musical_instrument } } . FILTER ( ?d = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q80284
P1303
Q34379 Q502895
USER
And how about viola?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q80284
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q80284 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P1303 ?d . ?j rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } }
viola
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:viola property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:instrument ?d . ?j rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q80284
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q80284 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P1303 ?d . ?j rdf:type ontology:Q502895 . ?d rdf:type ontology:Q34379 } GROUP BY ?d } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:viola property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:instrument ?d . ?j rdf:type ontology:common_name . ?d rdf:type ontology:musical_instrument } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P1313
Q12737077
USER
What is the occupation held by Denmark ?
(Q35,P1313,c(Q12737077))
action filter_type
action find
entity Q35
relation P1313
type Q12737077
['Q35', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q35 property:P1313 ?j }
Denmark
action filter_type
action find
entity Denmark
relation office held by head of government
type occupation
['Denmark', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Denmark property:office_held_by_head_of_government ?j }
[]
occupation
Q795477
SYSTEM
Prime Minister of Denmark
Q795477
(Q35,P1313,c(Q12737077))
action filter_type
action find
entity Q35
relation P1313
type Q12737077
The occupation held by Denmark is the [ANSWER]
['Q35', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q12737077 . resource:Q35 property:P1313 ?j }
Prime Minister of Denmark
The occupation held by Denmark is the Prime Minister of Denmark
Prime Minister of Denmark
action filter_type
action find
entity Denmark
relation office held by head of government
type occupation
['Denmark', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:occupation . resource:Denmark property:office_held_by_head_of_government ?j }
[]