Simple Question (Direct)
Simple Question
Q15432850
P19
Q56061
USER
Which administrative territory is the birthplace of Takeshi Oka ?
(Q15432850,P19,c(Q56061))
action filter_type
action find
entity Q15432850
relation P19
type Q56061
['Q15432850', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q15432850 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Takeshi Oka
action filter_type
action find
entity Takeshi Oka
relation place of birth
type administrative territorial entity
['Takeshi Oka', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Takeshi_Oka property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q15432850,P19,c(Q56061))
action filter_type
action find
entity Q15432850
relation P19
type Q56061
In [ANSWER] is the birthplace of Takeshi Oka
['Q15432850', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q15432850 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Tokyo
In Tokyo is the birthplace of Takeshi Oka
Tokyo
action filter_type
action find
entity Takeshi Oka
relation place of birth
type administrative territorial entity
['Takeshi Oka', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Takeshi_Oka property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15432850
P463
Q811430
USER
Which construction was Takeshi Oka a member of ?
(Q15432850,P463,c(Q811430))
action filter_type
action find
entity Q15432850
relation P463
type Q811430
['Q15432850', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?z WHERE { resource:Q15432850 property:P463 ?z . ?z rdf:type ontology:Q811430 }
Takeshi Oka
action filter_type
action find
entity Takeshi Oka
relation member of
type construction
['Takeshi Oka', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?z WHERE { resource:Takeshi_Oka property:member_of ?z . ?z rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q15432850,P463,c(Q811430))
action filter_type
action find
entity Q15432850
relation P463
type Q811430
The [ANSWER] was Takeshi Oka a member of
['Q15432850', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?z WHERE { resource:Q15432850 property:P463 ?z . ?z rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
The American Academy of Arts and Sciences was Takeshi Oka a member of
American Academy of Arts and Sciences
action filter_type
action find
entity Takeshi Oka
relation member of
type construction
['Takeshi Oka', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?z WHERE { resource:Takeshi_Oka property:member_of ?z . ?z rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15432850
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q463303,P27,c(Q1048835))
action filter_type
action find
entity Q15432850
relation P27
type Q1048835
['Q463303', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q15432850 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Takeshi Oka
action filter_type
action find
entity Takeshi Oka
relation country of citizenship
type political territorial entity
['American Academy of Arts and Sciences', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Takeshi_Oka property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q463303,P27,c(Q1048835))
action filter_type
action find
entity Q15432850
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q463303', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q15432850 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Canada
That person belongs to the Canada
Canada
action filter_type
action find
entity Takeshi Oka
relation country of citizenship
type political territorial entity
['American Academy of Arts and Sciences', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Takeshi_Oka property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15432850
P106
Q12737077
USER
How many occupations are the job of Takeshi Oka ?
(Q15432850,P106,c(Q12737077))
action count
action filter_type
action find
entity Q15432850
relation P106
type Q12737077
['Q15432850', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q15432850 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Takeshi Oka
action count
action filter_type
action find
entity Takeshi Oka
relation occupation
type occupation
['Takeshi Oka', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Takeshi_Oka property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q1622272 Q593644
(Q15432850,P106,c(Q12737077))
action count
action filter_type
action find
entity Q15432850
relation P106
type Q12737077
[ANSWER]
['Q15432850', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Q15432850 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
university teacher chemist
2
action count
action filter_type
action find
entity Takeshi Oka
relation occupation
type occupation
['Takeshi Oka', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { resource:Takeshi_Oka property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15432850
P21
Q290
USER
Which sex does that person belong to ?
action filter_type
action find
entity Q15432850
relation P21
type Q290
SELECT DISTINCT ?x WHERE { resource:Q15432850 property:P21 ?x . ?x rdf:type ontology:Q290 }
Takeshi Oka
action filter_type
action find
entity Takeshi Oka
relation gender
type sex
SELECT DISTINCT ?x WHERE { resource:Takeshi_Oka property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q15432850
relation P21
type Q290
That person belongs to [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q15432850 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Takeshi Oka
relation gender
type sex
SELECT DISTINCT ?x WHERE { resource:Takeshi_Oka property:gender ?x . ?x rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3746512 Q15432850
P106
Q12737077
USER
Which occupations are the job of Takeshi Oka or Flavio Piscopo ?
OR((Q15432850,P106,c(Q12737077)), (Q3746512,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q15432850
relation P106
action find
entity Q3746512
relation P106
type Q12737077
{'OR': [['Q15432850', 'P106', {'concept': 'Q12737077'}], ['Q3746512', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3746512 property:P106 ?j } UNION { resource:Q15432850 property:P106 ?j } } . ?j rdf:type ontology:Q12737077 }
Flavio Piscopo Takeshi Oka
action filter_type
action union
action find
entity Takeshi Oka
relation occupation
action find
entity Flavio Piscopo
relation occupation
type occupation
{'OR': [['Takeshi Oka', 'occupation', {'concept': 'occupation'}], ['Flavio Piscopo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Flavio_Piscopo property:occupation ?j } UNION { resource:Takeshi_Oka property:occupation ?j } } . ?j rdf:type ontology:occupation }
[]
occupation
Q17344998 Q593644 Q1622272 Q177220
SYSTEM
percussionist, chemist, university teacher, singer
Q17344998 Q593644 Q1622272 Q177220
OR((Q15432850,P106,c(Q12737077)), (Q3746512,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q15432850
relation P106
action find
entity Q3746512
relation P106
type Q12737077
The [ANSWERS] are the job of Takeshi Oka or Flavio Piscopo
{'OR': [['Q15432850', 'P106', {'concept': 'Q12737077'}], ['Q3746512', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3746512 property:P106 ?j } UNION { resource:Q15432850 property:P106 ?j } } . ?j rdf:type ontology:Q12737077 }
percussionist chemist university teacher singer
The percussionist, chemist, university teacher and singer are the job of Takeshi Oka or Flavio Piscopo
percussionist chemist university teacher singer
action filter_type
action union
action find
entity Takeshi Oka
relation occupation
action find
entity Flavio Piscopo
relation occupation
type occupation
{'OR': [['Takeshi Oka', 'occupation', {'concept': 'occupation'}], ['Flavio Piscopo', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Flavio_Piscopo property:occupation ?j } UNION { resource:Takeshi_Oka property:occupation ?j } } . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q334353
P36
Q56061
USER
How many administrative territories are the capitals of Canada or Weingarten Abbey ?
(Q16,P36,c(Q56061)) (Q334353,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q16
relation P36
type Q56061
action filter_type
action find
entity Q334353
relation P36
type Q56061
['Q16', 'P36', {'concept': 'Q56061'}] ['Q334353', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Q16 property:P36 ?l . ?l rdf:type ontology:Q56061 } UNION { resource:Q334353 property:P36 ?l . ?l rdf:type ontology:Q56061 } }
Canada Weingarten Abbey
action count
action union
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
action filter_type
action find
entity Weingarten Abbey
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}] ['Weingarten Abbey', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Canada property:capital ?l . ?l rdf:type ontology:administrative_territorial_entity } UNION { resource:Weingarten_Abbey property:capital ?l . ?l rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q572427 Q1930
(Q16,P36,c(Q56061)) (Q334353,P36,c(Q56061))
action count
action union
action filter_type
action find
entity Q16
relation P36
type Q56061
action filter_type
action find
entity Q334353
relation P36
type Q56061
[ANSWER]
['Q16', 'P36', {'concept': 'Q56061'}] ['Q334353', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Q16 property:P36 ?l . ?l rdf:type ontology:Q56061 } UNION { resource:Q334353 property:P36 ?l . ?l rdf:type ontology:Q56061 } }
Weingarten Ottawa
2
action count
action union
action filter_type
action find
entity Canada
relation capital
type administrative territorial entity
action filter_type
action find
entity Weingarten Abbey
relation capital
type administrative territorial entity
['Canada', 'capital', {'concept': 'administrative territorial entity'}] ['Weingarten Abbey', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { resource:Canada property:capital ?l . ?l rdf:type ontology:administrative_territorial_entity } UNION { resource:Weingarten_Abbey property:capital ?l . ?l rdf:type ontology:administrative_territorial_entity } }
[]