Simple Question (Direct)
Simple Question
Q3077330
P840
Q56061
USER
Which narrative location is Follow Me! set in ?
(Q3077330,P840,c(Q56061))
action filter_type
action find
entity Q3077330
relation P840
type Q56061
['Q3077330', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3077330 property:P840 ?t . ?t rdf:type ontology:Q56061 }
Follow Me!
action filter_type
action find
entity Follow Me!
relation narrative location
type administrative territorial entity
['Follow Me!', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Follow_Me! property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q3077330,P840,c(Q56061))
action filter_type
action find
entity Q3077330
relation P840
type Q56061
It [ANSWER] is Follow Me! set in
['Q3077330', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3077330 property:P840 ?t . ?t rdf:type ontology:Q56061 }
London
It London is Follow Me! set in
London
action filter_type
action find
entity Follow Me!
relation narrative location
type administrative territorial entity
['Follow Me!', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Follow_Me! property:narrative_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q84)
action filter_type
action find_reverse
entity Q84
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q84']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q84 . ?z rdf:type ontology:Q502895 }
London
action filter_type
action find_reverse
entity London
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'London']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:London . ?z rdf:type ontology:common_name }
[]
common name
Q45909 Q106221 Q34660
SYSTEM
John Cale, James Horner, J. K. Rowling
Q1314154 Q2741518 Q7372701 Q6761610 Q19039917 Q2835701 Q16149863 Q16066303 Q7702140 Q22968364 Q10125 Q17565491 Q36740 Q22672537 Q18048314 Q18351654 Q268166 Q23712851 Q19861581 Q47152 Q13402407 Q369247 Q6162591 Q19630141 Q12900213 Q20685694 Q16200261 Q1353673 Q512899 Q9015295 Q18294482 Q24301801 Q955307 Q4802497 Q4724840 Q335209 Q5719649 Q15987615 Q53369 Q17612564 Q275641 Q7178542 Q270670 Q39476 Q16769592 Q6182512 Q1061225 Q2273733 Q436562 Q17254564 Q19577787 Q16227492 Q232594 Q18387951 Q16856900 Q189542 Q959602 Q2891065 Q18342403 Q1066169 Q1070690 Q15987048 Q16888398 Q4407053 Q10120 Q1108739 Q234798 Q243049 Q171344 Q23759778 Q6233875 Q16062854 Q365518 Q11341012 Q24006449 Q3875976 Q6783051 Q7630491 Q8068250 Q232260 Q21103999 Q14945754 Q313885 Q6831152 Q221737 Q4858928 Q436801 Q171428 Q18530410 Q16832287 Q223117 Q508452 Q17522176 Q517935 Q18553 Q452832 Q20026221 Q42 Q24054275 Q508765 Q133054 Q20220034 Q6161355 Q8070360 Q101549 Q1252526 Q706420 Q15280 Q21995912 Q16966354 Q11754665 Q1132431 Q515745 Q1161698 Q10505 Q7349740 Q24287409 Q16062191 Q15999516 Q297024 Q26299233 Q106221 Q342617 Q4134643 Q732661 Q6167087 Q228717 Q22639290 Q19595427 Q181 Q349619 Q25796287 Q5240872 Q7325611 Q224372 Q6792923 Q2939864 Q15407925 Q164997 Q230308 Q18954427 Q3787305 Q5398352 Q705333 Q313007 Q1064881 Q16062780 Q111574 Q19869194 Q107656 Q963806 Q559917 Q23308499 Q3051931 Q7329152 Q18994 Q7790455 Q18206648 Q17024743 Q18156569 Q1827208 Q21334737 Q562000 Q76334 Q5362128 Q19721999 Q321419 Q6709020 Q34660 Q9215 Q3688068 Q21485173 Q17305891 Q4865594 Q315986 Q15987733 Q5181320 Q1001 Q6535805 Q3501687 Q584062 Q787976 Q273207 Q7340307 Q1271168 Q7302 Q16065795 Q468475 Q5414163 Q1666888 Q18200042 Q20751596 Q4793350 Q21752062 Q16063079 Q8564253 Q270324 Q950746 Q7172391 Q17623771 Q254265 Q230744 Q18580128 Q1616613 Q19850444 Q19335487 Q5052605 Q45909 Q17508950 Q2646836 Q18576693 Q17285130 Q253520 Q10633 Q117012 Q20829302 Q458831 Q18811256 Q16859352 Q26300835 Q455297 Q21543243 Q380983 Q18527772 Q529233 Q24284648 Q7408634
(c(Q502895),P551,Q84)
action filter_type
action find_reverse
entity Q84
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q84']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q84 . ?z rdf:type ontology:Q502895 }
Henrik Grönvold Brian Haw Roy Courlander Maria Tash Elizabeth Cadbury Brown Algernon Ashton Arca Mary Warner Teresa Gallagher Charles J Hughes Andy Murray John Stefanidis Aung San Suu Kyi Joan S. Grigsby Grégory Vlérick Mahmoud K. Muftić Lorenzo Da Ponte Alastair Parvin Philippe Ascoli Mary Shelley James Auckland Robert Lindstedt Jason Goodall Noémie Saglio Helena Schilizzi Touker Suleyman Jemima Luke Russell Hoban Lily Safra Juan Camus David Szalay William L. Sharp H. R. F. Keating Arvind Parmar Ali Hamadeh Greg Rusedski Henry Cohen Jason Young Dorothea Douglass Ji Liu Julie Driscoll Petr Kralert Abraham ibn Ezra Emma Watson Amal Clooney Jerome, 2nd Count de Salis James Patrick Hogan Poly Styrene Jo Durie Krzysztof Barbarski Nicola Tyson Maria Gibbs Anne Keothavong Cyril E. S. Perera Theodora Cowan Stefan Edberg James Ward Douglas Boyd Liam Young Charles Sturridge Tony Kaye Mauricio Motta Gomes Mary Ann Paton Antonina Samsonova Laura Robson Colin Thubron Imelda Staunton Marie-Chantal, Crown Princess of Greece William Hogarth Torsten Reil John Francis Charles, 7th Count de Salis-Soglio Mary Anne Girling Jaroslav Drobný Maria Olympia of Greece and Denmark Jeni Couzyn Nicholas Kove Masha Kirilenko Suanne Braun Zebedee Jones Ruth Rendell Cindy Walters Jon Stallworthy Tom Daley Michael Hintze Tim Henman Barbara Grace Tucker Tom Sharpe Roman Abramovich Monica Pidgeon Sarah Maria Wilson Stanley Tucci Eric Ambler Ivan Klapež Cush Jumbo Axelle Lemaire Olga Barabanschikova Harriet Dart Douglas Adams Joseph Mawson Philippa Pearce Sylvia Plath John Monks Jas H. Duke Zhang Xin Erich Vermehren Douglas Slocombe Jeremy Bates Gordon Ramsay Joseph Robinson Suzanne Nijs Leopold Sobel Young MC Pamela Colman Smith Daniel Massey Damon Hill Robert Shearman Saleem Haddad Eleanor Bufton Pierre Jacques Smit Demetrius Vikelas Thae Yong-ho James Horner Ben Whishaw Álvaro Guevara Peter Capaldi Jay Ramirez Rose Byrne Simi Bedford Mina Arndt Jimmy Wales Philip Ridley Kofoworola Abeni Pratt David Watson Richard Farleigh I. J. Good Maurice Burton Carol Vorderman Melpo Zarokosta Leonard Blavatnik Emily Mortimer Judith Ledeboer Hrand Nazariantz Eslanda Goode Robeson David Clayton-Thomas Nick Hornby Charles Holden Margaret Gillies Paul Deighton, Baron Deighton Joseph Blomeley Swain Jean Simmons Julian Symons David Rikl Freya Gabie Roger Gracie Richard South Luise Rainer Thomas Harrison Eloy Mestrelle Jonathan Forward Herbert Goodchild Liona Boyd Denis Khoroshko Anna Maria Hall Boris Becker Eliza Fenwick Coco Piris John Boydell Lynn Forester de Rothschild J. K. Rowling Sigmund Freud William Keith Jean Jullien ED Berman Barton Booth Simon Aspelin Frank Massar Craig Phillips Mahatma Gandhi Levon Pashalian Stéphane Cornicard Esther McVey Chris Haggard George Egerton Rob Lewis Aljaž Bedene George Frideric Handel Sarah Booth Ruth Belville Laurie Penny Stuart Gulliver Edward Pugh Annie Ramos Matilda Chaplin Ayrton Dale Chisman Margaret Agnes Bunn Folorunsho Alakija Patti LuPone Howard Hodgkin Peter, 5th Count de Salis-Soglio Caroline Chu James Robertson Justice Anna Wintour Joe Salisbury Tara Moore Moritz Conradi James Burn Catherine Courtney, Baroness Courtney of Penwith John Cale Emmanuel Roman Alice Anderson Maria de Fleury Giles Matthey Kathleen McKane Godfree Queen Elizabeth The Queen Mother Yoko Ono Mary Churchill Juergen Teller Ian C. Knox John Jones Hyon Hak-bong Jonathan Marray John Carlisle Siobhan Dowd John Walker Angela Ahrendts Hannah Barnett-Trager Samantha Chapman
John Cale, James Horner and J. K. Rowling live in that administrative territory
John Cale James Horner J. K. Rowling
action filter_type
action find_reverse
entity London
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'London']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:London . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q1267889 Q355304 Q56061
USER
Which administrative territories are located next to max number of waterways or watercourses ?
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?q ) WHERE { { ?x rdf:type ontology:Q56061 . ?m rdf:type ontology:Q355304 . ?x property:P206 ?m } UNION { ?x rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1267889 . ?x property:P206 ?m } } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?d ) WHERE { { ?p property:P206 ?n . ?p rdf:type ontology:Q56061 . ?n rdf:type ontology:Q1267889 } UNION { ?p property:P206 ?n . ?p rdf:type ontology:Q56061 . ?n rdf:type ontology:Q355304 } } GROUP BY ?p } . FILTER ( ?d = ?j ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?q ) WHERE { { ?x rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:watercourse . ?x property:located_next_to_body_of_water ?m } UNION { ?x rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:waterway . ?x property:located_next_to_body_of_water ?m } } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?d ) WHERE { { ?p property:located_next_to_body_of_water ?n . ?p rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:waterway } UNION { ?p property:located_next_to_body_of_water ?n . ?p rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:watercourse } } GROUP BY ?p } . FILTER ( ?d = ?j ) }
[]
waterway watercourse administrative territorial entity
Q2103
SYSTEM
Bochum
Q2103
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
[ANSWER] is located next to max number of waterways or watercourses
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?q ) WHERE { { ?x rdf:type ontology:Q56061 . ?m rdf:type ontology:Q355304 . ?x property:P206 ?m } UNION { ?x rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1267889 . ?x property:P206 ?m } } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?d ) WHERE { { ?p property:P206 ?n . ?p rdf:type ontology:Q56061 . ?n rdf:type ontology:Q1267889 } UNION { ?p property:P206 ?n . ?p rdf:type ontology:Q56061 . ?n rdf:type ontology:Q355304 } } GROUP BY ?p } . FILTER ( ?d = ?j ) }
Bochum
Bochum is located next to max number of waterways or watercourses
Bochum
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?q ) WHERE { { ?x rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:watercourse . ?x property:located_next_to_body_of_water ?m } UNION { ?x rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:waterway . ?x property:located_next_to_body_of_water ?m } } GROUP BY ?x } } . { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?d ) WHERE { { ?p property:located_next_to_body_of_water ?n . ?p rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:waterway } UNION { ?p property:located_next_to_body_of_water ?n . ?p rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:watercourse } } GROUP BY ?p } . FILTER ( ?d = ?j ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q26359340 Q3077330
P495 P17
Q15617994
USER
Which administrative territories are the origin of Follow Me! and are Clyde Cottage situated in ?
AND((Q3077330,P495,c(Q15617994)), (Q26359340,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3077330
relation P495
action find
entity Q26359340
relation P17
type Q15617994
{'AND': [['Q3077330', 'P495', {'concept': 'Q15617994'}], ['Q26359340', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q3077330 property:P495 ?e . resource:Q26359340 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Clyde Cottage Follow Me!
action filter_type
action intersection
action find
entity Follow Me!
relation country of origin
action find
entity Clyde Cottage
relation country
type designation for an administrative territorial entity
{'AND': [['Follow Me!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Clyde Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Follow_Me! property:country_of_origin ?e . resource:Clyde_Cottage property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q3077330,P495,c(Q15617994)), (Q26359340,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3077330
relation P495
action find
entity Q26359340
relation P17
type Q15617994
[ANSWER] is the origin of Follow Me! and is Clyde Cottage situated in
{'AND': [['Q3077330', 'P495', {'concept': 'Q15617994'}], ['Q26359340', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { resource:Q3077330 property:P495 ?e . resource:Q26359340 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the origin of Follow Me! and is Clyde Cottage situated in
United Kingdom
action filter_type
action intersection
action find
entity Follow Me!
relation country of origin
action find
entity Clyde Cottage
relation country
type designation for an administrative territorial entity
{'AND': [['Follow Me!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Clyde Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Follow_Me! property:country_of_origin ?e . resource:Clyde_Cottage property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?c ) WHERE { ?k property:P530 ?q . ?k rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?n ) WHERE { ?g rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 . ?g property:P530 ?p } GROUP BY ?g } . FILTER ( ?n = ?z ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?c ) WHERE { ?k property:diplomatic_relation ?q . ?k rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?n ) WHERE { ?g rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?p } GROUP BY ?g } . FILTER ( ?n = ?z ) }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?c ) WHERE { ?k property:P530 ?q . ?k rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?n ) WHERE { ?g rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 . ?g property:P530 ?p } GROUP BY ?g } . FILTER ( ?n = ?z ) }
Germany
Germany have diplomatic relationships with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?c ) WHERE { ?k property:diplomatic_relation ?q . ?k rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?n ) WHERE { ?g rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?p } GROUP BY ?g } . FILTER ( ?n = ?z ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q5604677 Q55
P530
Q15617994
USER
Is that political territory known to have diplomatic connections with Greenville County School District and Netherlands ?
(Q183,P530,Q5604677) (Q183,P530,Q55)
action is_in
entity Q183
action intersection
action find_reverse
entity Q5604677
relation P530
action find_reverse
entity Q55
relation P530
['Q183', 'P530', 'Q5604677'] ['Q183', 'P530', 'Q55']
ASK WHERE { resource:Q183 property:P530 resource:Q5604677 . resource:Q183 property:P530 resource:Q55 }
Germany Greenville County School District Netherlands
action is_in
entity Germany
action intersection
action find_reverse
entity Greenville County School District
relation diplomatic relation
action find_reverse
entity Netherlands
relation diplomatic relation
['Germany', 'diplomatic relation', 'Greenville County School District'] ['Germany', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Greenville_County_School_District . resource:Germany property:diplomatic_relation resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q183,P530,Q5604677) (Q183,P530,Q55)
action is_in
entity Q183
action intersection
action find_reverse
entity Q5604677
relation P530
action find_reverse
entity Q55
relation P530
[ANSWER]
['Q183', 'P530', 'Q5604677'] ['Q183', 'P530', 'Q55']
ASK WHERE { resource:Q183 property:P530 resource:Q5604677 . resource:Q183 property:P530 resource:Q55 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Greenville County School District
relation diplomatic relation
action find_reverse
entity Netherlands
relation diplomatic relation
['Germany', 'diplomatic relation', 'Greenville County School District'] ['Germany', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Greenville_County_School_District . resource:Germany property:diplomatic_relation resource:Netherlands }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2103 Q570713 Q1295
P47
Q56061
USER
Does Trematon and Dortmund share a border with Bochum ?
(Q2103,P47,Q570713) (Q2103,P47,Q1295)
action is_in
entity Q2103
action intersection
action find_reverse
entity Q570713
relation P47
action find_reverse
entity Q1295
relation P47
['Q2103', 'P47', 'Q570713'] ['Q2103', 'P47', 'Q1295']
ASK WHERE { resource:Q2103 property:P47 resource:Q570713 . resource:Q2103 property:P47 resource:Q1295 }
Bochum Trematon Dortmund
action is_in
entity Bochum
action intersection
action find_reverse
entity Trematon
relation shares border with
action find_reverse
entity Dortmund
relation shares border with
['Bochum', 'shares border with', 'Trematon'] ['Bochum', 'shares border with', 'Dortmund']
ASK WHERE { resource:Bochum property:shares_border_with resource:Trematon . resource:Bochum property:shares_border_with resource:Dortmund }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q2103,P47,Q570713) (Q2103,P47,Q1295)
action is_in
entity Q2103
action intersection
action find_reverse
entity Q570713
relation P47
action find_reverse
entity Q1295
relation P47
[ANSWER]
['Q2103', 'P47', 'Q570713'] ['Q2103', 'P47', 'Q1295']
ASK WHERE { resource:Q2103 property:P47 resource:Q570713 . resource:Q2103 property:P47 resource:Q1295 }
NO and YES respectively
action is_in
entity Bochum
action intersection
action find_reverse
entity Trematon
relation shares border with
action find_reverse
entity Dortmund
relation shares border with
['Bochum', 'shares border with', 'Trematon'] ['Bochum', 'shares border with', 'Dortmund']
ASK WHERE { resource:Bochum property:shares_border_with resource:Trematon . resource:Bochum property:shares_border_with resource:Dortmund }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6762533
P19
Q502895
USER
Which person has birthplace at Maribyrnong ?
(c(Q502895),P19,Q6762533)
action filter_type
action find_reverse
entity Q6762533
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q6762533']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q6762533 . ?l rdf:type ontology:Q502895 }
Maribyrnong
action filter_type
action find_reverse
entity Maribyrnong
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Maribyrnong']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Maribyrnong . ?l rdf:type ontology:common_name }
[]
common name
Q6149840
SYSTEM
Jan Russ
Q6149840
(c(Q502895),P19,Q6762533)
action filter_type
action find_reverse
entity Q6762533
relation P19
type Q502895
[ANSWER] has birthplace at Maribyrnong
[{'concept': 'Q502895'}, 'P19', 'Q6762533']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q6762533 . ?l rdf:type ontology:Q502895 }
Jan Russ
Jan Russ has birthplace at Maribyrnong
Jan Russ
action filter_type
action find_reverse
entity Maribyrnong
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Maribyrnong']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Maribyrnong . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6149840
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q6149840,P27,c(Q1048835))
action filter_type
action find
entity Q6149840
relation P27
type Q1048835
['Q6149840', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q6149840 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Jan Russ
action filter_type
action find
entity Jan Russ
relation country of citizenship
type political territorial entity
['Jan Russ', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jan_Russ property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q6149840,P27,c(Q1048835))
action filter_type
action find
entity Q6149840
relation P27
type Q1048835
That person belongs to an [ANSWER]
['Q6149840', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q6149840 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Australia
That person belongs to an Australia
Australia
action filter_type
action find
entity Jan Russ
relation country of citizenship
type political territorial entity
['Jan Russ', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jan_Russ property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]