Simple Question (Direct)
Simple Question
Q335280
P19
Q1138494
USER
Which historic county of England was George Savile, 1st Marquess of Halifax born in ?
(Q335280,P19,c(Q1138494))
action filter_type
action find
entity Q335280
relation P19
type Q1138494
['Q335280', 'P19', {'concept': 'Q1138494'}]
SELECT DISTINCT ?n WHERE { resource:Q335280 property:P19 ?n . ?n rdf:type ontology:Q1138494 }
George Savile, 1st Marquess of Halifax
action filter_type
action find
entity George Savile, 1st Marquess of Halifax
relation place of birth
type historic county of England
['George Savile, 1st Marquess of Halifax', 'place of birth', {'concept': 'historic county of England'}]
SELECT DISTINCT ?n WHERE { resource:George_Savile,_1st_Marquess_of_Halifax property:place_of_birth ?n . ?n rdf:type ontology:historic_county_of_England }
[]
historic county of England
Q163
SYSTEM
Yorkshire
Q163
(Q335280,P19,c(Q1138494))
action filter_type
action find
entity Q335280
relation P19
type Q1138494
The [ANSWER] was George Savile, 1st Marquess of Halifax born in
['Q335280', 'P19', {'concept': 'Q1138494'}]
SELECT DISTINCT ?n WHERE { resource:Q335280 property:P19 ?n . ?n rdf:type ontology:Q1138494 }
Yorkshire
The Yorkshire was George Savile, 1st Marquess of Halifax born in
Yorkshire
action filter_type
action find
entity George Savile, 1st Marquess of Halifax
relation place of birth
type historic county of England
['George Savile, 1st Marquess of Halifax', 'place of birth', {'concept': 'historic county of England'}]
SELECT DISTINCT ?n WHERE { resource:George_Savile,_1st_Marquess_of_Halifax property:place_of_birth ?n . ?n rdf:type ontology:historic_county_of_England }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163
P36
Q56061
USER
Which administrative territory is the capital of that historic county of England ?
(Q163,P36,c(Q56061))
action filter_type
action find
entity Q163
relation P36
type Q56061
['Q163', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q163 property:P36 ?n . ?n rdf:type ontology:Q56061 }
Yorkshire
action filter_type
action find
entity Yorkshire
relation capital
type administrative territorial entity
['Yorkshire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Yorkshire property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42462
SYSTEM
York
Q42462
(Q163,P36,c(Q56061))
action filter_type
action find
entity Q163
relation P36
type Q56061
[ANSWER] is the capital of that historic county of England
['Q163', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q163 property:P36 ?n . ?n rdf:type ontology:Q56061 }
York
York is the capital of that historic county of England
York
action filter_type
action find
entity Yorkshire
relation capital
type administrative territorial entity
['Yorkshire', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Yorkshire property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163
P30
Q2221906
USER
Where is that historic county of England situated ?
(Q42462,P30,c(Q2221906))
action filter_type
action find
entity Q163
relation P30
type Q2221906
['Q42462', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q163 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Yorkshire
action filter_type
action find
entity Yorkshire
relation continent
type geographic location
['York', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Yorkshire property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q42462,P30,c(Q2221906))
action filter_type
action find
entity Q163
relation P30
type Q2221906
That historic county of England is situated in [ANSWER]
['Q42462', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q163 property:P30 ?l . ?l rdf:type ontology:Q2221906 }
Europe
That historic county of England is situated in Europe
Europe
action filter_type
action find
entity Yorkshire
relation continent
type geographic location
['York', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Yorkshire property:continent ?l . ?l rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q46 Q857160
P30
Q355304
USER
Does Biebrza have its location in that geographic location ?
(Q857160,P30,Q46)
action is_in
entity Q46
action find
entity Q857160
relation P30
['Q857160', 'P30', 'Q46']
ASK WHERE { resource:Q857160 property:P30 resource:Q46 }
Europe Biebrza
action is_in
entity Europe
action find
entity Biebrza
relation continent
['Biebrza', 'continent', 'Europe']
ASK WHERE { resource:Biebrza property:continent resource:Europe }
[]
watercourse
SYSTEM
YES
(Q857160,P30,Q46)
action is_in
entity Q46
action find
entity Q857160
relation P30
[ANSWER]
['Q857160', 'P30', 'Q46']
ASK WHERE { resource:Q857160 property:P30 resource:Q46 }
Yes
action is_in
entity Europe
action find
entity Biebrza
relation continent
['Biebrza', 'continent', 'Europe']
ASK WHERE { resource:Biebrza property:continent resource:Europe }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q163 Q187468
P17
Q15617994
USER
Is Yorkshire a part of Zell ?
(Q163,P17,Q187468)
action is_in
entity Q187468
action find
entity Q163
relation P17
['Q163', 'P17', 'Q187468']
ASK WHERE { resource:Q163 property:P17 resource:Q187468 }
Yorkshire Zell
action is_in
entity Zell
action find
entity Yorkshire
relation country
['Yorkshire', 'country', 'Zell']
ASK WHERE { resource:Yorkshire property:country resource:Zell }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q163,P17,Q187468)
action is_in
entity Q187468
action find
entity Q163
relation P17
[ANSWER]
['Q163', 'P17', 'Q187468']
ASK WHERE { resource:Q163 property:P17 resource:Q187468 }
No
action is_in
entity Zell
action find
entity Yorkshire
relation country
['Yorkshire', 'country', 'Zell']
ASK WHERE { resource:Yorkshire property:country resource:Zell }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2287588 Q163
P19
Q502895
USER
Which people were born at Yorkshire or Rutherglen ?
OR((c(Q502895),P19,Q163), (c(Q502895),P19,Q2287588))
action filter_type
action union
action find_reverse
entity Q163
relation P19
action find_reverse
entity Q2287588
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q163'], [{'concept': 'Q502895'}, 'P19', 'Q2287588']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P19 resource:Q163 } UNION { ?v property:P19 resource:Q2287588 } } . ?v rdf:type ontology:Q502895 }
Rutherglen Yorkshire
action filter_type
action union
action find_reverse
entity Yorkshire
relation place of birth
action find_reverse
entity Rutherglen
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Yorkshire'], [{'concept': 'common name'}, 'place of birth', 'Rutherglen']]}
SELECT DISTINCT ?v WHERE { { { ?v property:place_of_birth resource:Yorkshire } UNION { ?v property:place_of_birth resource:Rutherglen } } . ?v rdf:type ontology:common_name }
[]
common name
Q5495380 Q24203378 Q2032605 Q4128367 Q6846604 Q6668917 Q25172014 Q7694106 Q1927071 Q2585321
SYSTEM
Some of them are Fred Hargreaves, Barbara Robb, Medwyn Goodall, Mike Wolfe, Mike Dorsey, Lolita Chakrabarti, Simon Burton, Teddy Turner, Michael Broadbent, Smith Wigglesworth
Q7343415 Q2161191 Q15147796 Q913203 Q18129156 Q238117 Q1587933 Q287819 Q56172 Q7306799 Q777588 Q460922 Q7789336 Q7177350 Q7792709 Q8017737 Q7175307 Q2502372 Q8016913 Q5231732 Q5216666 Q6162591 Q19532720 Q1795157 Q5512344 Q8013863 Q1389094 Q337754 Q11978590 Q4707931 Q4912230 Q6909192 Q16633065 Q19880828 Q16029254 Q6833782 Q1108671 Q15504452 Q4707172 Q3015013 Q6286297 Q327981 Q7787194 Q8018917 Q266919 Q4084920 Q6792279 Q1632530 Q7518465 Q1292053 Q20712167 Q5079193 Q20195130 Q16236745 Q7615711 Q6231541 Q978563 Q198289 Q7326602 Q25172014 Q7028987 Q6264758 Q927848 Q7694106 Q220155 Q7609966 Q21066567 Q6762287 Q6776172 Q7609478 Q778508 Q80137 Q1389033 Q16736298 Q15452871 Q4303448 Q1699712 Q1927071 Q888638 Q16207095 Q7659850 Q6181363 Q20877175 Q946022 Q16062324 Q709060 Q2512157 Q172236 Q173049 Q18857066 Q335280 Q206113 Q16059364 Q728684 Q274128 Q20713302 Q4078028 Q5334985 Q444362 Q16008481 Q5540905 Q142221 Q4138315 Q7613479 Q7408203 Q4128367 Q8015476 Q7279098 Q8017607 Q540949 Q1406200 Q6396917 Q173893 Q16017621 Q6846604 Q3435942 Q555723 Q1875952 Q15072951 Q2032562 Q10550249 Q433841 Q4964732 Q462266 Q5186046 Q20789792 Q5258462 Q3194040 Q507802 Q8008359 Q2981095 Q1291308 Q520882 Q1150248 Q6204433 Q3556031 Q21284645 Q441104 Q22004649 Q7519345 Q16017438 Q15618705 Q6287995 Q5495380 Q6775969 Q5341961 Q328078 Q6668917 Q5249343 Q2489968 Q2580007 Q10546514 Q127332 Q6345312 Q15993049 Q443320 Q14946728 Q21063048 Q4730545 Q19795216 Q2158832 Q2437359 Q1438256 Q1911699 Q8011841 Q2391820 Q8006660 Q514939 Q3568753 Q23874683 Q6742260 Q26251069 Q5314649 Q8004100 Q2601234 Q1616636 Q21598308 Q4794421 Q20976250 Q3808284 Q4966623 Q7819473 Q6168038 Q312381 Q6151225 Q4910069 Q45395 Q7794946 Q20712900 Q8018256 Q2651015 Q2265889 Q5612753 Q17403533 Q4724732 Q1548816 Q18044597 Q24203378 Q317149 Q19560705 Q6830724 Q5231056 Q4377479 Q11803769 Q432189 Q2585321 Q16221784 Q17811747 Q6680026 Q455022 Q5493624 Q1655545 Q21850008 Q1269352 Q1269215 Q7051534 Q6391158 Q6249084 Q882437 Q3719463 Q21997576 Q3179087 Q5362340 Q324190 Q7931801 Q7794730 Q5231449 Q7288158 Q5106507 Q4773076 Q287829 Q16198460 Q15304566 Q4886313 Q3038380 Q16011608 Q16097455 Q16204090 Q4964766 Q21328983 Q478442 Q16236379 Q23771210 Q2231992 Q1189353 Q5726699 Q469002 Q25352565 Q328638 Q1932163 Q5362406 Q2032605 Q7436398 Q2860157 Q404268 Q7324777 Q296008 Q5790403 Q6263630 Q454616 Q6755736 Q7176663
OR((c(Q502895),P19,Q163), (c(Q502895),P19,Q2287588))
action filter_type
action union
action find_reverse
entity Q163
relation P19
action find_reverse
entity Q2287588
relation P19
type Q502895
[ANSWERS] were born at Yorkshire or Rutherglen
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q163'], [{'concept': 'Q502895'}, 'P19', 'Q2287588']]}
SELECT DISTINCT ?v WHERE { { { ?v property:P19 resource:Q163 } UNION { ?v property:P19 resource:Q2287588 } } . ?v rdf:type ontology:Q502895 }
Robert Davidson Rodney Hill Roger Barton Brian Walton John Watson Christina Pickles Harvey Smith Timothy Barnes Hugh Sykes Davies Reef Karim Robert Yewdall Jennings John Smeaton Thomas Elmhirst Peter Toon Thomas Nettleship Staley William Rolleston Peter Kyle Alan White William Pinchbeck David Brierly Daniel Brodhead I Jason Goodall Gertrude Spurr Cutts Mike Jones G. M. Hirst William Kaye John Wood Thomas Robinson, 1st Baron Grantham Jimmy Bain Alan Trouten Billy Bob Buttons Moran Campbell Richard Hudson Charles Spencer Harry Smith Michael Redman Colin Rowe Paul Hyde Alan Lowing Danielle McCormack Joseph Plottel John Alan Robinson Thomas Atkinson William Strickland Arnold Cooke Isaac Henry Burkill Maud le Vavasour, Baroness Butler Michael Wigglesworth Simon Clark Edward Joseph Dent James Reginald Colley Charles Howroyd Mark McGraw Stuart Findlay Stewart Ainsworth John Elderfield Norman Bottomley Ernest Greenwood Richard Humpton Simon Burton Nicola Cornick John Womersley Nicholas Saunderson Teddy Turner John Berkenhout Stephen McKeown Robert Simms Marianne Williams Martin McNeil Stephen Hester Myles Coverdale Emily Brontë George Swindin Dick Strang Elizabeth Howe John Kenneth Morton John Curwen Michael Broadbent Bobby Murdoch Paula Darwish Sydney Carlin Jeremy Gane John McCourt Reg Park William Rhodes Alister MacKenzie Henry Noel Brailsford Alan Brown Peter Whitehead Thomas Wintour George Savile, 1st Marquess of Halifax Patric Knowles Alfred Lee Smith Eric Knight Geoffrey Wilkinson John McCulloch Margaret Barber Ed James Nicola Griffith Jimmy Woodburn George Hyde Janet Brown James Gilmour Steve November Sam Stevens Mike Wolfe William McLachlan Rachael Wooding William Robb John Oxley John Roddam Spencer Stanhope Kevin McDonald John Wycliffe Judy Wilson Mike Dorsey Robert Monckton Richard Boyle, 3rd Earl of Burlington Tom McGrath Simon Fell Robert of Newminster Jimmy Howieson Johannes de Sacrobosco Brian McLean Helen Dunmore Crispin Odey Frank H. Shaw Dennis Gray Katherine Schofield Clements Markham William Easton William Jackson Bean Richard Denton Alfred Fowler Marie Muir Jo Warne Veronica Carlson Joanna Butterfield Thomas Archer Hirst Eric Grantham Simon Metcalfe Jennifer Jayne Janet Ahlberg Joseph Williamson Fred Hargreaves Martin Lauchlan Edward Boustead Marc Warren Lolita Chakrabarti Declan Gallagher Dave Mackay William Milnes, Jr. Mike McLeavy Charlotte Brontë Kaddy Lee-Preston Charles Halton Elizabeth Montagu Jeff Wooller Thomas Somers Allan Creer Robert Proud Robert Smith Jordan Kirkpatrick Haydn Keeton Maurus Corker William Hemmant Rupert England William Cecil Slingsby Daniel Denton William Joseph Rainbow Charles Cousen Malcolm Currie Willie Cross Duncan Weir William Abbott Charles Voysey Hewett Watson Valerie Lane-Fox Pitt-Rivers Fiona Wood John Ash Jill Crossland Maimie McCoy Tommy Grozier Jaz Martin Henry Stuart, Lord Darnley Jane Cameron Bill McCafferty Dave Taylor Thomas Wedders Hugh MacFarlane William Sefton Moorhouse Sean Burns Reynold A. Nicholson Weetman Pearson, 1st Viscount Cowdray Ruth Winder Ali Cook Thomas Witlam Atkinson Dave Lewis Barbara Robb John Fisher James Harvey Michael Grandage David Bain Steve Prest Sir Peter Buckton William Wales Smith Wigglesworth Willie Howie Kieran MacDonald Lord William Lennox Christopher Cradock Fraser Kerr Ian Hogbin Daniel Brodhead II Edna Manley William Pickering Norm Marlborough Kenny McLean John Moir Walter Welford E. C. Rhodes Scott Kyle Jimmy McMenemy Elizabeth Arnold Ullin Place Vincent Franklin Thomas W. Bradley David Blair Ralph Thompson Chris Erskine Anthony McParland Ann Jellicoe Thomas Cass Paul Corner Ben Prosser Isobel Varley Bev Lewis Cyril Taylor Bo Poraj Judith Mackay Scott Forrest Alan Haselhurst Euan Murray Emily Yates Archie Baird Laurence Fox Henry Parke Airey Richard of Conisburgh, 3rd Earl of Cambridge Ross Clark Eugene Aram Steven Hammell Elizabeth Bennett Medwyn Goodall Scott Gemmill Archie Jackson Craig Bryson Richard Clayton Robbie Coltrane John Hare John West Branwell Brontë Marc McCusker Peter Roney
Fred Hargreaves, Barbara Robb, Medwyn Goodall, Mike Wolfe, Mike Dorsey, Lolita Chakrabarti, Simon Burton, Teddy Turner, Michael Broadbent and Smith Wigglesworth were born at Yorkshire or Rutherglen
Fred Hargreaves Barbara Robb Medwyn Goodall Mike Wolfe Mike Dorsey Lolita Chakrabarti Simon Burton Teddy Turner Michael Broadbent Smith Wigglesworth
action filter_type
action union
action find_reverse
entity Yorkshire
relation place of birth
action find_reverse
entity Rutherglen
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Yorkshire'], [{'concept': 'common name'}, 'place of birth', 'Rutherglen']]}
SELECT DISTINCT ?v WHERE { { { ?v property:place_of_birth resource:Yorkshire } UNION { ?v property:place_of_birth resource:Rutherglen } } . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25172014
P21
Q290
USER
Which sex does that person possess ?
(Q25172014,P21,c(Q290))
action filter_type
action find
entity Q25172014
relation P21
type Q290
['Q25172014', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q25172014 property:P21 ?v . ?v rdf:type ontology:Q290 }
Simon Burton
action filter_type
action find
entity Simon Burton
relation gender
type sex
['Simon Burton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Burton property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q7694106
SYSTEM
Did you mean Teddy Turner ?
Q5495380 Q24203378 Q2032605 Q4128367 Q6846604 Q6668917 Q25172014 Q7694106 Q1927071 Q2585321
(Q5495380,P21,c(Q290)) (Q24203378,P21,c(Q290)) (Q2032605,P21,c(Q290)) (Q4128367,P21,c(Q290)) (Q6846604,P21,c(Q290)) (Q6668917,P21,c(Q290)) (Q25172014,P21,c(Q290)) (Q7694106,P21,c(Q290)) (Q1927071,P21,c(Q290)) (Q2585321,P21,c(Q290))
[ANSWER]
['Q5495380', 'P21', {'concept': 'Q290'}] ['Q24203378', 'P21', {'concept': 'Q290'}] ['Q2032605', 'P21', {'concept': 'Q290'}] ['Q4128367', 'P21', {'concept': 'Q290'}] ['Q6846604', 'P21', {'concept': 'Q290'}] ['Q6668917', 'P21', {'concept': 'Q290'}] ['Q25172014', 'P21', {'concept': 'Q290'}] ['Q7694106', 'P21', {'concept': 'Q290'}] ['Q1927071', 'P21', {'concept': 'Q290'}] ['Q2585321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q25172014 property:P21 ?v . ?v rdf:type ontology:Q290 }
Fred Hargreaves Barbara Robb Medwyn Goodall Mike Wolfe Mike Dorsey Lolita Chakrabarti Simon Burton Teddy Turner Michael Broadbent Smith Wigglesworth
Did you mean Teddy Turner ?
Teddy Turner
['Fred Hargreaves', 'gender', {'concept': 'sex'}] ['Barbara Robb', 'gender', {'concept': 'sex'}] ['Medwyn Goodall', 'gender', {'concept': 'sex'}] ['Mike Wolfe', 'gender', {'concept': 'sex'}] ['Mike Dorsey', 'gender', {'concept': 'sex'}] ['Lolita Chakrabarti', 'gender', {'concept': 'sex'}] ['Simon Burton', 'gender', {'concept': 'sex'}] ['Teddy Turner', 'gender', {'concept': 'sex'}] ['Michael Broadbent', 'gender', {'concept': 'sex'}] ['Smith Wigglesworth', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Burton property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Simon Burton. Could you tell me the answer for that?
(Q25172014,P21,c(Q290))
Q25172014
['Q25172014', 'P21', {'concept': 'Q290'}]
['Simon Burton', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q25172014,P21,c(Q290))
action filter_type
action find
entity Q25172014
relation P21
type Q290
That person possesses a [ANSWER]
['Q25172014', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q25172014 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Simon Burton
relation gender
type sex
['Simon Burton', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Simon_Burton property:gender ?v . ?v rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1803060
P21
Q502895
USER
Is Luke Charlesworth a that sex ?
(Q1803060,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1803060
relation P21
['Q1803060', 'P21', 'Q6581097']
ASK WHERE { resource:Q1803060 property:P21 resource:Q6581097 }
male Luke Charlesworth
action is_in
entity male
action find
entity Luke Charlesworth
relation gender
['Luke Charlesworth', 'gender', 'male']
ASK WHERE { resource:Luke_Charlesworth property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1803060,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1803060
relation P21
[ANSWER]
['Q1803060', 'P21', 'Q6581097']
ASK WHERE { resource:Q1803060 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Luke Charlesworth
relation gender
['Luke Charlesworth', 'gender', 'male']
ASK WHERE { resource:Luke_Charlesworth property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42462
P190
Q15617994
USER
Which administrative territory is the sister city of York ?
(Q42462,P190,c(Q15617994))
action filter_type
action find
entity Q42462
relation P190
type Q15617994
['Q42462', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q42462 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
York
action filter_type
action find
entity York
relation sister city
type designation for an administrative territorial entity
['York', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:York property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2742
SYSTEM
Münster
Q2742
(Q42462,P190,c(Q15617994))
action filter_type
action find
entity Q42462
relation P190
type Q15617994
[ANSWER] is the sister city of York
['Q42462', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q42462 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Münster
Münster is the sister city of York
Münster
action filter_type
action find
entity York
relation sister city
type designation for an administrative territorial entity
['York', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:York property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2742
P276
Q13403102
USER
Which Esperanto congress is situated at that administrative territory ?
(c(Q13403102),P276,Q2742)
action filter_type
action find_reverse
entity Q2742
relation P276
type Q13403102
[{'concept': 'Q13403102'}, 'P276', 'Q2742']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q2742 . ?i rdf:type ontology:Q13403102 }
Münster
action filter_type
action find_reverse
entity Münster
relation location
type Esperanto congress
[{'concept': 'Esperanto congress'}, 'location', 'Münster']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Münster . ?i rdf:type ontology:Esperanto_congress }
[]
Esperanto congress
Q12349062
SYSTEM
30th International Youth Congress of Esperanto
Q12349062
(c(Q13403102),P276,Q2742)
action filter_type
action find_reverse
entity Q2742
relation P276
type Q13403102
[ANSWER] is situated at that administrative territory
[{'concept': 'Q13403102'}, 'P276', 'Q2742']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q2742 . ?i rdf:type ontology:Q13403102 }
30th International Youth Congress of Esperanto
30th International Youth Congress of Esperanto is situated at that administrative territory
30th International Youth Congress of Esperanto
action filter_type
action find_reverse
entity Münster
relation location
type Esperanto congress
[{'concept': 'Esperanto congress'}, 'location', 'Münster']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Münster . ?i rdf:type ontology:Esperanto_congress }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2742
P190
Q486972 Q20667921
USER
How many human settlements and french administrative divisions are twin cities of Münster ?
(Q2742,P190,c(Q486972)) (Q2742,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q2742
relation P190
type Q486972
action filter_type
action find
entity Q2742
relation P190
type Q20667921
['Q2742', 'P190', {'concept': 'Q486972'}] ['Q2742', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { resource:Q2742 property:P190 ?s . ?s rdf:type ontology:Q486972 } UNION { resource:Q2742 property:P190 ?s . ?s rdf:type ontology:Q20667921 } }
Münster
action count
action union
action filter_type
action find
entity Münster
relation sister city
type human settlement
action filter_type
action find
entity Münster
relation sister city
type type of french administrative division
['Münster', 'sister city', {'concept': 'human settlement'}] ['Münster', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { resource:Münster property:sister_city ?s . ?s rdf:type ontology:human_settlement } UNION { resource:Münster property:sister_city ?s . ?s rdf:type ontology:type_of_french_administrative_division } }
[]
human settlement type of french administrative division
SYSTEM
1 human settlements and 1 french administrative divisions
Q6548 Q37333
(Q2742,P190,c(Q486972)) (Q2742,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q2742
relation P190
type Q486972
action filter_type
action find
entity Q2742
relation P190
type Q20667921
[ANSWER]
['Q2742', 'P190', {'concept': 'Q486972'}] ['Q2742', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { resource:Q2742 property:P190 ?s . ?s rdf:type ontology:Q486972 } UNION { resource:Q2742 property:P190 ?s . ?s rdf:type ontology:Q20667921 } }
Orléans Lublin
1 human settlements and 1 french administrative divisions
action count
action union
action filter_type
action find
entity Münster
relation sister city
type human settlement
action filter_type
action find
entity Münster
relation sister city
type type of french administrative division
['Münster', 'sister city', {'concept': 'human settlement'}] ['Münster', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { resource:Münster property:sister_city ?s . ?s rdf:type ontology:human_settlement } UNION { resource:Münster property:sister_city ?s . ?s rdf:type ontology:type_of_french_administrative_division } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163
P138
Q38829
USER
Which breed comes from Yorkshire ?
(c(Q38829),P138,Q163)
action filter_type
action find_reverse
entity Q163
relation P138
type Q38829
[{'concept': 'Q38829'}, 'P138', 'Q163']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q163 . ?r rdf:type ontology:Q38829 }
Yorkshire
action filter_type
action find_reverse
entity Yorkshire
relation named after
type breed
[{'concept': 'breed'}, 'named after', 'Yorkshire']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Yorkshire . ?r rdf:type ontology:breed }
[]
breed
Q39330
SYSTEM
Yorkshire Terrier
Q39330
(c(Q38829),P138,Q163)
action filter_type
action find_reverse
entity Q163
relation P138
type Q38829
[ANSWER] comes from Yorkshire
[{'concept': 'Q38829'}, 'P138', 'Q163']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q163 . ?r rdf:type ontology:Q38829 }
Yorkshire Terrier
Yorkshire Terrier comes from Yorkshire
Yorkshire Terrier
action filter_type
action find_reverse
entity Yorkshire
relation named after
type breed
[{'concept': 'breed'}, 'named after', 'Yorkshire']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Yorkshire . ?r rdf:type ontology:breed }
[]