Simple Question (Direct)
Simple Question
Q5083737
P102
Q7210356
USER
Which party is Charles Wykeham Martin affiliated with ?
(Q5083737,P102,c(Q7210356))
action filter_type
action find
entity Q5083737
relation P102
type Q7210356
['Q5083737', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q5083737 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Charles Wykeham Martin
action filter_type
action find
entity Charles Wykeham Martin
relation member of political party
type political organization
['Charles Wykeham Martin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Charles_Wykeham_Martin property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q5083737,P102,c(Q7210356))
action filter_type
action find
entity Q5083737
relation P102
type Q7210356
Charles Wykeham Martin is affiliated with [ANSWER]
['Q5083737', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q5083737 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Liberal Party
Charles Wykeham Martin is affiliated with Liberal Party
Liberal Party
action filter_type
action find
entity Charles Wykeham Martin
relation member of political party
type political organization
['Charles Wykeham Martin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Charles_Wykeham_Martin property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q622441
P463
Q7210356
USER
Which organization was that one a member of ?
(Q622441,P463,c(Q7210356))
action filter_type
action find
entity Q622441
relation P463
type Q7210356
['Q622441', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q622441 property:P463 ?x . ?x rdf:type ontology:Q7210356 }
Liberal Party
action filter_type
action find
entity Liberal Party
relation member of
type political organization
['Liberal Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Liberal_Party property:member_of ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q212712
SYSTEM
Liberal International
Q212712
(Q622441,P463,c(Q7210356))
action filter_type
action find
entity Q622441
relation P463
type Q7210356
[ANSWER] was that one a member of
['Q622441', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q622441 property:P463 ?x . ?x rdf:type ontology:Q7210356 }
Liberal International
Liberal International was that one a member of
Liberal International
action filter_type
action find
entity Liberal Party
relation member of
type political organization
['Liberal Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Liberal_Party property:member_of ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3055916
Q7210356
USER
And what about Ibrahim Baylan?
(Q3055916,P463,c(Q7210356))
action filter_type
action find
entity Q3055916
relation P463
type Q7210356
['Q3055916', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q3055916 property:P463 ?u . ?u rdf:type ontology:Q7210356 }
Ibrahim Baylan
action filter_type
action find
entity Ibrahim Baylan
relation member of
type political organization
['Ibrahim Baylan', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Ibrahim_Baylan property:member_of ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q4570298
SYSTEM
Swedish Association of Christian Social Democrats
Q4570298
(Q3055916,P463,c(Q7210356))
action filter_type
action find
entity Q3055916
relation P463
type Q7210356
[ANSWER]
['Q3055916', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q3055916 property:P463 ?u . ?u rdf:type ontology:Q7210356 }
Swedish Association of Christian Social Democrats
Swedish Association of Christian Social Democrats
action filter_type
action find
entity Ibrahim Baylan
relation member of
type political organization
['Ibrahim Baylan', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Ibrahim_Baylan property:member_of ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3055916
P39
Q12737077
USER
Which occupations were a position held by that person ?
(Q4570298,P39,c(Q12737077))
action filter_type
action find
entity Q3055916
relation P39
type Q12737077
['Q4570298', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3055916 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Ibrahim Baylan
action filter_type
action find
entity Ibrahim Baylan
relation position held
type occupation
['Swedish Association of Christian Social Democrats', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ibrahim_Baylan property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q3612254 Q10655178 Q10686263
SYSTEM
Minister for Energy, Member of the Riksdag, Minister for Education and Science
Q3612254 Q10655178 Q10686263
(Q4570298,P39,c(Q12737077))
action filter_type
action find
entity Q3055916
relation P39
type Q12737077
[ANSWERS] were a position held by that person
['Q4570298', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q3055916 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Minister for Energy Member of the Riksdag Minister for Education and Science
Minister for Energy, Member of the Riksdag and Minister for Education and Science were a position held by that person
Minister for Energy Member of the Riksdag Minister for Education and Science
action filter_type
action find
entity Ibrahim Baylan
relation position held
type occupation
['Swedish Association of Christian Social Democrats', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ibrahim_Baylan property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3612254 Q10655178 Q10686263
P17
Q15617994
USER
Which administrative territories are Minister for Energy, Member of the Riksdag and Minister for Education and Science located in ?
(Q3612254,P17,c(Q15617994)) (Q10655178,P17,c(Q15617994)) (Q10686263,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3612254
relation P17
type Q15617994
action filter_type
action find
entity Q10655178
relation P17
type Q15617994
action filter_type
action find
entity Q10686263
relation P17
type Q15617994
['Q3612254', 'P17', {'concept': 'Q15617994'}] ['Q10655178', 'P17', {'concept': 'Q15617994'}] ['Q10686263', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q10655178 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { ?k rdf:type ontology:Q15617994 . resource:Q3612254 property:P17 ?k } }
Minister for Energy Member of the Riksdag Minister for Education and Science
action union
action filter_type
action find
entity Minister for Energy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Member of the Riksdag
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister for Education and Science
relation country
type designation for an administrative territorial entity
['Minister for Energy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of the Riksdag', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Education and Science', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Member_of_the_Riksdag property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minister_for_Energy property:country ?k } }
[]
designation for an administrative territorial entity
Q34 Q34 Q34
SYSTEM
Sweden
Q34 Q34 Q34
(Q3612254,P17,c(Q15617994)) (Q10655178,P17,c(Q15617994)) (Q10686263,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3612254
relation P17
type Q15617994
action filter_type
action find
entity Q10655178
relation P17
type Q15617994
action filter_type
action find
entity Q10686263
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Minister for Energy, Member of the Riksdag and Minister for Education and Science located in
['Q3612254', 'P17', {'concept': 'Q15617994'}] ['Q10655178', 'P17', {'concept': 'Q15617994'}] ['Q10686263', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q10655178 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { ?k rdf:type ontology:Q15617994 . resource:Q3612254 property:P17 ?k } }
Sweden Sweden Sweden
Sweden, Sweden and Sweden are Minister for Energy, Member of the Riksdag and Minister for Education and Science located in
Sweden Sweden Sweden
action union
action filter_type
action find
entity Minister for Energy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Member of the Riksdag
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister for Education and Science
relation country
type designation for an administrative territorial entity
['Minister for Energy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of the Riksdag', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Education and Science', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Member_of_the_Riksdag property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Minister_for_Energy property:country ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10655178
P106
Q502895
USER
Who has a job 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 ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P106 resource:Q10655178 }
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 ?b WHERE { ?b rdf:type ontology:common_name . ?b property:occupation resource:Member_of_the_Riksdag }
[]
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 a job as Member of the Riksdag
[{'concept': 'Q502895'}, 'P106', 'Q10655178']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P106 resource:Q10655178 }
Jonas Erici Dryander
Jonas Erici Dryander has a job 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 ?b WHERE { ?b rdf:type ontology:common_name . ?b property:occupation resource:Member_of_the_Riksdag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P127
Q895526
USER
Which authority organ is owned by Sweden ?
(c(Q895526),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q895526
[{'concept': 'Q895526'}, 'P127', 'Q34']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q34 . ?g rdf:type ontology:Q895526 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation owned by
type authority organ
[{'concept': 'authority organ'}, 'owned by', 'Sweden']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:Sweden . ?g rdf:type ontology:authority_organ }
[]
authority organ
Q807013
SYSTEM
Swedish National Rail Administration
Q807013
(c(Q895526),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q895526
[ANSWER] is owned by Sweden
[{'concept': 'Q895526'}, 'P127', 'Q34']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q34 . ?g rdf:type ontology:Q895526 }
Swedish National Rail Administration
Swedish National Rail Administration is owned by Sweden
Swedish National Rail Administration
action filter_type
action find_reverse
entity Sweden
relation owned by
type authority organ
[{'concept': 'authority organ'}, 'owned by', 'Sweden']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:Sweden . ?g rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q807013,P163,c(Q14660))
action filter_type
action find
entity Q34
relation P163
type Q14660
['Q807013', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q34 property:P163 ?y . ?y rdf:type ontology:Q14660 }
Sweden
action filter_type
action find
entity Sweden
relation flag
type flag
['Swedish National Rail Administration', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:Sweden property:flag ?y . ?y rdf:type ontology:flag }
[]
flag
Q81286
SYSTEM
flag of Sweden
Q81286
(Q807013,P163,c(Q14660))
action filter_type
action find
entity Q34
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q807013', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?y WHERE { resource:Q34 property:P163 ?y . ?y rdf:type ontology:Q14660 }
flag of Sweden
The flag of Sweden is associated with that administrative territory
flag of Sweden
action filter_type
action find
entity Sweden
relation flag
type flag
['Swedish National Rail Administration', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?y WHERE { resource:Sweden property:flag ?y . ?y rdf:type ontology:flag }
[]