Simple Question (Direct)
Simple Question
Q5042952
P106
Q12737077
USER
What does Carlton Aaron do for a living ?
(Q5042952,P106,c(Q12737077))
action filter_type
action find
entity Q5042952
relation P106
type Q12737077
['Q5042952', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5042952 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Carlton Aaron
action filter_type
action find
entity Carlton Aaron
relation occupation
type occupation
['Carlton Aaron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Carlton_Aaron property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q5042952,P106,c(Q12737077))
action filter_type
action find
entity Q5042952
relation P106
type Q12737077
Carlton Aaron does a [ANSWER] for a living
['Q5042952', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5042952 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
basketball player
Carlton Aaron does a basketball player for a living
basketball player
action filter_type
action find
entity Carlton Aaron
relation occupation
type occupation
['Carlton Aaron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Carlton_Aaron property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5042952
P641
Q349
USER
Which sport was that person a part of ?
(Q3665646,P641,c(Q349))
action filter_type
action find
entity Q5042952
relation P641
type Q349
['Q3665646', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q5042952 property:P641 ?g }
Carlton Aaron
action filter_type
action find
entity Carlton Aaron
relation sport
type sport
['basketball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Carlton_Aaron property:sport ?g }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P641,c(Q349))
action filter_type
action find
entity Q5042952
relation P641
type Q349
The [ANSWER] was that person a part of
['Q3665646', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q5042952 property:P641 ?g }
basketball
The basketball was that person a part of
basketball
action filter_type
action find
entity Carlton Aaron
relation sport
type sport
['basketball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Carlton_Aaron property:sport ?g }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P641
Q811979 Q48204
USER
How many architectural structures or voluntary associations are involved in playing that sport ?
(c(Q811979),P641,Q5372) (c(Q48204),P641,Q5372) (c(Q811979),P641,Q5372) (c(Q48204),P641,Q5372)
action count
action union
action filter_type
action find_reverse
entity Q5372
relation P641
type Q811979
action filter_type
action find_reverse
entity Q5372
relation P641
type Q48204
[{'concept': 'Q811979'}, 'P641', 'Q5372'] [{'concept': 'Q48204'}, 'P641', 'Q5372'] [{'concept': 'Q811979'}, 'P641', 'Q5372'] [{'concept': 'Q48204'}, 'P641', 'Q5372']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q48204 ) } }
action count
action union
action filter_type
action find_reverse
entity basketball
relation sport
type architectural structure
action filter_type
action find_reverse
entity basketball
relation sport
type voluntary association
[{'concept': 'architectural structure'}, 'sport', 'basketball'] [{'concept': 'voluntary association'}, 'sport', 'basketball'] [{'concept': 'architectural structure'}, 'sport', 'basketball'] [{'concept': 'voluntary association'}, 'sport', 'basketball']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:voluntary_association ) } }
[]
architectural structure voluntary association
SYSTEM
131
Q5276335 Q1003975 Q1092170 Q450541 Q3361141 Q3221561 Q3303672 Q3219903 Q2923640 Q7865266 Q186125 Q7279013 Q16249929 Q2985114 Q3044701 Q3024991 Q7579595 Q2867017 Q2935766 Q3566224 Q3135692 Q745327 Q1538690 Q1816551 Q14931634 Q385205 Q378655 Q1851700 Q3495282 Q6185099 Q3494044 Q1483787 Q2000294 Q7168796 Q630630 Q3020664 Q155223 Q3153234 Q1811502 Q7949225 Q1970067 Q2081796 Q4985200 Q3377004 Q1247814 Q3182265 Q3338973 Q39177 Q2837888 Q2889550 Q19406957 Q32976 Q3106621 Q3525746 Q10516134 Q19800749 Q8546 Q1578408 Q3571361 Q4932016 Q2994650 Q1501798 Q3174340 Q3656844 Q1336027 Q2720176 Q2927640 Q3741165 Q3429929 Q334778 Q32969 Q2056942 Q2924511 Q1570192 Q6348452 Q2982974 Q2742223 Q367802 Q1166157 Q7231919 Q3564821 Q402599 Q2593221 Q2904708 Q2739940 Q2927191 Q1515291 Q6591839 Q545007 Q23035309 Q919959 Q2756405 Q463486 Q2927497 Q5532037 Q7830871 Q463481 Q2934766 Q2226897 Q3315539 Q3547208 Q3378842 Q3378843 Q3082598 Q1054154 Q15056560 Q770570 Q807966 Q1399978 Q757145 Q1073722 Q2703852 Q3569735 Q2497887 Q3889130 Q481795 Q481794 Q3237605 Q4942017 Q7417657 Q3741469 Q2882577 Q7313390 Q2895248 Q7987618 Q5121105 Q3741207 Q3469848 Q393353 Q1268343 Q7577837
(c(Q811979),P641,Q5372) (c(Q48204),P641,Q5372) (c(Q811979),P641,Q5372) (c(Q48204),P641,Q5372)
action count
action union
action filter_type
action find_reverse
entity Q5372
relation P641
type Q811979
action filter_type
action find_reverse
entity Q5372
relation P641
type Q48204
[ANSWER]
[{'concept': 'Q811979'}, 'P641', 'Q5372'] [{'concept': 'Q48204'}, 'P641', 'Q5372'] [{'concept': 'Q811979'}, 'P641', 'Q5372'] [{'concept': 'Q48204'}, 'P641', 'Q5372']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:Q811979 ) ( ontology:Q48204 ) } }
Dignity Health Event Center Basketball federation of Bulgaria Adriatic Arena Alytus Arena Palais des Sports de Beaublanc Le Colisée McKale Center Lawrence Joel Veterans Memorial Coliseum Bramlage Coliseum UNF Arena Madison Square Garden Racer Arena 3rd Municipal Sportshall of Ano Liosia Xfinity Center Torwar Hall Kiel Auditorium Sporting Sports Arena State Farm Center Canada Basketball Oncenter War Memorial Arena Hilton Coliseum Minneapolis Armory Talking Stick Resort Arena Philippine Basketball Association Palais des Sports Maurice Thorez Arena Stožice United Spirit Arena Spaladium Arena St. Louis Arena Jerusalem Arena Gravelines Sportica Kaunas Sports Hall Tipsport Arena Peristeri Indoor Hall Palau Sant Jordi Dean Smith Center National Basketball Association International Basketball Association World Basketball Association WFCU Centre Omni Coliseum McNichols Sports Arena Budweiser Gardens Petersen Events Center Ergo Arena John Paul Jones Arena T-Mobile Arena PNC Arena Allen Fieldhouse José Miguel Agrelot Coliseum Ekinox O.A.C.A. Olympic Indoor Hall Valley View Casino Center Thompson–Boling Arena KFC Yum! Center Rentis Training Center Astroballe Kohl Center Yakima SunDome Bob Carpenter Center Consolidated Credit Union Place Gran Canaria Arena Sendai Gymnasium Capital Centre Allstate Arena Peace and Friendship Stadium Buffalo Memorial Auditorium England Basketball Rhenus Sport Ülker Sports Arena Skonto Hall Mohegan Sun Arena Breslin Student Events Center Čair Sports Center Kaiser Permanente Arena College Park Center Hala Arena Hall Aleksandar Nikolić Toyota Center Portland Exposition Building WVU Coliseum Bilbao Arena Women's National Basketball Association Bismarck Civic Center Royal Farms Arena Bryce Jordan Center Millennium Center Zlatorog Arena Bankers Life Fieldhouse Albert Park Basketball Stadium Matthews Arena Hellinikon Olympic Arena American Basketball Association Bud Walton Arena General Motors Centre Toyota Sports Center American Basketball Association Cameron Indoor Stadium Pyramid Arena Minneapolis Auditorium UIC Pavilion Philadelphia Arena Philadelphia Convention Hall and Civic Center Frank Erwin Center Centre Pierre Charbonneau Eilat Sports Center Wells Fargo Arena Barclays Center Spanish Basketball Federation Arena Łódź Chinese Basketball Association Chicago Stadium Wolstein Center Canton Memorial Civic Center PalaLivorno Amway Center Amway Arena Liacouras Center Bonifika Hall Sanford Sports Pentagon Angolan Basketball Federation BankUnited Center Reno Events Center Unipol Arena Western Basketball Association Cintas Center Namibian Basketball Federation Salle Bayard Žalgiris Arena Podmežakla Hall SpiritBank Event Center
131
action count
action union
action filter_type
action find_reverse
entity basketball
relation sport
type architectural structure
action filter_type
action find_reverse
entity basketball
relation sport
type voluntary association
[{'concept': 'architectural structure'}, 'sport', 'basketball'] [{'concept': 'voluntary association'}, 'sport', 'basketball'] [{'concept': 'architectural structure'}, 'sport', 'basketball'] [{'concept': 'voluntary association'}, 'sport', 'basketball']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?k . VALUES ( ?k ) { ( ontology:architectural_structure ) ( ontology:voluntary_association ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2736 Q5372
P641
Q502895
USER
Which people are associated with playing basketball and association football ?
AND((c(Q502895),P641,Q5372), (c(Q502895),P641,Q2736))
action filter_type
action intersection
action find_reverse
entity Q5372
relation P641
action find_reverse
entity Q2736
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q5372'], [{'concept': 'Q502895'}, 'P641', 'Q2736']]}
SELECT DISTINCT ?h WHERE { ?h property:P641 resource:Q2736 . ?h property:P641 resource:Q5372 . ?h rdf:type ontology:Q502895 }
association football basketball
action filter_type
action intersection
action find_reverse
entity basketball
relation sport
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'basketball'], [{'concept': 'common name'}, 'sport', 'association football']]}
SELECT DISTINCT ?h WHERE { ?h property:sport resource:association_football . ?h property:sport resource:basketball . ?h rdf:type ontology:common_name }
[]
common name
Q2565532 Q331223 Q1653116 Q1365204 Q716480 Q2455369 Q2607044 Q3660015 Q3810734 Q198027
SYSTEM
Some of them are Alex Garcia, Apostolos Nikolaidis, Marcus Vinicius Urban Toledo dos Reis, Marcus Thornton, Marcelinho Huertas, Rafael Araújo, Marcus Vinicius de Souza, Olivinha, João Vianna, Vítor Benite
Q716480 Q733490 Q1653116 Q6370536 Q956917 Q975550 Q331223 Q2565532 Q3808717 Q1365204 Q3707229 Q2607044 Q2455369 Q1760441 Q3660015 Q58335 Q3810734 Q198027 Q3809957 Q1467424
AND((c(Q502895),P641,Q5372), (c(Q502895),P641,Q2736))
action filter_type
action intersection
action find_reverse
entity Q5372
relation P641
action find_reverse
entity Q2736
relation P641
type Q502895
[ANSWERS] are associated with playing basketball and association football
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q5372'], [{'concept': 'Q502895'}, 'P641', 'Q2736']]}
SELECT DISTINCT ?h WHERE { ?h property:P641 resource:Q2736 . ?h property:P641 resource:Q5372 . ?h rdf:type ontology:Q502895 }
Marcelinho Huertas Vasilis Konstantinou Marcus Vinicius Urban Toledo dos Reis Karim Abdul Guilherme Giovannoni Jamison Brewer Apostolos Nikolaidis Alex Garcia Joe Troy Smith Marcus Thornton Diego Pinheiro Marcus Vinicius de Souza Rafael Araújo Andre Bambú Quirino Olivinha Leandro Barbosa João Vianna Vítor Benite Jonathan Tavernari José Agosto
Alex Garcia, Apostolos Nikolaidis, Marcus Vinicius Urban Toledo dos Reis, Marcus Thornton, Marcelinho Huertas, Rafael Araújo, Marcus Vinicius de Souza, Olivinha, João Vianna and Vítor Benite are associated with playing basketball and association football
Alex Garcia Apostolos Nikolaidis Marcus Vinicius Urban Toledo dos Reis Marcus Thornton Marcelinho Huertas Rafael Araújo Marcus Vinicius de Souza Olivinha João Vianna Vítor Benite
action filter_type
action intersection
action find_reverse
entity basketball
relation sport
action find_reverse
entity association football
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'basketball'], [{'concept': 'common name'}, 'sport', 'association football']]}
SELECT DISTINCT ?h WHERE { ?h property:sport resource:association_football . ?h property:sport resource:basketball . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2607044
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q2607044,P19,c(Q56061))
action filter_type
action find
entity Q2607044
relation P19
type Q56061
['Q2607044', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2607044 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Marcus Vinicius de Souza
action filter_type
action find
entity Marcus Vinicius de Souza
relation place of birth
type administrative territorial entity
['Marcus Vinicius de Souza', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Marcus_Vinicius_de_Souza property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3810734
SYSTEM
Did you mean João Vianna ?
Q2565532 Q331223 Q1653116 Q1365204 Q716480 Q2455369 Q2607044 Q3660015 Q3810734 Q198027
(Q2565532,P19,c(Q56061)) (Q331223,P19,c(Q56061)) (Q1653116,P19,c(Q56061)) (Q1365204,P19,c(Q56061)) (Q716480,P19,c(Q56061)) (Q2455369,P19,c(Q56061)) (Q2607044,P19,c(Q56061)) (Q3660015,P19,c(Q56061)) (Q3810734,P19,c(Q56061)) (Q198027,P19,c(Q56061))
[ANSWER]
['Q2565532', 'P19', {'concept': 'Q56061'}] ['Q331223', 'P19', {'concept': 'Q56061'}] ['Q1653116', 'P19', {'concept': 'Q56061'}] ['Q1365204', 'P19', {'concept': 'Q56061'}] ['Q716480', 'P19', {'concept': 'Q56061'}] ['Q2455369', 'P19', {'concept': 'Q56061'}] ['Q2607044', 'P19', {'concept': 'Q56061'}] ['Q3660015', 'P19', {'concept': 'Q56061'}] ['Q3810734', 'P19', {'concept': 'Q56061'}] ['Q198027', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2607044 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Alex Garcia Apostolos Nikolaidis Marcus Vinicius Urban Toledo dos Reis Marcus Thornton Marcelinho Huertas Rafael Araújo Marcus Vinicius de Souza Olivinha João Vianna Vítor Benite
Did you mean João Vianna ?
João Vianna
['Alex Garcia', 'place of birth', {'concept': 'administrative territorial entity'}] ['Apostolos Nikolaidis', 'place of birth', {'concept': 'administrative territorial entity'}] ['Marcus Vinicius Urban Toledo dos Reis', 'place of birth', {'concept': 'administrative territorial entity'}] ['Marcus Thornton', 'place of birth', {'concept': 'administrative territorial entity'}] ['Marcelinho Huertas', 'place of birth', {'concept': 'administrative territorial entity'}] ['Rafael Araújo', 'place of birth', {'concept': 'administrative territorial entity'}] ['Marcus Vinicius de Souza', 'place of birth', {'concept': 'administrative territorial entity'}] ['Olivinha', 'place of birth', {'concept': 'administrative territorial entity'}] ['João Vianna', 'place of birth', {'concept': 'administrative territorial entity'}] ['Vítor Benite', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Marcus_Vinicius_de_Souza property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Marcus Vinicius de Souza. Could you tell me the answer for that?
(Q2607044,P19,c(Q56061))
Q2607044
['Q2607044', 'P19', {'concept': 'Q56061'}]
['Marcus Vinicius de Souza', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q2607044,P19,c(Q56061))
action filter_type
action find
entity Q2607044
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q2607044', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q2607044 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Rio de Janeiro
Rio de Janeiro is the birthplace of that person
Rio de Janeiro
action filter_type
action find
entity Marcus Vinicius de Souza
relation place of birth
type administrative territorial entity
['Marcus Vinicius de Souza', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Marcus_Vinicius_de_Souza property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331223
P172
Q2472587
USER
What is the ethnicity of Apostolos Nikolaidis ?
(Q331223,P172,c(Q2472587))
action filter_type
action find
entity Q331223
relation P172
type Q2472587
['Q331223', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2472587 . resource:Q331223 property:P172 ?g }
Apostolos Nikolaidis
action filter_type
action find
entity Apostolos Nikolaidis
relation ethnic group
type people
['Apostolos Nikolaidis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:people . resource:Apostolos_Nikolaidis property:ethnic_group ?g }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q331223,P172,c(Q2472587))
action filter_type
action find
entity Q331223
relation P172
type Q2472587
The ethnicity of Apostolos Nikolaidis is ethnic [ANSWER]
['Q331223', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2472587 . resource:Q331223 property:P172 ?g }
Greeks
The ethnicity of Apostolos Nikolaidis is ethnic Greeks
Greeks
action filter_type
action find
entity Apostolos Nikolaidis
relation ethnic group
type people
['Apostolos Nikolaidis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:people . resource:Apostolos_Nikolaidis property:ethnic_group ?g }
[]