Simple Question (Direct)
Simple Question
Q2964739
P19
Q56061
USER
Where was Chris Holloway born ?
(Q2964739,P19,c(Q56061))
action filter_type
action find
entity Q2964739
relation P19
type Q56061
['Q2964739', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2964739 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Chris Holloway
action filter_type
action find
entity Chris Holloway
relation place of birth
type administrative territorial entity
['Chris Holloway', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Chris_Holloway property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23051
SYSTEM
Swansea
Q23051
(Q2964739,P19,c(Q56061))
action filter_type
action find
entity Q2964739
relation P19
type Q56061
Chris Holloway was born in [ANSWER]
['Q2964739', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2964739 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Swansea
Chris Holloway was born in Swansea
Swansea
action filter_type
action find
entity Chris Holloway
relation place of birth
type administrative territorial entity
['Chris Holloway', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Chris_Holloway property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2964739
P21
Q290
USER
What is the sex of Chris Holloway ?
(Q2964739,P21,c(Q290))
action filter_type
action find
entity Q2964739
relation P21
type Q290
['Q2964739', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q2964739 property:P21 ?v . ?v rdf:type ontology:Q290 }
Chris Holloway
action filter_type
action find
entity Chris Holloway
relation gender
type sex
['Chris Holloway', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Chris_Holloway property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2964739,P21,c(Q290))
action filter_type
action find
entity Q2964739
relation P21
type Q290
The sex of Chris Holloway is the [ANSWER]
['Q2964739', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q2964739 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Chris Holloway is the male
male
action filter_type
action find
entity Chris Holloway
relation gender
type sex
['Chris Holloway', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Chris_Holloway property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2964739
P735
Q82799
USER
What is forename of Chris Holloway ?
(Q2964739,P735,c(Q82799))
action filter_type
action find
entity Q2964739
relation P735
type Q82799
['Q2964739', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q2964739 property:P735 ?d }
Chris Holloway
action filter_type
action find
entity Chris Holloway
relation given name
type name
['Chris Holloway', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Chris_Holloway property:given_name ?d }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q2964739,P735,c(Q82799))
action filter_type
action find
entity Q2964739
relation P735
type Q82799
Forename of [ANSWER] Holloway is of [ANSWER]
['Q2964739', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q82799 . resource:Q2964739 property:P735 ?d }
Chris
Forename of Chris Holloway is of Chris
Chris
action filter_type
action find
entity Chris Holloway
relation given name
type name
['Chris Holloway', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:name . resource:Chris_Holloway property:given_name ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6712474
Q82799
USER
And what about M. Chandrasekaran?
(Q6712474,P735,c(Q82799))
action filter_type
action find
entity Q6712474
relation P735
type Q82799
['Q6712474', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . resource:Q6712474 property:P735 ?y }
M. Chandrasekaran
action filter_type
action find
entity M. Chandrasekaran
relation given name
type name
['M. Chandrasekaran', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . resource:M._Chandrasekaran property:given_name ?y }
[]
name
Q19803510
SYSTEM
M.
Q19803510
(Q6712474,P735,c(Q82799))
action filter_type
action find
entity Q6712474
relation P735
type Q82799
[ANSWER]
['Q6712474', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . resource:Q6712474 property:P735 ?y }
M.
M.
action filter_type
action find
entity M. Chandrasekaran
relation given name
type name
['M. Chandrasekaran', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . resource:M._Chandrasekaran property:given_name ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6712474
P1303
Q34379
USER
Which musical instrument is played by M. Chandrasekaran ?
(Q6712474,P1303,c(Q34379))
action filter_type
action find
entity Q6712474
relation P1303
type Q34379
['Q6712474', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { resource:Q6712474 property:P1303 ?k . ?k rdf:type ontology:Q34379 }
M. Chandrasekaran
action filter_type
action find
entity M. Chandrasekaran
relation instrument
type musical instrument
['M. Chandrasekaran', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { resource:M._Chandrasekaran property:instrument ?k . ?k rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q6712474,P1303,c(Q34379))
action filter_type
action find
entity Q6712474
relation P1303
type Q34379
[ANSWER] is played by M. Chandrasekaran
['Q6712474', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { resource:Q6712474 property:P1303 ?k . ?k rdf:type ontology:Q34379 }
violin
Violin is played by M. Chandrasekaran
violin
action filter_type
action find
entity M. Chandrasekaran
relation instrument
type musical instrument
['M. Chandrasekaran', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { resource:M._Chandrasekaran property:instrument ?k . ?k rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20857011
Q34379
USER
And how about Yossi Zivoni?
(Q20857011,P1303,c(Q34379))
action filter_type
action find
entity Q20857011
relation P1303
type Q34379
['Q20857011', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { resource:Q20857011 property:P1303 ?m . ?m rdf:type ontology:Q34379 }
Yossi Zivoni
action filter_type
action find
entity Yossi Zivoni
relation instrument
type musical instrument
['Yossi Zivoni', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { resource:Yossi_Zivoni property:instrument ?m . ?m rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q20857011,P1303,c(Q34379))
action filter_type
action find
entity Q20857011
relation P1303
type Q34379
[ANSWER]
['Q20857011', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { resource:Q20857011 property:P1303 ?m . ?m rdf:type ontology:Q34379 }
violin
violin
action filter_type
action find
entity Yossi Zivoni
relation instrument
type musical instrument
['Yossi Zivoni', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { resource:Yossi_Zivoni property:instrument ?m . ?m rdf:type ontology:musical_instrument }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23051
P19
Q502895
USER
How many people were born at Swansea ?
(c(Q502895),P19,Q23051)
action count
action filter_type
action find_reverse
entity Q23051
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q23051']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P19 resource:Q23051 . ?n rdf:type ontology:Q502895 }
Swansea
action count
action filter_type
action find_reverse
entity Swansea
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Swansea']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:place_of_birth resource:Swansea . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
293
Q6265659 Q525873 Q5547526 Q5006423 Q7327975 Q3127737 Q1655550 Q8001666 Q776095 Q3791526 Q7518575 Q7330564 Q7626870 Q526714 Q6791116 Q3296143 Q1158997 Q2487332 Q7515728 Q5522758 Q16152009 Q2964739 Q4757532 Q4757535 Q335773 Q4719968 Q303814 Q16017367 Q20051236 Q4648124 Q13130336 Q704897 Q16266578 Q6831686 Q3403542 Q6248571 Q8015715 Q263532 Q22742 Q929476 Q10409543 Q20713565 Q10413935 Q6116619 Q912174 Q3182417 Q16015797 Q13616740 Q2000214 Q5301779 Q6660144 Q3897540 Q248414 Q10555958 Q15993118 Q6181214 Q5180983 Q7340132 Q4965080 Q7823155 Q3181658 Q1398346 Q16017775 Q6968486 Q23001673 Q3157121 Q3147943 Q7150980 Q5200682 Q6120960 Q49615 Q10493312 Q2903678 Q234171 Q118542 Q191023 Q7183607 Q456444 Q6539846 Q4913355 Q18353250 Q5495274 Q19874739 Q18206315 Q7343672 Q16019700 Q47664 Q7032660 Q1101163 Q455094 Q5134124 Q12072266 Q16145283 Q3569004 Q4761436 Q3098309 Q2849189 Q19945904 Q3439676 Q1996147 Q1148624 Q5360339 Q6790752 Q717787 Q7372783 Q6258580 Q381769 Q3002051 Q5669304 Q20630509 Q18719315 Q7360675 Q522373 Q642981 Q25189322 Q584317 Q4569597 Q3806739 Q5181496 Q3431321 Q18162186 Q1996125 Q325881 Q561356 Q1639396 Q4679561 Q1720081 Q230996 Q3133040 Q6272787 Q4980877 Q3072545 Q5107359 Q3101064 Q3402381 Q7145670 Q6308284 Q1286993 Q4482653 Q7615264 Q10556877 Q5294516 Q942385 Q725567 Q447961 Q6404453 Q5134586 Q468004 Q18808855 Q4910545 Q356392 Q5258574 Q1493339 Q20806930 Q312575 Q6167907 Q19845132 Q156491 Q561117 Q5525472 Q333168 Q8040155 Q6777655 Q3568414 Q5228883 Q5232755 Q20651182 Q5180912 Q7182080 Q6136198 Q4819183 Q5548829 Q381664 Q5525024 Q2027321 Q2989336 Q541502 Q4749165 Q3402000 Q13107212 Q1003578 Q7970188 Q5108280 Q3086951 Q7381435 Q16190509 Q3701545 Q24206353 Q3343310 Q2144018 Q3566386 Q7659509 Q7184351 Q15999899 Q472382 Q7410381 Q6501718 Q3899285 Q3018755 Q727494 Q1586858 Q1933109 Q762958 Q3945649 Q3025590 Q6204983 Q24181959 Q3313332 Q5415435 Q7340921 Q6847187 Q4707517 Q6240280 Q111840 Q20733318 Q5566441 Q3026670 Q312404 Q20810495 Q3183687 Q2442492 Q4895054 Q7613188 Q5261927 Q4863529 Q4863526 Q2898051 Q1360094 Q4909319 Q5258496 Q3242418 Q2463858 Q5951222 Q4965445 Q5522989 Q944231 Q268030 Q7606601 Q18815948 Q5311941 Q5311954 Q6174089 Q7679435 Q332314 Q10488853 Q7615049 Q545328 Q5209014 Q4706994 Q6810800 Q6790988 Q4964112 Q7348841 Q5337426 Q7924902 Q7182554 Q4706157 Q928194 Q58331 Q3616280 Q2424831 Q545303 Q2262221 Q5037322 Q19877328 Q8003009 Q350383 Q2196018 Q3162947 Q6174649 Q361536 Q747672 Q19578248 Q16193115 Q21857916 Q5107037 Q361981 Q5415309 Q1557927 Q5233468 Q3371870 Q3604991 Q334411 Q3101435 Q741112 Q5736164 Q16015315 Q749612 Q23883547 Q16728146 Q15999960 Q3014013 Q310176
(c(Q502895),P19,Q23051)
action count
action filter_type
action find_reverse
entity Q23051
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q23051']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P19 resource:Q23051 . ?n rdf:type ontology:Q502895 }
John de Vere, 15th Earl of Oxford Shane Williams Georgia Henshaw C. E. Wynn-Williams Richard Mylan Harri Webb Ian Hislop Wilf Lewis Joseph Pugsley Russell Lloyd Simon Davey Richie Rees Stuart Morgan Andy Melville Matthew Rees Mary Balogh Dan Biggar Mel Charles Silvanus Bevan Garel Rhys Barry Tucker Chris Holloway Andrew Jones Andrew Jones Francis Grenfell, 1st Baron Grenfell Alexander Rolls Nigel Evans Aubrey Darmody Albert de Belleroche A. M. Esmonde Myron Wyn Evans Alan Woods Ray Henwood Michael Johnson John Dillwyn Llewelyn John Metcalf William Molloy, Baron Molloy Robert Walter George Edward Luckman Gauntlett Richard Barrett Dudley Lewis Rory Thornton Karl Elsey Jackie Roberts Brian Flowers, Baron Flowers John Samuel Graham Davies John T. Lewis Gary Sprake Douglas Marsden-Jones Liz Fuller Pat Glover Gary Jones Carl Slee Huw Jenkins Jeremy Charles Craig Gallivan Rob Folland Brian Purcell Tony Pennock John Gwyn Jeffreys Leigh Halfpenny Clive Graham Natasha Perdue Thereza Dillwyn Llewelyn Jack Bancroft Idwal Rees Paul Grant Cyril Davies Santiago Jorge Bynnon Rowan Williams Steve Gammon William McCutcheon Princess Lilian, Duchess of Halland Nicholas A'Hern Dylan Thomas Philip George G. E. R. Lloyd Liam Williams Billy Tabram Nicky Smith Fred Godfrey Owain Jones Dan Hanford Robert Duffy Jocelyn Hay Catherine Zeta-Jones Nigel Stevenson Cliff Jones Hayley Tullett Clinton Greyn Henry Vivian, 1st Baron Swansea Michael Hollingsworth Billy Trew Andy Vine Gareth Roberts Andy Williams Bryn Markham-Jones Graham Dadds Non Stanford Cyril Frank Colebrook Eli Walker Matthew Jones Beau Nash Roy Evans John Sparkes Chris Coleman Craig Quinnell Harry Griffiths Anthony Lyn Michael Brown Roley Williams Matt Ryan Richard Duffy Jack Jones Mervyn Davies Griffith John James Thomas Craig Stiens Richard Webster Scott Tancock Shaun MacDonald Hugh Llewellyn Glyn Hughes Kevin Allen Huw Warren Adam O'Brian Scott Quinnell Nicole Cooke Geoff Thomas Jonathan Coates Bryn Jones Finbarr O'Reilly Chris Marustik Geoff Wheel Anneliese Heard Patricia Kern Julie James Tom Evans Mark Fenton Steven Shingler Robert Speakman Donald Holroyde Hey Jack Kelsey Rob Terry Alun Wyn Jones Kid Chaos Clive Griffiths Margaret John Len Newcombe Bill Price John Hartson Dennis John Pete Ham Scott Barrow Clive Granger Jayne Pierson Glyn Davies Bonnie Tyler William Robert Grove Gary Ley Karl Jenkins Wynford Vaughan-Thomas Martyn Lewis Billy Bancroft Dave Gwyther David D'Auria David Morris Craig Draper Phil Kerslake James Honeyben Aubrey Richards Geraint Wyn Davies Vincent Regan Gary Emmanuel Len Allchurch Shaheen Jafargholi Glyn Simon Amy Dillwyn Elin Manahan Thomas Jones Hewson Franklin Saunders Warren Feeney, Sr. Chris Todd Fred Scrine Russell Coughlin Helen Griffin Daniel Alfei Des Palmer Non Evans Spencer Davis Warren Fury Sybil Connolly Philip Sayer Martin Davies Sam Edwards Samson Lee Laurie Sheffield Penvhyn Llewellyn Neville David Samuel Terry Williams Harry Thomas Mike Davies Harry Secombe Sally El Hosaini Dewi Zephaniah Phillips Joan Curran David James Mike Gibbins Evan James Robbie James Mike Hedges Alan Petherbridge John Hughes Carwyn Jones James Henry Howard Gladys Morgan Dicky Owen John Charles Silvanus Bevan Jordan Follows Tony Chappel Bert Evans Steve Lovell Derek Draper Barrie Jones Barrie Hole Ray Daniel Terry Medwin Bill Harris Dennis Hawkins Lisa Lazarus Ashley Richards Huw Dixon Ruth Manning-Sanders Gareth Walters Ivor Allchurch Alun Cairns Steffan Rhodri Arthur Isaac Dudley Peake Dudley Price Jeff Hopkins Talfryn Thomas Michael Heseltine Morrys Scott Steven Meo Tom Ward Dai Lawrence Alan Jones Mel Nurse Matthew Morgan Brian Hughes Robert Perkins Edgar Purnell Hooley Vic Rouse Phil Williams Alan Beer Enzo Maccarinelli Kenny Morgans Andrew Lewis James Cellan Jones Dean Saunders Sean Mathias Cara Readle Ernest Purnell Will Parker Adam Matthews Trevor Ford Jason Hobson Jeff Parton Owen Teale Mark Titley Les Wilkins Stephen Garlick Roger Hackney Chris Jones Russell T Davies Evan Abraham Gwyn Prosser David Evans Paul Moriarty Adam M. Jones Donald Anderson, Baron Anderson of Swansea George Bowen Ieuan Evans Herbie Williams David Thomas Julian Lewis Leigh De-Vulgt Rachel K Collier Gary Richards Daniel Evans Martin Amis
293
action count
action filter_type
action find_reverse
entity Swansea
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Swansea']
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:place_of_birth resource:Swansea . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23051
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
action filter_type
action find
entity Q23051
relation P17
type Q15617994
SELECT DISTINCT ?z WHERE { resource:Q23051 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Swansea
action filter_type
action find
entity Swansea
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?z WHERE { resource:Swansea property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q23051
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
SELECT DISTINCT ?z WHERE { resource:Q23051 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
That administrative territory is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Swansea
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?z WHERE { resource:Swansea property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q23051
P190
Q56061 Q20667921
USER
How many administrative territories or french administrative divisions are sister towns of Swansea ?
(Q23051,P190,c(Q56061)) (Q23051,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q23051
relation P190
type Q56061
action filter_type
action find
entity Q23051
relation P190
type Q20667921
['Q23051', 'P190', {'concept': 'Q56061'}] ['Q23051', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?i rdf:type ?t }
Swansea
action count
action union
action filter_type
action find
entity Swansea
relation sister city
type administrative territorial entity
action filter_type
action find
entity Swansea
relation sister city
type type of french administrative division
['Swansea', 'sister city', {'concept': 'administrative territorial entity'}] ['Swansea', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?i rdf:type ?t }
[]
administrative territorial entity type of french administrative division
SYSTEM
3
Q36647 Q13362 Q132671
(Q23051,P190,c(Q56061)) (Q23051,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q23051
relation P190
type Q56061
action filter_type
action find
entity Q23051
relation P190
type Q20667921
[ANSWER]
['Q23051', 'P190', {'concept': 'Q56061'}] ['Q23051', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?i rdf:type ?t }
Cork Ferrara Pau
3
action count
action union
action filter_type
action find
entity Swansea
relation sister city
type administrative territorial entity
action filter_type
action find
entity Swansea
relation sister city
type type of french administrative division
['Swansea', 'sister city', {'concept': 'administrative territorial entity'}] ['Swansea', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?i rdf:type ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23051
P190
Q56061
USER
Which administrative territories are sister town of that one ?
action filter_type
action find
entity Q23051
relation P190
type Q56061
SELECT DISTINCT ?t WHERE { resource:Q23051 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Swansea
action filter_type
action find
entity Swansea
relation sister city
type administrative territorial entity
SELECT DISTINCT ?t WHERE { resource:Swansea property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36647 Q13362
SYSTEM
Cork, Ferrara
Q36647 Q13362
action filter_type
action find
entity Q23051
relation P190
type Q56061
[ANSWERS] are sister town of that one
SELECT DISTINCT ?t WHERE { resource:Q23051 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Cork Ferrara
Cork and Ferrara are sister town of that one
Cork Ferrara
action filter_type
action find
entity Swansea
relation sister city
type administrative territorial entity
SELECT DISTINCT ?t WHERE { resource:Swansea property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q17335294
USER
How many names are depicted in approximately 38 works of art or coats of arms ?
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 38
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { FILTER ( ?z = 38 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?m WHERE { { ?e property:P180 ?m . ?e rdf:type ontology:Q17335294 . ?m rdf:type ontology:Q82799 } UNION { ?m rdf:type ontology:Q82799 . ?e rdf:type ontology:Q838948 . ?e property:P180 ?m } } GROUP BY ?m } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 38
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { FILTER ( ?z = 38 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?m WHERE { { ?e property:depicts ?m . ?e rdf:type ontology:flag_or_coat_of_arms . ?m rdf:type ontology:name } UNION { ?m rdf:type ontology:name . ?e rdf:type ontology:work_of_art . ?e property:depicts ?m } } GROUP BY ?m } }
[]
name work of art flag or coat of arms
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 38
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { FILTER ( ?z = 38 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?m WHERE { { ?e property:P180 ?m . ?e rdf:type ontology:Q17335294 . ?m rdf:type ontology:Q82799 } UNION { ?m rdf:type ontology:Q82799 . ?e rdf:type ontology:Q838948 . ?e property:P180 ?m } } GROUP BY ?m } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 38
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { FILTER ( ?z = 38 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?m WHERE { { ?e property:depicts ?m . ?e rdf:type ontology:flag_or_coat_of_arms . ?m rdf:type ontology:name } UNION { ?m rdf:type ontology:name . ?e rdf:type ontology:work_of_art . ?e property:depicts ?m } } GROUP BY ?m } }
[]