Simple Question (Direct)
Simple Question
Q1352902
P54
Q12973014
USER
Which sports team is Erich Neupert a member of ?
(Q1352902,P54,c(Q12973014))
action filter_type
action find
entity Q1352902
relation P54
type Q12973014
['Q1352902', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q1352902 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Erich Neupert
action filter_type
action find
entity Erich Neupert
relation member of sports team
type sports team
['Erich Neupert', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Erich_Neupert property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q154053
SYSTEM
Eintracht Braunschweig
Q154053
(Q1352902,P54,c(Q12973014))
action filter_type
action find
entity Q1352902
relation P54
type Q12973014
[ANSWER] is Erich Neupert a member of
['Q1352902', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q1352902 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Eintracht Braunschweig
Eintracht Braunschweig is Erich Neupert a member of
Eintracht Braunschweig
action filter_type
action find
entity Erich Neupert
relation member of sports team
type sports team
['Erich Neupert', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Erich_Neupert property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1352902
P21
Q290
USER
Which sex does Erich Neupert have ?
(Q1352902,P21,c(Q290))
action filter_type
action find
entity Q1352902
relation P21
type Q290
['Q1352902', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1352902 property:P21 ?u . ?u rdf:type ontology:Q290 }
Erich Neupert
action filter_type
action find
entity Erich Neupert
relation gender
type sex
['Erich Neupert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Erich_Neupert property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1352902,P21,c(Q290))
action filter_type
action find
entity Q1352902
relation P21
type Q290
Erich Neupert has a [ANSWER]
['Q1352902', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1352902 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Erich Neupert has a male
male
action filter_type
action find
entity Erich Neupert
relation gender
type sex
['Erich Neupert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Erich_Neupert property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4714259
Q290
USER
And how about Alec Smight?
(Q4714259,P21,c(Q290))
action filter_type
action find
entity Q4714259
relation P21
type Q290
['Q4714259', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4714259 property:P21 ?y . ?y rdf:type ontology:Q290 }
Alec Smight
action filter_type
action find
entity Alec Smight
relation gender
type sex
['Alec Smight', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Alec_Smight property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4714259,P21,c(Q290))
action filter_type
action find
entity Q4714259
relation P21
type Q290
[ANSWER]
['Q4714259', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4714259 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Alec Smight
relation gender
type sex
['Alec Smight', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Alec_Smight property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4714259
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q4714259
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q4714259 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Alec Smight
action filter_type
action find
entity Alec Smight
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alec_Smight property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q4714259
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q4714259 property:P19 ?a . ?a rdf:type ontology:Q56061 }
New York City
That person was born in New York City
New York City
action filter_type
action find
entity Alec Smight
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Alec_Smight property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q84208 Q4714259
P19
Q56061
USER
Or Johannes Mario Simmel?
OR((Q4714259,P19,c(Q56061)), (Q84208,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4714259
relation P19
action find
entity Q84208
relation P19
type Q56061
{'OR': [['Q4714259', 'P19', {'concept': 'Q56061'}], ['Q84208', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4714259 property:P19 ?l } UNION { resource:Q84208 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Johannes Mario Simmel Alec Smight
action filter_type
action union
action find
entity Alec Smight
relation place of birth
action find
entity Johannes Mario Simmel
relation place of birth
type administrative territorial entity
{'OR': [['Alec Smight', 'place of birth', {'concept': 'administrative territorial entity'}], ['Johannes Mario Simmel', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Alec_Smight property:place_of_birth ?l } UNION { resource:Johannes_Mario_Simmel property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q60
SYSTEM
Vienna, New York City
Q1741 Q60
OR((Q4714259,P19,c(Q56061)), (Q84208,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4714259
relation P19
action find
entity Q84208
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q4714259', 'P19', {'concept': 'Q56061'}], ['Q84208', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4714259 property:P19 ?l } UNION { resource:Q84208 property:P19 ?l } } . ?l rdf:type ontology:Q56061 }
Vienna New York City
Vienna New York City
action filter_type
action union
action find
entity Alec Smight
relation place of birth
action find
entity Johannes Mario Simmel
relation place of birth
type administrative territorial entity
{'OR': [['Alec Smight', 'place of birth', {'concept': 'administrative territorial entity'}], ['Johannes Mario Simmel', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Alec_Smight property:place_of_birth ?l } UNION { resource:Johannes_Mario_Simmel property:place_of_birth ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12333155 Q154053
P27 P17
Q1048835
USER
Which political territories are Eintracht Braunschweig located in or do Reinhard von Eppingen belong to ?
OR((Q154053,P17,c(Q1048835)), (Q12333155,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q154053
relation P17
action find
entity Q12333155
relation P27
type Q1048835
{'OR': [['Q154053', 'P17', {'concept': 'Q1048835'}], ['Q12333155', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q12333155 property:P27 ?m } UNION { resource:Q154053 property:P17 ?m } } . ?m rdf:type ontology:Q1048835 }
Reinhard von Eppingen Eintracht Braunschweig
action filter_type
action union
action find
entity Eintracht Braunschweig
relation country
action find
entity Reinhard von Eppingen
relation country of citizenship
type political territorial entity
{'OR': [['Eintracht Braunschweig', 'country', {'concept': 'political territorial entity'}], ['Reinhard von Eppingen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Reinhard_von_Eppingen property:country_of_citizenship ?m } UNION { resource:Eintracht_Braunschweig property:country ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q154053,P17,c(Q1048835)), (Q12333155,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q154053
relation P17
action find
entity Q12333155
relation P27
type Q1048835
Eintracht Braunschweig are located in belong to the [ANSWERS]
{'OR': [['Q154053', 'P17', {'concept': 'Q1048835'}], ['Q12333155', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q12333155 property:P27 ?m } UNION { resource:Q154053 property:P17 ?m } } . ?m rdf:type ontology:Q1048835 }
Germany Denmark
Eintracht Braunschweig are located in belong to the Germany and Denmark
Germany Denmark
action filter_type
action union
action find
entity Eintracht Braunschweig
relation country
action find
entity Reinhard von Eppingen
relation country of citizenship
type political territorial entity
{'OR': [['Eintracht Braunschweig', 'country', {'concept': 'political territorial entity'}], ['Reinhard von Eppingen', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Reinhard_von_Eppingen property:country_of_citizenship ?m } UNION { resource:Eintracht_Braunschweig property:country ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q1007
P463
Q43229
USER
How many organizations were Germany and Guinea-Bissau a member of ?
(Q183,P463,c(Q43229)) (Q1007,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q183
relation P463
type Q43229
action filter_type
action find
entity Q1007
relation P463
type Q43229
['Q183', 'P463', {'concept': 'Q43229'}] ['Q1007', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ontology:Q43229 . resource:Q183 property:P463 ?e . resource:Q1007 property:P463 ?e . ?e rdf:type ontology:Q43229 }
Germany Guinea-Bissau
action count
action intersection
action filter_type
action find
entity Germany
relation member of
type organization
action filter_type
action find
entity Guinea-Bissau
relation member of
type organization
['Germany', 'member of', {'concept': 'organization'}] ['Guinea-Bissau', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ontology:organization . resource:Germany property:member_of ?e . resource:Guinea-Bissau property:member_of ?e . ?e rdf:type ontology:organization }
[]
organization
SYSTEM
5
Q340195 Q7825 Q191384 Q656801 Q827525
(Q183,P463,c(Q43229)) (Q1007,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q183
relation P463
type Q43229
action filter_type
action find
entity Q1007
relation P463
type Q43229
[ANSWER]
['Q183', 'P463', {'concept': 'Q43229'}] ['Q1007', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ontology:Q43229 . resource:Q183 property:P463 ?e . resource:Q1007 property:P463 ?e . ?e rdf:type ontology:Q43229 }
African Development Bank World Trade Organization International Bank for Reconstruction and Development International Finance Corporation International Development Association
5
action count
action intersection
action filter_type
action find
entity Germany
relation member of
type organization
action filter_type
action find
entity Guinea-Bissau
relation member of
type organization
['Germany', 'member of', {'concept': 'organization'}] ['Guinea-Bissau', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ontology:organization . resource:Germany property:member_of ?e . resource:Guinea-Bissau property:member_of ?e . ?e rdf:type ontology:organization }
[]