Simple Question (Direct)
Simple Question
Q1991337
P734
Q82799
USER
Which name is associated with Robert De Vries ?
(Q1991337,P734,c(Q82799))
action filter_type
action find
entity Q1991337
relation P734
type Q82799
['Q1991337', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q1991337 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Robert De Vries
action filter_type
action find
entity Robert De Vries
relation family name
type name
['Robert De Vries', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Robert_De_Vries property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q1180481
SYSTEM
De Vries
Q1180481
(Q1991337,P734,c(Q82799))
action filter_type
action find
entity Q1991337
relation P734
type Q82799
Was [ANSWER] is associated with Robert [ANSWER]
['Q1991337', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q1991337 property:P734 ?f . ?f rdf:type ontology:Q82799 }
De Vries
Was De Vries is associated with Robert De Vries
De Vries
action filter_type
action find
entity Robert De Vries
relation family name
type name
['Robert De Vries', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Robert_De_Vries property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1991337
P21
Q290
USER
Which sex does that person belong to ?
(Q1180481,P21,c(Q290))
action filter_type
action find
entity Q1991337
relation P21
type Q290
['Q1180481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1991337 property:P21 ?f . ?f rdf:type ontology:Q290 }
Robert De Vries
action filter_type
action find
entity Robert De Vries
relation gender
type sex
['De Vries', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Robert_De_Vries property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1180481,P21,c(Q290))
action filter_type
action find
entity Q1991337
relation P21
type Q290
That person belongs to [ANSWER]
['Q1180481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1991337 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Robert De Vries
relation gender
type sex
['De Vries', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Robert_De_Vries property:gender ?f . ?f rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5331814
P21
Q502895
USER
Is Eberhart Jensen a that sex ?
(Q5331814,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5331814
relation P21
['Q5331814', 'P21', 'Q6581097']
ASK WHERE { resource:Q5331814 property:P21 resource:Q6581097 }
male Eberhart Jensen
action is_in
entity male
action find
entity Eberhart Jensen
relation gender
['Eberhart Jensen', 'gender', 'male']
ASK WHERE { resource:Eberhart_Jensen property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5331814,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5331814
relation P21
[ANSWER]
['Q5331814', 'P21', 'Q6581097']
ASK WHERE { resource:Q5331814 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Eberhart Jensen
relation gender
['Eberhart Jensen', 'gender', 'male']
ASK WHERE { resource:Eberhart_Jensen property:gender resource:male }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12260087 Q5331814
P27
Q15617994
USER
Which administrative territories are Eberhart Jensen or Iñigo Cabacas a civilian of ?
OR((Q5331814,P27,c(Q15617994)), (Q12260087,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5331814
relation P27
action find
entity Q12260087
relation P27
type Q15617994
{'OR': [['Q5331814', 'P27', {'concept': 'Q15617994'}], ['Q12260087', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5331814 property:P27 ?t } UNION { resource:Q12260087 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Iñigo Cabacas Eberhart Jensen
action filter_type
action union
action find
entity Eberhart Jensen
relation country of citizenship
action find
entity Iñigo Cabacas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eberhart Jensen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Iñigo Cabacas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Eberhart_Jensen property:country_of_citizenship ?t } UNION { resource:Iñigo_Cabacas property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q29
SYSTEM
Norway, Spain
Q20 Q29
OR((Q5331814,P27,c(Q15617994)), (Q12260087,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5331814
relation P27
action find
entity Q12260087
relation P27
type Q15617994
[ANSWERS] are Eberhart Jensen or Iñigo Cabacas a civilian of
{'OR': [['Q5331814', 'P27', {'concept': 'Q15617994'}], ['Q12260087', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q5331814 property:P27 ?t } UNION { resource:Q12260087 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Norway Spain
Norway and Spain are Eberhart Jensen or Iñigo Cabacas a civilian of
Norway Spain
action filter_type
action union
action find
entity Eberhart Jensen
relation country of citizenship
action find
entity Iñigo Cabacas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eberhart Jensen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Iñigo Cabacas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Eberhart_Jensen property:country_of_citizenship ?t } UNION { resource:Iñigo_Cabacas property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17422
P17
Q841509
USER
Are same-sex marriage located in those administrative territories ?
(Q17422,P17,Q20) (Q17422,P17,Q29)
action is_in
entity prev_answer
action find
entity Q17422
relation P17
['Q17422', 'P17', 'Q20'] ['Q17422', 'P17', 'Q29']
ASK WHERE { resource:Q17422 property:P17 ?a . VALUES ( ?a ) { ( resource:Q20 ) ( resource:Q29 ) } }
same-sex marriage
action is_in
entity prev_answer
action find
entity same-sex marriage
relation country
['same-sex marriage', 'country', 'Norway'] ['same-sex marriage', 'country', 'Spain']
ASK WHERE { resource:same-sex_marriage property:country ?a . VALUES ( ?a ) { ( resource:Norway ) ( resource:Spain ) } }
[]
significant other
SYSTEM
YES
(Q17422,P17,Q20) (Q17422,P17,Q29)
action is_in
entity prev_answer
action find
entity Q17422
relation P17
[ANSWER]
['Q17422', 'P17', 'Q20'] ['Q17422', 'P17', 'Q29']
ASK WHERE { resource:Q17422 property:P17 ?a . VALUES ( ?a ) { ( resource:Q20 ) ( resource:Q29 ) } }
Yes
action is_in
entity prev_answer
action find
entity same-sex marriage
relation country
['same-sex marriage', 'country', 'Norway'] ['same-sex marriage', 'country', 'Spain']
ASK WHERE { resource:same-sex_marriage property:country ?a . VALUES ( ?a ) { ( resource:Norway ) ( resource:Spain ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q20
P47
Q1048835 Q56061
USER
How many political territories and administrative territories have a shared border with Norway ?
(Q20,P47,c(Q1048835)) (Q20,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q20
relation P47
type Q1048835
action filter_type
action find
entity Q20
relation P47
type Q56061
['Q20', 'P47', {'concept': 'Q1048835'}] ['Q20', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { resource:Q20 property:P47 ?d . ?d rdf:type ontology:Q1048835 } UNION { resource:Q20 property:P47 ?d . ?d rdf:type ontology:Q56061 } }
Norway
action count
action union
action filter_type
action find
entity Norway
relation shares border with
type political territorial entity
action filter_type
action find
entity Norway
relation shares border with
type administrative territorial entity
['Norway', 'shares border with', {'concept': 'political territorial entity'}] ['Norway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { resource:Norway property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity } UNION { resource:Norway property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity } }
[]
political territorial entity administrative territorial entity
SYSTEM
1 political territories and 1 administrative territories
Q458 Q35
(Q20,P47,c(Q1048835)) (Q20,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q20
relation P47
type Q1048835
action filter_type
action find
entity Q20
relation P47
type Q56061
[ANSWER]
['Q20', 'P47', {'concept': 'Q1048835'}] ['Q20', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { resource:Q20 property:P47 ?d . ?d rdf:type ontology:Q1048835 } UNION { resource:Q20 property:P47 ?d . ?d rdf:type ontology:Q56061 } }
European Union Denmark
1 political territories and 1 administrative territories
action count
action union
action filter_type
action find
entity Norway
relation shares border with
type political territorial entity
action filter_type
action find
entity Norway
relation shares border with
type administrative territorial entity
['Norway', 'shares border with', {'concept': 'political territorial entity'}] ['Norway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { resource:Norway property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity } UNION { resource:Norway property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21282472
P641
Q349
USER
What did 2015 Jamaican International Badminton Championships participate in ?
(Q21282472,P641,c(Q349))
action filter_type
action find
entity Q21282472
relation P641
type Q349
['Q21282472', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q21282472 property:P641 ?g . ?g rdf:type ontology:Q349 }
2015 Jamaican International Badminton Championships
action filter_type
action find
entity 2015 Jamaican International Badminton Championships
relation sport
type sport
['2015 Jamaican International Badminton Championships', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:2015_Jamaican_International_Badminton_Championships property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q21282472,P641,c(Q349))
action filter_type
action find
entity Q21282472
relation P641
type Q349
2015 Jamaican International [ANSWER] Championships participated in [ANSWER]
['Q21282472', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q21282472 property:P641 ?g . ?g rdf:type ontology:Q349 }
badminton
2015 Jamaican International Badminton Championships participated in badminton
badminton
action filter_type
action find
entity 2015 Jamaican International Badminton Championships
relation sport
type sport
['2015 Jamaican International Badminton Championships', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:2015_Jamaican_International_Badminton_Championships property:sport ?g . ?g rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6110005 Q5331814
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Eberhart Jensen or Roberto Sandoval Castañeda ?
OR((Q5331814,P27,c(Q15617994)), (Q6110005,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5331814
relation P27
action find
entity Q6110005
relation P27
type Q15617994
{'OR': [['Q5331814', 'P27', {'concept': 'Q15617994'}], ['Q6110005', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q5331814 property:P27 ?b } UNION { resource:Q6110005 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Roberto Sandoval Castañeda Eberhart Jensen
action filter_type
action union
action find
entity Eberhart Jensen
relation country of citizenship
action find
entity Roberto Sandoval Castañeda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eberhart Jensen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roberto Sandoval Castañeda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Eberhart_Jensen property:country_of_citizenship ?b } UNION { resource:Roberto_Sandoval_Castañeda property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q96
SYSTEM
Norway, Mexico
Q20 Q96
OR((Q5331814,P27,c(Q15617994)), (Q6110005,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5331814
relation P27
action find
entity Q6110005
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Eberhart Jensen or Roberto Sandoval Castañeda
{'OR': [['Q5331814', 'P27', {'concept': 'Q15617994'}], ['Q6110005', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q5331814 property:P27 ?b } UNION { resource:Q6110005 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Norway Mexico
Norway and Mexico are the countries of citizenship of Eberhart Jensen or Roberto Sandoval Castañeda
Norway Mexico
action filter_type
action union
action find
entity Eberhart Jensen
relation country of citizenship
action find
entity Roberto Sandoval Castañeda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eberhart Jensen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Roberto Sandoval Castañeda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Eberhart_Jensen property:country_of_citizenship ?b } UNION { resource:Roberto_Sandoval_Castañeda property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]