Simple Question (Direct)
Simple Question
Q626257
P21
Q290
USER
What is the sex of Cho Jun-Ho ?
(Q626257,P21,c(Q290))
action filter_type
action find
entity Q626257
relation P21
type Q290
['Q626257', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q626257 property:P21 ?d . ?d rdf:type ontology:Q290 }
Cho Jun-Ho
action filter_type
action find
entity Cho Jun-Ho
relation gender
type sex
['Cho Jun-Ho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Cho_Jun-Ho property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q626257,P21,c(Q290))
action filter_type
action find
entity Q626257
relation P21
type Q290
The sex of Cho Jun-Ho is a [ANSWER]
['Q626257', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q626257 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of Cho Jun-Ho is a male
male
action filter_type
action find
entity Cho Jun-Ho
relation gender
type sex
['Cho Jun-Ho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Cho_Jun-Ho property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q626257
P106
Q12737077
USER
Which occupation is the profession of Cho Jun-Ho ?
(Q626257,P106,c(Q12737077))
action filter_type
action find
entity Q626257
relation P106
type Q12737077
['Q626257', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q626257 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Cho Jun-Ho
action filter_type
action find
entity Cho Jun-Ho
relation occupation
type occupation
['Cho Jun-Ho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Cho_Jun-Ho property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q626257,P106,c(Q12737077))
action filter_type
action find
entity Q626257
relation P106
type Q12737077
Player [ANSWER] is the profession of Cho Jun-Ho
['Q626257', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q626257 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Cho Jun-Ho
association football player
action filter_type
action find
entity Cho Jun-Ho
relation occupation
type occupation
['Cho Jun-Ho', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Cho_Jun-Ho property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q626257
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q626257
relation P19
type Q15617994
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q626257 property:P19 ?w . ?w rdf:type ontology:Q15617994 }
Cho Jun-Ho
action filter_type
action find
entity Cho Jun-Ho
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Cho_Jun-Ho property:place_of_birth ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q626257
relation P19
type Q15617994
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q626257 property:P19 ?w . ?w rdf:type ontology:Q15617994 }
South Korea
That person was born in South Korea
South Korea
action filter_type
action find
entity Cho Jun-Ho
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Cho_Jun-Ho property:place_of_birth ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with around 123 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 123
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { ?n property:P530 ?u . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?z = 123 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 123
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { ?n property:diplomatic_relation ?u . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?z = 123 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 123
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { ?n property:P530 ?u . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?z = 123 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 123
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?z ) WHERE { ?n property:diplomatic_relation ?u . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?z = 123 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17403359 Q626257
P54
Q1194951
USER
Which national sports teams have Cho Jun-Ho and Ju Se-jong as their member ?
AND((Q626257,P54,c(Q1194951)), (Q17403359,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q626257
relation P54
action find
entity Q17403359
relation P54
type Q1194951
{'AND': [['Q626257', 'P54', {'concept': 'Q1194951'}], ['Q17403359', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?i WHERE { resource:Q626257 property:P54 ?i . resource:Q17403359 property:P54 ?i . ?i rdf:type ontology:Q1194951 }
Ju Se-jong Cho Jun-Ho
action filter_type
action intersection
action find
entity Cho Jun-Ho
relation member of sports team
action find
entity Ju Se-jong
relation member of sports team
type national sports team
{'AND': [['Cho Jun-Ho', 'member of sports team', {'concept': 'national sports team'}], ['Ju Se-jong', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?i WHERE { resource:Cho_Jun-Ho property:member_of_sports_team ?i . resource:Ju_Se-jong property:member_of_sports_team ?i . ?i rdf:type ontology:national_sports_team }
[]
national sports team
Q543842
SYSTEM
South Korea national football team
Q543842
AND((Q626257,P54,c(Q1194951)), (Q17403359,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q626257
relation P54
action find
entity Q17403359
relation P54
type Q1194951
And [ANSWER] have Cho Jun-Ho and Ju Se-jong as their member
{'AND': [['Q626257', 'P54', {'concept': 'Q1194951'}], ['Q17403359', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?i WHERE { resource:Q626257 property:P54 ?i . resource:Q17403359 property:P54 ?i . ?i rdf:type ontology:Q1194951 }
South Korea national football team
And South Korea national football team have Cho Jun-Ho and Ju Se-jong as their member
South Korea national football team
action filter_type
action intersection
action find
entity Cho Jun-Ho
relation member of sports team
action find
entity Ju Se-jong
relation member of sports team
type national sports team
{'AND': [['Cho Jun-Ho', 'member of sports team', {'concept': 'national sports team'}], ['Ju Se-jong', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?i WHERE { resource:Cho_Jun-Ho property:member_of_sports_team ?i . resource:Ju_Se-jong property:member_of_sports_team ?i . ?i rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q543842 Q5401725 Q37285
P1344
Q15275719
USER
Did that national sports team competited in Estoril Film Festival and 2006 FIFA World Cup ?
(Q543842,P1344,Q5401725) (Q543842,P1344,Q37285)
action is_in
entity Q543842
action intersection
action find_reverse
entity Q5401725
relation P1344
action find_reverse
entity Q37285
relation P1344
['Q543842', 'P1344', 'Q5401725'] ['Q543842', 'P1344', 'Q37285']
ASK WHERE { resource:Q543842 property:P1344 resource:Q37285 . resource:Q543842 property:P1344 resource:Q5401725 }
South Korea national football team Estoril Film Festival 2006 FIFA World Cup
action is_in
entity South Korea national football team
action intersection
action find_reverse
entity Estoril Film Festival
relation participant of
action find_reverse
entity 2006 FIFA World Cup
relation participant of
['South Korea national football team', 'participant of', 'Estoril Film Festival'] ['South Korea national football team', 'participant of', '2006 FIFA World Cup']
ASK WHERE { resource:South_Korea_national_football_team property:participant_of resource:2006_FIFA_World_Cup . resource:South_Korea_national_football_team property:participant_of resource:Estoril_Film_Festival }
[]
recurring event
SYSTEM
NO and YES respectively
(Q543842,P1344,Q5401725) (Q543842,P1344,Q37285)
action is_in
entity Q543842
action intersection
action find_reverse
entity Q5401725
relation P1344
action find_reverse
entity Q37285
relation P1344
[ANSWER]
['Q543842', 'P1344', 'Q5401725'] ['Q543842', 'P1344', 'Q37285']
ASK WHERE { resource:Q543842 property:P1344 resource:Q37285 . resource:Q543842 property:P1344 resource:Q5401725 }
NO and YES respectively
action is_in
entity South Korea national football team
action intersection
action find_reverse
entity Estoril Film Festival
relation participant of
action find_reverse
entity 2006 FIFA World Cup
relation participant of
['South Korea national football team', 'participant of', 'Estoril Film Festival'] ['South Korea national football team', 'participant of', '2006 FIFA World Cup']
ASK WHERE { resource:South_Korea_national_football_team property:participant_of resource:2006_FIFA_World_Cup . resource:South_Korea_national_football_team property:participant_of resource:Estoril_Film_Festival }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P17
Q41156
USER
Which administrative territory of South Koreas are located in South Korea ?
(c(Q41156),P17,Q884)
action filter_type
action find_reverse
entity Q884
relation P17
type Q41156
[{'concept': 'Q41156'}, 'P17', 'Q884']
SELECT DISTINCT ?e WHERE { ?e property:P17 resource:Q884 . ?e rdf:type ontology:Q41156 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation country
type administrative territorial entity of South Korea
[{'concept': 'administrative territorial entity of South Korea'}, 'country', 'South Korea']
SELECT DISTINCT ?e WHERE { ?e property:country resource:South_Korea . ?e rdf:type ontology:administrative_territorial_entity_of_South_Korea }
[]
administrative territorial entity of South Korea
Q42099 Q243327 Q42160
SYSTEM
Bucheon, Changwon, Hwaseong
Q12590816 Q12611997 Q12618195 Q7451617 Q12607652 Q243327 Q12625666 Q50319 Q50314 Q50315 Q50316 Q50317 Q50310 Q50311 Q50379 Q50313 Q50413 Q50395 Q50396 Q50397 Q50417 Q50416 Q50392 Q498516 Q25263507 Q50254 Q50419 Q50418 Q50251 Q50250 Q50253 Q50252 Q12607434 Q12601555 Q490106 Q12622476 Q50191 Q16184071 Q12618610 Q12594722 Q5521134 Q12615726 Q7418176 Q24024848 Q12625652 Q12618205 Q42146 Q50384 Q50307 Q50306 Q50386 Q50383 Q50381 Q50380 Q50387 Q12616629 Q8052461 Q50260 Q2647418 Q50262 Q50263 Q50398 Q50390 Q12607341 Q5516733 Q50309 Q50261 Q50318 Q50389 Q12599621 Q12608331 Q50391 Q12607567 Q485570 Q12614937 Q12593524 Q26123 Q2647548 Q485522 Q50378 Q485327 Q50376 Q12598539 Q50375 Q50428 Q50371 Q50312 Q6824562 Q50249 Q12585395 Q50414 Q50394 Q12626228 Q623599 Q20929 Q12599696 Q7260153 Q50203 Q50206 Q50207 Q50204 Q50205 Q42160 Q50259 Q50208 Q50209 Q50258 Q16177463 Q26212 Q50365 Q12608723 Q50367 Q12615507 Q498564 Q50363 Q50362 Q50440 Q50255 Q50442 Q50443 Q50445 Q50448 Q50449 Q12589991 Q12617121 Q12584322 Q16190897 Q12610751 Q12586603 Q12618254 Q50211 Q41164 Q50213 Q50212 Q50215 Q50214 Q50217 Q50216 Q12614563 Q50358 Q11241513 Q11259935 Q12590511 Q2647655 Q11272849 Q50352 Q50354 Q624160 Q50357 Q16171673 Q8055040 Q50393 Q12620021 Q195890 Q50450 Q16183941 Q485764 Q50406 Q7260180 Q493954 Q50346 Q50345 Q50344 Q50343 Q50342 Q50341 Q50340 Q50369 Q12593012 Q50220 Q490828 Q50248 Q12602634 Q2647661 Q16166856 Q12607151 Q50322 Q6936712 Q12586680 Q50331 Q13656017 Q50422 Q50423 Q50421 Q50426 Q50425 Q4780049 Q42117 Q50361 Q50243 Q50332 Q50333 Q50239 Q16175953 Q50334 Q50335 Q50338 Q24995332 Q16190286 Q16181889 Q16219652 Q50339 Q16174343 Q12600027 Q12614158 Q12607317 Q50324 Q12611609 Q42099 Q16172527 Q16172537 Q50431 Q50430 Q50433 Q50364 Q50435 Q50330 Q16184051 Q624999 Q42120 Q50321 Q50320 Q50323 Q5644362 Q50325 Q188624 Q50327 Q50326 Q50329 Q50328 Q50404 Q50405 Q2647282 Q50407 Q50400 Q50401 Q50402 Q50403 Q50246 Q50247 Q50244 Q50245 Q50242 Q50409 Q50240 Q50241 Q50347 Q50308 Q50210
(c(Q41156),P17,Q884)
action filter_type
action find_reverse
entity Q884
relation P17
type Q41156
[ANSWERS] are located in South Korea
[{'concept': 'Q41156'}, 'P17', 'Q884']
SELECT DISTINCT ?e WHERE { ?e property:P17 resource:Q884 . ?e rdf:type ontology:Q41156 }
Dasa Iyang-myeon Jindo Seonsan Yean-myeon Changwon Hwawon Imsil County Uljin County Eumseong County Uiryeong County Uiseong County Ongjin County Wando County Dong District Ulju County Seongsan-gu Buk District Buk-gu Bundang Suyeong District Suseong District Buk District Geoncheon-eup Samsan-dong Yangyang County Suji-gu Sujeon Sunchang County Seongju County Yanggu County Sinan County Yeongyang-eup Seokhu - Myeon Bukjeju County Hayang Gangseo District Daegaya Changnyeong-eup Macheon-myeon Gangjin-eup Jeongseon-eup Sangun-myeon eup of South Korea Hwayang-eup Jillyang-eup Cheonan Dongan-gu Yesan County Yeongwol County Masanhappo District Dongnae District Dongnam District Dong District Masanhoewon-gu Jodo-myeon Yeongam-eup Yeongdeok County Gaepo-dong Yeongam County Yeongyang County Sasang District Busanjin District Yeongdong-eup Gaeun Okcheon County Yeongdong County Inje County Manan-gu Sa-dong Warong - Myeon Bupyeong District Yeonghae-myeon Ulleung County Jeokseong-myeon Dongi-myeon Namhae County Yeoksam-dong Seo-myeon Dong District Sannae-myeon Dong-gu Bono-dong Dong District Wansan-gu Daedeok District Wanju County Siheung County Seocheon County Guryongpo Sosa-gu Buk District Heunghae Angang-eup Sejong City Saryang-myeon Punggi-eup Gapyeong County Geochang County Goryeong County Gangjin County Ganghwa County Hwaseong Yeonggwang County Goseong County Goseong County Yeoncheon County Sonyang-myeon Hadong County Nam District Yongam-myeon Namdong District Jeongnam-myeon Daegwallyeong-myeon Nam District Nam District Jung District Yangpyeong County Jung District Jung District Jungwon-gu Paldal-gu Haeundae District Nami-myeon Jochiwon-eup Goa Yongmun-myeon Uiseong Geumho Jinseo-myeon Goheung County Jeju Province Goesan County Gokseong County Gunwi County Gurye County Gijang County Geumsan County Jangsu-myeon Geumjeong District Mungyeong-eup Yeouido-dong Nongong Daechi-dong Jillye-myeon Gyeyang District Gwangsan District Gampo-eup Gwonseon-gu Chochon-myeon Yongpyeong-myeon Buk District Chuksan-myeon Yeongi County Heungdeok-gu Okcheon-eup Hyeongok-myeon Seo District Pungsan-eup Oedong-eup Hwacheon County Hwasun County Hongcheon County Hongseong County Haenam County Hapcheon County Hampyeong County Danwon-gu Dosan-Myeon Danyang County Namjeju County Sancheong County Soheul-eup Samseong-dong Gunwi Yeonil Jangheung County Munjeong-dong Gibuk-myeon Cheongsong County Onyang-eup Yeonje District Yeongdo District Yeonsu District Ojeong-gu Yeongtong-gu Apo-eup Ansan Nam District Boseong County Cheongyang County Cheongwon County Dalseong County Gajo-myeon Chilgok County Taean County Haman County Chimsan-dong Jinseo-myeon Byeollyang-myeon Ocheon Hamyang County Seongju Sanyang-eup Jayang-myeon Yeongdeok Jeungpyeong County Isan-myeon Bucheon Jeokseong-myeon Jeokseong-myeon Yuseong District Wonmi-gu Uichang-gu Nam District Ilsanseo-gu Cheongdo County Bonghwa-eup Pyeongchang-eup Anyang Jangsu County Jangseong County Jeongseon County Hamchang-eup Jindo County Pyeongchang County Jincheon County Jinan County Cheorwon County Changnyeong County Seo District Seo District Dogok-dong Seo District Saha District Sangdang-gu Sangnok-gu Seo District Buan County Buyeo County Boeun County Bonghwa County Muju County Seobuk District Damyang County Muan County Hoengseong County Yecheon County Gochang County
Bucheon, Changwon and Hwaseong are located in South Korea
Bucheon Changwon Hwaseong
action filter_type
action find_reverse
entity South Korea
relation country
type administrative territorial entity of South Korea
[{'concept': 'administrative territorial entity of South Korea'}, 'country', 'South Korea']
SELECT DISTINCT ?e WHERE { ?e property:country resource:South_Korea . ?e rdf:type ontology:administrative_territorial_entity_of_South_Korea }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42099
P20
Q502895
USER
Which people have that administrative territory of South Korea as the area of death ?
(c(Q502895),P20,Q42099)
action filter_type
action find_reverse
entity Q42099
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q42099']
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q42099 . ?s rdf:type ontology:Q502895 }
Bucheon
action filter_type
action find_reverse
entity Bucheon
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bucheon']
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Bucheon . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q42160
SYSTEM
Did you mean Hwaseong ?
Q42099 Q243327 Q42160
(c(Q502895),P20,Q42099) (c(Q502895),P20,Q243327) (c(Q502895),P20,Q42160)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q42099'] [{'concept': 'Q502895'}, 'P20', 'Q243327'] [{'concept': 'Q502895'}, 'P20', 'Q42160']
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q42099 . ?s rdf:type ontology:Q502895 }
Bucheon Changwon Hwaseong
Did you mean Hwaseong ?
Hwaseong
[{'concept': 'common name'}, 'place of death', 'Bucheon'] [{'concept': 'common name'}, 'place of death', 'Changwon'] [{'concept': 'common name'}, 'place of death', 'Hwaseong']
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Bucheon . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bucheon. Could you tell me the answer for that?
(c(Q502895),P20,Q42099)
Q42099
[{'concept': 'Q502895'}, 'P20', 'Q42099']
[{'concept': 'common name'}, 'place of death', 'Bucheon']
[]
Q5103939 Q7964472
SYSTEM
Choi Moo-ryong, Walter C. Monegan, Jr.
Q5103939 Q7964472
(c(Q502895),P20,Q42099)
action filter_type
action find_reverse
entity Q42099
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q42099']
SELECT DISTINCT ?s WHERE { ?s property:P20 resource:Q42099 . ?s rdf:type ontology:Q502895 }
Choi Moo-ryong Walter C. Monegan, Jr.
Choi Moo-ryong and Walter C. Monegan, Jr. have that administrative territory of South Korea as the area of death
Choi Moo-ryong Walter C. Monegan, Jr.
action filter_type
action find_reverse
entity Bucheon
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Bucheon']
SELECT DISTINCT ?s WHERE { ?s property:place_of_death resource:Bucheon . ?s rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q886
P725
Q502895 Q15961987
USER
How many television genres had their voice dubbing done by lesser number of people than The Simpsons ?
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?z ) WHERE { ?h property:P725 ?s . ?h rdf:type ontology:Q15961987 . ?s rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q886 property:P725 ?v } } . FILTER ( ?z < ?m ) }
The Simpsons
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?z ) WHERE { ?h property:voice_actor ?s . ?h rdf:type ontology:television_genre . ?s rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:common_name . resource:The_Simpsons property:voice_actor ?v } } . FILTER ( ?z < ?m ) }
[]
common name television genre
SYSTEM
8
Q11572 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q886
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?z ) WHERE { ?h property:P725 ?s . ?h rdf:type ontology:Q15961987 . ?s rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q886 property:P725 ?v } } . FILTER ( ?z < ?m ) }
Avatar: The Last Airbender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Garfield Show Hellsing Ultimate
8
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Simpsons
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?z ) WHERE { ?h property:voice_actor ?s . ?h rdf:type ontology:television_genre . ?s rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:common_name . resource:The_Simpsons property:voice_actor ?v } } . FILTER ( ?z < ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7964472 Q2828078
P119
Q39614
USER
How many cemeteries are the resting place of Walter C. Monegan, Jr. or Aimé Merlo ?
(Q7964472,P119,c(Q39614)) (Q2828078,P119,c(Q39614))
action count
action union
action filter_type
action find
entity Q7964472
relation P119
type Q39614
action filter_type
action find
entity Q2828078
relation P119
type Q39614
['Q7964472', 'P119', {'concept': 'Q39614'}] ['Q2828078', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?g property:P119 ?f . VALUES ( ?g ) { ( resource:Q7964472 ) ( resource:Q2828078 ) } }
Walter C. Monegan, Jr. Aimé Merlo
action count
action union
action filter_type
action find
entity Walter C. Monegan, Jr.
relation place of burial
type cemetery
action filter_type
action find
entity Aimé Merlo
relation place of burial
type cemetery
['Walter C. Monegan, Jr.', 'place of burial', {'concept': 'cemetery'}] ['Aimé Merlo', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?g property:place_of_burial ?f . VALUES ( ?g ) { ( resource:Walter_C._Monegan,_Jr. ) ( resource:Aimé_Merlo ) } }
[]
cemetery
SYSTEM
2
Q216344 Q932782
(Q7964472,P119,c(Q39614)) (Q2828078,P119,c(Q39614))
action count
action union
action filter_type
action find
entity Q7964472
relation P119
type Q39614
action filter_type
action find
entity Q2828078
relation P119
type Q39614
[ANSWER]
['Q7964472', 'P119', {'concept': 'Q39614'}] ['Q2828078', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?g property:P119 ?f . VALUES ( ?g ) { ( resource:Q7964472 ) ( resource:Q2828078 ) } }
Arlington National Cemetery Cimetière de Vaugirard
2
action count
action union
action filter_type
action find
entity Walter C. Monegan, Jr.
relation place of burial
type cemetery
action filter_type
action find
entity Aimé Merlo
relation place of burial
type cemetery
['Walter C. Monegan, Jr.', 'place of burial', {'concept': 'cemetery'}] ['Aimé Merlo', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?g property:place_of_burial ?f . VALUES ( ?g ) { ( resource:Walter_C._Monegan,_Jr. ) ( resource:Aimé_Merlo ) } }
[]