Simple Question (Direct)
Simple Question
Q1658363
P21
Q290
USER
What is the sex of Ildefonso Rea ?
(Q1658363,P21,c(Q290))
action filter_type
action find
entity Q1658363
relation P21
type Q290
['Q1658363', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1658363 property:P21 ?k . ?k rdf:type ontology:Q290 }
Ildefonso Rea
action filter_type
action find
entity Ildefonso Rea
relation gender
type sex
['Ildefonso Rea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ildefonso_Rea property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1658363,P21,c(Q290))
action filter_type
action find
entity Q1658363
relation P21
type Q290
The sex of Ildefonso Rea is the [ANSWER]
['Q1658363', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1658363 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Ildefonso Rea is the male
male
action filter_type
action find
entity Ildefonso Rea
relation gender
type sex
['Ildefonso Rea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ildefonso_Rea property:gender ?k . ?k rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3848016
P21
Q502895
USER
Does Marina Cicogna have the gender as that sex ?
(Q3848016,P21,Q6581097)
action is_in
entity Q3848016
action find
entity Q6581097
relation P21
['Q3848016', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q3848016 }
male Marina Cicogna
action is_in
entity Marina Cicogna
action find
entity male
relation gender
['Marina Cicogna', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Marina_Cicogna }
[]
common name
SYSTEM
NO
(Q3848016,P21,Q6581097)
action is_in
entity Q3848016
action find
entity Q6581097
relation P21
[ANSWER]
['Q3848016', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q3848016 }
No
action is_in
entity Marina Cicogna
action find
entity male
relation gender
['Marina Cicogna', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Marina_Cicogna }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7440897 Q1658363
P27
Q15617994
USER
Which administrative territories do Ildefonso Rea or Sean Connelly belong to ?
OR((Q1658363,P27,c(Q15617994)), (Q7440897,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1658363
relation P27
action find
entity Q7440897
relation P27
type Q15617994
{'OR': [['Q1658363', 'P27', {'concept': 'Q15617994'}], ['Q7440897', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1658363 property:P27 ?a } UNION { resource:Q7440897 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Sean Connelly Ildefonso Rea
action filter_type
action union
action find
entity Ildefonso Rea
relation country of citizenship
action find
entity Sean Connelly
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ildefonso Rea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sean Connelly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ildefonso_Rea property:country_of_citizenship ?a } UNION { resource:Sean_Connelly property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q1658363,P27,c(Q15617994)), (Q7440897,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1658363
relation P27
action find
entity Q7440897
relation P27
type Q15617994
Ildefonso Rea or Sean Connelly belong to [ANSWERS]
{'OR': [['Q1658363', 'P27', {'concept': 'Q15617994'}], ['Q7440897', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q1658363 property:P27 ?a } UNION { resource:Q7440897 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Italy United Kingdom
Ildefonso Rea or Sean Connelly belong to Italy and United Kingdom
Italy United Kingdom
action filter_type
action union
action find
entity Ildefonso Rea
relation country of citizenship
action find
entity Sean Connelly
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ildefonso Rea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sean Connelly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ildefonso_Rea property:country_of_citizenship ?a } UNION { resource:Sean_Connelly property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7370534
P495
Q838948
USER
Did Roti Kapda Aur Makaan originate in those administrative territories ?
(Q7370534,P495,Q38) (Q7370534,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7370534
relation P495
['Q7370534', 'P495', 'Q38'] ['Q7370534', 'P495', 'Q145']
ASK WHERE { resource:Q7370534 property:P495 ?v . VALUES ( ?v ) { ( resource:Q38 ) ( resource:Q145 ) } }
Roti Kapda Aur Makaan
action is_in
entity prev_answer
action find
entity Roti Kapda Aur Makaan
relation country of origin
['Roti Kapda Aur Makaan', 'country of origin', 'Italy'] ['Roti Kapda Aur Makaan', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Roti_Kapda_Aur_Makaan property:country_of_origin ?v . VALUES ( ?v ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
NO
(Q7370534,P495,Q38) (Q7370534,P495,Q145)
action is_in
entity prev_answer
action find
entity Q7370534
relation P495
[ANSWER]
['Q7370534', 'P495', 'Q38'] ['Q7370534', 'P495', 'Q145']
ASK WHERE { resource:Q7370534 property:P495 ?v . VALUES ( ?v ) { ( resource:Q38 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Roti Kapda Aur Makaan
relation country of origin
['Roti Kapda Aur Makaan', 'country of origin', 'Italy'] ['Roti Kapda Aur Makaan', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Roti_Kapda_Aur_Makaan property:country_of_origin ?v . VALUES ( ?v ) { ( resource:Italy ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q23334
P163
Q14660
USER
How many flags have Italy or Abkhazia as their flag
(Q38,P163,c(Q14660)) (Q23334,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q38
relation P163
type Q14660
action filter_type
action find
entity Q23334
relation P163
type Q14660
['Q38', 'P163', {'concept': 'Q14660'}] ['Q23334', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?x ) { ( resource:Q38 ) ( resource:Q23334 ) } . ?x property:P163 ?q }
Italy Abkhazia
action count
action union
action filter_type
action find
entity Italy
relation flag
type flag
action filter_type
action find
entity Abkhazia
relation flag
type flag
['Italy', 'flag', {'concept': 'flag'}] ['Abkhazia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?x ) { ( resource:Italy ) ( resource:Abkhazia ) } . ?x property:flag ?q }
[]
flag
SYSTEM
2
Q42876 Q199621
(Q38,P163,c(Q14660)) (Q23334,P163,c(Q14660))
action count
action union
action filter_type
action find
entity Q38
relation P163
type Q14660
action filter_type
action find
entity Q23334
relation P163
type Q14660
[ANSWER]
['Q38', 'P163', {'concept': 'Q14660'}] ['Q23334', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?x ) { ( resource:Q38 ) ( resource:Q23334 ) } . ?x property:P163 ?q }
Flag of Italy Flag of Abkhazia
2
action count
action union
action filter_type
action find
entity Italy
relation flag
type flag
action filter_type
action find
entity Abkhazia
relation flag
type flag
['Italy', 'flag', {'concept': 'flag'}] ['Abkhazia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?x ) { ( resource:Italy ) ( resource:Abkhazia ) } . ?x property:flag ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1658363
P611
Q1530022
USER
What religion is Ildefonso Rea affiliated to ?
(Q1658363,P611,c(Q1530022))
action filter_type
action find
entity Q1658363
relation P611
type Q1530022
['Q1658363', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?s WHERE { resource:Q1658363 property:P611 ?s . ?s rdf:type ontology:Q1530022 }
Ildefonso Rea
action filter_type
action find
entity Ildefonso Rea
relation religious order
type religious organization
['Ildefonso Rea', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?s WHERE { resource:Ildefonso_Rea property:religious_order ?s . ?s rdf:type ontology:religious_organization }
[]
religious organization
Q131132
SYSTEM
Order of Saint Benedict
Q131132
(Q1658363,P611,c(Q1530022))
action filter_type
action find
entity Q1658363
relation P611
type Q1530022
Ildefonso Rea is affiliated to [ANSWER]
['Q1658363', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?s WHERE { resource:Q1658363 property:P611 ?s . ?s rdf:type ontology:Q1530022 }
Order of Saint Benedict
Ildefonso Rea is affiliated to Order of Saint Benedict
Order of Saint Benedict
action filter_type
action find
entity Ildefonso Rea
relation religious order
type religious organization
['Ildefonso Rea', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?s WHERE { resource:Ildefonso_Rea property:religious_order ?s . ?s rdf:type ontology:religious_organization }
[]