Simple Question (Direct)
Simple Question
Q15724865
P161
Q502895
USER
Which people were casted in Unreal ?
(Q15724865,P161,c(Q502895))
action filter_type
action find
entity Q15724865
relation P161
type Q502895
['Q15724865', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q15724865 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Unreal
action filter_type
action find
entity Unreal
relation cast member
type common name
['Unreal', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Unreal property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q738952 Q442013 Q712761
SYSTEM
Craig Bierko, Constance Zimmer, Martin Cummins
Q2597 Q4101468 Q2469967 Q4961247 Q231928 Q712761 Q6289045 Q236269 Q738952 Q1190156 Q16238819 Q545288 Q1320512 Q254362 Q442013 Q230686
(Q15724865,P161,c(Q502895))
action filter_type
action find
entity Q15724865
relation P161
type Q502895
[ANSWERS] were casted in Unreal
['Q15724865', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q15724865 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Johanna Braddy Genevieve Buechner Amy Hill Brennan Elliott Arielle Kebbel Martin Cummins Josh Kelly Nathalie Kelley Craig Bierko Michael Rady Siobhan Williams Mimi Kuzyk Freddie Stroma Ashley Scott Constance Zimmer Shiri Appleby
Craig Bierko, Constance Zimmer and Martin Cummins were casted in Unreal
Craig Bierko Constance Zimmer Martin Cummins
action filter_type
action find
entity Unreal
relation cast member
type common name
['Unreal', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Unreal property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q738952 Q442013 Q712761
P106
Q12737077
USER
Which occupations are the professions of Craig Bierko, Constance Zimmer and Martin Cummins ?
(Q738952,P106,c(Q12737077)) (Q442013,P106,c(Q12737077)) (Q712761,P106,c(Q12737077))
action union
action filter_type
action find
entity Q738952
relation P106
type Q12737077
action filter_type
action find
entity Q442013
relation P106
type Q12737077
action filter_type
action find
entity Q712761
relation P106
type Q12737077
['Q738952', 'P106', {'concept': 'Q12737077'}] ['Q442013', 'P106', {'concept': 'Q12737077'}] ['Q712761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?g ) { ( resource:Q738952 ) ( resource:Q442013 ) } . ?g property:P106 ?h }
Craig Bierko Constance Zimmer Martin Cummins
action union
action filter_type
action find
entity Craig Bierko
relation occupation
type occupation
action filter_type
action find
entity Constance Zimmer
relation occupation
type occupation
action filter_type
action find
entity Martin Cummins
relation occupation
type occupation
['Craig Bierko', 'occupation', {'concept': 'occupation'}] ['Constance Zimmer', 'occupation', {'concept': 'occupation'}] ['Martin Cummins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?g ) { ( resource:Craig_Bierko ) ( resource:Constance_Zimmer ) } . ?g property:occupation ?h }
[]
occupation
Q10798782 Q10798782 Q2259451
SYSTEM
television actor for 1st, 2nd, stage actor for 3rd
Q10798782 Q2259451 Q33999 Q177220 Q10798782 Q33999 Q33999
(Q738952,P106,c(Q12737077)) (Q442013,P106,c(Q12737077)) (Q712761,P106,c(Q12737077))
action union
action filter_type
action find
entity Q738952
relation P106
type Q12737077
action filter_type
action find
entity Q442013
relation P106
type Q12737077
action filter_type
action find
entity Q712761
relation P106
type Q12737077
[ANSWERS]
['Q738952', 'P106', {'concept': 'Q12737077'}] ['Q442013', 'P106', {'concept': 'Q12737077'}] ['Q712761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?g ) { ( resource:Q738952 ) ( resource:Q442013 ) } . ?g property:P106 ?h }
television actor stage actor actor singer television actor actor actor
And television actor, television actor and stage actor are the professions of Craig Bierko, Constance Zimmer and Martin Cummins
television actor television actor stage actor
action union
action filter_type
action find
entity Craig Bierko
relation occupation
type occupation
action filter_type
action find
entity Constance Zimmer
relation occupation
type occupation
action filter_type
action find
entity Martin Cummins
relation occupation
type occupation
['Craig Bierko', 'occupation', {'concept': 'occupation'}] ['Constance Zimmer', 'occupation', {'concept': 'occupation'}] ['Martin Cummins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?g ) { ( resource:Craig_Bierko ) ( resource:Constance_Zimmer ) } . ?g property:occupation ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q738952
P1411
Q618779
USER
Which award does that person have ?
(Q738952,P1411,c(Q618779))
action filter_type
action find
entity Q738952
relation P1411
type Q618779
['Q738952', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q738952 property:P1411 ?s . ?s rdf:type ontology:Q618779 }
Craig Bierko
action filter_type
action find
entity Craig Bierko
relation nominated for
type award
['Craig Bierko', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Craig_Bierko property:nominated_for ?s . ?s rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q738952
SYSTEM
Did you mean Craig Bierko ?
Q10798782 Q10798782 Q2259451
(Q10798782,P1411,c(Q618779)) (Q10798782,P1411,c(Q618779)) (Q2259451,P1411,c(Q618779))
[ANSWER]
['Q10798782', 'P1411', {'concept': 'Q618779'}] ['Q10798782', 'P1411', {'concept': 'Q618779'}] ['Q2259451', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q738952 property:P1411 ?s . ?s rdf:type ontology:Q618779 }
television actor television actor stage actor
Did you mean Craig Bierko ?
Craig Bierko
['television actor', 'nominated for', {'concept': 'award'}] ['television actor', 'nominated for', {'concept': 'award'}] ['stage actor', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Craig_Bierko property:nominated_for ?s . ?s rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q738952,P1411,c(Q618779))
['Q738952', 'P1411', {'concept': 'Q618779'}]
['Craig Bierko', 'nominated for', {'concept': 'award'}]
[]
Q1723064
SYSTEM
Tony Award for Best Actor in a Musical
Q1723064
(Q738952,P1411,c(Q618779))
action filter_type
action find
entity Q738952
relation P1411
type Q618779
That person has a [ANSWER]
['Q738952', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q738952 property:P1411 ?s . ?s rdf:type ontology:Q618779 }
Tony Award for Best Actor in a Musical
That person has a Tony Award for Best Actor in a Musical
Tony Award for Best Actor in a Musical
action filter_type
action find
entity Craig Bierko
relation nominated for
type award
['Craig Bierko', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Craig_Bierko property:nominated_for ?s . ?s rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1411
Q502895
USER
How many people received nomination for that award ?
(c(Q502895),P1411,Q1723064)
action count
action filter_type
action find_reverse
entity Q1723064
relation P1411
type Q502895
[{'concept': 'Q502895'}, 'P1411', 'Q1723064']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P1411 resource:Q1723064 . ?n rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Tony Award for Best Actor in a Musical
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Tony Award for Best Actor in a Musical']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:nominated_for resource:Tony_Award_for_Best_Actor_in_a_Musical . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
191
Q366910 Q202056 Q1720470 Q1720470 Q3308101 Q3308101 Q3940979 Q313260 Q5528201 Q223033 Q363691 Q3141581 Q16734553 Q313256 Q7420433 Q708054 Q312252 Q979700 Q316641 Q316641 Q316641 Q2004171 Q2004171 Q6181572 Q5157993 Q580587 Q240886 Q4964424 Q2164670 Q7615646 Q1284241 Q5336038 Q5218102 Q7816181 Q3702265 Q3702265 Q5066281 Q14956941 Q1110119 Q682752 Q26234192 Q1233590 Q1350489 Q1350489 Q350640 Q6776813 Q41548 Q4935658 Q196560 Q319725 Q1078468 Q1078468 Q3644511 Q3644511 Q310394 Q566885 Q317654 Q317654 Q317654 Q317654 Q7823710 Q433417 Q15972933 Q7609091 Q3423783 Q3938463 Q3938463 Q421707 Q26227880 Q52392 Q52392 Q573709 Q5231929 Q6834022 Q26234182 Q319133 Q349217 Q465442 Q1917605 Q5405288 Q6793202 Q1235479 Q291029 Q1190319 Q1740104 Q6260257 Q2823932 Q738952 Q329744 Q1646482 Q1646482 Q139638 Q4909616 Q3218073 Q20140420 Q725399 Q601358 Q6106960 Q7356602 Q367653 Q367653 Q3758469 Q546008 Q4933272 Q7399724 Q3218026 Q5561159 Q286717 Q185051 Q3699925 Q3391364 Q3433799 Q23664061 Q26234840 Q3849500 Q5626983 Q296028 Q311699 Q1339107 Q7823394 Q104081 Q1480761 Q2027352 Q2027352 Q5133203 Q333595 Q762958 Q2157603 Q555182 Q270664 Q270664 Q318885 Q16203254 Q313755 Q28755 Q1146217 Q7343237 Q9144120 Q491264 Q3713508 Q7151306 Q352203 Q1887003 Q218122 Q218122 Q5301974 Q297816 Q211553 Q1905269 Q1905269 Q4760876 Q1177111 Q560516 Q6257280 Q555226 Q311271 Q360244 Q725931 Q5232189 Q5232189 Q459007 Q2625337 Q2625337 Q7051523 Q351290 Q351290 Q4961333 Q166212 Q451811 Q1853125 Q1853125 Q2787296 Q556644 Q443790 Q5336307 Q747697 Q5944327 Q1689081 Q1955147 Q1955147 Q267097 Q267097 Q519811 Q1456739 Q1456739 Q809019 Q558368 Q3758985 Q3758985 Q6175538 Q202600
(c(Q502895),P1411,Q1723064)
action count
action filter_type
action find_reverse
entity Q1723064
relation P1411
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1411', 'Q1723064']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P1411 resource:Q1723064 . ?n rdf:type ontology:Q502895 }
Ron Moody Hank Azaria Len Cariou Len Cariou Michael Cerveris Michael Cerveris Ron Raines Al Green Gavin Lee Sean Hayes Ian Richardson Howard McGillin Bryce Pinkham Bob Fosse Santino Fontana Cleavant Derricks Andy Griffith Giorgio Tozzi Joel Grey Joel Grey Joel Grey Tom Wopat Tom Wopat Jeremy Jordan Con O'Neill Brock Peters Ray Bolger Brian Lane Green Stephen Lynch Stew Tommy Steele Eddie Foy, Jr. Daniel McDonald Tom Hewitt Danny Burstein Danny Burstein Chad Kimball Bertie Carvel Colm Wilkinson Peter Friedman Robert La Fosse Maurice Evans Jack Cassidy Jack Cassidy Walter Pidgeon Martin Vidnovic Antonio Banderas Bobby Van Kelsey Grammer Lou Diamond Phillips Alfred Drake Alfred Drake Brian Stokes Mitchell Brian Stokes Mitchell Alan Alda Harry Groener Raúl Juliá Raúl Juliá Raúl Juliá Raúl Juliá Tony Yazbeck Keith Carradine Joshua Henry Stephen Douglass Reid Shelton Robert Weede Robert Weede Jerry Orbach Michael V. Smartt Tim Curry Tim Curry Anthony Newley David Burns Michael Rupert Gabriel Barre Chaim Topol Norman Wisdom Robert Guillaume Constantine Maroulis Euan Morton Maurice Hines Tony Roberts Stark Sands Josh Gad Kevin Chamberlin John Tartaglia Adam Cooper Craig Bierko Martin Short Lin-Manuel Miranda Lin-Manuel Miranda Zachary Levi Bill Johnson Larry Kert Jere Shea Clive Revill Phil Silvers J. Robert Spencer Roderick Cook Gregory Hines Gregory Hines Gary Beach Sydney Chaplin Bob Martin Sahr Ngaujah Larry Blyden Gilbert Price Tony Randall Christopher Walken Cyril Ritchard Daniel Evans Lewis J. Stadlen Alex Brightman Robert Fairchild Mark Jacoby Gregg Edelman Alfred Molina Scott Bakula Steve Lawrence Tony Sheldon Mickey Rooney George Rose John McMartin John McMartin Clifton Davis Ricardo Montalbán Harry Secombe Robert Hooks Jack Gilford Victor Garber Victor Garber Mako Iwamatsu Rob McClure Harry Connick Matthew Broderick Fernando Lamas Robert Cuccioli Alan Campbell Nathan Lane Don Correia Paul Hipp Bob Gunton Malcolm Gets Robert Morse Robert Morse Douglas Sills Sammy Davis, Jr. Ken Watanabe John Cullum John Cullum Andy Karl David Wayne Andrew Rannells John Selya Sid Caesar John Lithgow Savion Glover Robert Klein David Carroll David Carroll Joe Morton George Hearn George Hearn Norm Lewis Patrick Wilson Patrick Wilson Brent Carver Eddie Bracken Robert Preston Terrence Mann Terrence Mann Adam Pascal Jonathan Groff Barry Nelson Eddie Mekka Raúl Esparza Hunter Foster Jim Dale Brian d'Arcy James Brian d'Arcy James Mandy Patinkin Mandy Patinkin Ramin Karimloo Herschel Bernardi Herschel Bernardi Barry Bostwick Gene Barry Gavin Creel Gavin Creel Jefferson Mays Richard Kiley
191
action count
action filter_type
action find_reverse
entity Tony Award for Best Actor in a Musical
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Tony Award for Best Actor in a Musical']
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:nominated_for resource:Tony_Award_for_Best_Actor_in_a_Musical . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1723064
P166
Q502895
USER
Which people received the award titled Tony Award for Best Actor in a Musical ?
(c(Q502895),P166,Q1723064)
action filter_type
action find_reverse
entity Q1723064
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q1723064']
SELECT DISTINCT ?n WHERE { ?n property:P166 resource:Q1723064 . ?n rdf:type ontology:Q502895 }
Tony Award for Best Actor in a Musical
action filter_type
action find_reverse
entity Tony Award for Best Actor in a Musical
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Tony Award for Best Actor in a Musical']
SELECT DISTINCT ?n WHERE { ?n property:award_received resource:Tony_Award_for_Best_Actor_in_a_Musical . ?n rdf:type ontology:common_name }
[]
common name
Q105817 Q151973 Q190523
SYSTEM
Kevin Kline, Richard Burton, Christopher Plummer
Q317026 Q28755 Q4913177 Q543293 Q7819952 Q6245076 Q4961333 Q191952 Q7155311 Q316629 Q4225474 Q1099628 Q1905269 Q4885794 Q7151167 Q656035 Q451811 Q181887 Q2625337 Q4246356 Q601358 Q349668 Q553436 Q827411 Q190523 Q770841 Q129591 Q329744 Q367653 Q491264 Q26234692 Q1720470 Q105817 Q1480761 Q1078468 Q312702 Q5301604 Q373976 Q2061166 Q7612991 Q311271 Q720742 Q1689081 Q692800 Q113328 Q311754 Q944245 Q5484158 Q3644511 Q151973 Q18089198 Q485310 Q3308101 Q421707 Q202600 Q895921 Q240886 Q809019 Q454200 Q218122 Q446481
(c(Q502895),P166,Q1723064)
action filter_type
action find_reverse
entity Q1723064
relation P166
type Q502895
[ANSWERS] received the award titled Tony Award for Best Actor in a Musical
[{'concept': 'Q502895'}, 'P166', 'Q1723064']
SELECT DISTINCT ?n WHERE { ?n property:P166 resource:Q1723064 . ?n rdf:type ontology:Q502895 }
Thomas Mitchell Matthew Broderick Billy Porter Ezio Pinza Tommy Tune John Lloyd Young Brent Carver Zero Mostel Paulo Szot Alan Cumming Trent Kowalik Cleavon Little John Cullum Ben Harney Paul Hartman Michael Crawford Robert Preston Rex Harrison George Hearn Kiril Kulish Phil Silvers James Naughton Hal Linden Bert Lahr Christopher Plummer Ben Vereen Hugh Jackman Martin Short Gregory Hines Nathan Lane David Álvarez Len Cariou Kevin Kline George Rose Alfred Drake Jonathan Pryce Douglas Hodge David Hyde Pierce Robert Alda Steve Kazee John Lithgow Robert Goulet Jim Dale Ray Walston Walter Slezak Jason Alexander Robert Lindsay Norbert Leo Butz Brian Stokes Mitchell Richard Burton Leslie Odom Jr. Neil Patrick Harris Michael Cerveris Jerry Orbach Richard Kiley Boyd Gaines Ray Bolger Barry Bostwick Jackie Gleason Robert Morse Harvey Fierstein
Kevin Kline, Richard Burton and Christopher Plummer received the award titled Tony Award for Best Actor in a Musical
Kevin Kline Richard Burton Christopher Plummer
action filter_type
action find_reverse
entity Tony Award for Best Actor in a Musical
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Tony Award for Best Actor in a Musical']
SELECT DISTINCT ?n WHERE { ?n property:award_received resource:Tony_Award_for_Best_Actor_in_a_Musical . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1723064
P17
Q15617994
USER
Which administrative territory is Tony Award for Best Actor in a Musical situated in ?
(Q1723064,P17,c(Q15617994))
action filter_type
action find
entity Q1723064
relation P17
type Q15617994
['Q1723064', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1723064 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Tony Award for Best Actor in a Musical
action filter_type
action find
entity Tony Award for Best Actor in a Musical
relation country
type designation for an administrative territorial entity
['Tony Award for Best Actor in a Musical', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tony_Award_for_Best_Actor_in_a_Musical property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1723064,P17,c(Q15617994))
action filter_type
action find
entity Q1723064
relation P17
type Q15617994
[ANSWER] is Tony Award for Best Actor in a Musical situated in
['Q1723064', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1723064 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Tony Award for Best Actor in a Musical situated in
United States of America
action filter_type
action find
entity Tony Award for Best Actor in a Musical
relation country
type designation for an administrative territorial entity
['Tony Award for Best Actor in a Musical', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Tony_Award_for_Best_Actor_in_a_Musical property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q478948
Q15617994
USER
And also tell me about Yeditepe University?
(Q478948,P17,c(Q15617994))
action filter_type
action find
entity Q478948
relation P17
type Q15617994
['Q478948', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q478948 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Yeditepe University
action filter_type
action find
entity Yeditepe University
relation country
type designation for an administrative territorial entity
['Yeditepe University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Yeditepe_University property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q478948,P17,c(Q15617994))
action filter_type
action find
entity Q478948
relation P17
type Q15617994
[ANSWER]
['Q478948', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q478948 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Turkey
Turkey
action filter_type
action find
entity Yeditepe University
relation country
type designation for an administrative territorial entity
['Yeditepe University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Yeditepe_University property:country ?k . ?k 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 are known to have diplomatic connections with approximately 71 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 71
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?u ) WHERE { ?a property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?u = 71 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 71
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?u ) WHERE { ?a property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?u = 71 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 71
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?u ) WHERE { ?a property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . FILTER ( ?u = 71 ) }
Australia Canada
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 71
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?u ) WHERE { ?a property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . FILTER ( ?u = 71 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q578555
P101
Q502895
USER
How many people have field of work as United States of America or Noether's theorem ?
(c(Q502895),P101,Q30) (c(Q502895),P101,Q578555)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
action filter_type
action find_reverse
entity Q578555
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30'] [{'concept': 'Q502895'}, 'P101', 'Q578555']
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:P101 resource:Q30 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P101 resource:Q578555 . ?j rdf:type ontology:Q502895 } }
United States of America Noether's theorem
action count
action union
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
action filter_type
action find_reverse
entity Noether's theorem
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America'] [{'concept': 'common name'}, 'field of work', "Noether's theorem"]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:field_of_work resource:United_States_of_America . ?j rdf:type ontology:common_name } UNION { ?j property:field_of_work resource:Noether's_theorem . ?j rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q7099 Q498840
(c(Q502895),P101,Q30) (c(Q502895),P101,Q578555)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
action filter_type
action find_reverse
entity Q578555
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q30'] [{'concept': 'Q502895'}, 'P101', 'Q578555']
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:P101 resource:Q30 . ?j rdf:type ontology:Q502895 } UNION { ?j property:P101 resource:Q578555 . ?j rdf:type ontology:Q502895 } }
Emmy Noether David Janssen
2
action count
action union
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
action filter_type
action find_reverse
entity Noether's theorem
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America'] [{'concept': 'common name'}, 'field of work', "Noether's theorem"]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { { ?j property:field_of_work resource:United_States_of_America . ?j rdf:type ontology:common_name } UNION { ?j property:field_of_work resource:Noether's_theorem . ?j rdf:type ontology:common_name } }
[]