Simple Question (Direct)
Simple Question
Q1741534
P21
Q290
USER
Which sex does Kim Lindemann belong to ?
(Q1741534,P21,c(Q290))
action filter_type
action find
entity Q1741534
relation P21
type Q290
['Q1741534', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1741534 property:P21 ?c . ?c rdf:type ontology:Q290 }
Kim Lindemann
action filter_type
action find
entity Kim Lindemann
relation gender
type sex
['Kim Lindemann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Kim_Lindemann property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1741534,P21,c(Q290))
action filter_type
action find
entity Q1741534
relation P21
type Q290
Kim Lindemann belongs to [ANSWER]
['Q1741534', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1741534 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Kim Lindemann belongs to male
male
action filter_type
action find
entity Kim Lindemann
relation gender
type sex
['Kim Lindemann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Kim_Lindemann property:gender ?c . ?c rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6112151 Q1741534
P27
Q15617994
USER
Which administrative territories are the native countriesof Kim Lindemann or Rosa Delia Cota Montaño ?
OR((Q1741534,P27,c(Q15617994)), (Q6112151,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1741534
relation P27
action find
entity Q6112151
relation P27
type Q15617994
{'OR': [['Q1741534', 'P27', {'concept': 'Q15617994'}], ['Q6112151', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Q1741534 ) ( resource:Q6112151 ) } . ?y property:P27 ?b } . ?b rdf:type ontology:Q15617994 }
Rosa Delia Cota Montaño Kim Lindemann
action filter_type
action union
action find
entity Kim Lindemann
relation country of citizenship
action find
entity Rosa Delia Cota Montaño
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kim Lindemann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rosa Delia Cota Montaño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Kim_Lindemann ) ( resource:Rosa_Delia_Cota_Montaño ) } . ?y property:country_of_citizenship ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39 Q96
SYSTEM
Switzerland, Mexico
Q39 Q96
OR((Q1741534,P27,c(Q15617994)), (Q6112151,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1741534
relation P27
action find
entity Q6112151
relation P27
type Q15617994
[ANSWERS] are the native countriesof Kim Lindemann or Rosa Delia Cota Montaño
{'OR': [['Q1741534', 'P27', {'concept': 'Q15617994'}], ['Q6112151', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Q1741534 ) ( resource:Q6112151 ) } . ?y property:P27 ?b } . ?b rdf:type ontology:Q15617994 }
Switzerland Mexico
Switzerland and Mexico are the native countriesof Kim Lindemann or Rosa Delia Cota Montaño
Switzerland Mexico
action filter_type
action union
action find
entity Kim Lindemann
relation country of citizenship
action find
entity Rosa Delia Cota Montaño
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kim Lindemann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rosa Delia Cota Montaño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?y ) { ( resource:Kim_Lindemann ) ( resource:Rosa_Delia_Cota_Montaño ) } . ?y property:country_of_citizenship ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6112151
P1412
Q34770
USER
Which language is Rosa Delia Cota Montaño capable of writing?
(Q39,P1412,c(Q34770)) (Q96,P1412,c(Q34770))
action filter_type
action find
entity Q6112151
relation P1412
type Q34770
['Q39', 'P1412', {'concept': 'Q34770'}] ['Q96', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q6112151 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Rosa Delia Cota Montaño
action filter_type
action find
entity Rosa Delia Cota Montaño
relation languages spoken, written or signed
type language
['Switzerland', 'languages spoken, written or signed', {'concept': 'language'}] ['Mexico', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Rosa_Delia_Cota_Montaño property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q39,P1412,c(Q34770)) (Q96,P1412,c(Q34770))
action filter_type
action find
entity Q6112151
relation P1412
type Q34770
[ANSWER] is Rosa Delia Cota Montaño capable of writing
['Q39', 'P1412', {'concept': 'Q34770'}] ['Q96', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q6112151 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Spanish
Spanish is Rosa Delia Cota Montaño capable of writing
Spanish
action filter_type
action find
entity Rosa Delia Cota Montaño
relation languages spoken, written or signed
type language
['Switzerland', 'languages spoken, written or signed', {'concept': 'language'}] ['Mexico', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Rosa_Delia_Cota_Montaño property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1029
P495
Q838948
USER
Which works of art originated in Mozambique ?
(c(Q838948),P495,Q1029)
action filter_type
action find_reverse
entity Q1029
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q1029']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P495 resource:Q1029 }
Mozambique
action filter_type
action find_reverse
entity Mozambique
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Mozambique']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:country_of_origin resource:Mozambique }
[]
work of art
Q3045223 Q7729699 Q7773719
SYSTEM
Disobedience, The Demining Camp, The Water War
Q3045223 Q2895272 Q9026971 Q2842470 Q7729699 Q7737660 Q5399228 Q7773719 Q541489 Q3020321 Q3539194
(c(Q838948),P495,Q1029)
action filter_type
action find_reverse
entity Q1029
relation P495
type Q838948
[ANSWERS] originated in Mozambique
[{'concept': 'Q838948'}, 'P495', 'Q1029']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P495 resource:Q1029 }
Disobedience Kuxa kanema, capítulos 1, 63, 262 Mahla A mãe dos netos The Demining Camp The Great Bazaar I Love You The Water War Estas são as armas De Corpo e Alma Trilogia das novas familias
Disobedience, The Demining Camp and The Water War originated in Mozambique
Disobedience The Demining Camp The Water War
action filter_type
action find_reverse
entity Mozambique
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Mozambique']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:country_of_origin resource:Mozambique }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P137
Q811979
USER
Which architectural structure can be described as service operator of Switzerland ?
(c(Q811979),P137,Q39)
action filter_type
action find_reverse
entity Q39
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q39']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811979 . ?u property:P137 resource:Q39 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:architectural_structure . ?u property:operator resource:Switzerland }
[]
architectural structure
Q689140
SYSTEM
Embassy of Switzerland, Berlin
Q689140
(c(Q811979),P137,Q39)
action filter_type
action find_reverse
entity Q39
relation P137
type Q811979
[ANSWER] can be described as service operator of Switzerland
[{'concept': 'Q811979'}, 'P137', 'Q39']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811979 . ?u property:P137 resource:Q39 }
Embassy of Switzerland, Berlin
Embassy of Switzerland, Berlin can be described as service operator of Switzerland
Embassy of Switzerland, Berlin
action filter_type
action find_reverse
entity Switzerland
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Switzerland']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:architectural_structure . ?u property:operator resource:Switzerland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P69
Q502895
USER
Who is an alumni of Switzerland ?
(c(Q502895),P69,Q39)
action filter_type
action find_reverse
entity Q39
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q39']
SELECT DISTINCT ?a WHERE { ?a property:P69 resource:Q39 . ?a rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Switzerland']
SELECT DISTINCT ?a WHERE { ?a property:educated_at resource:Switzerland . ?a rdf:type ontology:common_name }
[]
common name
Q18325835
SYSTEM
Gambhiro Bhikkhu
Q18325835
(c(Q502895),P69,Q39)
action filter_type
action find_reverse
entity Q39
relation P69
type Q502895
An alumni of Switzerland is the [ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q39']
SELECT DISTINCT ?a WHERE { ?a property:P69 resource:Q39 . ?a rdf:type ontology:Q502895 }
Gambhiro Bhikkhu
An alumni of Switzerland is the Gambhiro Bhikkhu
Gambhiro Bhikkhu
action filter_type
action find_reverse
entity Switzerland
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Switzerland']
SELECT DISTINCT ?a WHERE { ?a property:educated_at resource:Switzerland . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3045223
P462
Q1075
USER
Which color is associated with Disobedience ?
(Q3045223,P462,c(Q1075))
action filter_type
action find
entity Q3045223
relation P462
type Q1075
['Q3045223', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?o WHERE { resource:Q3045223 property:P462 ?o . ?o rdf:type ontology:Q1075 }
Disobedience
action filter_type
action find
entity Disobedience
relation color
type color
['Disobedience', 'color', {'concept': 'color'}]
SELECT DISTINCT ?o WHERE { resource:Disobedience property:color ?o . ?o rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q3045223,P462,c(Q1075))
action filter_type
action find
entity Q3045223
relation P462
type Q1075
Is [ANSWER] is associated with Disobedience
['Q3045223', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?o WHERE { resource:Q3045223 property:P462 ?o . ?o rdf:type ontology:Q1075 }
color
Is color is associated with Disobedience
color
action filter_type
action find
entity Disobedience
relation color
type color
['Disobedience', 'color', {'concept': 'color'}]
SELECT DISTINCT ?o WHERE { resource:Disobedience property:color ?o . ?o rdf:type ontology:color }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3045223
P57
Q502895
USER
Who directed that work of art ?
(Q22006653,P57,c(Q502895))
action filter_type
action find
entity Q3045223
relation P57
type Q502895
['Q22006653', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3045223 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Disobedience
action filter_type
action find
entity Disobedience
relation director
type common name
['color', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Disobedience property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q3238135
SYSTEM
Licínio Azevedo
Q3238135
(Q22006653,P57,c(Q502895))
action filter_type
action find
entity Q3045223
relation P57
type Q502895
[ANSWER] directed that work of art
['Q22006653', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3045223 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Licínio Azevedo
Licínio Azevedo directed that work of art
Licínio Azevedo
action filter_type
action find
entity Disobedience
relation director
type common name
['color', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Disobedience property:director ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 2814 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2814
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { ?e rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?e } GROUP BY ?e } . FILTER ( ?o = 2814 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2814
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { ?e rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?e } GROUP BY ?e } . FILTER ( ?o = 2814 ) }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2814
[ANSWERS] are played by approximately 2814 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { ?e rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?e } GROUP BY ?e } . FILTER ( ?o = 2814 ) }
bass guitar trumpet organ drum kit
Bass guitar, trumpet and organ are played by approximately 2814 people
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2814
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?o ) WHERE { ?e rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?e } GROUP BY ?e } . FILTER ( ?o = 2814 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3045223
P58
Q502895
USER
How many people were the screenwriters for Disobedience ?
(Q3045223,P58,c(Q502895))
action count
action filter_type
action find
entity Q3045223
relation P58
type Q502895
['Q3045223', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q3045223 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Disobedience
action count
action filter_type
action find
entity Disobedience
relation screenwriter
type common name
['Disobedience', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Disobedience property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q3238135
(Q3045223,P58,c(Q502895))
action count
action filter_type
action find
entity Q3045223
relation P58
type Q502895
[ANSWER]
['Q3045223', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q3045223 property:P58 ?b . ?b rdf:type ontology:Q502895 }
Licínio Azevedo
1
action count
action filter_type
action find
entity Disobedience
relation screenwriter
type common name
['Disobedience', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Disobedience property:screenwriter ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3045223
P136
Q1792379
USER
What can be considered as category for that work of art ?
action filter_type
action find
entity Q3045223
relation P136
type Q1792379
SELECT DISTINCT ?r WHERE { resource:Q3045223 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
Disobedience
action filter_type
action find
entity Disobedience
relation genre
type art genre
SELECT DISTINCT ?r WHERE { resource:Disobedience property:genre ?r . ?r rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
action filter_type
action find
entity Q3045223
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
SELECT DISTINCT ?r WHERE { resource:Q3045223 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
documentary film
Documentary film can be considered as category for that work of art
documentary film
action filter_type
action find
entity Disobedience
relation genre
type art genre
SELECT DISTINCT ?r WHERE { resource:Disobedience property:genre ?r . ?r rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3045223
P58
Q502895
USER
Who served as the screenwriter for that work of art ?
(Q93204,P58,c(Q502895))
action filter_type
action find
entity Q3045223
relation P58
type Q502895
['Q93204', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3045223 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Disobedience
action filter_type
action find
entity Disobedience
relation screenwriter
type common name
['documentary film', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Disobedience property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
common name
Q3238135
SYSTEM
Licínio Azevedo
Q3238135
(Q93204,P58,c(Q502895))
action filter_type
action find
entity Q3045223
relation P58
type Q502895
[ANSWER] served as the screenwriter for that work of art
['Q93204', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3045223 property:P58 ?n . ?n rdf:type ontology:Q502895 }
Licínio Azevedo
Licínio Azevedo served as the screenwriter for that work of art
Licínio Azevedo
action filter_type
action find
entity Disobedience
relation screenwriter
type common name
['documentary film', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Disobedience property:screenwriter ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3238135 Q505593 Q47540
P27
Q15617994
USER
Is that person a citizen of Hurlach and Sorgà ?
(Q3238135,P27,Q505593) (Q3238135,P27,Q47540)
action is_in
entity Q3238135
action intersection
action find_reverse
entity Q505593
relation P27
action find_reverse
entity Q47540
relation P27
['Q3238135', 'P27', 'Q505593'] ['Q3238135', 'P27', 'Q47540']
ASK WHERE { resource:Q3238135 property:P27 resource:Q505593 . resource:Q3238135 property:P27 resource:Q47540 }
Licínio Azevedo Hurlach Sorgà
action is_in
entity Licínio Azevedo
action intersection
action find_reverse
entity Hurlach
relation country of citizenship
action find_reverse
entity Sorgà
relation country of citizenship
['Licínio Azevedo', 'country of citizenship', 'Hurlach'] ['Licínio Azevedo', 'country of citizenship', 'Sorgà']
ASK WHERE { resource:Licínio_Azevedo property:country_of_citizenship resource:Hurlach . resource:Licínio_Azevedo property:country_of_citizenship resource:Sorgà }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3238135,P27,Q505593) (Q3238135,P27,Q47540)
action is_in
entity Q3238135
action intersection
action find_reverse
entity Q505593
relation P27
action find_reverse
entity Q47540
relation P27
[ANSWER]
['Q3238135', 'P27', 'Q505593'] ['Q3238135', 'P27', 'Q47540']
ASK WHERE { resource:Q3238135 property:P27 resource:Q505593 . resource:Q3238135 property:P27 resource:Q47540 }
No
action is_in
entity Licínio Azevedo
action intersection
action find_reverse
entity Hurlach
relation country of citizenship
action find_reverse
entity Sorgà
relation country of citizenship
['Licínio Azevedo', 'country of citizenship', 'Hurlach'] ['Licínio Azevedo', 'country of citizenship', 'Sorgà']
ASK WHERE { resource:Licínio_Azevedo property:country_of_citizenship resource:Hurlach . resource:Licínio_Azevedo property:country_of_citizenship resource:Sorgà }
[]