Simple Question (Direct)
Simple Question
Q4097027
P119
Q43229
USER
Where is the place of burial for Fyodor Bronnikov located ?
(Q4097027,P119,c(Q43229))
action filter_type
action find
entity Q4097027
relation P119
type Q43229
['Q4097027', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . resource:Q4097027 property:P119 ?l }
Fyodor Bronnikov
action filter_type
action find
entity Fyodor Bronnikov
relation place of burial
type organization
['Fyodor Bronnikov', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . resource:Fyodor_Bronnikov property:place_of_burial ?l }
[]
organization
Q1187723
SYSTEM
Protestant Cemetery
Q1187723
(Q4097027,P119,c(Q43229))
action filter_type
action find
entity Q4097027
relation P119
type Q43229
The place of burial for Fyodor Bronnikov is located in [ANSWER]
['Q4097027', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q43229 . resource:Q4097027 property:P119 ?l }
Protestant Cemetery
The place of burial for Fyodor Bronnikov is located in Protestant Cemetery
Protestant Cemetery
action filter_type
action find
entity Fyodor Bronnikov
relation place of burial
type organization
['Fyodor Bronnikov', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:organization . resource:Fyodor_Bronnikov property:place_of_burial ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4097027
P166
Q618779
USER
What was awarded to that person ?
(Q1187723,P166,c(Q618779))
action filter_type
action find
entity Q4097027
relation P166
type Q618779
['Q1187723', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q618779 . resource:Q4097027 property:P166 ?h }
Fyodor Bronnikov
action filter_type
action find
entity Fyodor Bronnikov
relation award received
type award
['Protestant Cemetery', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:award . resource:Fyodor_Bronnikov property:award_received ?h }
[]
award
Q15972371
SYSTEM
Order of Saint Anna, 3rd class
Q15972371
(Q1187723,P166,c(Q618779))
action filter_type
action find
entity Q4097027
relation P166
type Q618779
The [ANSWER] was awarded to that person
['Q1187723', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q618779 . resource:Q4097027 property:P166 ?h }
Order of Saint Anna, 3rd class
The Order of Saint Anna, 3rd class was awarded to that person
Order of Saint Anna, 3rd class
action filter_type
action find
entity Fyodor Bronnikov
relation award received
type award
['Protestant Cemetery', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:award . resource:Fyodor_Bronnikov property:award_received ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7346472 Q4097027
P106
Q12737077
USER
Which occupations do Fyodor Bronnikov or Robert Krimmer do for a living ?
OR((Q4097027,P106,c(Q12737077)), (Q7346472,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4097027
relation P106
action find
entity Q7346472
relation P106
type Q12737077
{'OR': [['Q4097027', 'P106', {'concept': 'Q12737077'}], ['Q7346472', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?r ) { ( resource:Q4097027 ) ( resource:Q7346472 ) } . ?r property:P106 ?c } . ?c rdf:type ontology:Q12737077 }
Robert Krimmer Fyodor Bronnikov
action filter_type
action union
action find
entity Fyodor Bronnikov
relation occupation
action find
entity Robert Krimmer
relation occupation
type occupation
{'OR': [['Fyodor Bronnikov', 'occupation', {'concept': 'occupation'}], ['Robert Krimmer', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?r ) { ( resource:Fyodor_Bronnikov ) ( resource:Robert_Krimmer ) } . ?r property:occupation ?c } . ?c rdf:type ontology:occupation }
[]
occupation
Q1028181 Q10798782 Q33999
SYSTEM
painter, television actor, actor
Q1028181 Q10798782 Q33999
OR((Q4097027,P106,c(Q12737077)), (Q7346472,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4097027
relation P106
action find
entity Q7346472
relation P106
type Q12737077
[ANSWERS] Fyodor Bronnikov or Robert Krimmer do for a living
{'OR': [['Q4097027', 'P106', {'concept': 'Q12737077'}], ['Q7346472', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?r ) { ( resource:Q4097027 ) ( resource:Q7346472 ) } . ?r property:P106 ?c } . ?c rdf:type ontology:Q12737077 }
painter television actor actor
Painter, television actor and actor Fyodor Bronnikov or Robert Krimmer do for a living
painter television actor actor
action filter_type
action union
action find
entity Fyodor Bronnikov
relation occupation
action find
entity Robert Krimmer
relation occupation
type occupation
{'OR': [['Fyodor Bronnikov', 'occupation', {'concept': 'occupation'}], ['Robert Krimmer', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?r ) { ( resource:Fyodor_Bronnikov ) ( resource:Robert_Krimmer ) } . ?r property:occupation ?c } . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4497607
P106
Q502895
USER
Do Dale Hilson have the profession as those occupations ?
(Q4497607,P106,Q1028181) (Q4497607,P106,Q10798782) (Q4497607,P106,Q33999)
action is_in
entity prev_answer
action find
entity Q4497607
relation P106
['Q4497607', 'P106', 'Q1028181'] ['Q4497607', 'P106', 'Q10798782'] ['Q4497607', 'P106', 'Q33999']
ASK WHERE { VALUES ( ?s ) { ( resource:Q1028181 ) ( resource:Q10798782 ) ( resource:Q33999 ) } . resource:Q4497607 property:P106 ?s }
Dale Hilson
action is_in
entity prev_answer
action find
entity Dale Hilson
relation occupation
['Dale Hilson', 'occupation', 'painter'] ['Dale Hilson', 'occupation', 'television actor'] ['Dale Hilson', 'occupation', 'actor']
ASK WHERE { VALUES ( ?s ) { ( resource:painter ) ( resource:television_actor ) ( resource:actor ) } . resource:Dale_Hilson property:occupation ?s }
[]
common name
SYSTEM
NO
(Q4497607,P106,Q1028181) (Q4497607,P106,Q10798782) (Q4497607,P106,Q33999)
action is_in
entity prev_answer
action find
entity Q4497607
relation P106
[ANSWER]
['Q4497607', 'P106', 'Q1028181'] ['Q4497607', 'P106', 'Q10798782'] ['Q4497607', 'P106', 'Q33999']
ASK WHERE { VALUES ( ?s ) { ( resource:Q1028181 ) ( resource:Q10798782 ) ( resource:Q33999 ) } . resource:Q4497607 property:P106 ?s }
No
action is_in
entity prev_answer
action find
entity Dale Hilson
relation occupation
['Dale Hilson', 'occupation', 'painter'] ['Dale Hilson', 'occupation', 'television actor'] ['Dale Hilson', 'occupation', 'actor']
ASK WHERE { VALUES ( ?s ) { ( resource:painter ) ( resource:television_actor ) ( resource:actor ) } . resource:Dale_Hilson property:occupation ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15972371 Q212611
P138
Q56061
USER
How many administrative territories are the etymology of Order of Saint Anna, 3rd class or COBRA ?
(Q15972371,P138,c(Q56061)) (Q212611,P138,c(Q56061))
action count
action union
action filter_type
action find
entity Q15972371
relation P138
type Q56061
action filter_type
action find
entity Q212611
relation P138
type Q56061
['Q15972371', 'P138', {'concept': 'Q56061'}] ['Q212611', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:Q15972371 property:P138 ?m . ?m rdf:type ontology:Q56061 } UNION { resource:Q212611 property:P138 ?m . ?m rdf:type ontology:Q56061 } }
Order of Saint Anna, 3rd class COBRA
action count
action union
action filter_type
action find
entity Order of Saint Anna, 3rd class
relation named after
type administrative territorial entity
action filter_type
action find
entity COBRA
relation named after
type administrative territorial entity
['Order of Saint Anna, 3rd class', 'named after', {'concept': 'administrative territorial entity'}] ['COBRA', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:Order_of_Saint_Anna,_3rd_class property:named_after ?m . ?m rdf:type ontology:administrative_territorial_entity } UNION { resource:COBRA property:named_after ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
3
Q1748 Q727 Q239
(Q15972371,P138,c(Q56061)) (Q212611,P138,c(Q56061))
action count
action union
action filter_type
action find
entity Q15972371
relation P138
type Q56061
action filter_type
action find
entity Q212611
relation P138
type Q56061
[ANSWER]
['Q15972371', 'P138', {'concept': 'Q56061'}] ['Q212611', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:Q15972371 property:P138 ?m . ?m rdf:type ontology:Q56061 } UNION { resource:Q212611 property:P138 ?m . ?m rdf:type ontology:Q56061 } }
Copenhagen Amsterdam Brussels
3
action count
action union
action filter_type
action find
entity Order of Saint Anna, 3rd class
relation named after
type administrative territorial entity
action filter_type
action find
entity COBRA
relation named after
type administrative territorial entity
['Order of Saint Anna, 3rd class', 'named after', {'concept': 'administrative territorial entity'}] ['COBRA', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { resource:Order_of_Saint_Anna,_3rd_class property:named_after ?m . ?m rdf:type ontology:administrative_territorial_entity } UNION { resource:COBRA property:named_after ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19594942 Q1187723
P17
Q15617994
USER
Which administrative territories do Protestant Cemetery or Mesquita da Baixa belong to ?
OR((Q1187723,P17,c(Q15617994)), (Q19594942,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1187723
relation P17
action find
entity Q19594942
relation P17
type Q15617994
{'OR': [['Q1187723', 'P17', {'concept': 'Q15617994'}], ['Q19594942', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1187723 property:P17 ?j } UNION { resource:Q19594942 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Mesquita da Baixa Protestant Cemetery
action filter_type
action union
action find
entity Protestant Cemetery
relation country
action find
entity Mesquita da Baixa
relation country
type designation for an administrative territorial entity
{'OR': [['Protestant Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mesquita da Baixa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Protestant_Cemetery property:country ?j } UNION { resource:Mesquita_da_Baixa property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q1029
SYSTEM
Italy, Mozambique
Q38 Q1029
OR((Q1187723,P17,c(Q15617994)), (Q19594942,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1187723
relation P17
action find
entity Q19594942
relation P17
type Q15617994
[ANSWERS] Protestant Cemetery or Mesquita da Baixa belong to
{'OR': [['Q1187723', 'P17', {'concept': 'Q15617994'}], ['Q19594942', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1187723 property:P17 ?j } UNION { resource:Q19594942 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Italy Mozambique
Italy and Mozambique Protestant Cemetery or Mesquita da Baixa belong to
Italy Mozambique
action filter_type
action union
action find
entity Protestant Cemetery
relation country
action find
entity Mesquita da Baixa
relation country
type designation for an administrative territorial entity
{'OR': [['Protestant Cemetery', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mesquita da Baixa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Protestant_Cemetery property:country ?j } UNION { resource:Mesquita_da_Baixa property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q56061 Q43229
USER
How many administrative territories and organizations were that administrative territory a member of ?
(Q1029,P463,c(Q56061)) (Q1029,P463,c(Q43229)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q43229)) (Q1029,P463,c(Q56061)) (Q1029,P463,c(Q43229))
['Q1029', 'P463', {'concept': 'Q56061'}] ['Q1029', 'P463', {'concept': 'Q43229'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q43229'}] ['Q1029', 'P463', {'concept': 'Q56061'}] ['Q1029', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q443360 property:P463 ?z } UNION { resource:Q443360 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q443360 property:P463 ?z } UNION { resource:Q443360 property:P463 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q43229 }
['Mozambique', 'member of', {'concept': 'administrative territorial entity'}] ['Mozambique', 'member of', {'concept': 'organization'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'organization'}] ['Mozambique', 'member of', {'concept': 'administrative territorial entity'}] ['Mozambique', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Mozambique property:member_of ?z } UNION { resource:Mozambique property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Mozambique property:member_of ?z } UNION { resource:Mozambique property:member_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:organization }
[]
administrative territorial entity organization
Quantitative|Count|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q443360 property:P463 ?z } UNION { resource:Q443360 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q443360 property:P463 ?z } UNION { resource:Q443360 property:P463 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q43229 }
Did you mean Italy ?
Italy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Mozambique property:member_of ?z } UNION { resource:Mozambique property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Mozambique property:member_of ?z } UNION { resource:Mozambique property:member_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Mozambique. Could you tell me the answer for that?
(Q1029,P463,c(Q56061)) (Q1029,P463,c(Q43229)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q43229)) (Q1029,P463,c(Q56061)) (Q1029,P463,c(Q43229))
Q1029
['Q1029', 'P463', {'concept': 'Q56061'}] ['Q1029', 'P463', {'concept': 'Q43229'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q43229'}] ['Q1029', 'P463', {'concept': 'Q56061'}] ['Q1029', 'P463', {'concept': 'Q43229'}]
['Mozambique', 'member of', {'concept': 'administrative territorial entity'}] ['Mozambique', 'member of', {'concept': 'organization'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'organization'}] ['Mozambique', 'member of', {'concept': 'administrative territorial entity'}] ['Mozambique', 'member of', {'concept': 'organization'}]
[]
SYSTEM
1 administrative territories and 6 organizations
Q340195 Q191384 Q899770 Q656801 Q7159 Q7825 Q827525
(Q1029,P463,c(Q56061)) (Q1029,P463,c(Q43229)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q43229)) (Q1029,P463,c(Q56061)) (Q1029,P463,c(Q43229))
[ANSWER]
['Q1029', 'P463', {'concept': 'Q56061'}] ['Q1029', 'P463', {'concept': 'Q43229'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q43229'}] ['Q1029', 'P463', {'concept': 'Q56061'}] ['Q1029', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q443360 property:P463 ?z } UNION { resource:Q443360 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q443360 property:P463 ?z } UNION { resource:Q443360 property:P463 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation African Union World Trade Organization International Development Association
1 administrative territories and 6 organizations
['Mozambique', 'member of', {'concept': 'administrative territorial entity'}] ['Mozambique', 'member of', {'concept': 'organization'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'organization'}] ['Mozambique', 'member of', {'concept': 'administrative territorial entity'}] ['Mozambique', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Mozambique property:member_of ?z } UNION { resource:Mozambique property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Mozambique property:member_of ?z } UNION { resource:Mozambique property:member_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P276
Q43229
USER
Which organizations are located at Italy ?
(c(Q43229),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q43229
[{'concept': 'Q43229'}, 'P276', 'Q38']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q38 . ?b rdf:type ontology:Q43229 }
Italy
action filter_type
action find_reverse
entity Italy
relation location
type organization
[{'concept': 'organization'}, 'location', 'Italy']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Italy . ?b rdf:type ontology:organization }
[]
organization
Q24037933 Q24060615 Q24037875
SYSTEM
Audax Energy, Edison Energia, Northern Petroleum (GB)
Q24060615 Q24037875 Q24035181 Q24037933 Q24037786 Q24035625 Q24035107
(c(Q43229),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q43229
[ANSWERS] are located at Italy
[{'concept': 'Q43229'}, 'P276', 'Q38']
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q38 . ?b rdf:type ontology:Q43229 }
Edison Energia Northern Petroleum (GB) Apennine Energy Audax Energy Shell Italia Petroceltic Italia Po Valley Energy Limited
Audax Energy, Edison Energia and Northern Petroleum (GB) are located at Italy
Audax Energy Edison Energia Northern Petroleum (GB)
action filter_type
action find_reverse
entity Italy
relation location
type organization
[{'concept': 'organization'}, 'location', 'Italy']
SELECT DISTINCT ?b WHERE { ?b property:location resource:Italy . ?b rdf:type ontology:organization }
[]