Simple Question (Direct)
Simple Question
Q19692070
P102
Q7210356
USER
Which party is Hector Macpherson, Sr. affiliated with ?
(Q19692070,P102,c(Q7210356))
action filter_type
action find
entity Q19692070
relation P102
type Q7210356
['Q19692070', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q19692070 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Hector Macpherson, Sr.
action filter_type
action find
entity Hector Macpherson, Sr.
relation member of political party
type political organization
['Hector Macpherson, Sr.', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Hector_Macpherson,_Sr. property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q19692070,P102,c(Q7210356))
action filter_type
action find
entity Q19692070
relation P102
type Q7210356
Party [ANSWER] is Hector Macpherson, Sr. affiliated with
['Q19692070', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q19692070 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Republican Party
Party Republican Party is Hector Macpherson, Sr. affiliated with
Republican Party
action filter_type
action find
entity Hector Macpherson, Sr.
relation member of political party
type political organization
['Hector Macpherson, Sr.', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Hector_Macpherson,_Sr. property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19692070
P21
Q290
USER
What is the sex of Hector Macpherson, Sr. ?
(Q19692070,P21,c(Q290))
action filter_type
action find
entity Q19692070
relation P21
type Q290
['Q19692070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q19692070 property:P21 ?e . ?e rdf:type ontology:Q290 }
Hector Macpherson, Sr.
action filter_type
action find
entity Hector Macpherson, Sr.
relation gender
type sex
['Hector Macpherson, Sr.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Hector_Macpherson,_Sr. property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19692070,P21,c(Q290))
action filter_type
action find
entity Q19692070
relation P21
type Q290
The sex of Hector Macpherson , Sr. is the [ANSWER]
['Q19692070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q19692070 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Hector Macpherson , Sr. is the male
male
action filter_type
action find
entity Hector Macpherson, Sr.
relation gender
type sex
['Hector Macpherson, Sr.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Hector_Macpherson,_Sr. property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19692070
P40
Q502895
USER
Who is an offspring of Hector Macpherson, Sr. ?
(Q19692070,P40,c(Q502895))
action filter_type
action find
entity Q19692070
relation P40
type Q502895
['Q19692070', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q19692070 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Hector Macpherson, Sr.
action filter_type
action find
entity Hector Macpherson, Sr.
relation child
type common name
['Hector Macpherson, Sr.', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Hector_Macpherson,_Sr. property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q16083872
SYSTEM
Hector Macpherson, Jr.
Q16083872
(Q19692070,P40,c(Q502895))
action filter_type
action find
entity Q19692070
relation P40
type Q502895
An offspring of Hector Macpherson , Sr. is named [ANSWER]
['Q19692070', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q19692070 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Hector Macpherson, Jr.
An offspring of Hector Macpherson , Sr. is named Hector Macpherson, Jr.
Hector Macpherson, Jr.
action filter_type
action find
entity Hector Macpherson, Sr.
relation child
type common name
['Hector Macpherson, Sr.', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Hector_Macpherson,_Sr. property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q77335
Q502895
USER
And also tell me about Princess Regina of Saxe-Meiningen?
(Q77335,P40,c(Q502895))
action filter_type
action find
entity Q77335
relation P40
type Q502895
['Q77335', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q77335 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Princess Regina of Saxe-Meiningen
action filter_type
action find
entity Princess Regina of Saxe-Meiningen
relation child
type common name
['Princess Regina of Saxe-Meiningen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Princess_Regina_of_Saxe-Meiningen property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q78515 Q77555 Q113733
SYSTEM
Karl von Habsburg, Walburga Habsburg Douglas, Gabriela von Habsburg
Q112096 Q3434236 Q78515 Q4919368 Q113733 Q3504210 Q77555
(Q77335,P40,c(Q502895))
action filter_type
action find
entity Q77335
relation P40
type Q502895
[ANSWERS]
['Q77335', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q77335 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Georg von Habsburg Andrea von Habsburg Karl von Habsburg Monika von Habsburg Gabriela von Habsburg Michaela von Habsburg Walburga Habsburg Douglas
Karl von Habsburg Walburga Habsburg Douglas Gabriela von Habsburg
action filter_type
action find
entity Princess Regina of Saxe-Meiningen
relation child
type common name
['Princess Regina of Saxe-Meiningen', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Princess_Regina_of_Saxe-Meiningen property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q78515 Q77555 Q113733
P106
Q12737077
USER
What do Karl von Habsburg, Walburga Habsburg Douglas and Gabriela von Habsburg do for a living ?
(Q78515,P106,c(Q12737077)) (Q77555,P106,c(Q12737077)) (Q113733,P106,c(Q12737077))
action union
action filter_type
action find
entity Q78515
relation P106
type Q12737077
action filter_type
action find
entity Q77555
relation P106
type Q12737077
action filter_type
action find
entity Q113733
relation P106
type Q12737077
['Q78515', 'P106', {'concept': 'Q12737077'}] ['Q77555', 'P106', {'concept': 'Q12737077'}] ['Q113733', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { resource:Q78515 property:P106 ?r . ?r rdf:type ontology:Q12737077 } UNION { resource:Q77555 property:P106 ?r . ?r rdf:type ontology:Q12737077 } }
Karl von Habsburg Walburga Habsburg Douglas Gabriela von Habsburg
action union
action filter_type
action find
entity Karl von Habsburg
relation occupation
type occupation
action filter_type
action find
entity Walburga Habsburg Douglas
relation occupation
type occupation
action filter_type
action find
entity Gabriela von Habsburg
relation occupation
type occupation
['Karl von Habsburg', 'occupation', {'concept': 'occupation'}] ['Walburga Habsburg Douglas', 'occupation', {'concept': 'occupation'}] ['Gabriela von Habsburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { resource:Karl_von_Habsburg property:occupation ?r . ?r rdf:type ontology:occupation } UNION { resource:Walburga_Habsburg_Douglas property:occupation ?r . ?r rdf:type ontology:occupation } }
[]
occupation
Q1930187 Q1930187 Q1028181
SYSTEM
journalist for 1st, 2nd, painter for 3rd
Q1930187 Q82955 Q1930187 Q82955 Q193391 Q1028181 Q1622272 Q1281618
(Q78515,P106,c(Q12737077)) (Q77555,P106,c(Q12737077)) (Q113733,P106,c(Q12737077))
action union
action filter_type
action find
entity Q78515
relation P106
type Q12737077
action filter_type
action find
entity Q77555
relation P106
type Q12737077
action filter_type
action find
entity Q113733
relation P106
type Q12737077
[ANSWERS]
['Q78515', 'P106', {'concept': 'Q12737077'}] ['Q77555', 'P106', {'concept': 'Q12737077'}] ['Q113733', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { resource:Q78515 property:P106 ?r . ?r rdf:type ontology:Q12737077 } UNION { resource:Q77555 property:P106 ?r . ?r rdf:type ontology:Q12737077 } }
journalist politician journalist politician diplomat painter university teacher sculptor
Karl von Habsburg , Walburga Habsburg Douglas and Gabriela von Habsburg do for a living as journalist, journalist and painter
journalist journalist painter
action union
action filter_type
action find
entity Karl von Habsburg
relation occupation
type occupation
action filter_type
action find
entity Walburga Habsburg Douglas
relation occupation
type occupation
action filter_type
action find
entity Gabriela von Habsburg
relation occupation
type occupation
['Karl von Habsburg', 'occupation', {'concept': 'occupation'}] ['Walburga Habsburg Douglas', 'occupation', {'concept': 'occupation'}] ['Gabriela von Habsburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { resource:Karl_von_Habsburg property:occupation ?r . ?r rdf:type ontology:occupation } UNION { resource:Walburga_Habsburg_Douglas property:occupation ?r . ?r rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78515
P7
Q502895
USER
Which person is the brother of Karl von Habsburg ?
(Q78515,P7,c(Q502895))
action filter_type
action find
entity Q78515
relation P7
type Q502895
['Q78515', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q78515 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Karl von Habsburg
action filter_type
action find
entity Karl von Habsburg
relation brother
type common name
['Karl von Habsburg', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Karl_von_Habsburg property:brother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q112096
SYSTEM
Georg von Habsburg
Q112096
(Q78515,P7,c(Q502895))
action filter_type
action find
entity Q78515
relation P7
type Q502895
[ANSWER] is the brother of Karl von Habsburg
['Q78515', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q78515 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Georg von Habsburg
Georg von Habsburg is the brother of Karl von Habsburg
Georg von Habsburg
action filter_type
action find
entity Karl von Habsburg
relation brother
type common name
['Karl von Habsburg', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Karl_von_Habsburg property:brother ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78515
P25
Q502895
USER
Which person was the mother of Karl von Habsburg ?
(Q78515,P25,c(Q502895))
action filter_type
action find
entity Q78515
relation P25
type Q502895
['Q78515', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q78515 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Karl von Habsburg
action filter_type
action find
entity Karl von Habsburg
relation mother
type common name
['Karl von Habsburg', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Karl_von_Habsburg property:mother ?g . ?g rdf:type ontology:common_name }
[]
common name
Q77335
SYSTEM
Princess Regina of Saxe-Meiningen
Q77335
(Q78515,P25,c(Q502895))
action filter_type
action find
entity Q78515
relation P25
type Q502895
[ANSWER] was the mother of Karl von Habsburg
['Q78515', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q78515 property:P25 ?g . ?g rdf:type ontology:Q502895 }
Princess Regina of Saxe-Meiningen
Princess Regina of Saxe-Meiningen was the mother of Karl von Habsburg
Princess Regina of Saxe-Meiningen
action filter_type
action find
entity Karl von Habsburg
relation mother
type common name
['Karl von Habsburg', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Karl_von_Habsburg property:mother ?g . ?g rdf:type ontology:common_name }
[]