Simple Question (Direct)
Simple Question
Q11988506
P27
Q15617994
USER
Which administrative territory is the native country of Martin Halvorsen Handberg ?
(Q11988506,P27,c(Q15617994))
action filter_type
action find
entity Q11988506
relation P27
type Q15617994
['Q11988506', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q11988506 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Martin Halvorsen Handberg
action filter_type
action find
entity Martin Halvorsen Handberg
relation country of citizenship
type designation for an administrative territorial entity
['Martin Halvorsen Handberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Martin_Halvorsen_Handberg property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q11988506,P27,c(Q15617994))
action filter_type
action find
entity Q11988506
relation P27
type Q15617994
In [ANSWER] is the native country of Martin Halvorsen Handberg
['Q11988506', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q11988506 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Norway
In Norway is the native country of Martin Halvorsen Handberg
Norway
action filter_type
action find
entity Martin Halvorsen Handberg
relation country of citizenship
type designation for an administrative territorial entity
['Martin Halvorsen Handberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Martin_Halvorsen_Handberg property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11988506
P21
Q290
USER
Which sex does Martin Halvorsen Handberg possess ?
(Q11988506,P21,c(Q290))
action filter_type
action find
entity Q11988506
relation P21
type Q290
['Q11988506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q11988506 property:P21 ?n . ?n rdf:type ontology:Q290 }
Martin Halvorsen Handberg
action filter_type
action find
entity Martin Halvorsen Handberg
relation gender
type sex
['Martin Halvorsen Handberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Martin_Halvorsen_Handberg property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11988506,P21,c(Q290))
action filter_type
action find
entity Q11988506
relation P21
type Q290
Martin Halvorsen Handberg possesses 1 [ANSWER]
['Q11988506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q11988506 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Martin Halvorsen Handberg possesses 1 male
male
action filter_type
action find
entity Martin Halvorsen Handberg
relation gender
type sex
['Martin Halvorsen Handberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Martin_Halvorsen_Handberg property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q340029
Q290
USER
And also tell me about Howard Baskerville?
(Q340029,P21,c(Q290))
action filter_type
action find
entity Q340029
relation P21
type Q290
['Q340029', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q340029 property:P21 ?c . ?c rdf:type ontology:Q290 }
Howard Baskerville
action filter_type
action find
entity Howard Baskerville
relation gender
type sex
['Howard Baskerville', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Howard_Baskerville property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q340029,P21,c(Q290))
action filter_type
action find
entity Q340029
relation P21
type Q290
[ANSWER]
['Q340029', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q340029 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Howard Baskerville
relation gender
type sex
['Howard Baskerville', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Howard_Baskerville property:gender ?c . ?c rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q21458147
P21
Q502895
USER
Does Maureen Black have that sex as the sex ?
(Q21458147,P21,Q6581097)
action is_in
entity Q21458147
action find
entity Q6581097
relation P21
['Q21458147', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q21458147 }
male Maureen Black
action is_in
entity Maureen Black
action find
entity male
relation gender
['Maureen Black', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Maureen_Black }
[]
common name
SYSTEM
NO
(Q21458147,P21,Q6581097)
action is_in
entity Q21458147
action find
entity Q6581097
relation P21
[ANSWER]
['Q21458147', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q21458147 }
No
action is_in
entity Maureen Black
action find
entity male
relation gender
['Maureen Black', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Maureen_Black }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P138
Q2712963
USER
Which abstract noun is Norway named after ?
(Q20,P138,c(Q2712963))
action filter_type
action find
entity Q20
relation P138
type Q2712963
['Q20', 'P138', {'concept': 'Q2712963'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2712963 . resource:Q20 property:P138 ?m }
Norway
action filter_type
action find
entity Norway
relation named after
type abstract noun
['Norway', 'named after', {'concept': 'abstract noun'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:abstract_noun . resource:Norway property:named_after ?m }
[]
abstract noun
Q659
SYSTEM
north
Q659
(Q20,P138,c(Q2712963))
action filter_type
action find
entity Q20
relation P138
type Q2712963
Norway is named the [ANSWER]
['Q20', 'P138', {'concept': 'Q2712963'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2712963 . resource:Q20 property:P138 ?m }
north
Norway is named the north
north
action filter_type
action find
entity Norway
relation named after
type abstract noun
['Norway', 'named after', {'concept': 'abstract noun'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:abstract_noun . resource:Norway property:named_after ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3001068
Q2712963
USER
And how about cour du Ponant?
(Q3001068,P138,c(Q2712963))
action filter_type
action find
entity Q3001068
relation P138
type Q2712963
['Q3001068', 'P138', {'concept': 'Q2712963'}]
SELECT DISTINCT ?r WHERE { resource:Q3001068 property:P138 ?r . ?r rdf:type ontology:Q2712963 }
cour du Ponant
action filter_type
action find
entity cour du Ponant
relation named after
type abstract noun
['cour du Ponant', 'named after', {'concept': 'abstract noun'}]
SELECT DISTINCT ?r WHERE { resource:cour_du_Ponant property:named_after ?r . ?r rdf:type ontology:abstract_noun }
[]
abstract noun
Q679
SYSTEM
west
Q679
(Q3001068,P138,c(Q2712963))
action filter_type
action find
entity Q3001068
relation P138
type Q2712963
[ANSWER]
['Q3001068', 'P138', {'concept': 'Q2712963'}]
SELECT DISTINCT ?r WHERE { resource:Q3001068 property:P138 ?r . ?r rdf:type ontology:Q2712963 }
west
west
action filter_type
action find
entity cour du Ponant
relation named after
type abstract noun
['cour du Ponant', 'named after', {'concept': 'abstract noun'}]
SELECT DISTINCT ?r WHERE { resource:cour_du_Ponant property:named_after ?r . ?r rdf:type ontology:abstract_noun }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q679
P138 P421
Q15617994
USER
Which administrative territories have west as their namesake and have UTC+01:00 as time zone ?
AND((c(Q15617994),P138,Q679), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q679
relation P138
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P138', 'Q679'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?u WHERE { ?u property:P138 resource:Q679 . ?u property:P421 resource:Q6655 . ?u rdf:type ontology:Q15617994 }
UTC+01:00 west
action filter_type
action intersection
action find_reverse
entity west
relation named after
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'named after', 'west'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?u WHERE { ?u property:named_after resource:west . ?u property:located_in_time_zone resource:UTC+01:00 . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
AND((c(Q15617994),P138,Q679), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q679
relation P138
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWER] have west as their namesake and have UTC+01:00 as time zone
{'AND': [[{'concept': 'Q15617994'}, 'P138', 'Q679'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?u WHERE { ?u property:P138 resource:Q679 . ?u property:P421 resource:Q6655 . ?u rdf:type ontology:Q15617994 }
Morocco
Morocco have west as their namesake and have UTC+01:00 as time zone
Morocco
action filter_type
action intersection
action find_reverse
entity west
relation named after
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'named after', 'west'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?u WHERE { ?u property:named_after resource:west . ?u property:located_in_time_zone resource:UTC+01:00 . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1028
P180
Q2342494
USER
Which collectable expressess that administrative territory ?
(c(Q2342494),P180,Q1028)
action filter_type
action find_reverse
entity Q1028
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q1028']
SELECT DISTINCT ?b WHERE { ?b property:P180 resource:Q1028 . ?b rdf:type ontology:Q2342494 }
Morocco
action filter_type
action find_reverse
entity Morocco
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Morocco']
SELECT DISTINCT ?b WHERE { ?b property:depicts resource:Morocco . ?b rdf:type ontology:collectable }
[]
collectable
Q18205780
SYSTEM
Description of Africa
Q18205780
(c(Q2342494),P180,Q1028)
action filter_type
action find_reverse
entity Q1028
relation P180
type Q2342494
And [ANSWER] expressess that administrative territory
[{'concept': 'Q2342494'}, 'P180', 'Q1028']
SELECT DISTINCT ?b WHERE { ?b property:P180 resource:Q1028 . ?b rdf:type ontology:Q2342494 }
Description of Africa
And Description of Africa expressess that administrative territory
Description of Africa
action filter_type
action find_reverse
entity Morocco
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Morocco']
SELECT DISTINCT ?b WHERE { ?b property:depicts resource:Morocco . ?b rdf:type ontology:collectable }
[]