Simple Question (Direct)
Simple Question
Q8075123
P27
Q56061
USER
Which administrative territory is Zulfadli Zainal Abidin a civilian of ?
(Q8075123,P27,c(Q56061))
action filter_type
action find
entity Q8075123
relation P27
type Q56061
['Q8075123', 'P27', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q8075123 property:P27 ?z . ?z rdf:type ontology:Q56061 }
Zulfadli Zainal Abidin
action filter_type
action find
entity Zulfadli Zainal Abidin
relation country of citizenship
type administrative territorial entity
['Zulfadli Zainal Abidin', 'country of citizenship', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Zulfadli_Zainal_Abidin property:country_of_citizenship ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q334
SYSTEM
Singapore
Q334
(Q8075123,P27,c(Q56061))
action filter_type
action find
entity Q8075123
relation P27
type Q56061
[ANSWER] is Zulfadli Zainal Abidin a civilian of
['Q8075123', 'P27', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q8075123 property:P27 ?z . ?z rdf:type ontology:Q56061 }
Singapore
Singapore is Zulfadli Zainal Abidin a civilian of
Singapore
action filter_type
action find
entity Zulfadli Zainal Abidin
relation country of citizenship
type administrative territorial entity
['Zulfadli Zainal Abidin', 'country of citizenship', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Zulfadli_Zainal_Abidin property:country_of_citizenship ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8075123
P19
Q56061
USER
Which administrative territory was Zulfadli Zainal Abidin born in ?
(Q8075123,P19,c(Q56061))
action filter_type
action find
entity Q8075123
relation P19
type Q56061
['Q8075123', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q8075123 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Zulfadli Zainal Abidin
action filter_type
action find
entity Zulfadli Zainal Abidin
relation place of birth
type administrative territorial entity
['Zulfadli Zainal Abidin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Zulfadli_Zainal_Abidin property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q334
SYSTEM
Singapore
Q334
(Q8075123,P19,c(Q56061))
action filter_type
action find
entity Q8075123
relation P19
type Q56061
Zulfadli Zainal Abidin was born in [ANSWER]
['Q8075123', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q8075123 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Singapore
Zulfadli Zainal Abidin was born in Singapore
Singapore
action filter_type
action find
entity Zulfadli Zainal Abidin
relation place of birth
type administrative territorial entity
['Zulfadli Zainal Abidin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Zulfadli_Zainal_Abidin property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8075123
P106
Q12737077
USER
What is the job of that person ?
(Q334,P106,c(Q12737077))
action filter_type
action find
entity Q8075123
relation P106
type Q12737077
['Q334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q8075123 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Zulfadli Zainal Abidin
action filter_type
action find
entity Zulfadli Zainal Abidin
relation occupation
type occupation
['Singapore', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Zulfadli_Zainal_Abidin property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q334,P106,c(Q12737077))
action filter_type
action find
entity Q8075123
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q8075123 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Zulfadli Zainal Abidin
relation occupation
type occupation
['Singapore', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Zulfadli_Zainal_Abidin property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5180897 Q8075123
P106
Q12737077
USER
Or Craig Dickenson?
OR((Q8075123,P106,c(Q12737077)), (Q5180897,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q8075123
relation P106
action find
entity Q5180897
relation P106
type Q12737077
{'OR': [['Q8075123', 'P106', {'concept': 'Q12737077'}], ['Q5180897', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q8075123 property:P106 ?j } UNION { resource:Q5180897 property:P106 ?j } } . ?j rdf:type ontology:Q12737077 }
Craig Dickenson Zulfadli Zainal Abidin
action filter_type
action union
action find
entity Zulfadli Zainal Abidin
relation occupation
action find
entity Craig Dickenson
relation occupation
type occupation
{'OR': [['Zulfadli Zainal Abidin', 'occupation', {'concept': 'occupation'}], ['Craig Dickenson', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Zulfadli_Zainal_Abidin property:occupation ?j } UNION { resource:Craig_Dickenson property:occupation ?j } } . ?j rdf:type ontology:occupation }
[]
occupation
Q19204627 Q937857
SYSTEM
American football player, association football player
Q19204627 Q937857
OR((Q8075123,P106,c(Q12737077)), (Q5180897,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q8075123
relation P106
action find
entity Q5180897
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q8075123', 'P106', {'concept': 'Q12737077'}], ['Q5180897', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q8075123 property:P106 ?j } UNION { resource:Q5180897 property:P106 ?j } } . ?j rdf:type ontology:Q12737077 }
American football player association football player
American football player association football player
action filter_type
action union
action find
entity Zulfadli Zainal Abidin
relation occupation
action find
entity Craig Dickenson
relation occupation
type occupation
{'OR': [['Zulfadli Zainal Abidin', 'occupation', {'concept': 'occupation'}], ['Craig Dickenson', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Zulfadli_Zainal_Abidin property:occupation ?j } UNION { resource:Craig_Dickenson property:occupation ?j } } . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19204627 Q937857
P425
Q349
USER
What sports have American football player and association football player as thier associated field of occupation ?
(Q19204627,P425,c(Q349)) (Q937857,P425,c(Q349))
action union
action filter_type
action find
entity Q19204627
relation P425
type Q349
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q19204627', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { resource:Q19204627 property:P425 ?f . ?f rdf:type ontology:Q349 } UNION { resource:Q937857 property:P425 ?f . ?f rdf:type ontology:Q349 } }
American football player association football player
action union
action filter_type
action find
entity American football player
relation field of this occupation
type sport
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['American football player', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { resource:American_football_player property:field_of_this_occupation ?f . ?f rdf:type ontology:sport } UNION { resource:association_football_player property:field_of_this_occupation ?f . ?f rdf:type ontology:sport } }
[]
sport
Q41323 Q2736
SYSTEM
American football, association football
Q41323 Q2736
(Q19204627,P425,c(Q349)) (Q937857,P425,c(Q349))
action union
action filter_type
action find
entity Q19204627
relation P425
type Q349
action filter_type
action find
entity Q937857
relation P425
type Q349
Teams [ANSWERS] have American football player and association football player as thier associated field of occupation
['Q19204627', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { resource:Q19204627 property:P425 ?f . ?f rdf:type ontology:Q349 } UNION { resource:Q937857 property:P425 ?f . ?f rdf:type ontology:Q349 } }
American football association football
Teams American football and association football have American football player and association football player as thier associated field of occupation
American football association football
action union
action filter_type
action find
entity American football player
relation field of this occupation
type sport
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['American football player', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { resource:American_football_player property:field_of_this_occupation ?f . ?f rdf:type ontology:sport } UNION { resource:association_football_player property:field_of_this_occupation ?f . ?f rdf:type ontology:sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334
P190
Q56061
USER
Which administrative territory is partner town of Singapore ?
(Q334,P190,c(Q56061))
action filter_type
action find
entity Q334
relation P190
type Q56061
['Q334', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q334 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Singapore
action filter_type
action find
entity Singapore
relation sister city
type administrative territorial entity
['Singapore', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Singapore property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18808
SYSTEM
Pyongyang
Q18808
(Q334,P190,c(Q56061))
action filter_type
action find
entity Q334
relation P190
type Q56061
[ANSWER] is partner town of Singapore
['Q334', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q334 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Pyongyang
Pyongyang is partner town of Singapore
Pyongyang
action filter_type
action find
entity Singapore
relation sister city
type administrative territorial entity
['Singapore', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Singapore property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18808
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q18808)
action filter_type
action find_reverse
entity Q18808
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q18808']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q18808 . ?u rdf:type ontology:Q502895 }
Pyongyang
action filter_type
action find_reverse
entity Pyongyang
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Pyongyang']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Pyongyang . ?u rdf:type ontology:common_name }
[]
common name
Q10665 Q356335 Q496004
SYSTEM
Kim Jong-il, Choi Hong-hi, Jang Sung-taek
Q334297 Q335164 Q463949 Q6184620 Q7705126 Q301761 Q10665 Q851624 Q494597 Q356335 Q493995 Q196064 Q488304 Q496004 Q379667 Q6489872 Q492895 Q4991868 Q4188503 Q516158 Q1704684 Q490822 Q705608 Q482818 Q494061
(c(Q502895),P20,Q18808)
action filter_type
action find_reverse
entity Q18808
relation P20
type Q502895
[ANSWERS] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q18808']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q18808 . ?u rdf:type ontology:Q502895 }
Pak Hon-yong Hong Song-nam Kim Jong-suk Jerry Wayne Parrish Terry Waters Alexei Ivanovich Hegay Kim Jong-il Kim Yong-sun Pak Song-chol Choi Hong-hi Choe Deok-sin O Chin-u Cho Man-sik Jang Sung-taek Choi Yong-kun Larry Allen Abshier Nam Il Kim Kuk-tae Bonifatius Sauer Jo Myong-rok Josef Grahamer Ho Dam Kang Sok-ju Ri Jong-ok Paek Nam-sun
Kim Jong-il, Choi Hong-hi and Jang Sung-taek expired at that administrative territory
Kim Jong-il Choi Hong-hi Jang Sung-taek
action filter_type
action find_reverse
entity Pyongyang
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Pyongyang']
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:Pyongyang . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q10433308 Q8075123
P641
Q349
USER
Which sports were Zulfadli Zainal Abidin and Marcelo Gonçalves Vieira a part of ?
AND((Q8075123,P641,c(Q349)), (Q10433308,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q8075123
relation P641
action find
entity Q10433308
relation P641
type Q349
{'AND': [['Q8075123', 'P641', {'concept': 'Q349'}], ['Q10433308', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?w WHERE { resource:Q8075123 property:P641 ?w . resource:Q10433308 property:P641 ?w . ?w rdf:type ontology:Q349 }
Marcelo Gonçalves Vieira Zulfadli Zainal Abidin
action filter_type
action intersection
action find
entity Zulfadli Zainal Abidin
relation sport
action find
entity Marcelo Gonçalves Vieira
relation sport
type sport
{'AND': [['Zulfadli Zainal Abidin', 'sport', {'concept': 'sport'}], ['Marcelo Gonçalves Vieira', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?w WHERE { resource:Zulfadli_Zainal_Abidin property:sport ?w . resource:Marcelo_Gonçalves_Vieira property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q8075123,P641,c(Q349)), (Q10433308,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q8075123
relation P641
action find
entity Q10433308
relation P641
type Q349
The [ANSWER] was Zulfadli Zainal Abidin and Marcelo Gonçalves Vieira a part of
{'AND': [['Q8075123', 'P641', {'concept': 'Q349'}], ['Q10433308', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?w WHERE { resource:Q8075123 property:P641 ?w . resource:Q10433308 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
The association football was Zulfadli Zainal Abidin and Marcelo Gonçalves Vieira a part of
association football
action filter_type
action intersection
action find
entity Zulfadli Zainal Abidin
relation sport
action find
entity Marcelo Gonçalves Vieira
relation sport
type sport
{'AND': [['Zulfadli Zainal Abidin', 'sport', {'concept': 'sport'}], ['Marcelo Gonçalves Vieira', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?w WHERE { resource:Zulfadli_Zainal_Abidin property:sport ?w . resource:Marcelo_Gonçalves_Vieira property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10433308
P21
Q290
USER
Which sex does Marcelo Gonçalves Vieira have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q10433308
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q10433308 property:P21 ?b . ?b rdf:type ontology:Q290 }
Marcelo Gonçalves Vieira
action filter_type
action find
entity Marcelo Gonçalves Vieira
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Marcelo_Gonçalves_Vieira property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q10433308
relation P21
type Q290
Marcelo Gonçalves Vieira has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q10433308 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Marcelo Gonçalves Vieira has a male
male
action filter_type
action find
entity Marcelo Gonçalves Vieira
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Marcelo_Gonçalves_Vieira property:gender ?b . ?b rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q15709879 Q340169
USER
Which occupations are expressed in atleast 2 artwork series or medias ?
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?k WHERE { { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q15709879 } UNION { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?k } . FILTER ( ?v >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?k WHERE { { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:artwork_series } UNION { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?k } . FILTER ( ?v >= 2 ) }
[]
occupation artwork series media
Q4991371 Q838811 Q639669
SYSTEM
soldier, peasant, musician
Q4991371 Q20489032 Q838811 Q639669
(c(Q15709879)|c(Q340169),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWERS] are expressed in atleast 2 artwork series or medias
[[{'concept': 'Q15709879'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?k WHERE { { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q15709879 } UNION { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?k } . FILTER ( ?v >= 2 ) }
soldier salt pan worker peasant musician
Soldier, peasant and musician are expressed in atleast 2 artwork series or medias
soldier peasant musician
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'artwork series'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?k WHERE { { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:artwork_series } UNION { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?k } . FILTER ( ?v >= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q838811
P921
Q8171
USER
Which word has that occupation as its principal topic ?
(c(Q8171),P921,Q838811)
action filter_type
action find_reverse
entity Q838811
relation P921
type Q8171
[{'concept': 'Q8171'}, 'P921', 'Q838811']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8171 . ?m property:P921 resource:Q838811 }
peasant
action filter_type
action find_reverse
entity peasant
relation main subject
type word
[{'concept': 'word'}, 'main subject', 'peasant']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:word . ?m property:main_subject resource:peasant }
[]
word
Clarification for simple ques.
Q4991371
SYSTEM
Did you mean soldier ?
Q4991371 Q838811 Q639669
(c(Q8171),P921,Q4991371) (c(Q8171),P921,Q838811) (c(Q8171),P921,Q639669)
[ANSWER]
[{'concept': 'Q8171'}, 'P921', 'Q4991371'] [{'concept': 'Q8171'}, 'P921', 'Q838811'] [{'concept': 'Q8171'}, 'P921', 'Q639669']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8171 . ?m property:P921 resource:Q838811 }
soldier peasant musician
Did you mean soldier ?
soldier
[{'concept': 'word'}, 'main subject', 'soldier'] [{'concept': 'word'}, 'main subject', 'peasant'] [{'concept': 'word'}, 'main subject', 'musician']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:word . ?m property:main_subject resource:peasant }
[]
Simple Question (Coreferenced)
USER
No, I meant peasant. Could you tell me the answer for that?
(c(Q8171),P921,Q838811)
Q838811
[{'concept': 'Q8171'}, 'P921', 'Q838811']
[{'concept': 'word'}, 'main subject', 'peasant']
[]
Q3392571
SYSTEM
Plouc
Q3392571
(c(Q8171),P921,Q838811)
action filter_type
action find_reverse
entity Q838811
relation P921
type Q8171
[ANSWER] has that occupation as its principal topic
[{'concept': 'Q8171'}, 'P921', 'Q838811']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q8171 . ?m property:P921 resource:Q838811 }
Plouc
Plouc has that occupation as its principal topic
Plouc
action filter_type
action find_reverse
entity peasant
relation main subject
type word
[{'concept': 'word'}, 'main subject', 'peasant']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:word . ?m property:main_subject resource:peasant }
[]