Simple Question (Direct)
Simple Question
Q3776415
P54
Q12973014
USER
Which sports teams are Greg Howard a member of ?
(Q3776415,P54,c(Q12973014))
action filter_type
action find
entity Q3776415
relation P54
type Q12973014
['Q3776415', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q3776415 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Greg Howard
action filter_type
action find
entity Greg Howard
relation member of sports team
type sports team
['Greg Howard', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Greg_Howard property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q164177 Q162990
SYSTEM
Phoenix Suns, Cleveland Cavaliers
Q164177 Q162990
(Q3776415,P54,c(Q12973014))
action filter_type
action find
entity Q3776415
relation P54
type Q12973014
The [ANSWERS] are Greg Howard a member of
['Q3776415', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q3776415 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Phoenix Suns Cleveland Cavaliers
The Phoenix Suns and Cleveland Cavaliers are Greg Howard a member of
Phoenix Suns Cleveland Cavaliers
action filter_type
action find
entity Greg Howard
relation member of sports team
type sports team
['Greg Howard', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Greg_Howard property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q164177
P647
Q502895
USER
Which people drafted that sports team ?
(c(Q502895),P647,Q164177)
action filter_type
action find_reverse
entity Q164177
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q164177']
SELECT DISTINCT ?m WHERE { ?m property:P647 resource:Q164177 . ?m rdf:type ontology:Q502895 }
Phoenix Suns
action filter_type
action find_reverse
entity Phoenix Suns
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Phoenix Suns']
SELECT DISTINCT ?m WHERE { ?m property:drafted_by resource:Phoenix_Suns . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q162990
SYSTEM
Did you mean Cleveland Cavaliers ?
Q164177 Q162990
(c(Q502895),P647,Q164177) (c(Q502895),P647,Q162990)
[ANSWER]
[{'concept': 'Q502895'}, 'P647', 'Q164177'] [{'concept': 'Q502895'}, 'P647', 'Q162990']
SELECT DISTINCT ?m WHERE { ?m property:P647 resource:Q164177 . ?m rdf:type ontology:Q502895 }
Phoenix Suns Cleveland Cavaliers
Did you mean Cleveland Cavaliers ?
Cleveland Cavaliers
[{'concept': 'common name'}, 'drafted by', 'Phoenix Suns'] [{'concept': 'common name'}, 'drafted by', 'Cleveland Cavaliers']
SELECT DISTINCT ?m WHERE { ?m property:drafted_by resource:Phoenix_Suns . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Phoenix Suns. Could you tell me the answer for that?
(c(Q502895),P647,Q164177)
Q164177
[{'concept': 'Q502895'}, 'P647', 'Q164177']
[{'concept': 'common name'}, 'drafted by', 'Phoenix Suns']
[]
Q192955 Q352110 Q275183
SYSTEM
Steve Nash, George Gervin, Luol Deng
Q17150680 Q3941231 Q619583 Q3644447 Q3801802 Q20031362 Q3615455 Q318916 Q3637930 Q3809579 Q2568783 Q19828546 Q1634959 Q352110 Q3704260 Q3859699 Q1458241 Q3855240 Q1747213 Q961491 Q5690886 Q3808368 Q2360278 Q125060 Q16235967 Q311869 Q3618485 Q4008608 Q3928933 Q3569388 Q2626273 Q560436 Q3935041 Q1372226 Q2566761 Q2342064 Q2757717 Q15608836 Q3638842 Q1627788 Q523630 Q3679821 Q1615679 Q933485 Q1463211 Q932879 Q18159185 Q3874076 Q1616713 Q2601456 Q3814628 Q174663 Q3857362 Q975066 Q2458102 Q616402 Q3665711 Q358723 Q3640054 Q3758529 Q2567039 Q2664219 Q3934732 Q275183 Q274469 Q2445067 Q245990 Q3935065 Q3616282 Q2735520 Q2607516 Q3940963 Q941838 Q2330106 Q1047188 Q432341 Q2903360 Q1439529 Q548382 Q1032471 Q1617934 Q463074 Q3857427 Q3613451 Q771496 Q1125913 Q2565189 Q448245 Q3613321 Q3607494 Q14469655 Q14469654 Q2629179 Q555355 Q192955 Q1624895 Q3876044 Q3752661 Q1159115 Q315104 Q42615 Q1155161 Q1609451 Q312651 Q1617210 Q1632222 Q1358452 Q4717362 Q3808743 Q3776415 Q3874249 Q3776411 Q1752926 Q1617178 Q6214605 Q3826272 Q3973366 Q461825 Q270981 Q1618785 Q2332758 Q2656341 Q2557309 Q1458307 Q2615252 Q939240 Q82132
(c(Q502895),P647,Q164177)
action filter_type
action find_reverse
entity Q164177
relation P647
type Q502895
[ANSWERS] drafted that sports team
[{'concept': 'Q502895'}, 'P647', 'Q164177']
SELECT DISTINCT ?m WHERE { ?m property:P647 resource:Q164177 . ?m rdf:type ontology:Q502895 }
Alec Brown Rory White Alex Oriakhi Brian Davis Ira Terrell Devin Booker Andre Wakefield Michael Finley Ben Davis John Roche Ron Boone Kenny Booker Earl Williams George Gervin Dean Garrett Mo Layton Ron Lee Mervin Jackson Tim Perry Malcolm Mackey Bob Miller Jim Owens Charles Jones Sergio Rodríguez T. J. Warren Shawn Marion Anthony Cook Vann Williford Rafael Addison Winston Crite Gani Lawal Robin Lopez Ricky Blanton Kendall Marshall D. J. Strawberry Marty Byrnes Nemanja Nedović Rod Knowles Bernie Fryer Antonio Lang Steve Kerr Claude Terry Fred Saunders Craig Dykema Gary Gregor Cedric Ceballos Gene Williams Neal Walk Jayson Williams Miloš Babić Kenny Gattison Walter Szczerbiak Mike Bratz Walter Davis Žarko Čabarkapa Wesley Person Chad Gallagher Marcin Gortat Billy McKinney Gary Melchionni William Bedford Dwayne Collins Rich Jones Luol Deng Rajon Rondo Earl Clark Bogdan Bogdanovićc Ricky Sobers Andrew Lang Emir Preldžić Taylor Griffin Ron Ellis Corky Calhoun David Thirdkill Casey Jacobsen Allen Murphy Bill Sweek Charles Pittman Rod Foster Dennis Stewart Dick Cunningham Jake Tsakalidis Mike Morrison Alvin Scott Grant Gondrezick Kevin Magee Armen Gilliam Alvan Adams Alton Ford Al Fleming Al Green Andrew Harrison Markieff Morris Jeff Hornacek Steve Nash Charles Jones Nick Vanos Fred Taylor Dan Majerle Nate Robinson Georgi Glouchkov Kyle Macy Jay Humphries Rudy Fernández Chris Carr Mario Bennett Larry Nance Alex Len Joel Kramer Greg Howard Negele Knight Greg Grant Malik Hairston Ed Pinckney Joey Wright Lamar Green Steve Malovic Stephen Jackson Amar'e Stoudemire Anthony Goldwire John Shumate Alando Tucker Mike Bantom Richard Dumas Don Buse Oliver Miller Granger Hall
Steve Nash, George Gervin and Luol Deng drafted that sports team
Steve Nash George Gervin Luol Deng
action filter_type
action find_reverse
entity Phoenix Suns
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Phoenix Suns']
SELECT DISTINCT ?m WHERE { ?m property:drafted_by resource:Phoenix_Suns . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art did atleast 21 people do the dubbing for ?
(c(Q838948),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 21
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?p ) WHERE { ?f property:P725 ?a . ?f rdf:type ontology:Q838948 . ?a rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?p >= 21 ) }
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 21
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?p ) WHERE { ?f property:voice_actor ?a . ?f rdf:type ontology:work_of_art . ?a rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?p >= 21 ) }
[]
common name work of art
Q477365 Q16857406 Q19263748
SYSTEM
101 Dalmatians II: Patch's London Adventure, The Jungle Book, The Anthem of the Heart
Q477365 Q16857406 Q19263748
(c(Q838948),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 21
[ANSWERS] atleast 21 people did the dubbing for
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?p ) WHERE { ?f property:P725 ?a . ?f rdf:type ontology:Q838948 . ?a rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?p >= 21 ) }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
101 Dalmatians II: Patch's London Adventure, The Jungle Book and The Anthem of the Heart atleast 21 people did the dubbing for
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 21
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?p ) WHERE { ?f property:voice_actor ?a . ?f rdf:type ontology:work_of_art . ?a rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?p >= 21 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q477365 Q16857406 Q19263748
P57
Q502895
USER
Who directed those works of art ?
(Q477365,P57,c(Q502895)) (Q16857406,P57,c(Q502895)) (Q19263748,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q477365', 'P57', {'concept': 'Q502895'}] ['Q16857406', 'P57', {'concept': 'Q502895'}] ['Q19263748', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?t property:P57 ?k . VALUES ( ?t ) { ( resource:Q477365 ) ( resource:Q16857406 ) ( resource:Q19263748 ) } }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
action filter_type
action find
entity prev_answer
relation director
type common name
["101 Dalmatians II: Patch's London Adventure", 'director', {'concept': 'common name'}] ['The Jungle Book', 'director', {'concept': 'common name'}] ['The Anthem of the Heart', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?t property:director ?k . VALUES ( ?t ) { ( resource:101_Dalmatians_II:_Patch's_London_Adventure ) ( resource:The_Jungle_Book ) ( resource:The_Anthem_of_the_Heart ) } }
[]
common name
Q295964 Q27185702 Q6195995
SYSTEM
Jon Favreau, Brian Smith, Jim Kammerud
Q27185702 Q6195995 Q295964 Q1073727
(Q477365,P57,c(Q502895)) (Q16857406,P57,c(Q502895)) (Q19263748,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
[ANSWERS] directed those works of art
['Q477365', 'P57', {'concept': 'Q502895'}] ['Q16857406', 'P57', {'concept': 'Q502895'}] ['Q19263748', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?t property:P57 ?k . VALUES ( ?t ) { ( resource:Q477365 ) ( resource:Q16857406 ) ( resource:Q19263748 ) } }
Brian Smith Jim Kammerud Jon Favreau Tatsuyuki Nagai
Jon Favreau, Brian Smith and Jim Kammerud directed those works of art
Jon Favreau Brian Smith Jim Kammerud
action filter_type
action find
entity prev_answer
relation director
type common name
["101 Dalmatians II: Patch's London Adventure", 'director', {'concept': 'common name'}] ['The Jungle Book', 'director', {'concept': 'common name'}] ['The Anthem of the Heart', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?t property:director ?k . VALUES ( ?t ) { ( resource:101_Dalmatians_II:_Patch's_London_Adventure ) ( resource:The_Jungle_Book ) ( resource:The_Anthem_of_the_Heart ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q295964 Q27185702 Q6195995
P57
Q838948
USER
Which works of art have Jon Favreau, Brian Smith and Jim Kammerud as their director ?
(c(Q838948),P57,Q295964) (c(Q838948),P57,Q27185702) (c(Q838948),P57,Q6195995)
action union
action filter_type
action find_reverse
entity Q295964
relation P57
type Q838948
action filter_type
action find_reverse
entity Q27185702
relation P57
type Q838948
action filter_type
action find_reverse
entity Q6195995
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q295964'] [{'concept': 'Q838948'}, 'P57', 'Q27185702'] [{'concept': 'Q838948'}, 'P57', 'Q6195995']
SELECT DISTINCT ?p WHERE { ?p property:P57 ?m . VALUES ( ?m ) { ( resource:Q295964 ) ( resource:Q27185702 ) } }
Jon Favreau Brian Smith Jim Kammerud
action union
action filter_type
action find_reverse
entity Jon Favreau
relation director
type work of art
action filter_type
action find_reverse
entity Brian Smith
relation director
type work of art
action filter_type
action find_reverse
entity Jim Kammerud
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Jon Favreau'] [{'concept': 'work of art'}, 'director', 'Brian Smith'] [{'concept': 'work of art'}, 'director', 'Jim Kammerud']
SELECT DISTINCT ?p WHERE { ?p property:director ?m . VALUES ( ?m ) { ( resource:Jon_Favreau ) ( resource:Brian_Smith ) } }
[]
work of art
Q192724 Q205028 Q16857406
SYSTEM
Iron Man, Iron Man 2, The Jungle Book
Q148326 Q949879 Q2557556 Q205028 Q16857406 Q725578 Q15046490 Q192724 Q477365 Q477365
(c(Q838948),P57,Q295964) (c(Q838948),P57,Q27185702) (c(Q838948),P57,Q6195995)
action union
action filter_type
action find_reverse
entity Q295964
relation P57
type Q838948
action filter_type
action find_reverse
entity Q27185702
relation P57
type Q838948
action filter_type
action find_reverse
entity Q6195995
relation P57
type Q838948
[ANSWERS] have Jon Favreau, Brian Smith and Jim Kammerud as their director
[{'concept': 'Q838948'}, 'P57', 'Q295964'] [{'concept': 'Q838948'}, 'P57', 'Q27185702'] [{'concept': 'Q838948'}, 'P57', 'Q6195995']
SELECT DISTINCT ?p WHERE { ?p property:P57 ?m . VALUES ( ?m ) { ( resource:Q295964 ) ( resource:Q27185702 ) } }
Zathura Elf Made Iron Man 2 The Jungle Book Cowboys & Aliens Chef Iron Man 101 Dalmatians II: Patch's London Adventure 101 Dalmatians II: Patch's London Adventure
Iron Man, Iron Man 2 and The Jungle Book have Jon Favreau, Brian Smith and Jim Kammerud as their director
Iron Man Iron Man 2 The Jungle Book
action union
action filter_type
action find_reverse
entity Jon Favreau
relation director
type work of art
action filter_type
action find_reverse
entity Brian Smith
relation director
type work of art
action filter_type
action find_reverse
entity Jim Kammerud
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Jon Favreau'] [{'concept': 'work of art'}, 'director', 'Brian Smith'] [{'concept': 'work of art'}, 'director', 'Jim Kammerud']
SELECT DISTINCT ?p WHERE { ?p property:director ?m . VALUES ( ?m ) { ( resource:Jon_Favreau ) ( resource:Brian_Smith ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192955
P69
Q159334
USER
What is the secondary school where Steve Nash was educated ?
(Q192955,P69,c(Q159334))
action filter_type
action find
entity Q192955
relation P69
type Q159334
['Q192955', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?a WHERE { resource:Q192955 property:P69 ?a . ?a rdf:type ontology:Q159334 }
Steve Nash
action filter_type
action find
entity Steve Nash
relation educated at
type secondary school
['Steve Nash', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?a WHERE { resource:Steve_Nash property:educated_at ?a . ?a rdf:type ontology:secondary_school }
[]
secondary school
Q1584139
SYSTEM
St. Michaels University School
Q1584139
(Q192955,P69,c(Q159334))
action filter_type
action find
entity Q192955
relation P69
type Q159334
The secondary school Steve Nash was educated is at [ANSWER]
['Q192955', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?a WHERE { resource:Q192955 property:P69 ?a . ?a rdf:type ontology:Q159334 }
St. Michaels University School
The secondary school Steve Nash was educated is at St. Michaels University School
St. Michaels University School
action filter_type
action find
entity Steve Nash
relation educated at
type secondary school
['Steve Nash', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?a WHERE { resource:Steve_Nash property:educated_at ?a . ?a rdf:type ontology:secondary_school }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q192955
Q163740
USER
And which nonprofit organization?
(Q192955,P69,c(Q163740))
action filter_type
action find
entity Q192955
relation P69
type Q163740
['Q192955', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { resource:Q192955 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Steve Nash
action filter_type
action find
entity Steve Nash
relation educated at
type nonprofit organization
['Steve Nash', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { resource:Steve_Nash property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q992830
SYSTEM
Santa Clara University
Q992830
(Q192955,P69,c(Q163740))
action filter_type
action find
entity Q192955
relation P69
type Q163740
[ANSWER]
['Q192955', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { resource:Q192955 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Santa Clara University
Santa Clara University
action filter_type
action find
entity Steve Nash
relation educated at
type nonprofit organization
['Steve Nash', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { resource:Steve_Nash property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q992830 Q7051158 Q30
P17
Q15617994
USER
Is that nonprofit organization present in Norfork School District and United States of America ?
(Q992830,P17,Q7051158) (Q992830,P17,Q30)
action is_in
entity Q992830
action intersection
action find_reverse
entity Q7051158
relation P17
action find_reverse
entity Q30
relation P17
['Q992830', 'P17', 'Q7051158'] ['Q992830', 'P17', 'Q30']
ASK WHERE { resource:Q992830 property:P17 resource:Q30 . resource:Q992830 property:P17 resource:Q7051158 }
Santa Clara University Norfork School District United States of America
action is_in
entity Santa Clara University
action intersection
action find_reverse
entity Norfork School District
relation country
action find_reverse
entity United States of America
relation country
['Santa Clara University', 'country', 'Norfork School District'] ['Santa Clara University', 'country', 'United States of America']
ASK WHERE { resource:Santa_Clara_University property:country resource:United_States_of_America . resource:Santa_Clara_University property:country resource:Norfork_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q992830,P17,Q7051158) (Q992830,P17,Q30)
action is_in
entity Q992830
action intersection
action find_reverse
entity Q7051158
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q992830', 'P17', 'Q7051158'] ['Q992830', 'P17', 'Q30']
ASK WHERE { resource:Q992830 property:P17 resource:Q30 . resource:Q992830 property:P17 resource:Q7051158 }
NO and YES respectively
action is_in
entity Santa Clara University
action intersection
action find_reverse
entity Norfork School District
relation country
action find_reverse
entity United States of America
relation country
['Santa Clara University', 'country', 'Norfork School District'] ['Santa Clara University', 'country', 'United States of America']
ASK WHERE { resource:Santa_Clara_University property:country resource:United_States_of_America . resource:Santa_Clara_University property:country resource:Norfork_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q192955 Q1675033
P21
Q290
USER
How many sexes do Steve Nash or Itako have ?
(Q192955,P21,c(Q290)) (Q1675033,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q192955
relation P21
type Q290
action filter_type
action find
entity Q1675033
relation P21
type Q290
['Q192955', 'P21', {'concept': 'Q290'}] ['Q1675033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?x property:P21 ?s . VALUES ( ?x ) { ( resource:Q192955 ) ( resource:Q1675033 ) } }
Steve Nash Itako
action count
action union
action filter_type
action find
entity Steve Nash
relation gender
type sex
action filter_type
action find
entity Itako
relation gender
type sex
['Steve Nash', 'gender', {'concept': 'sex'}] ['Itako', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?x property:gender ?s . VALUES ( ?x ) { ( resource:Steve_Nash ) ( resource:Itako ) } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q192955,P21,c(Q290)) (Q1675033,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q192955
relation P21
type Q290
action filter_type
action find
entity Q1675033
relation P21
type Q290
[ANSWER]
['Q192955', 'P21', {'concept': 'Q290'}] ['Q1675033', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?x property:P21 ?s . VALUES ( ?x ) { ( resource:Q192955 ) ( resource:Q1675033 ) } }
male female
2
action count
action union
action filter_type
action find
entity Steve Nash
relation gender
type sex
action filter_type
action find
entity Itako
relation gender
type sex
['Steve Nash', 'gender', {'concept': 'sex'}] ['Itako', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?x property:gender ?s . VALUES ( ?x ) { ( resource:Steve_Nash ) ( resource:Itako ) } }
[]