Simple Question (Direct)
Simple Question
Q4893677
P641
Q349
USER
Which sport was Bernard Streten a part of ?
(Q4893677,P641,c(Q349))
action filter_type
action find
entity Q4893677
relation P641
type Q349
['Q4893677', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q4893677 property:P641 ?r . ?r rdf:type ontology:Q349 }
Bernard Streten
action filter_type
action find
entity Bernard Streten
relation sport
type sport
['Bernard Streten', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Bernard_Streten property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4893677,P641,c(Q349))
action filter_type
action find
entity Q4893677
relation P641
type Q349
Which sport was Bernard Streten a part of
['Q4893677', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q4893677 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Which sport was Bernard Streten a part of
association football
action filter_type
action find
entity Bernard Streten
relation sport
type sport
['Bernard Streten', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Bernard_Streten property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4893677
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4893677
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q4893677 property:P21 ?u . ?u rdf:type ontology:Q290 }
Bernard Streten
action filter_type
action find
entity Bernard Streten
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Bernard_Streten property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4893677
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q4893677 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Bernard Streten
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Bernard_Streten property:gender ?u . ?u rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q742836 Q4893677
P21
Q290
USER
Or Laurens Meintjes?
OR((Q4893677,P21,c(Q290)), (Q742836,P21,c(Q290)))
action filter_type
action union
action find
entity Q4893677
relation P21
action find
entity Q742836
relation P21
type Q290
{'OR': [['Q4893677', 'P21', {'concept': 'Q290'}], ['Q742836', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4893677 property:P21 ?m } UNION { resource:Q742836 property:P21 ?m } } . ?m rdf:type ontology:Q290 }
Laurens Meintjes Bernard Streten
action filter_type
action union
action find
entity Bernard Streten
relation gender
action find
entity Laurens Meintjes
relation gender
type sex
{'OR': [['Bernard Streten', 'gender', {'concept': 'sex'}], ['Laurens Meintjes', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bernard_Streten property:gender ?m } UNION { resource:Laurens_Meintjes property:gender ?m } } . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q4893677,P21,c(Q290)), (Q742836,P21,c(Q290)))
action filter_type
action union
action find
entity Q4893677
relation P21
action find
entity Q742836
relation P21
type Q290
[ANSWER]
{'OR': [['Q4893677', 'P21', {'concept': 'Q290'}], ['Q742836', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4893677 property:P21 ?m } UNION { resource:Q742836 property:P21 ?m } } . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Bernard Streten
relation gender
action find
entity Laurens Meintjes
relation gender
type sex
{'OR': [['Bernard Streten', 'gender', {'concept': 'sex'}], ['Laurens Meintjes', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Bernard_Streten property:gender ?m } UNION { resource:Laurens_Meintjes property:gender ?m } } . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4893677
P27
Q15617994
USER
Which administrative territory is the native country of Bernard Streten ?
(Q4893677,P27,c(Q15617994))
action filter_type
action find
entity Q4893677
relation P27
type Q15617994
['Q4893677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4893677 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Bernard Streten
action filter_type
action find
entity Bernard Streten
relation country of citizenship
type designation for an administrative territorial entity
['Bernard Streten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bernard_Streten property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4893677,P27,c(Q15617994))
action filter_type
action find
entity Q4893677
relation P27
type Q15617994
In [ANSWER] is the native country of Bernard Streten
['Q4893677', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4893677 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
In United Kingdom is the native country of Bernard Streten
United Kingdom
action filter_type
action find
entity Bernard Streten
relation country of citizenship
type designation for an administrative territorial entity
['Bernard Streten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bernard_Streten property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5213877
Q15617994
USER
And what about David Catchings Dickson?
(Q5213877,P27,c(Q15617994))
action filter_type
action find
entity Q5213877
relation P27
type Q15617994
['Q5213877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q5213877 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
David Catchings Dickson
action filter_type
action find
entity David Catchings Dickson
relation country of citizenship
type designation for an administrative territorial entity
['David Catchings Dickson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:David_Catchings_Dickson property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5213877,P27,c(Q15617994))
action filter_type
action find
entity Q5213877
relation P27
type Q15617994
[ANSWER]
['Q5213877', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q5213877 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity David Catchings Dickson
relation country of citizenship
type designation for an administrative territorial entity
['David Catchings Dickson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:David_Catchings_Dickson property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q23
P6
Q502895
USER
Is George Washington the head of the government of United States of America ?
(Q30,P6,Q23)
action is_in
entity Q23
action find
entity Q30
relation P6
['Q30', 'P6', 'Q23']
ASK WHERE { resource:Q30 property:P6 resource:Q23 }
United States of America George Washington
action is_in
entity George Washington
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'George Washington']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_Washington }
[]
common name
SYSTEM
YES
(Q30,P6,Q23)
action is_in
entity Q23
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q23']
ASK WHERE { resource:Q30 property:P6 resource:Q23 }
Yes
action is_in
entity George Washington
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'George Washington']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_Washington }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q334
P530
Q1048835
USER
How many political territories have diplomatic relationships with United States of America and Singapore ?
(Q30,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q334 property:P530 ?k . ?k rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
United States of America Singapore
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Singapore property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(Q30,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q334 property:P530 ?k . ?k rdf:type ontology:Q1048835 . resource:Q30 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Canada Australia Germany
3
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Singapore property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]