Simple Question (Direct)
Simple Question
Q15996195
P102
Q7210356
USER
Which party does Herbert Willison belong to ?
(Q15996195,P102,c(Q7210356))
action filter_type
action find
entity Q15996195
relation P102
type Q7210356
['Q15996195', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q15996195 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Herbert Willison
action filter_type
action find
entity Herbert Willison
relation member of political party
type political organization
['Herbert Willison', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Herbert_Willison property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q15996195,P102,c(Q7210356))
action filter_type
action find
entity Q15996195
relation P102
type Q7210356
Herbert Willison belongs to [ANSWER]
['Q15996195', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q15996195 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Liberal Party
Herbert Willison belongs to Liberal Party
Liberal Party
action filter_type
action find
entity Herbert Willison
relation member of political party
type political organization
['Herbert Willison', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Herbert_Willison property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15996195
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q622441,P1412,c(Q34770))
action filter_type
action find
entity Q15996195
relation P1412
type Q34770
['Q622441', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q15996195 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Herbert Willison
action filter_type
action find
entity Herbert Willison
relation languages spoken, written or signed
type language
['Liberal Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Herbert_Willison property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q622441,P1412,c(Q34770))
action filter_type
action find
entity Q15996195
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q622441', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q15996195 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
English is that person capable of writing
English
action filter_type
action find
entity Herbert Willison
relation languages spoken, written or signed
type language
['Liberal Party', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Herbert_Willison property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q622441
P1142
Q1047113
USER
Which special fields are the political ideologies of Liberal Party ?
(Q622441,P1142,c(Q1047113))
action filter_type
action find
entity Q622441
relation P1142
type Q1047113
['Q622441', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1047113 . resource:Q622441 property:P1142 ?z }
Liberal Party
action filter_type
action find
entity Liberal Party
relation political ideology
type special field
['Liberal Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:special_field . resource:Liberal_Party property:political_ideology ?z }
[]
special field
Q6216 Q794394
SYSTEM
liberalism, classical liberalism
Q6216 Q794394
(Q622441,P1142,c(Q1047113))
action filter_type
action find
entity Q622441
relation P1142
type Q1047113
[ANSWERS] are the political ideologies of Liberal Party
['Q622441', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1047113 . resource:Q622441 property:P1142 ?z }
liberalism classical liberalism
Liberalism and classical liberalism are the political ideologies of Liberal Party
liberalism classical liberalism
action filter_type
action find
entity Liberal Party
relation political ideology
type special field
['Liberal Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:special_field . resource:Liberal_Party property:political_ideology ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18761823
Q1047113
USER
And how about The Greens?
(Q18761823,P1142,c(Q1047113))
action filter_type
action find
entity Q18761823
relation P1142
type Q1047113
['Q18761823', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?s WHERE { resource:Q18761823 property:P1142 ?s . ?s rdf:type ontology:Q1047113 }
The Greens
action filter_type
action find
entity The Greens
relation political ideology
type special field
['The Greens', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?s WHERE { resource:The_Greens property:political_ideology ?s . ?s rdf:type ontology:special_field }
[]
special field
Q1661415
SYSTEM
green politics
Q1661415
(Q18761823,P1142,c(Q1047113))
action filter_type
action find
entity Q18761823
relation P1142
type Q1047113
[ANSWER]
['Q18761823', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?s WHERE { resource:Q18761823 property:P1142 ?s . ?s rdf:type ontology:Q1047113 }
green politics
green politics
action filter_type
action find
entity The Greens
relation political ideology
type special field
['The Greens', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?s WHERE { resource:The_Greens property:political_ideology ?s . ?s rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1661415 Q3327440
P1142
Q7278
USER
Does Galician Left have the ideology as that special field ?
(Q3327440,P1142,Q1661415)
action is_in
entity Q3327440
action find
entity Q1661415
relation P1142
['Q3327440', 'P1142', 'Q1661415']
ASK WHERE { resource:Q1661415 property:P1142 resource:Q3327440 }
green politics Galician Left
action is_in
entity Galician Left
action find
entity green politics
relation political ideology
['Galician Left', 'political ideology', 'green politics']
ASK WHERE { resource:green_politics property:political_ideology resource:Galician_Left }
[]
political party
SYSTEM
NO
(Q3327440,P1142,Q1661415)
action is_in
entity Q3327440
action find
entity Q1661415
relation P1142
[ANSWER]
['Q3327440', 'P1142', 'Q1661415']
ASK WHERE { resource:Q1661415 property:P1142 resource:Q3327440 }
No
action is_in
entity Galician Left
action find
entity green politics
relation political ideology
['Galician Left', 'political ideology', 'green politics']
ASK WHERE { resource:green_politics property:political_ideology resource:Galician_Left }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15996195 Q145 Q647350
P27
Q15617994
USER
Is Herbert Willison a citizen of United Kingdom and Bergen ?
(Q15996195,P27,Q145) (Q15996195,P27,Q647350)
action is_in
entity Q15996195
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q647350
relation P27
['Q15996195', 'P27', 'Q145'] ['Q15996195', 'P27', 'Q647350']
ASK WHERE { resource:Q15996195 property:P27 resource:Q145 . resource:Q15996195 property:P27 resource:Q647350 }
Herbert Willison United Kingdom Bergen
action is_in
entity Herbert Willison
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Bergen
relation country of citizenship
['Herbert Willison', 'country of citizenship', 'United Kingdom'] ['Herbert Willison', 'country of citizenship', 'Bergen']
ASK WHERE { resource:Herbert_Willison property:country_of_citizenship resource:United_Kingdom . resource:Herbert_Willison property:country_of_citizenship resource:Bergen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q15996195,P27,Q145) (Q15996195,P27,Q647350)
action is_in
entity Q15996195
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q647350
relation P27
[ANSWER]
['Q15996195', 'P27', 'Q145'] ['Q15996195', 'P27', 'Q647350']
ASK WHERE { resource:Q15996195 property:P27 resource:Q145 . resource:Q15996195 property:P27 resource:Q647350 }
YES and NO respectively
action is_in
entity Herbert Willison
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Bergen
relation country of citizenship
['Herbert Willison', 'country of citizenship', 'United Kingdom'] ['Herbert Willison', 'country of citizenship', 'Bergen']
ASK WHERE { resource:Herbert_Willison property:country_of_citizenship resource:United_Kingdom . resource:Herbert_Willison property:country_of_citizenship resource:Bergen }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18785967 Q15996195
P27
Q15617994
USER
Which administrative territories are Herbert Willison or Csaba Pingiczer an inhabitant of ?
OR((Q15996195,P27,c(Q15617994)), (Q18785967,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15996195
relation P27
action find
entity Q18785967
relation P27
type Q15617994
{'OR': [['Q15996195', 'P27', {'concept': 'Q15617994'}], ['Q18785967', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15996195 property:P27 ?v } UNION { resource:Q18785967 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Csaba Pingiczer Herbert Willison
action filter_type
action union
action find
entity Herbert Willison
relation country of citizenship
action find
entity Csaba Pingiczer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Herbert Willison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Csaba Pingiczer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Herbert_Willison property:country_of_citizenship ?v } UNION { resource:Csaba_Pingiczer property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q145
SYSTEM
Hungary, United Kingdom
Q28 Q145
OR((Q15996195,P27,c(Q15617994)), (Q18785967,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15996195
relation P27
action find
entity Q18785967
relation P27
type Q15617994
[ANSWERS] are Herbert Willison or Csaba Pingiczer an inhabitant of
{'OR': [['Q15996195', 'P27', {'concept': 'Q15617994'}], ['Q18785967', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15996195 property:P27 ?v } UNION { resource:Q18785967 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Hungary United Kingdom
Hungary and United Kingdom are Herbert Willison or Csaba Pingiczer an inhabitant of
Hungary United Kingdom
action filter_type
action union
action find
entity Herbert Willison
relation country of citizenship
action find
entity Csaba Pingiczer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Herbert Willison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Csaba Pingiczer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Herbert_Willison property:country_of_citizenship ?v } UNION { resource:Csaba_Pingiczer property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q28 Q145
P530
Q1048835
USER
Who have a diplomatic relationship with Hungary and United Kingdom ?
(Q28,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action union
action filter_type
action find
entity Q28
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
['Q28', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { resource:Q28 property:P530 ?f . ?f rdf:type ontology:Q1048835 } UNION { resource:Q145 property:P530 ?f . ?f rdf:type ontology:Q1048835 } }
Hungary United Kingdom
action union
action filter_type
action find
entity Hungary
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['Hungary', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Hungary property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } UNION { resource:United_Kingdom property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q183 Q183 Q408 Q16
(Q28,P530,c(Q1048835)) (Q145,P530,c(Q1048835))
action union
action filter_type
action find
entity Q28
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q1048835
[ANSWERS]
['Q28', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { resource:Q28 property:P530 ?f . ?f rdf:type ontology:Q1048835 } UNION { resource:Q145 property:P530 ?f . ?f rdf:type ontology:Q1048835 } }
Germany Germany Australia Canada
Germany, Germany and Australia have a diplomatic relationship with Hungary and United Kingdom
Germany Germany Australia
action union
action filter_type
action find
entity Hungary
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
['Hungary', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Hungary property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } UNION { resource:United_Kingdom property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } }
[]