Simple Question (Direct)
Simple Question
Q2159533
P27
Q15617994
USER
Which administrative territory is the native country of Roberto Lopes da Costa ?
(Q2159533,P27,c(Q15617994))
action filter_type
action find
entity Q2159533
relation P27
type Q15617994
['Q2159533', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2159533 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Roberto Lopes da Costa
action filter_type
action find
entity Roberto Lopes da Costa
relation country of citizenship
type designation for an administrative territorial entity
['Roberto Lopes da Costa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Roberto_Lopes_da_Costa property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q2159533,P27,c(Q15617994))
action filter_type
action find
entity Q2159533
relation P27
type Q15617994
[ANSWER] is the native country of Roberto Lopes da Costa
['Q2159533', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2159533 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Brazil
Brazil is the native country of Roberto Lopes da Costa
Brazil
action filter_type
action find
entity Roberto Lopes da Costa
relation country of citizenship
type designation for an administrative territorial entity
['Roberto Lopes da Costa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Roberto_Lopes_da_Costa property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2159533
P641
Q349
USER
Which sport was Roberto Lopes da Costa a part of ?
(Q2159533,P641,c(Q349))
action filter_type
action find
entity Q2159533
relation P641
type Q349
['Q2159533', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q2159533 property:P641 ?h . ?h rdf:type ontology:Q349 }
Roberto Lopes da Costa
action filter_type
action find
entity Roberto Lopes da Costa
relation sport
type sport
['Roberto Lopes da Costa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Roberto_Lopes_da_Costa property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q4543
SYSTEM
beach volleyball
Q4543
(Q2159533,P641,c(Q349))
action filter_type
action find
entity Q2159533
relation P641
type Q349
The [ANSWER] was Roberto Lopes da Costa a part of
['Q2159533', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q2159533 property:P641 ?h . ?h rdf:type ontology:Q349 }
beach volleyball
The beach volleyball was Roberto Lopes da Costa a part of
beach volleyball
action filter_type
action find
entity Roberto Lopes da Costa
relation sport
type sport
['Roberto Lopes da Costa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Roberto_Lopes_da_Costa property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27798419
Q349
USER
And what about 1976 Japanese Badminton Championships – Men's singles?
(Q27798419,P641,c(Q349))
action filter_type
action find
entity Q27798419
relation P641
type Q349
['Q27798419', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q27798419 property:P641 ?i . ?i rdf:type ontology:Q349 }
1976 Japanese Badminton Championships – Men's singles
action filter_type
action find
entity 1976 Japanese Badminton Championships – Men's singles
relation sport
type sport
["1976 Japanese Badminton Championships – Men's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:1976_Japanese_Badminton_Championships_–_Men's_singles property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27798419,P641,c(Q349))
action filter_type
action find
entity Q27798419
relation P641
type Q349
[ANSWER]
['Q27798419', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q27798419 property:P641 ?i . ?i rdf:type ontology:Q349 }
badminton
badminton
action filter_type
action find
entity 1976 Japanese Badminton Championships – Men's singles
relation sport
type sport
["1976 Japanese Badminton Championships – Men's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:1976_Japanese_Badminton_Championships_–_Men's_singles property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2159533
P21
Q290
USER
Which sex does Roberto Lopes da Costa possess ?
(Q2159533,P21,c(Q290))
action filter_type
action find
entity Q2159533
relation P21
type Q290
['Q2159533', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2159533 property:P21 ?k . ?k rdf:type ontology:Q290 }
Roberto Lopes da Costa
action filter_type
action find
entity Roberto Lopes da Costa
relation gender
type sex
['Roberto Lopes da Costa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Roberto_Lopes_da_Costa property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2159533,P21,c(Q290))
action filter_type
action find
entity Q2159533
relation P21
type Q290
Roberto Lopes da Costa possesses un [ANSWER]
['Q2159533', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q2159533 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Roberto Lopes da Costa possesses un male
male
action filter_type
action find
entity Roberto Lopes da Costa
relation gender
type sex
['Roberto Lopes da Costa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Roberto_Lopes_da_Costa property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6900062
Q290
USER
And also tell me about Monica Rich Kosann?
(Q6900062,P21,c(Q290))
action filter_type
action find
entity Q6900062
relation P21
type Q290
['Q6900062', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6900062 property:P21 ?p . ?p rdf:type ontology:Q290 }
Monica Rich Kosann
action filter_type
action find
entity Monica Rich Kosann
relation gender
type sex
['Monica Rich Kosann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Monica_Rich_Kosann property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6900062,P21,c(Q290))
action filter_type
action find
entity Q6900062
relation P21
type Q290
[ANSWER]
['Q6900062', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6900062 property:P21 ?p . ?p rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Monica Rich Kosann
relation gender
type sex
['Monica Rich Kosann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Monica_Rich_Kosann property:gender ?p . ?p rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11466762 Q2159533
P106
Q12737077
USER
Which occupations are the job of Roberto Lopes da Costa or Yasushi Yamaguchi ?
OR((Q2159533,P106,c(Q12737077)), (Q11466762,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2159533
relation P106
action find
entity Q11466762
relation P106
type Q12737077
{'OR': [['Q2159533', 'P106', {'concept': 'Q12737077'}], ['Q11466762', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2159533 property:P106 ?z } UNION { resource:Q11466762 property:P106 ?z } } . ?z rdf:type ontology:Q12737077 }
Yasushi Yamaguchi Roberto Lopes da Costa
action filter_type
action union
action find
entity Roberto Lopes da Costa
relation occupation
action find
entity Yasushi Yamaguchi
relation occupation
type occupation
{'OR': [['Roberto Lopes da Costa', 'occupation', {'concept': 'occupation'}], ['Yasushi Yamaguchi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Roberto_Lopes_da_Costa property:occupation ?z } UNION { resource:Yasushi_Yamaguchi property:occupation ?z } } . ?z rdf:type ontology:occupation }
[]
occupation
Q17361156 Q201788 Q1238570 Q15117302
SYSTEM
beach volleyball player, historian, political scientist, volleyball player
Q17361156 Q201788 Q1238570 Q15117302
OR((Q2159533,P106,c(Q12737077)), (Q11466762,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2159533
relation P106
action find
entity Q11466762
relation P106
type Q12737077
The [ANSWERS] are the job of Roberto Lopes da Costa or Yasushi Yamaguchi
{'OR': [['Q2159533', 'P106', {'concept': 'Q12737077'}], ['Q11466762', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2159533 property:P106 ?z } UNION { resource:Q11466762 property:P106 ?z } } . ?z rdf:type ontology:Q12737077 }
beach volleyball player historian political scientist volleyball player
The beach volleyball player, historian, political scientist and volleyball player are the job of Roberto Lopes da Costa or Yasushi Yamaguchi
beach volleyball player historian political scientist volleyball player
action filter_type
action union
action find
entity Roberto Lopes da Costa
relation occupation
action find
entity Yasushi Yamaguchi
relation occupation
type occupation
{'OR': [['Roberto Lopes da Costa', 'occupation', {'concept': 'occupation'}], ['Yasushi Yamaguchi', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Roberto_Lopes_da_Costa property:occupation ?z } UNION { resource:Yasushi_Yamaguchi property:occupation ?z } } . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P495
Q2088357
USER
Which musical ensembles have Brazil as their place of origin ?
(c(Q2088357),P495,Q155)
action filter_type
action find_reverse
entity Q155
relation P495
type Q2088357
[{'concept': 'Q2088357'}, 'P495', 'Q155']
SELECT DISTINCT ?j WHERE { ?j property:P495 resource:Q155 . ?j rdf:type ontology:Q2088357 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation country of origin
type musical ensemble
[{'concept': 'musical ensemble'}, 'country of origin', 'Brazil']
SELECT DISTINCT ?j WHERE { ?j property:country_of_origin resource:Brazil . ?j rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q239074 Q1427329 Q15346247
SYSTEM
Sepultura, Diante do Trono, P9
Q15346247 Q7269550 Q17379763 Q3077696 Q10264866 Q10358082 Q10374107 Q5032335 Q2932544 Q10298691 Q3236569 Q16301308 Q20049130 Q10323311 Q18243708 Q10385741 Q4740878 Q9674234 Q18280771 Q9668799 Q1588986 Q542745 Q1583937 Q474218 Q10334189 Q1427329 Q10288367 Q3519148 Q6420115 Q3998921 Q4655540 Q1887919 Q10327032 Q9604511 Q10381175 Q7444554 Q10267849 Q1131682 Q5150480 Q16844263 Q17104267 Q19609188 Q6553297 Q239074 Q17995437 Q6372807 Q505384 Q7105483 Q4740880 Q1320685
(c(Q2088357),P495,Q155)
action filter_type
action find_reverse
entity Q155
relation P495
type Q2088357
[ANSWERS] have Brazil as their place of origin
[{'concept': 'Q2088357'}, 'P495', 'Q155']
SELECT DISTINCT ?j WHERE { ?j property:P495 resource:Q155 . ?j rdf:type ontology:Q2088357 }
P9 Quaternaglia Guitar Quartet Falamansa Forro in the Dark Delicatessen Recordando o Vale das Maçãs Steely Heaven Cangaia de Jegue Cachorro Grande Huaska scmab Cine Manimal Malefactor Choro das 3 Twister Amazonas Baroque Ensemble Mais esse jogo vai virar Sereno da Madrugada Burning in Hell NX Zero Angra Trem da Alegria Raimundos Mysteriis Diante do Trono frgaeg Tetine Kleiderman Trio Mocotó A Bolha Abhorrent Mary Black Alma Brasileira Trio The Bells Sect Dogma Banda Calypso Comadre Florzinha Holly Tree Velvet Moonlight Complexo J Uakti Sepultura Choke Karnak Timbalada Os Travessos Amazonas Philharmonic Raça Negra
Sepultura, Diante do Trono and P9 have Brazil as their place of origin
Sepultura Diante do Trono P9
action filter_type
action find_reverse
entity Brazil
relation country of origin
type musical ensemble
[{'concept': 'musical ensemble'}, 'country of origin', 'Brazil']
SELECT DISTINCT ?j WHERE { ?j property:country_of_origin resource:Brazil . ?j rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1427329
P112
Q334453
USER
Which division was established by that musical ensemble ?
(c(Q334453),P112,Q1427329)
action filter_type
action find_reverse
entity Q1427329
relation P112
type Q334453
[{'concept': 'Q334453'}, 'P112', 'Q1427329']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q334453 . ?t property:P112 resource:Q1427329 }
Diante do Trono
action filter_type
action find_reverse
entity Diante do Trono
relation founder
type division
[{'concept': 'division'}, 'founder', 'Diante do Trono']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:division . ?t property:founder resource:Diante_do_Trono }
[]
division
Clarification for simple ques.
Q239074
SYSTEM
Did you mean Sepultura ?
Q239074 Q1427329 Q15346247
(c(Q334453),P112,Q239074) (c(Q334453),P112,Q1427329) (c(Q334453),P112,Q15346247)
[ANSWER]
[{'concept': 'Q334453'}, 'P112', 'Q239074'] [{'concept': 'Q334453'}, 'P112', 'Q1427329'] [{'concept': 'Q334453'}, 'P112', 'Q15346247']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q334453 . ?t property:P112 resource:Q1427329 }
Sepultura Diante do Trono P9
Did you mean Sepultura ?
Sepultura
[{'concept': 'division'}, 'founder', 'Sepultura'] [{'concept': 'division'}, 'founder', 'Diante do Trono'] [{'concept': 'division'}, 'founder', 'P9']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:division . ?t property:founder resource:Diante_do_Trono }
[]
Simple Question (Coreferenced)
USER
No, I meant Diante do Trono. Could you tell me the answer for that?
(c(Q334453),P112,Q1427329)
Q1427329
[{'concept': 'Q334453'}, 'P112', 'Q1427329']
[{'concept': 'division'}, 'founder', 'Diante do Trono']
[]
Q10266053
SYSTEM
Diante do Trono
Q10266053
(c(Q334453),P112,Q1427329)
action filter_type
action find_reverse
entity Q1427329
relation P112
type Q334453
[ANSWER] was established by that musical ensemble
[{'concept': 'Q334453'}, 'P112', 'Q1427329']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q334453 . ?t property:P112 resource:Q1427329 }
Diante do Trono
Diante do Trono was established by that musical ensemble
Diante do Trono
action filter_type
action find_reverse
entity Diante do Trono
relation founder
type division
[{'concept': 'division'}, 'founder', 'Diante do Trono']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:division . ?t property:founder resource:Diante_do_Trono }
[]