Simple Question (Direct)
Simple Question
Q16622751
P106
Q12737077
USER
What are the professions of Prudencio Bustos Argañarás ?
(Q16622751,P106,c(Q12737077))
action filter_type
action find
entity Q16622751
relation P106
type Q12737077
['Q16622751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q16622751 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Prudencio Bustos Argañarás
action filter_type
action find
entity Prudencio Bustos Argañarás
relation occupation
type occupation
['Prudencio Bustos Argañarás', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Prudencio_Bustos_Argañarás property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q201788 Q39631 Q82955
SYSTEM
historian, physician, politician
Q201788 Q39631 Q82955 Q36180
(Q16622751,P106,c(Q12737077))
action filter_type
action find
entity Q16622751
relation P106
type Q12737077
The professions of Prudencio Bustos Argañarás are the [ANSWERS]
['Q16622751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q16622751 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
historian physician politician writer
The professions of Prudencio Bustos Argañarás are the historian, physician and politician
historian physician politician
action filter_type
action find
entity Prudencio Bustos Argañarás
relation occupation
type occupation
['Prudencio Bustos Argañarás', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Prudencio_Bustos_Argañarás property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q201788
P101
Q502895
USER
Which people work in the domain of that occupation ?
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q201788 . ?a rdf:type ontology:Q502895 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:historian . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q201788 Q39631 Q82955
(c(Q502895),P101,Q201788) (c(Q502895),P101,Q39631) (c(Q502895),P101,Q82955)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q39631'] [{'concept': 'Q502895'}, 'P101', 'Q82955']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q201788 . ?a rdf:type ontology:Q502895 }
historian physician politician
Did you mean historian ?
historian
[{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'physician'] [{'concept': 'common name'}, 'field of work', 'politician']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:historian . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P101,Q201788)
[{'concept': 'Q502895'}, 'P101', 'Q201788']
[{'concept': 'common name'}, 'field of work', 'historian']
[]
Q981839 Q60217 Q61648
SYSTEM
Frederick Copleston, Johann Gustav Droysen, Georg Gottfried Gervinus
Q14436716 Q21042244 Q60217 Q75371 Q61648 Q101339 Q15432799 Q2408608 Q981839
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[ANSWERS] work in the domain of that occupation
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q201788 . ?a rdf:type ontology:Q502895 }
Knut Mykland Vicent Baydal Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Gustav Adolf Harald Stenzel Hugo Weczerka Patrick Cabanel Frederick Copleston
Frederick Copleston, Johann Gustav Droysen and Georg Gottfried Gervinus work in the domain of that occupation
Frederick Copleston Johann Gustav Droysen Georg Gottfried Gervinus
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:historian . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q21837905
P725
Q502895 Q95074
USER
How many fictional characters had their voice dubbing done by lesser number of people than Itsuki Takeuchi ?
(c(Q95074),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21837905
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?t ) WHERE { ?e property:P725 ?q . ?e rdf:type ontology:Q95074 . ?q rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:Q21837905 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?t < ?k ) }
Itsuki Takeuchi
action count
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Itsuki Takeuchi
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?t ) WHERE { ?e property:voice_actor ?q . ?e rdf:type ontology:fictional_character . ?q rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:Itsuki_Takeuchi property:voice_actor ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?t < ?k ) }
[]
common name fictional character
SYSTEM
16
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21837905
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?t ) WHERE { ?e property:P725 ?q . ?e rdf:type ontology:Q95074 . ?q rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:Q21837905 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?t < ?k ) }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
16
action count
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Itsuki Takeuchi
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?t ) WHERE { ?e property:voice_actor ?q . ?e rdf:type ontology:fictional_character . ?q rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?k ) WHERE { resource:Itsuki_Takeuchi property:voice_actor ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?t < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16027672
P725
Q502895 Q95074
USER
And what about Dr. Stewart?
(c(Q95074),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q16027672
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?v ) WHERE { ?f property:P725 ?r . ?f rdf:type ontology:Q95074 . ?r rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q502895 . resource:Q16027672 property:P725 ?a } } . FILTER ( ?v < ?u ) }
Dr. Stewart
action count
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Dr. Stewart
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?v ) WHERE { ?f property:voice_actor ?r . ?f rdf:type ontology:fictional_character . ?r rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:common_name . resource:Dr._Stewart property:voice_actor ?a } } . FILTER ( ?v < ?u ) }
[]
common name fictional character
SYSTEM
16
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q16027672
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?v ) WHERE { ?f property:P725 ?r . ?f rdf:type ontology:Q95074 . ?r rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q502895 . resource:Q16027672 property:P725 ?a } } . FILTER ( ?v < ?u ) }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
16
action count
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Dr. Stewart
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?v ) WHERE { ?f property:voice_actor ?r . ?f rdf:type ontology:fictional_character . ?r rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:common_name . resource:Dr._Stewart property:voice_actor ?a } } . FILTER ( ?v < ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q18783400
USER
Which occupations are demonstrated in approximately 2 paintings and genres of sculpture ?
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 2
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:P180 ?w . ?b rdf:type ontology:Q3305213 . ?w rdf:type ontology:Q12737077 } UNION { ?b property:P180 ?w . ?b rdf:type ontology:Q18783400 . ?w rdf:type ontology:Q12737077 } } GROUP BY ?w } . FILTER ( ?f = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 2
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:depicts ?w . ?b rdf:type ontology:painting . ?w rdf:type ontology:occupation } UNION { ?b property:depicts ?w . ?b rdf:type ontology:genre_of_sculpture . ?w rdf:type ontology:occupation } } GROUP BY ?w } . FILTER ( ?f = 2 ) }
[]
occupation painting genre of sculpture
Q131512 Q19723482 Q12059906
SYSTEM
farmer, mandolinist, herder
Q131512 Q19723482 Q12059906 Q15296811
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 2
[ANSWERS] are demonstrated in approximately 2 paintings and genres of sculpture
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:P180 ?w . ?b rdf:type ontology:Q3305213 . ?w rdf:type ontology:Q12737077 } UNION { ?b property:P180 ?w . ?b rdf:type ontology:Q18783400 . ?w rdf:type ontology:Q12737077 } } GROUP BY ?w } . FILTER ( ?f = 2 ) }
farmer mandolinist herder draughtsperson
Farmer, mandolinist and herder are demonstrated in approximately 2 paintings and genres of sculpture
farmer mandolinist herder
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 2
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?f ) WHERE { { ?b property:depicts ?w . ?b rdf:type ontology:painting . ?w rdf:type ontology:occupation } UNION { ?b property:depicts ?w . ?b rdf:type ontology:genre_of_sculpture . ?w rdf:type ontology:occupation } } GROUP BY ?w } . FILTER ( ?f = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131512
P417
Q502895
USER
Who are the patron saints of farmer ?
(Q131512,P417,c(Q502895))
action filter_type
action find
entity Q131512
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q131512 property:P417 ?c }
farmer
action filter_type
action find
entity farmer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:farmer property:patron_saint ?c }
[]
common name
Q166876 Q44265 Q43982
SYSTEM
Isidore of Seville, Benedict of Nursia, Bartholomew the Apostle
Q119289 Q166876 Q43982 Q44265 Q151967
(Q131512,P417,c(Q502895))
action filter_type
action find
entity Q131512
relation P417
type Q502895
The patron saints of farmer are Saint [ANSWERS]
['Q131512', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q131512 property:P417 ?c }
Leonard of Port Maurice Isidore of Seville Bartholomew the Apostle Benedict of Nursia Saint Blaise
The patron saints of farmer are Saint Isidore of Seville, Benedict of Nursia and Bartholomew the Apostle
Isidore of Seville Benedict of Nursia Bartholomew the Apostle
action filter_type
action find
entity farmer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:farmer property:patron_saint ?c }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 1755 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1755
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?p = 1755 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1755
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?p = 1755 ) }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1755
[ANSWERS] can approximately 1755 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?p = 1755 ) }
bass guitar double bass trumpet cello organ drum kit
Bass guitar, double bass and trumpet can approximately 1755 people perform with
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1755
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?p = 1755 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131512
P425
Q58778
USER
Which system has farmer as the associated field of occupation ?
(Q131512,P425,c(Q58778))
action filter_type
action find
entity Q131512
relation P425
type Q58778
['Q131512', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?b WHERE { resource:Q131512 property:P425 ?b . ?b rdf:type ontology:Q58778 }
farmer
action filter_type
action find
entity farmer
relation field of this occupation
type system
['farmer', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?b WHERE { resource:farmer property:field_of_this_occupation ?b . ?b rdf:type ontology:system }
[]
system
Q11451
SYSTEM
agriculture
Q11451
(Q131512,P425,c(Q58778))
action filter_type
action find
entity Q131512
relation P425
type Q58778
Was [ANSWER] has farmer as the associated field of occupation
['Q131512', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?b WHERE { resource:Q131512 property:P425 ?b . ?b rdf:type ontology:Q58778 }
agriculture
Was agriculture has farmer as the associated field of occupation
agriculture
action filter_type
action find
entity farmer
relation field of this occupation
type system
['farmer', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?b WHERE { resource:farmer property:field_of_this_occupation ?b . ?b rdf:type ontology:system }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11451
P452
Q12737077
USER
Who belongs to the industry that system ?
(c(Q12737077),P452,Q11451)
action filter_type
action find_reverse
entity Q11451
relation P452
type Q12737077
[{'concept': 'Q12737077'}, 'P452', 'Q11451']
SELECT DISTINCT ?b WHERE { ?b property:P452 resource:Q11451 . ?b rdf:type ontology:Q12737077 }
agriculture
action filter_type
action find_reverse
entity agriculture
relation industry
type occupation
[{'concept': 'occupation'}, 'industry', 'agriculture']
SELECT DISTINCT ?b WHERE { ?b property:industry resource:agriculture . ?b rdf:type ontology:occupation }
[]
occupation
Q811636
SYSTEM
Baumwart
Q811636
(c(Q12737077),P452,Q11451)
action filter_type
action find_reverse
entity Q11451
relation P452
type Q12737077
[ANSWER] belongs to the industry that system
[{'concept': 'Q12737077'}, 'P452', 'Q11451']
SELECT DISTINCT ?b WHERE { ?b property:P452 resource:Q11451 . ?b rdf:type ontology:Q12737077 }
Baumwart
Baumwart belongs to the industry that system
Baumwart
action filter_type
action find_reverse
entity agriculture
relation industry
type occupation
[{'concept': 'occupation'}, 'industry', 'agriculture']
SELECT DISTINCT ?b WHERE { ?b property:industry resource:agriculture . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11451
P101
Q327333
USER
Which government agency has field of work as agriculture ?
(c(Q327333),P101,Q11451)
action filter_type
action find_reverse
entity Q11451
relation P101
type Q327333
[{'concept': 'Q327333'}, 'P101', 'Q11451']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q11451 . ?r rdf:type ontology:Q327333 }
agriculture
action filter_type
action find_reverse
entity agriculture
relation field of work
type government agency
[{'concept': 'government agency'}, 'field of work', 'agriculture']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:agriculture . ?r rdf:type ontology:government_agency }
[]
government agency
Q1364302
SYSTEM
ministry of agriculture
Q1364302
(c(Q327333),P101,Q11451)
action filter_type
action find_reverse
entity Q11451
relation P101
type Q327333
[ANSWER] has field of work as agriculture
[{'concept': 'Q327333'}, 'P101', 'Q11451']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q11451 . ?r rdf:type ontology:Q327333 }
ministry of agriculture
Ministry of agriculture has field of work as agriculture
ministry of agriculture
action filter_type
action find_reverse
entity agriculture
relation field of work
type government agency
[{'concept': 'government agency'}, 'field of work', 'agriculture']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:agriculture . ?r rdf:type ontology:government_agency }
[]