Simple Question (Direct)
Simple Question
Q21066356
P21
Q290
USER
What is the sex of James Takashi Teaway Jr ?
(Q21066356,P21,c(Q290))
action filter_type
action find
entity Q21066356
relation P21
type Q290
['Q21066356', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q21066356 property:P21 ?s }
James Takashi Teaway Jr
action filter_type
action find
entity James Takashi Teaway Jr
relation gender
type sex
['James Takashi Teaway Jr', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:James_Takashi_Teaway_Jr property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21066356,P21,c(Q290))
action filter_type
action find
entity Q21066356
relation P21
type Q290
[ANSWER]
['Q21066356', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q21066356 property:P21 ?s }
male
male
action filter_type
action find
entity James Takashi Teaway Jr
relation gender
type sex
['James Takashi Teaway Jr', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:James_Takashi_Teaway_Jr property:gender ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21066356
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q21066356
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q21066356 property:P27 ?t }
James Takashi Teaway Jr
action filter_type
action find
entity James Takashi Teaway Jr
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Takashi_Teaway_Jr property:country_of_citizenship ?t }
[]
designation for an administrative territorial entity
Q1014
SYSTEM
Liberia
Q1014
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q21066356
relation P27
type Q15617994
[ANSWER]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q21066356 property:P27 ?t }
Liberia
Liberia
action filter_type
action find
entity James Takashi Teaway Jr
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Takashi_Teaway_Jr property:country_of_citizenship ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1014 Q1044
P47
Q15617994
USER
Does Sierra Leone have a shared border with that one ?
(Q1014,P47,Q1044)
action is_in
entity Q1044
action find
entity Q1014
relation P47
['Q1014', 'P47', 'Q1044']
ASK WHERE { resource:Q1014 property:P47 resource:Q1044 }
Liberia Sierra Leone
action is_in
entity Sierra Leone
action find
entity Liberia
relation shares border with
['Liberia', 'shares border with', 'Sierra Leone']
ASK WHERE { resource:Liberia property:shares_border_with resource:Sierra_Leone }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1014,P47,Q1044)
action is_in
entity Q1044
action find
entity Q1014
relation P47
[ANSWER]
['Q1014', 'P47', 'Q1044']
ASK WHERE { resource:Q1014 property:P47 resource:Q1044 }
Yes
action is_in
entity Sierra Leone
action find
entity Liberia
relation shares border with
['Liberia', 'shares border with', 'Sierra Leone']
ASK WHERE { resource:Liberia property:shares_border_with resource:Sierra_Leone }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1014
P463
Q56061 Q484652
USER
How many administrative territories or international organizations were Liberia a member of ?
(Q1014,P463,c(Q56061)) (Q1014,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q1014
relation P463
type Q56061
action filter_type
action find
entity Q1014
relation P463
type Q484652
['Q1014', 'P463', {'concept': 'Q56061'}] ['Q1014', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:Q56061 . resource:Q1014 property:P463 ?i } UNION { resource:Q1014 property:P463 ?i . ?i rdf:type ontology:Q484652 } }
Liberia
action count
action union
action filter_type
action find
entity Liberia
relation member of
type administrative territorial entity
action filter_type
action find
entity Liberia
relation member of
type international organization
['Liberia', 'member of', {'concept': 'administrative territorial entity'}] ['Liberia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:administrative_territorial_entity . resource:Liberia property:member_of ?i } UNION { resource:Liberia property:member_of ?i . ?i rdf:type ontology:international_organization } }
[]
administrative territorial entity international organization
SYSTEM
4
Q7159 Q1065 Q294278 Q1043527
(Q1014,P463,c(Q56061)) (Q1014,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q1014
relation P463
type Q56061
action filter_type
action find
entity Q1014
relation P463
type Q484652
[ANSWER]
['Q1014', 'P463', {'concept': 'Q56061'}] ['Q1014', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:Q56061 . resource:Q1014 property:P463 ?i } UNION { resource:Q1014 property:P463 ?i . ?i rdf:type ontology:Q484652 } }
African Union United Nations African, Caribbean and Pacific Group of States Multilateral Investment Guarantee Agency
4
action count
action union
action filter_type
action find
entity Liberia
relation member of
type administrative territorial entity
action filter_type
action find
entity Liberia
relation member of
type international organization
['Liberia', 'member of', {'concept': 'administrative territorial entity'}] ['Liberia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:administrative_territorial_entity . resource:Liberia property:member_of ?i } UNION { resource:Liberia property:member_of ?i . ?i rdf:type ontology:international_organization } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1014
P47
Q15617994
USER
How many administrative territories are adjacent to Liberia ?
(Q1014,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1014
relation P47
type Q15617994
['Q1014', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q1014 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Liberia
action count
action filter_type
action find
entity Liberia
relation shares border with
type designation for an administrative territorial entity
['Liberia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Liberia property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q1044 Q1008 Q1006
(Q1014,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1014
relation P47
type Q15617994
[ANSWER]
['Q1014', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q1014 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Sierra Leone Côte d'Ivoire Guinea
3
action count
action filter_type
action find
entity Liberia
relation shares border with
type designation for an administrative territorial entity
['Liberia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Liberia property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q53869
Q15617994
USER
And also tell me about Colosimi?
(Q53869,P47,c(Q15617994))
action count
action filter_type
action find
entity Q53869
relation P47
type Q15617994
['Q53869', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q53869 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Colosimi
action count
action filter_type
action find
entity Colosimi
relation shares border with
type designation for an administrative territorial entity
['Colosimi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Colosimi property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
(Q53869,P47,c(Q15617994))
action count
action filter_type
action find
entity Q53869
relation P47
type Q15617994
[ANSWER]
['Q53869', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q53869 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
8
action count
action filter_type
action find
entity Colosimi
relation shares border with
type designation for an administrative territorial entity
['Colosimi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Colosimi property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53869
P17
Q15617994
USER
Which administrative territory is that one present in ?
action filter_type
action find
entity Q53869
relation P17
type Q15617994
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q53869 property:P17 ?g }
Colosimi
action filter_type
action find
entity Colosimi
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colosimi property:country ?g }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
action filter_type
action find
entity Q53869
relation P17
type Q15617994
[ANSWER]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q53869 property:P17 ?g }
Italy
Italy
action filter_type
action find
entity Colosimi
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colosimi property:country ?g }
[]