Simple Question (Direct)
Simple Question
Q4933704
P463
Q484652
USER
Which international organization had Tina Acketoft as its member ?
(Q4933704,P463,c(Q484652))
action filter_type
action find
entity Q4933704
relation P463
type Q484652
['Q4933704', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q4933704 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Tina Acketoft
action filter_type
action find
entity Tina Acketoft
relation member of
type international organization
['Tina Acketoft', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Tina_Acketoft property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q4933704,P463,c(Q484652))
action filter_type
action find
entity Q4933704
relation P463
type Q484652
The [ANSWER] had Tina Acketoft as its member
['Q4933704', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q4933704 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe had Tina Acketoft as its member
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Tina Acketoft
relation member of
type international organization
['Tina Acketoft', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Tina_Acketoft property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4933704
P39
Q12737077
USER
What was the position for which Tina Acketoft was appointed ?
(Q4933704,P39,c(Q12737077))
action filter_type
action find
entity Q4933704
relation P39
type Q12737077
['Q4933704', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q4933704 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Tina Acketoft
action filter_type
action find
entity Tina Acketoft
relation position held
type occupation
['Tina Acketoft', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Tina_Acketoft property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q4933704,P39,c(Q12737077))
action filter_type
action find
entity Q4933704
relation P39
type Q12737077
[ANSWER]
['Q4933704', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q4933704 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Member of the Riksdag
Member of the Riksdag
Member of the Riksdag
action filter_type
action find
entity Tina Acketoft
relation position held
type occupation
['Tina Acketoft', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Tina_Acketoft property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2285514
Q12737077
USER
And how about Siiri Sisask?
(Q2285514,P39,c(Q12737077))
action filter_type
action find
entity Q2285514
relation P39
type Q12737077
['Q2285514', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2285514 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Siiri Sisask
action filter_type
action find
entity Siiri Sisask
relation position held
type occupation
['Siiri Sisask', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Siiri_Sisask property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q21100241
SYSTEM
member of the Estonian Riigikogu
Q21100241
(Q2285514,P39,c(Q12737077))
action filter_type
action find
entity Q2285514
relation P39
type Q12737077
[ANSWER]
['Q2285514', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2285514 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
member of the Estonian Riigikogu
member of the Estonian Riigikogu
action filter_type
action find
entity Siiri Sisask
relation position held
type occupation
['Siiri Sisask', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Siiri_Sisask property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2285514 Q136006
P136
Q5962346
USER
How many classification schemes do Siiri Sisask or ZDFmediathek belong to ?
(Q2285514,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q2285514
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
['Q2285514', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?t property:P136 ?j . VALUES ( ?t ) { ( resource:Q2285514 ) ( resource:Q136006 ) } }
Siiri Sisask ZDFmediathek
action count
action union
action filter_type
action find
entity Siiri Sisask
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['Siiri Sisask', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?t property:genre ?j . VALUES ( ?t ) { ( resource:Siiri_Sisask ) ( resource:ZDFmediathek ) } }
[]
classification scheme
SYSTEM
2
Q16894224 Q1407245
(Q2285514,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q2285514
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
[ANSWER]
['Q2285514', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?t property:P136 ?j . VALUES ( ?t ) { ( resource:Q2285514 ) ( resource:Q136006 ) } }
sports program television show
2
action count
action union
action filter_type
action find
entity Siiri Sisask
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['Siiri Sisask', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?t property:genre ?j . VALUES ( ?t ) { ( resource:Siiri_Sisask ) ( resource:ZDFmediathek ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2285514
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
action filter_type
action find
entity Q2285514
relation P27
type Q15617994
SELECT DISTINCT ?l WHERE { resource:Q2285514 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Siiri Sisask
action filter_type
action find
entity Siiri Sisask
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Siiri_Sisask property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191
SYSTEM
Estonia
Q191
action filter_type
action find
entity Q2285514
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
SELECT DISTINCT ?l WHERE { resource:Q2285514 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Estonia
The Estonia is that person a civilian of
Estonia
action filter_type
action find
entity Siiri Sisask
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?l WHERE { resource:Siiri_Sisask property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10655178
P106
Q502895
USER
Which person has the profession as Member of the Riksdag ?
(c(Q502895),P106,Q10655178)
action filter_type
action find_reverse
entity Q10655178
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q10655178']
SELECT DISTINCT ?t WHERE { ?t property:P106 resource:Q10655178 . ?t rdf:type ontology:Q502895 }
Member of the Riksdag
action filter_type
action find_reverse
entity Member of the Riksdag
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of the Riksdag']
SELECT DISTINCT ?t WHERE { ?t property:occupation resource:Member_of_the_Riksdag . ?t rdf:type ontology:common_name }
[]
common name
Q22340395
SYSTEM
Jonas Erici Dryander
Q22340395
(c(Q502895),P106,Q10655178)
action filter_type
action find_reverse
entity Q10655178
relation P106
type Q502895
[ANSWER] has the profession as Member of the Riksdag
[{'concept': 'Q502895'}, 'P106', 'Q10655178']
SELECT DISTINCT ?t WHERE { ?t property:P106 resource:Q10655178 . ?t rdf:type ontology:Q502895 }
Jonas Erici Dryander
Jonas Erici Dryander has the profession as Member of the Riksdag
Jonas Erici Dryander
action filter_type
action find_reverse
entity Member of the Riksdag
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Member of the Riksdag']
SELECT DISTINCT ?t WHERE { ?t property:occupation resource:Member_of_the_Riksdag . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191
P36
Q56061
USER
What is the capital of Estonia ?
(Q191,P36,c(Q56061))
action filter_type
action find
entity Q191
relation P36
type Q56061
['Q191', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q191 property:P36 ?d . ?d rdf:type ontology:Q56061 }
Estonia
action filter_type
action find
entity Estonia
relation capital
type administrative territorial entity
['Estonia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Estonia property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1770
SYSTEM
Tallinn
Q1770
(Q191,P36,c(Q56061))
action filter_type
action find
entity Q191
relation P36
type Q56061
The capital of Estonia is [ANSWER]
['Q191', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q191 property:P36 ?d . ?d rdf:type ontology:Q56061 }
Tallinn
The capital of Estonia is Tallinn
Tallinn
action filter_type
action find
entity Estonia
relation capital
type administrative territorial entity
['Estonia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Estonia property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2467674 Q191
P36
Q56061
USER
Or Secuieni?
OR((Q191,P36,c(Q56061)), (Q2467674,P36,c(Q56061)))
action filter_type
action union
action find
entity Q191
relation P36
action find
entity Q2467674
relation P36
type Q56061
{'OR': [['Q191', 'P36', {'concept': 'Q56061'}], ['Q2467674', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q191 property:P36 ?u } UNION { resource:Q2467674 property:P36 ?u } } . ?u rdf:type ontology:Q56061 }
Secuieni Estonia
action filter_type
action union
action find
entity Estonia
relation capital
action find
entity Secuieni
relation capital
type administrative territorial entity
{'OR': [['Estonia', 'capital', {'concept': 'administrative territorial entity'}], ['Secuieni', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Estonia property:capital ?u } UNION { resource:Secuieni property:capital ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1770 Q15884467
SYSTEM
Tallinn, Secuieni
Q1770 Q15884467
OR((Q191,P36,c(Q56061)), (Q2467674,P36,c(Q56061)))
action filter_type
action union
action find
entity Q191
relation P36
action find
entity Q2467674
relation P36
type Q56061
[ANSWERS]
{'OR': [['Q191', 'P36', {'concept': 'Q56061'}], ['Q2467674', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q191 property:P36 ?u } UNION { resource:Q2467674 property:P36 ?u } } . ?u rdf:type ontology:Q56061 }
Tallinn Secuieni
Tallinn Secuieni
action filter_type
action union
action find
entity Estonia
relation capital
action find
entity Secuieni
relation capital
type administrative territorial entity
{'OR': [['Estonia', 'capital', {'concept': 'administrative territorial entity'}], ['Secuieni', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Estonia property:capital ?u } UNION { resource:Secuieni property:capital ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]