Simple Question (Direct)
Simple Question
Q5670405
P106
Q12737077
USER
What is the profession of Harry L. Sears ?
(Q5670405,P106,c(Q12737077))
action filter_type
action find
entity Q5670405
relation P106
type Q12737077
['Q5670405', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q5670405 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Harry L. Sears
action filter_type
action find
entity Harry L. Sears
relation occupation
type occupation
['Harry L. Sears', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Harry_L._Sears property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5670405,P106,c(Q12737077))
action filter_type
action find
entity Q5670405
relation P106
type Q12737077
The profession of Harry L. Sears is a [ANSWER]
['Q5670405', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q5670405 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
politician
The profession of Harry L. Sears is a politician
politician
action filter_type
action find
entity Harry L. Sears
relation occupation
type occupation
['Harry L. Sears', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Harry_L._Sears property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5670405
P607
Q198
USER
What battle was Harry L. Sears a part of ?
(Q5670405,P607,c(Q198))
action filter_type
action find
entity Q5670405
relation P607
type Q198
['Q5670405', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q5670405 property:P607 ?t . ?t rdf:type ontology:Q198 }
Harry L. Sears
action filter_type
action find
entity Harry L. Sears
relation conflict
type war
['Harry L. Sears', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Harry_L._Sears property:conflict ?t . ?t rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q5670405,P607,c(Q198))
action filter_type
action find
entity Q5670405
relation P607
type Q198
The [ANSWER] was Harry L. Sears a part of
['Q5670405', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q5670405 property:P607 ?t . ?t rdf:type ontology:Q198 }
World War II
The World War II was Harry L. Sears a part of
World War II
action filter_type
action find
entity Harry L. Sears
relation conflict
type war
['Harry L. Sears', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Harry_L._Sears property:conflict ?t . ?t rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5670405
P1412
Q34770
USER
Which language can Harry L. Sears read ?
(Q5670405,P1412,c(Q34770))
action filter_type
action find
entity Q5670405
relation P1412
type Q34770
['Q5670405', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q5670405 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Harry L. Sears
action filter_type
action find
entity Harry L. Sears
relation languages spoken, written or signed
type language
['Harry L. Sears', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Harry_L._Sears property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5670405,P1412,c(Q34770))
action filter_type
action find
entity Q5670405
relation P1412
type Q34770
Harry L. Sears can read in [ANSWER]
['Q5670405', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q5670405 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
English
Harry L. Sears can read in English
English
action filter_type
action find
entity Harry L. Sears
relation languages spoken, written or signed
type language
['Harry L. Sears', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Harry_L._Sears property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5670405
P39
Q12737077
USER
Which occupations were the positions for which that person were appointed ?
(Q1860,P39,c(Q12737077))
action filter_type
action find
entity Q5670405
relation P39
type Q12737077
['Q1860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q5670405 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Harry L. Sears
action filter_type
action find
entity Harry L. Sears
relation position held
type occupation
['English', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Harry_L._Sears property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q19385767 Q18536527
SYSTEM
member of the State Senate of New Jersey, member of the New Jersey General Assembly
Q19385767 Q18536527
(Q1860,P39,c(Q12737077))
action filter_type
action find
entity Q5670405
relation P39
type Q12737077
And [ANSWERS] were the positions for which that person were appointed
['Q1860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q5670405 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the State Senate of New Jersey member of the New Jersey General Assembly
And member of the State Senate of New Jersey and member of the New Jersey General Assembly were the positions for which that person were appointed
member of the State Senate of New Jersey member of the New Jersey General Assembly
action filter_type
action find
entity Harry L. Sears
relation position held
type occupation
['English', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Harry_L._Sears property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16481531 Q5670405
P27
Q15617994
USER
Which administrative territories do Harry L. Sears or D.B. Logemann belong to ?
OR((Q5670405,P27,c(Q15617994)), (Q16481531,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5670405
relation P27
action find
entity Q16481531
relation P27
type Q15617994
{'OR': [['Q5670405', 'P27', {'concept': 'Q15617994'}], ['Q16481531', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q5670405 property:P27 ?i } UNION { resource:Q16481531 property:P27 ?i } } }
D.B. Logemann Harry L. Sears
action filter_type
action union
action find
entity Harry L. Sears
relation country of citizenship
action find
entity D.B. Logemann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Harry L. Sears', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['D.B. Logemann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Harry_L._Sears property:country_of_citizenship ?i } UNION { resource:D.B._Logemann property:country_of_citizenship ?i } } }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q5670405,P27,c(Q15617994)), (Q16481531,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5670405
relation P27
action find
entity Q16481531
relation P27
type Q15617994
[ANSWERS] do Harry L. Sears or D.B. Logemann belong to
{'OR': [['Q5670405', 'P27', {'concept': 'Q15617994'}], ['Q16481531', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q5670405 property:P27 ?i } UNION { resource:Q16481531 property:P27 ?i } } }
United States of America Kingdom of the Netherlands
United States of America and Kingdom of the Netherlands do Harry L. Sears or D.B. Logemann belong to
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Harry L. Sears
relation country of citizenship
action find
entity D.B. Logemann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Harry L. Sears', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['D.B. Logemann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Harry_L._Sears property:country_of_citizenship ?i } UNION { resource:D.B._Logemann property:country_of_citizenship ?i } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1014 Q29999
P463
Q484652
USER
Which international organizations were Kingdom of the Netherlands or Liberia a member of ?
OR((Q29999,P463,c(Q484652)), (Q1014,P463,c(Q484652)))
action filter_type
action union
action find
entity Q29999
relation P463
action find
entity Q1014
relation P463
type Q484652
{'OR': [['Q29999', 'P463', {'concept': 'Q484652'}], ['Q1014', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q29999 property:P463 ?l } UNION { resource:Q1014 property:P463 ?l } } . ?l rdf:type ontology:Q484652 }
Liberia Kingdom of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation member of
action find
entity Liberia
relation member of
type international organization
{'OR': [['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}], ['Liberia', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Kingdom_of_the_Netherlands property:member_of ?l } UNION { resource:Liberia property:member_of ?l } } . ?l rdf:type ontology:international_organization }
[]
international organization
Q678524 Q1065 Q188822 Q294278 Q842490 Q1043527
SYSTEM
Netherlands-Indonesian Union, United Nations, Asian Development Bank, African, Caribbean and Pacific Group of States, Organisation for the Prohibition of Chemical Weapons, Multilateral Investment Guarantee Agency
Q678524 Q1065 Q188822 Q294278 Q842490 Q1043527
OR((Q29999,P463,c(Q484652)), (Q1014,P463,c(Q484652)))
action filter_type
action union
action find
entity Q29999
relation P463
action find
entity Q1014
relation P463
type Q484652
[ANSWERS] were Kingdom of the Netherlands or Liberia a member of
{'OR': [['Q29999', 'P463', {'concept': 'Q484652'}], ['Q1014', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q29999 property:P463 ?l } UNION { resource:Q1014 property:P463 ?l } } . ?l rdf:type ontology:Q484652 }
Netherlands-Indonesian Union United Nations Asian Development Bank African, Caribbean and Pacific Group of States Organisation for the Prohibition of Chemical Weapons Multilateral Investment Guarantee Agency
Netherlands-Indonesian Union, United Nations, Asian Development Bank, African, Caribbean and Pacific Group of States, Organisation for the Prohibition of Chemical Weapons and Multilateral Investment Guarantee Agency were Kingdom of the Netherlands or Liberia a member of
Netherlands-Indonesian Union United Nations Asian Development Bank African, Caribbean and Pacific Group of States Organisation for the Prohibition of Chemical Weapons Multilateral Investment Guarantee Agency
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation member of
action find
entity Liberia
relation member of
type international organization
{'OR': [['Kingdom of the Netherlands', 'member of', {'concept': 'international organization'}], ['Liberia', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Kingdom_of_the_Netherlands property:member_of ?l } UNION { resource:Liberia property:member_of ?l } } . ?l rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P19
Q636497 Q15619164
USER
How many stock characters or abstract beings were born at United States of America ?
(c(Q636497),P19,Q30) (c(Q15619164),P19,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P19
type Q636497
action filter_type
action find_reverse
entity Q30
relation P19
type Q15619164
[{'concept': 'Q636497'}, 'P19', 'Q30'] [{'concept': 'Q15619164'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:P19 resource:Q30 . ?y rdf:type ontology:Q636497 } UNION { ?y rdf:type ontology:Q15619164 . ?y property:P19 resource:Q30 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of birth
type stock character
action filter_type
action find_reverse
entity United States of America
relation place of birth
type abstract being
[{'concept': 'stock character'}, 'place of birth', 'United States of America'] [{'concept': 'abstract being'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:place_of_birth resource:United_States_of_America . ?y rdf:type ontology:stock_character } UNION { ?y rdf:type ontology:abstract_being . ?y property:place_of_birth resource:United_States_of_America } }
[]
stock character abstract being
SYSTEM
5
Q2355125 Q4383562 Q2479366 Q8003808 Q4386168
(c(Q636497),P19,Q30) (c(Q15619164),P19,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P19
type Q636497
action filter_type
action find_reverse
entity Q30
relation P19
type Q15619164
[ANSWER]
[{'concept': 'Q636497'}, 'P19', 'Q30'] [{'concept': 'Q15619164'}, 'P19', 'Q30']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:P19 resource:Q30 . ?y rdf:type ontology:Q636497 } UNION { ?y rdf:type ontology:Q15619164 . ?y property:P19 resource:Q30 } }
Rufus Crimson Viper Balrog William "B.J." Blazkowicz Rolento
5
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of birth
type stock character
action filter_type
action find_reverse
entity United States of America
relation place of birth
type abstract being
[{'concept': 'stock character'}, 'place of birth', 'United States of America'] [{'concept': 'abstract being'}, 'place of birth', 'United States of America']
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { ?y property:place_of_birth resource:United_States_of_America . ?y rdf:type ontology:stock_character } UNION { ?y rdf:type ontology:abstract_being . ?y property:place_of_birth resource:United_States_of_America } }
[]