Simple Question (Direct)
Simple Question
Q16186777
P641
Q31629
USER
Which type of sport was George Malley a part of ?
(Q16186777,P641,c(Q31629))
action filter_type
action find
entity Q16186777
relation P641
type Q31629
['Q16186777', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q16186777 property:P641 ?n . ?n rdf:type ontology:Q31629 }
George Malley
action filter_type
action find
entity George Malley
relation sport
type type of sport
['George Malley', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:George_Malley property:sport ?n . ?n rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q16186777,P641,c(Q31629))
action filter_type
action find
entity Q16186777
relation P641
type Q31629
The [ANSWER] was George Malley a part of
['Q16186777', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q16186777 property:P641 ?n . ?n rdf:type ontology:Q31629 }
athletics
The athletics was George Malley a part of
athletics
action filter_type
action find
entity George Malley
relation sport
type type of sport
['George Malley', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:George_Malley property:sport ?n . ?n rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16186777
P1344
Q1344963
USER
What did that person participate in ?
(Q542,P1344,c(Q1344963))
action filter_type
action find
entity Q16186777
relation P1344
type Q1344963
['Q542', 'P1344', {'concept': 'Q1344963'}]
SELECT DISTINCT ?c WHERE { resource:Q16186777 property:P1344 ?c . ?c rdf:type ontology:Q1344963 }
George Malley
action filter_type
action find
entity George Malley
relation participant of
type world championship
['athletics', 'participant of', {'concept': 'world championship'}]
SELECT DISTINCT ?c WHERE { resource:George_Malley property:participant_of ?c . ?c rdf:type ontology:world_championship }
[]
world championship
Q1141400
SYSTEM
1981 IAAF World Cross Country Championships
Q1141400
(Q542,P1344,c(Q1344963))
action filter_type
action find
entity Q16186777
relation P1344
type Q1344963
That person participated in [ANSWER]
['Q542', 'P1344', {'concept': 'Q1344963'}]
SELECT DISTINCT ?c WHERE { resource:Q16186777 property:P1344 ?c . ?c rdf:type ontology:Q1344963 }
1981 IAAF World Cross Country Championships
That person participated in 1981 IAAF World Cross Country Championships
1981 IAAF World Cross Country Championships
action filter_type
action find
entity George Malley
relation participant of
type world championship
['athletics', 'participant of', {'concept': 'world championship'}]
SELECT DISTINCT ?c WHERE { resource:George_Malley property:participant_of ?c . ?c rdf:type ontology:world_championship }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5657471 Q16186777
P27
Q15617994
USER
Which administrative territories are George Malley or Adela Salazar a civilian of ?
OR((Q16186777,P27,c(Q15617994)), (Q5657471,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16186777
relation P27
action find
entity Q5657471
relation P27
type Q15617994
{'OR': [['Q16186777', 'P27', {'concept': 'Q15617994'}], ['Q5657471', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16186777 property:P27 ?n } UNION { resource:Q5657471 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Adela Salazar George Malley
action filter_type
action union
action find
entity George Malley
relation country of citizenship
action find
entity Adela Salazar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['George Malley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Adela Salazar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:George_Malley property:country_of_citizenship ?n } UNION { resource:Adela_Salazar property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q800
SYSTEM
United States of America, Costa Rica
Q30 Q800
OR((Q16186777,P27,c(Q15617994)), (Q5657471,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16186777
relation P27
action find
entity Q5657471
relation P27
type Q15617994
[ANSWERS] are George Malley or Adela Salazar a civilian of
{'OR': [['Q16186777', 'P27', {'concept': 'Q15617994'}], ['Q5657471', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16186777 property:P27 ?n } UNION { resource:Q5657471 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America Costa Rica
United States of America and Costa Rica are George Malley or Adela Salazar a civilian of
United States of America Costa Rica
action filter_type
action union
action find
entity George Malley
relation country of citizenship
action find
entity Adela Salazar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['George Malley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Adela Salazar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:George_Malley property:country_of_citizenship ?n } UNION { resource:Adela_Salazar property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?p WHERE { resource:Q30 property:P194 ?p . ?p rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:legislative_body ?p . ?p rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?p WHERE { resource:Q30 property:P194 ?p . ?p rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:legislative_body ?p . ?p rdf:type ontology:legislature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q948
Q11204
USER
And what about Tunisia?
(Q948,P194,c(Q11204))
action filter_type
action find
entity Q948
relation P194
type Q11204
['Q948', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?z WHERE { resource:Q948 property:P194 ?z . ?z rdf:type ontology:Q11204 }
Tunisia
action filter_type
action find
entity Tunisia
relation legislative body
type legislature
['Tunisia', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?z WHERE { resource:Tunisia property:legislative_body ?z . ?z rdf:type ontology:legislature }
[]
legislature
Q3365495 Q18342090
SYSTEM
Parliament of Tunisia, Assembly of the Representatives of the People
Q3365495 Q18342090
(Q948,P194,c(Q11204))
action filter_type
action find
entity Q948
relation P194
type Q11204
[ANSWERS]
['Q948', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?z WHERE { resource:Q948 property:P194 ?z . ?z rdf:type ontology:Q11204 }
Parliament of Tunisia Assembly of the Representatives of the People
Parliament of Tunisia Assembly of the Representatives of the People
action filter_type
action find
entity Tunisia
relation legislative body
type legislature
['Tunisia', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?z WHERE { resource:Tunisia property:legislative_body ?z . ?z rdf:type ontology:legislature }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P194
Q11204 Q56061
USER
How many legislatures are the representative bodies for more number of administrative territories than that legislature ?
(c(Q56061),P194,c(Q11204))
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P194 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q11204 }
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:legislative_body ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:legislature }
[]
legislature administrative territorial entity
Comparative|Count over More/Less|Single entity type|Clarification
Q3365495
SYSTEM
Did you mean Parliament of Tunisia ?
(c(Q56061),P194,c(Q11204))
[ANSWER]
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P194 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q11204 }
Did you mean Parliament of Tunisia ?
Parliament of Tunisia
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:legislative_body ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:legislature }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q56061),P194,c(Q11204))
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q11204'}]
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
[]
SYSTEM
8
Q285714 Q6518465 Q775994 Q6527389 Q7604031 Q6664413 Q7478146 Q3658756
(c(Q56061),P194,c(Q11204))
[ANSWER]
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P194 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q11204 }
Northern Ireland Assembly Legislature of the Virgin Islands Council of Paris Council of the District of Columbia States of Alderney Peterborough City Council Pontifical Commission for Vatican City State San Francisco Board of Supervisors
8
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:legislative_body ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is accepted as the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q8142 . resource:Q30 property:P38 ?c }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:currency . resource:United_States_of_America property:currency ?c }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
The [ANSWER] is accepted as the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q8142 . resource:Q30 property:P38 ?c }
United States dollar
The United States dollar is accepted as the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:currency . resource:United_States_of_America property:currency ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4917 Q695
P38
Q15617994
USER
Does Palau have that one as its currency ?
(Q695,P38,Q4917)
action is_in
entity Q4917
action find
entity Q695
relation P38
['Q695', 'P38', 'Q4917']
ASK WHERE { resource:Q695 property:P38 resource:Q4917 }
United States dollar Palau
action is_in
entity United States dollar
action find
entity Palau
relation currency
['Palau', 'currency', 'United States dollar']
ASK WHERE { resource:Palau property:currency resource:United_States_dollar }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q695,P38,Q4917)
action is_in
entity Q4917
action find
entity Q695
relation P38
[ANSWER]
['Q695', 'P38', 'Q4917']
ASK WHERE { resource:Q695 property:P38 resource:Q4917 }
Yes
action is_in
entity United States dollar
action find
entity Palau
relation currency
['Palau', 'currency', 'United States dollar']
ASK WHERE { resource:Palau property:currency resource:United_States_dollar }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q8612
P6
Q502895
USER
Does Andrew Johnson have United States of America as its head of government ?
(Q30,P6,Q8612)
action is_in
entity Q8612
action find
entity Q30
relation P6
['Q30', 'P6', 'Q8612']
ASK WHERE { resource:Q30 property:P6 resource:Q8612 }
United States of America Andrew Johnson
action is_in
entity Andrew Johnson
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Andrew Johnson']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Andrew_Johnson }
[]
common name
SYSTEM
YES
(Q30,P6,Q8612)
action is_in
entity Q8612
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q8612']
ASK WHERE { resource:Q30 property:P6 resource:Q8612 }
Yes
action is_in
entity Andrew Johnson
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Andrew Johnson']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Andrew_Johnson }
[]