Simple Question (Direct)
Simple Question
Q2034047
P102
Q7278
USER
Which political party is Oskar Trinks a member of ?
(Q2034047,P102,c(Q7278))
action filter_type
action find
entity Q2034047
relation P102
type Q7278
['Q2034047', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q2034047 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Oskar Trinks
action filter_type
action find
entity Oskar Trinks
relation member of political party
type political party
['Oskar Trinks', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Oskar_Trinks property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q2034047,P102,c(Q7278))
action filter_type
action find
entity Q2034047
relation P102
type Q7278
Party [ANSWER] is Oskar Trinks a member of
['Q2034047', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q2034047 property:P102 ?f . ?f rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Oskar Trinks a member of
Social Democratic Party of Germany
action filter_type
action find
entity Oskar Trinks
relation member of political party
type political party
['Oskar Trinks', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Oskar_Trinks property:member_of_political_party ?f . ?f rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2034047
P607
Q198
USER
Which battle did that person take part in ?
(Q49768,P607,c(Q198))
action filter_type
action find
entity Q2034047
relation P607
type Q198
['Q49768', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q2034047 property:P607 ?k . ?k rdf:type ontology:Q198 }
Oskar Trinks
action filter_type
action find
entity Oskar Trinks
relation conflict
type war
['Social Democratic Party of Germany', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:Oskar_Trinks property:conflict ?k . ?k rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q49768,P607,c(Q198))
action filter_type
action find
entity Q2034047
relation P607
type Q198
That person took in part in [ANSWER]
['Q49768', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?k WHERE { resource:Q2034047 property:P607 ?k . ?k rdf:type ontology:Q198 }
World War I
That person took in part in World War I
World War I
action filter_type
action find
entity Oskar Trinks
relation conflict
type war
['Social Democratic Party of Germany', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?k WHERE { resource:Oskar_Trinks property:conflict ?k . ?k rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q542824 Q49768
P17
Q1048835
USER
Which political territories are Social Democratic Party of Germany and Halstenbek situated in ?
AND((Q49768,P17,c(Q1048835)), (Q542824,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q49768
relation P17
action find
entity Q542824
relation P17
type Q1048835
{'AND': [['Q49768', 'P17', {'concept': 'Q1048835'}], ['Q542824', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q542824 property:P17 ?e . resource:Q49768 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Halstenbek Social Democratic Party of Germany
action filter_type
action intersection
action find
entity Social Democratic Party of Germany
relation country
action find
entity Halstenbek
relation country
type political territorial entity
{'AND': [['Social Democratic Party of Germany', 'country', {'concept': 'political territorial entity'}], ['Halstenbek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Halstenbek property:country ?e . resource:Social_Democratic_Party_of_Germany property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q49768,P17,c(Q1048835)), (Q542824,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q49768
relation P17
action find
entity Q542824
relation P17
type Q1048835
Social Democratic Party of [ANSWER] and Halstenbek are situated in [ANSWER]
{'AND': [['Q49768', 'P17', {'concept': 'Q1048835'}], ['Q542824', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { resource:Q542824 property:P17 ?e . resource:Q49768 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Social Democratic Party of Germany and Halstenbek are situated in Germany
Germany
action filter_type
action intersection
action find
entity Social Democratic Party of Germany
relation country
action find
entity Halstenbek
relation country
type political territorial entity
{'AND': [['Social Democratic Party of Germany', 'country', {'concept': 'political territorial entity'}], ['Halstenbek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Halstenbek property:country ?e . resource:Social_Democratic_Party_of_Germany property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q542824
P47
Q15617994
USER
Which administrative territory shares border with that one ?
(Q183,P47,c(Q15617994))
action filter_type
action find
entity Q542824
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q542824 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Halstenbek
action filter_type
action find
entity Halstenbek
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Halstenbek property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q7074
SYSTEM
Pinneberg
Q7074
(Q183,P47,c(Q15617994))
action filter_type
action find
entity Q542824
relation P47
type Q15617994
[ANSWER] shares border with that one
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q542824 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Pinneberg
Pinneberg shares border with that one
Pinneberg
action filter_type
action find
entity Halstenbek
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Halstenbek property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13193852 Q542824
P47 P17
Q15617994
USER
Which administrative territories share border with Halstenbek or are Stubriai located in ?
OR((Q542824,P47,c(Q15617994)), (Q13193852,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q542824
relation P47
action find
entity Q13193852
relation P17
type Q15617994
{'OR': [['Q542824', 'P47', {'concept': 'Q15617994'}], ['Q13193852', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q542824 property:P47 ?t } UNION { resource:Q13193852 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Stubriai Halstenbek
action filter_type
action union
action find
entity Halstenbek
relation shares border with
action find
entity Stubriai
relation country
type designation for an administrative territorial entity
{'OR': [['Halstenbek', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Stubriai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Halstenbek property:shares_border_with ?t } UNION { resource:Stubriai property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q7074 Q37
SYSTEM
Pinneberg, Lithuania
Q7074 Q37
OR((Q542824,P47,c(Q15617994)), (Q13193852,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q542824
relation P47
action find
entity Q13193852
relation P17
type Q15617994
[ANSWERS] share border with Halstenbek or are Stubriai located in
{'OR': [['Q542824', 'P47', {'concept': 'Q15617994'}], ['Q13193852', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q542824 property:P47 ?t } UNION { resource:Q13193852 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Pinneberg Lithuania
Pinneberg and Lithuania share border with Halstenbek or are Stubriai located in
Pinneberg Lithuania
action filter_type
action union
action find
entity Halstenbek
relation shares border with
action find
entity Stubriai
relation country
type designation for an administrative territorial entity
{'OR': [['Halstenbek', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Stubriai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Halstenbek property:shares_border_with ?t } UNION { resource:Stubriai property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5106757 Q2034047
P27
Q1048835
USER
Which political territories do Oskar Trinks or Chris Haiveta belong to ?
OR((Q2034047,P27,c(Q1048835)), (Q5106757,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2034047
relation P27
action find
entity Q5106757
relation P27
type Q1048835
{'OR': [['Q2034047', 'P27', {'concept': 'Q1048835'}], ['Q5106757', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2034047 property:P27 ?j } UNION { resource:Q5106757 property:P27 ?j } } . ?j rdf:type ontology:Q1048835 }
Chris Haiveta Oskar Trinks
action filter_type
action union
action find
entity Oskar Trinks
relation country of citizenship
action find
entity Chris Haiveta
relation country of citizenship
type political territorial entity
{'OR': [['Oskar Trinks', 'country of citizenship', {'concept': 'political territorial entity'}], ['Chris Haiveta', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Oskar_Trinks property:country_of_citizenship ?j } UNION { resource:Chris_Haiveta property:country_of_citizenship ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q691
SYSTEM
Germany, Papua New Guinea
Q183 Q691
OR((Q2034047,P27,c(Q1048835)), (Q5106757,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2034047
relation P27
action find
entity Q5106757
relation P27
type Q1048835
Oskar Trinks or Chris Haiveta belong to [ANSWERS]
{'OR': [['Q2034047', 'P27', {'concept': 'Q1048835'}], ['Q5106757', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2034047 property:P27 ?j } UNION { resource:Q5106757 property:P27 ?j } } . ?j rdf:type ontology:Q1048835 }
Germany Papua New Guinea
Oskar Trinks or Chris Haiveta belong to Germany and Papua New Guinea
Germany Papua New Guinea
action filter_type
action union
action find
entity Oskar Trinks
relation country of citizenship
action find
entity Chris Haiveta
relation country of citizenship
type political territorial entity
{'OR': [['Oskar Trinks', 'country of citizenship', {'concept': 'political territorial entity'}], ['Chris Haiveta', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Oskar_Trinks property:country_of_citizenship ?j } UNION { resource:Chris_Haiveta property:country_of_citizenship ?j } } . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4453840
P530
Q1048835
USER
Are Teklianivka known to have diplomatic connections with those ones ?
(Q4453840,P530,Q183) (Q4453840,P530,Q691)
action is_in
entity prev_answer
action find
entity Q4453840
relation P530
['Q4453840', 'P530', 'Q183'] ['Q4453840', 'P530', 'Q691']
ASK WHERE { VALUES ( ?h ) { ( resource:Q183 ) ( resource:Q691 ) } . resource:Q4453840 property:P530 ?h }
Teklianivka
action is_in
entity prev_answer
action find
entity Teklianivka
relation diplomatic relation
['Teklianivka', 'diplomatic relation', 'Germany'] ['Teklianivka', 'diplomatic relation', 'Papua New Guinea']
ASK WHERE { VALUES ( ?h ) { ( resource:Germany ) ( resource:Papua_New_Guinea ) } . resource:Teklianivka property:diplomatic_relation ?h }
[]
political territorial entity
SYSTEM
NO
(Q4453840,P530,Q183) (Q4453840,P530,Q691)
action is_in
entity prev_answer
action find
entity Q4453840
relation P530
[ANSWER]
['Q4453840', 'P530', 'Q183'] ['Q4453840', 'P530', 'Q691']
ASK WHERE { VALUES ( ?h ) { ( resource:Q183 ) ( resource:Q691 ) } . resource:Q4453840 property:P530 ?h }
No
action is_in
entity prev_answer
action find
entity Teklianivka
relation diplomatic relation
['Teklianivka', 'diplomatic relation', 'Germany'] ['Teklianivka', 'diplomatic relation', 'Papua New Guinea']
ASK WHERE { VALUES ( ?h ) { ( resource:Germany ) ( resource:Papua_New_Guinea ) } . resource:Teklianivka property:diplomatic_relation ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7074 Q183
P17
Q1048835
USER
Does that administrative territory belong to Germany ?
(Q7074,P17,Q183)
action is_in
entity Q183
action find
entity Q7074
relation P17
['Q7074', 'P17', 'Q183']
ASK WHERE { resource:Q7074 property:P17 resource:Q183 }
Pinneberg Germany
action is_in
entity Germany
action find
entity Pinneberg
relation country
['Pinneberg', 'country', 'Germany']
ASK WHERE { resource:Pinneberg property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q7074,P17,Q183)
action is_in
entity Q183
action find
entity Q7074
relation P17
[ANSWER]
['Q7074', 'P17', 'Q183']
ASK WHERE { resource:Q7074 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Pinneberg
relation country
['Pinneberg', 'country', 'Germany']
ASK WHERE { resource:Pinneberg property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q1048835 Q553036 Q15617994
USER
Which administrative territories are located in max number of political territories and natural region of Germanys ?
(c(Q15617994),P706,c(Q1048835)|c(Q553036))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action find_tuple_counts
relation P706
type Q15617994
type Q553036
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?k WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q553036 ) } } GROUP BY ?k } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { { ?u property:P706 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?u property:P706 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q553036 } } GROUP BY ?u } }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?k WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:natural_region_of_Germany ) } } GROUP BY ?k } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { { ?u property:located_on_terrain_feature ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?u property:located_on_terrain_feature ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:natural_region_of_Germany } } GROUP BY ?u } }
[]
political territorial entity natural region of Germany designation for an administrative territorial entity
Q489215 Q522992 Q518171
SYSTEM
Oberhof, Braunlage, Ellhofen
Q2712111 Q489215 Q628095 Q522992 Q518171
(c(Q15617994),P706,c(Q1048835)|c(Q553036))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action find_tuple_counts
relation P706
type Q15617994
type Q553036
[ANSWERS] are located in max number of political territories and natural region of Germanys
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?k WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q553036 ) } } GROUP BY ?k } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { { ?u property:P706 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?u property:P706 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q553036 } } GROUP BY ?u } }
Zagori Oberhof Nürburg Braunlage Ellhofen
Oberhof, Braunlage and Ellhofen are located in max number of political territories and natural region of Germanys
Oberhof Braunlage Ellhofen
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?k WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:natural_region_of_Germany ) } } GROUP BY ?k } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { { ?u property:located_on_terrain_feature ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?u property:located_on_terrain_feature ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:natural_region_of_Germany } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16149573 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and are the countries of citizenship of Reeyot Alemu ?
AND((Q183,P530,c(Q15617994)), (Q16149573,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q16149573
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q16149573', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q183 property:P530 ?p . resource:Q16149573 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Reeyot Alemu Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Reeyot Alemu
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Reeyot Alemu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Germany property:diplomatic_relation ?p . resource:Reeyot_Alemu property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q115
SYSTEM
Ethiopia
Q115
AND((Q183,P530,c(Q15617994)), (Q16149573,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q16149573
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Germany and are the countries of citizenship of Reeyot Alemu
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q16149573', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { resource:Q183 property:P530 ?p . resource:Q16149573 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Ethiopia
Ethiopia have diplomatic relationships with Germany and are the countries of citizenship of Reeyot Alemu
Ethiopia
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Reeyot Alemu
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Reeyot Alemu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Germany property:diplomatic_relation ?p . resource:Reeyot_Alemu property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16149573
P793
Q151885
USER
What event is that person associated with ?
(Q115,P793,c(Q151885))
action filter_type
action find
entity Q16149573
relation P793
type Q151885
['Q115', 'P793', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q16149573 property:P793 ?r . ?r rdf:type ontology:Q151885 }
Reeyot Alemu
action filter_type
action find
entity Reeyot Alemu
relation significant event
type concept
['Ethiopia', 'significant event', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Reeyot_Alemu property:significant_event ?r . ?r rdf:type ontology:concept }
[]
concept
Q4667873
SYSTEM
prisoner of conscience
Q4667873
(Q115,P793,c(Q151885))
action filter_type
action find
entity Q16149573
relation P793
type Q151885
That person is associated with [ANSWER]
['Q115', 'P793', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q16149573 property:P793 ?r . ?r rdf:type ontology:Q151885 }
prisoner of conscience
That person is associated with prisoner of conscience
prisoner of conscience
action filter_type
action find
entity Reeyot Alemu
relation significant event
type concept
['Ethiopia', 'significant event', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Reeyot_Alemu property:significant_event ?r . ?r rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16149573
P106
Q12737077
USER
What are the professions of Reeyot Alemu ?
(Q16149573,P106,c(Q12737077))
action filter_type
action find
entity Q16149573
relation P106
type Q12737077
['Q16149573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16149573 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Reeyot Alemu
action filter_type
action find
entity Reeyot Alemu
relation occupation
type occupation
['Reeyot Alemu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Reeyot_Alemu property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q1930187 Q37226
SYSTEM
journalist, teacher
Q1930187 Q37226
(Q16149573,P106,c(Q12737077))
action filter_type
action find
entity Q16149573
relation P106
type Q12737077
The professions of Reeyot Alemu are a [ANSWERS]
['Q16149573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q16149573 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
journalist teacher
The professions of Reeyot Alemu are a journalist and teacher
journalist teacher
action filter_type
action find
entity Reeyot Alemu
relation occupation
type occupation
['Reeyot Alemu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Reeyot_Alemu property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1930187 Q37226
P425
Q9332
USER
Which behaviors have journalist and teacher as the associated field of occupation ?
(Q1930187,P425,c(Q9332)) (Q37226,P425,c(Q9332))
action union
action filter_type
action find
entity Q1930187
relation P425
type Q9332
action filter_type
action find
entity Q37226
relation P425
type Q9332
['Q1930187', 'P425', {'concept': 'Q9332'}] ['Q37226', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:Q1930187 ) ( resource:Q37226 ) } . ?h property:P425 ?m }
journalist teacher
action union
action filter_type
action find
entity journalist
relation field of this occupation
type behavior
action filter_type
action find
entity teacher
relation field of this occupation
type behavior
['journalist', 'field of this occupation', {'concept': 'behavior'}] ['teacher', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:journalist ) ( resource:teacher ) } . ?h property:field_of_this_occupation ?m }
[]
behavior
Q11030 Q8434 Q352842
SYSTEM
journalism, education, teaching
Q11030 Q8434 Q352842
(Q1930187,P425,c(Q9332)) (Q37226,P425,c(Q9332))
action union
action filter_type
action find
entity Q1930187
relation P425
type Q9332
action filter_type
action find
entity Q37226
relation P425
type Q9332
[ANSWERS] have journalist and teacher as the associated field of occupation
['Q1930187', 'P425', {'concept': 'Q9332'}] ['Q37226', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:Q1930187 ) ( resource:Q37226 ) } . ?h property:P425 ?m }
journalism education teaching
Journalism, education and teaching have journalist and teacher as the associated field of occupation
journalism education teaching
action union
action filter_type
action find
entity journalist
relation field of this occupation
type behavior
action filter_type
action find
entity teacher
relation field of this occupation
type behavior
['journalist', 'field of this occupation', {'concept': 'behavior'}] ['teacher', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?h ) { ( resource:journalist ) ( resource:teacher ) } . ?h property:field_of_this_occupation ?m }
[]