Simple Question (Direct)
Simple Question
Q1827578
P106
Q12737077
USER
Which occupation is the profession of Sergei Avagimyan ?
(Q1827578,P106,c(Q12737077))
action filter_type
action find
entity Q1827578
relation P106
type Q12737077
['Q1827578', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1827578 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Sergei Avagimyan
action filter_type
action find
entity Sergei Avagimyan
relation occupation
type occupation
['Sergei Avagimyan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Sergei_Avagimyan property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1827578,P106,c(Q12737077))
action filter_type
action find
entity Q1827578
relation P106
type Q12737077
Player [ANSWER] is the profession of Sergei Avagimyan
['Q1827578', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1827578 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Sergei Avagimyan
association football player
action filter_type
action find
entity Sergei Avagimyan
relation occupation
type occupation
['Sergei Avagimyan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Sergei_Avagimyan property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1827578
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q1827578
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1827578 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Sergei Avagimyan
action filter_type
action find
entity Sergei Avagimyan
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Sergei_Avagimyan property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2837
SYSTEM
Kaluga
Q2837
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q1827578
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1827578 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Kaluga
Kaluga is the place of birth of that person
Kaluga
action filter_type
action find
entity Sergei Avagimyan
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Sergei_Avagimyan property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q10364058 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation and did Rogério César Possamai Júnior participate in ?
AND((Q937857,P425,c(Q349)), (Q10364058,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q10364058
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q10364058', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { resource:Q937857 property:P425 ?z . resource:Q10364058 property:P641 ?z . ?z rdf:type ontology:Q349 }
Rogério César Possamai Júnior association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Rogério César Possamai Júnior
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Rogério César Possamai Júnior', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { resource:association_football_player property:field_of_this_occupation ?z . resource:Rogério_César_Possamai_Júnior property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q10364058,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q10364058
relation P641
type Q349
As [ANSWER] have [ANSWER] player as thier associated field of occupation and did Rogério César Possamai Júnior participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q10364058', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { resource:Q937857 property:P425 ?z . resource:Q10364058 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
As association football have association football player as thier associated field of occupation and did Rogério César Possamai Júnior participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Rogério César Possamai Júnior
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Rogério César Possamai Júnior', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { resource:association_football_player property:field_of_this_occupation ?z . resource:Rogério_César_Possamai_Júnior property:sport ?z . ?z rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q10450343
P641
Q502895
USER
Does Ross Caven play that sport ?
(Q10450343,P641,Q2736)
action is_in
entity Q2736
action find
entity Q10450343
relation P641
['Q10450343', 'P641', 'Q2736']
ASK WHERE { resource:Q10450343 property:P641 resource:Q2736 }
association football Ross Caven
action is_in
entity association football
action find
entity Ross Caven
relation sport
['Ross Caven', 'sport', 'association football']
ASK WHERE { resource:Ross_Caven property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q10450343,P641,Q2736)
action is_in
entity Q2736
action find
entity Q10450343
relation P641
[ANSWER]
['Q10450343', 'P641', 'Q2736']
ASK WHERE { resource:Q10450343 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Ross Caven
relation sport
['Ross Caven', 'sport', 'association football']
ASK WHERE { resource:Ross_Caven property:sport resource:association_football }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1454375 Q2837
P190 P20
Q56061
USER
Which administrative territories are twin cities of Kaluga or did Hilyard M. Brown die ?
OR((Q2837,P190,c(Q56061)), (Q1454375,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2837
relation P190
action find
entity Q1454375
relation P20
type Q56061
{'OR': [['Q2837', 'P190', {'concept': 'Q56061'}], ['Q1454375', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q2837 property:P190 ?u } UNION { resource:Q1454375 property:P20 ?u } } }
Hilyard M. Brown Kaluga
action filter_type
action union
action find
entity Kaluga
relation sister city
action find
entity Hilyard M. Brown
relation place of death
type administrative territorial entity
{'OR': [['Kaluga', 'sister city', {'concept': 'administrative territorial entity'}], ['Hilyard M. Brown', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Kaluga property:sister_city ?u } UNION { resource:Hilyard_M._Brown property:place_of_death ?u } } }
[]
administrative territorial entity
Q5168 Q2770 Q244146 Q1014278 Q28911 Q128499 Q2280 Q132572 Q65 Q3118
SYSTEM
Makhachkala, Tula, Clearwater, Panorama, Lahti, Yalta, Minsk, Tiraspol, Los Angeles, Oryol
Q5168 Q2770 Q244146 Q1014278 Q28911 Q128499 Q2280 Q132572 Q65 Q3118
OR((Q2837,P190,c(Q56061)), (Q1454375,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2837
relation P190
action find
entity Q1454375
relation P20
type Q56061
[ANSWERS] are twin cities of Kaluga or did Hilyard M. Brown die
{'OR': [['Q2837', 'P190', {'concept': 'Q56061'}], ['Q1454375', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q2837 property:P190 ?u } UNION { resource:Q1454375 property:P20 ?u } } }
Makhachkala Tula Clearwater Panorama Lahti Yalta Minsk Tiraspol Los Angeles Oryol
Makhachkala, Tula, Clearwater, Panorama, Lahti, Yalta, Minsk, Tiraspol, Los Angeles and Oryol are twin cities of Kaluga or did Hilyard M. Brown die
Makhachkala Tula Clearwater Panorama Lahti Yalta Minsk Tiraspol Los Angeles Oryol
action filter_type
action union
action find
entity Kaluga
relation sister city
action find
entity Hilyard M. Brown
relation place of death
type administrative territorial entity
{'OR': [['Kaluga', 'sister city', {'concept': 'administrative territorial entity'}], ['Hilyard M. Brown', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Kaluga property:sister_city ?u } UNION { resource:Hilyard_M._Brown property:place_of_death ?u } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4944232 Q10364058
P27
Q15617994
USER
Which administrative territories are Rogério César Possamai Júnior or Dai Darell an inhabitant of ?
OR((Q10364058,P27,c(Q15617994)), (Q4944232,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10364058
relation P27
action find
entity Q4944232
relation P27
type Q15617994
{'OR': [['Q10364058', 'P27', {'concept': 'Q15617994'}], ['Q4944232', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q10364058 property:P27 ?p } UNION { resource:Q4944232 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Dai Darell Rogério César Possamai Júnior
action filter_type
action union
action find
entity Rogério César Possamai Júnior
relation country of citizenship
action find
entity Dai Darell
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rogério César Possamai Júnior', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dai Darell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Rogério_César_Possamai_Júnior property:country_of_citizenship ?p } UNION { resource:Dai_Darell property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q34
SYSTEM
Brazil, Sweden
Q155 Q34
OR((Q10364058,P27,c(Q15617994)), (Q4944232,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q10364058
relation P27
action find
entity Q4944232
relation P27
type Q15617994
[ANSWERS] are Rogério César Possamai Júnior or Dai Darell an inhabitant of
{'OR': [['Q10364058', 'P27', {'concept': 'Q15617994'}], ['Q4944232', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q10364058 property:P27 ?p } UNION { resource:Q4944232 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Brazil Sweden
Brazil and Sweden are Rogério César Possamai Júnior or Dai Darell an inhabitant of
Brazil Sweden
action filter_type
action union
action find
entity Rogério César Possamai Júnior
relation country of citizenship
action find
entity Dai Darell
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rogério César Possamai Júnior', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dai Darell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Rogério_César_Possamai_Júnior property:country_of_citizenship ?p } UNION { resource:Dai_Darell property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q34
P530
Q15617994
USER
Which administrative territories are known to have diplomatic connections with Brazil and Sweden ?
(c(Q15617994),P530,Q155) (c(Q15617994),P530,Q34)
action union
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q34
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q34']
SELECT DISTINCT ?n WHERE { ?n property:P530 ?g . VALUES ( ?g ) { ( resource:Q155 ) ( resource:Q34 ) } }
Brazil Sweden
action union
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden']
SELECT DISTINCT ?n WHERE { ?n property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Brazil ) ( resource:Sweden ) } }
[]
designation for an administrative territorial entity
Q38 Q38 Q230
SYSTEM
Italy for 1st, 2nd, Georgia for 3rd
Q790 Q796 Q794 Q983 Q45 Q962 Q750 Q958 Q917 Q916 Q739 Q734 Q736 Q574 Q1029 Q1033 Q1016 Q1011 Q230 Q212 Q213 Q419 Q414 Q403 Q30 Q252 Q258 Q241 Q244 Q399 Q423 Q142 Q145 Q148 Q159 Q953 Q668 Q184 Q36 Q38 Q29 Q17 Q717 Q79 Q77 Q298 Q43 Q41 Q96 Q801 Q800 Q822 Q733 Q843 Q1049 Q783 Q928 Q902 Q184 Q38
(c(Q15617994),P530,Q155) (c(Q15617994),P530,Q34)
action union
action filter_type
action find_reverse
entity Q155
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q34
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', 'Q155'] [{'concept': 'Q15617994'}, 'P530', 'Q34']
SELECT DISTINCT ?n WHERE { ?n property:P530 ?g . VALUES ( ?g ) { ( resource:Q155 ) ( resource:Q34 ) } }
Haiti Iraq Iran Equatorial Guinea Portugal Benin Bolivia South Sudan Bhutan Angola Colombia Guyana Ecuador East Timor Mozambique Nigeria Libya Cape Verde Georgia Ukraine Czech Republic Peru Argentina Serbia United States of America Indonesia South Africa Cuba Barbados Armenia North Korea France United Kingdom People's Republic of China Russia Zambia India Belarus Poland Italy Spain Japan Venezuela Egypt Uruguay Chile Turkey Greece Mexico Israel Costa Rica Lebanon Paraguay Pakistan Sudan Honduras Philippines Bangladesh Belarus Italy
Italy, Italy and Georgia are known to have diplomatic connections with Brazil and Sweden
Italy Italy Georgia
action union
action filter_type
action find_reverse
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Sweden']
SELECT DISTINCT ?n WHERE { ?n property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Brazil ) ( resource:Sweden ) } }
[]