Simple Question (Direct)
Simple Question
Q5743643
P21
Q290
USER
What is the sex of Egon Frid ?
(Q5743643,P21,c(Q290))
action filter_type
action find
entity Q5743643
relation P21
type Q290
['Q5743643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q5743643 property:P21 ?o . ?o rdf:type ontology:Q290 }
Egon Frid
action filter_type
action find
entity Egon Frid
relation gender
type sex
['Egon Frid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Egon_Frid property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5743643,P21,c(Q290))
action filter_type
action find
entity Q5743643
relation P21
type Q290
The sex of Egon Frid is the [ANSWER]
['Q5743643', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q5743643 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Egon Frid is the male
male
action filter_type
action find
entity Egon Frid
relation gender
type sex
['Egon Frid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Egon_Frid property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5743643
P39
Q12737077
USER
What was the position held by Egon Frid ?
(Q5743643,P39,c(Q12737077))
action filter_type
action find
entity Q5743643
relation P39
type Q12737077
['Q5743643', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5743643 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Egon Frid
action filter_type
action find
entity Egon Frid
relation position held
type occupation
['Egon Frid', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Egon_Frid property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q5743643,P39,c(Q12737077))
action filter_type
action find
entity Q5743643
relation P39
type Q12737077
The position held by Egon Frid was a [ANSWER]
['Q5743643', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5743643 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Member of the Riksdag
The position held by Egon Frid was a Member of the Riksdag
Member of the Riksdag
action filter_type
action find
entity Egon Frid
relation position held
type occupation
['Egon Frid', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Egon_Frid property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5743643
P937
Q56061
USER
Where did that person work ?
(Q10655178,P937,c(Q56061))
action filter_type
action find
entity Q5743643
relation P937
type Q56061
['Q10655178', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5743643 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Egon Frid
action filter_type
action find
entity Egon Frid
relation work location
type administrative territorial entity
['Member of the Riksdag', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Egon_Frid property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q10655178,P937,c(Q56061))
action filter_type
action find
entity Q5743643
relation P937
type Q56061
That person worked in [ANSWER]
['Q10655178', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5743643 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Stockholm
That person worked in Stockholm
Stockholm
action filter_type
action find
entity Egon Frid
relation work location
type administrative territorial entity
['Member of the Riksdag', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Egon_Frid property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5743643
P102
Q7210356
USER
Which party does that person belong to ?
(Q1754,P102,c(Q7210356))
action filter_type
action find
entity Q5743643
relation P102
type Q7210356
['Q1754', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q5743643 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Egon Frid
action filter_type
action find
entity Egon Frid
relation member of political party
type political organization
['Stockholm', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Egon_Frid property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q110837
SYSTEM
Left Party
Q110837
(Q1754,P102,c(Q7210356))
action filter_type
action find
entity Q5743643
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1754', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q5743643 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Left Party
That person belongs to Left Party
Left Party
action filter_type
action find
entity Egon Frid
relation member of political party
type political organization
['Stockholm', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Egon_Frid property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5743643 Q980
P937
Q56061
USER
How many administrative territories are the locations where Egon Frid or Bavaria worked ?
(Q5743643,P937,c(Q56061)) (Q980,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q5743643
relation P937
type Q56061
action filter_type
action find
entity Q980
relation P937
type Q56061
['Q5743643', 'P937', {'concept': 'Q56061'}] ['Q980', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?a property:P937 ?n . VALUES ( ?a ) { ( resource:Q5743643 ) ( resource:Q980 ) } }
Egon Frid Bavaria
action count
action union
action filter_type
action find
entity Egon Frid
relation work location
type administrative territorial entity
action filter_type
action find
entity Bavaria
relation work location
type administrative territorial entity
['Egon Frid', 'work location', {'concept': 'administrative territorial entity'}] ['Bavaria', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?a property:work_location ?n . VALUES ( ?a ) { ( resource:Egon_Frid ) ( resource:Bavaria ) } }
[]
administrative territorial entity
SYSTEM
3
Q64 Q1754 Q586
(Q5743643,P937,c(Q56061)) (Q980,P937,c(Q56061))
action count
action union
action filter_type
action find
entity Q5743643
relation P937
type Q56061
action filter_type
action find
entity Q980
relation P937
type Q56061
[ANSWER]
['Q5743643', 'P937', {'concept': 'Q56061'}] ['Q980', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?a property:P937 ?n . VALUES ( ?a ) { ( resource:Q5743643 ) ( resource:Q980 ) } }
Berlin Stockholm Bonn
3
action count
action union
action filter_type
action find
entity Egon Frid
relation work location
type administrative territorial entity
action filter_type
action find
entity Bavaria
relation work location
type administrative territorial entity
['Egon Frid', 'work location', {'concept': 'administrative territorial entity'}] ['Bavaria', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?a property:work_location ?n . VALUES ( ?a ) { ( resource:Egon_Frid ) ( resource:Bavaria ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q110837
P488
Q502895
USER
Who chaired Left Party ?
(Q110837,P488,c(Q502895))
action filter_type
action find
entity Q110837
relation P488
type Q502895
['Q110837', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q110837 property:P488 ?w . ?w rdf:type ontology:Q502895 }
Left Party
action filter_type
action find
entity Left Party
relation chairperson
type common name
['Left Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Left_Party property:chairperson ?w . ?w rdf:type ontology:common_name }
[]
common name
Q2029704
SYSTEM
Jonas Sjöstedt
Q2029704
(Q110837,P488,c(Q502895))
action filter_type
action find
entity Q110837
relation P488
type Q502895
[ANSWER] chaired Left Party
['Q110837', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q110837 property:P488 ?w . ?w rdf:type ontology:Q502895 }
Jonas Sjöstedt
Jonas Sjöstedt chaired Left Party
Jonas Sjöstedt
action filter_type
action find
entity Left Party
relation chairperson
type common name
['Left Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Left_Party property:chairperson ?w . ?w rdf:type ontology:common_name }
[]