Simple Question (Direct)
Simple Question
Q19480615
P1344
Q13406554
USER
Which sport competition did Seren Bundy-Davies participate in ?
(Q19480615,P1344,c(Q13406554))
action filter_type
action find
entity Q19480615
relation P1344
type Q13406554
['Q19480615', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13406554 . resource:Q19480615 property:P1344 ?q }
Seren Bundy-Davies
action filter_type
action find
entity Seren Bundy-Davies
relation participant of
type sport competition
['Seren Bundy-Davies', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport_competition . resource:Seren_Bundy-Davies property:participant_of ?q }
[]
sport competition
Q1026555
SYSTEM
2015 World Championships in Athletics
Q1026555
(Q19480615,P1344,c(Q13406554))
action filter_type
action find
entity Q19480615
relation P1344
type Q13406554
Seren Bundy-Davies participated in [ANSWER]
['Q19480615', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q13406554 . resource:Q19480615 property:P1344 ?q }
2015 World Championships in Athletics
Seren Bundy-Davies participated in 2015 World Championships in Athletics
2015 World Championships in Athletics
action filter_type
action find
entity Seren Bundy-Davies
relation participant of
type sport competition
['Seren Bundy-Davies', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport_competition . resource:Seren_Bundy-Davies property:participant_of ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19480615
P27
Q15617994
USER
Which administrative territory is Seren Bundy-Davies a civilian of ?
(Q19480615,P27,c(Q15617994))
action filter_type
action find
entity Q19480615
relation P27
type Q15617994
['Q19480615', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q19480615 property:P27 ?u }
Seren Bundy-Davies
action filter_type
action find
entity Seren Bundy-Davies
relation country of citizenship
type designation for an administrative territorial entity
['Seren Bundy-Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Seren_Bundy-Davies property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q19480615,P27,c(Q15617994))
action filter_type
action find
entity Q19480615
relation P27
type Q15617994
The [ANSWER] is Seren Bundy-Davies a civilian of
['Q19480615', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q19480615 property:P27 ?u }
United Kingdom
The United Kingdom is Seren Bundy-Davies a civilian of
United Kingdom
action filter_type
action find
entity Seren Bundy-Davies
relation country of citizenship
type designation for an administrative territorial entity
['Seren Bundy-Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Seren_Bundy-Davies property:country_of_citizenship ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P20
Q502895
USER
Which people have that administrative territory as place of death ?
(c(Q502895),P20,Q145)
action filter_type
action find_reverse
entity Q145
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q145 . ?q rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
common name
Q11727985 Q5539480 Q5661723
SYSTEM
John Sinclair, 1st Baron Pentland, George Frederick Stanley, Harold McCusker
Q7817268 Q335542 Q5534717 Q6306769 Q24718696 Q8020816 Q11779634 Q14475998 Q4963943 Q6238020 Q19691583 Q6830997 Q6939267 Q1396742 Q4974317 Q1936169 Q1365993 Q5512494 Q20731799 Q980378 Q7613410 Q3990658 Q9145644 Q5539833 Q3688020 Q21463011 Q2442632 Q18187112 Q237173 Q5492577 Q1359962 Q7364940 Q9341573 Q3290343 Q186025 Q6144189 Q5721354 Q1929333 Q5538120 Q4197339 Q221531 Q15407593 Q26271864 Q21486114 Q4977129 Q633377 Q1380910 Q215338 Q7351194 Q26769386 Q9342769 Q11727985 Q9373968 Q12090836 Q987769 Q555531 Q16016409 Q1540307 Q23562565 Q20030044 Q6151168 Q5661723 Q1626539 Q5539480 Q1387763 Q6846684 Q369526 Q3087092 Q1749799 Q9250815 Q18954454 Q678500 Q6843597 Q6468384 Q3714622 Q23806790 Q6768302 Q4896071 Q3666599 Q4734252 Q5540255 Q3023747 Q6015750 Q3809424 Q3087086 Q7794001 Q6243769 Q8018603 Q6414262 Q21062905 Q17355643 Q3430369 Q509528 Q17402715 Q1359932 Q11754242 Q7147156 Q6220520 Q5730399 Q6231765 Q1515768 Q725880 Q249849 Q1701043 Q14623452 Q358754
(c(Q502895),P20,Q145)
action filter_type
action find_reverse
entity Q145
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q145']
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q145 . ?q rdf:type ontology:Q502895 }
Tom Poulton Oliver Russell, 2nd Baron Ampthill Geoffrey Jones Julia Strachey C. H. Masterman William de Ropp Mieczysław Adamek Mieczysław Jonikas Brian Hanrahan John Harry McNeaney Stanisław Wilczyński Michael Hastings Murray Hammick George Julian Harney Brook Bernacchi Mina Benson Hubbard Philip Vian G. T. Boag S. V. Ramamurthy Henryk Pietrzak Steve Moore Thomas Jefferys Aleksander Kędzior George Goschen, 2nd Viscount Goschen Thomas Kitchin Vivian Forbes Tony Imi Oluremi Oyo Mary Parker Follett Richard Brooker Ernst Roth Ronald Hingley Stanisław Barzdo Dione Lucas R. J. Mitchell James Thompson Henry Foley Knight Michael Scott-Joynt George Coppard Margaretta Eagar Stanisław Sosabowski Feliks Horecki Dimos Donetis Roger Thatcher Bruce Beeby Robin Irvine Ted Moore Jona von Ustinov Robert Wiseman Eugeniusz Rzymowski Stanisław Patalan John Sinclair, 1st Baron Pentland Wiktor Batycki Irving B. Fritz Augustus Frederick Lindley Paddy Roy Bates John Dair Olaf Caroe John Thomas Stanisława Paleolog Jane Birdwood, Baroness Birdwood Harold McCusker Alfred Dundas Taylor George Frederick Stanley Oliver Cheatham Mike Elliott Margaret Kennedy Frederick Bardens Edward William Barton-Wright Edward Czuruk Mary Green Paul Dehn Mieczysław Grydzewski Lachhiman Gurung Douglas Cochrane, 12th Earl of Dundonald James Hodgson Mark Judge Beryl Gilroy Charles Palmer Alois Stoeckl George Harris, 3rd Baron Harris Derek Martinus Thomas Austin John Lodge Cowley Frederick Philbrick Thomas Skinner John La Rose William Soltau Davidson Kinsey Peile Alex Giannini Lydia Webb Harold Walter Bailey Antonia White Christine Noonan Ernst Ritter von Marx Leon Filary Patrick McGowan John Bancroft Henry Winslow Woollett John Emms Gertrude Guillaume-Schack Philip Gidley King Gerard Lander John McLusky Adam Szugajew Edward Blyth
John Sinclair, 1st Baron Pentland, George Frederick Stanley and Harold McCusker have that administrative territory as place of death
John Sinclair, 1st Baron Pentland George Frederick Stanley Harold McCusker
action filter_type
action find_reverse
entity United Kingdom
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'United Kingdom']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:United_Kingdom . ?q rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11727985
P50
Q191067
USER
Which article is that person an author of ?
(c(Q191067),P50,Q11727985)
action filter_type
action find_reverse
entity Q11727985
relation P50
type Q191067
[{'concept': 'Q191067'}, 'P50', 'Q11727985']
SELECT DISTINCT ?g WHERE { ?g property:P50 resource:Q11727985 . ?g rdf:type ontology:Q191067 }
John Sinclair, 1st Baron Pentland
action filter_type
action find_reverse
entity John Sinclair, 1st Baron Pentland
relation author
type article
[{'concept': 'article'}, 'author', 'John Sinclair, 1st Baron Pentland']
SELECT DISTINCT ?g WHERE { ?g property:author resource:John_Sinclair,_1st_Baron_Pentland . ?g rdf:type ontology:article }
[]
article
Clarification for simple ques.
Q5661723
SYSTEM
Did you mean Harold McCusker ?
Q11727985 Q5539480 Q5661723
(c(Q191067),P50,Q11727985) (c(Q191067),P50,Q5539480) (c(Q191067),P50,Q5661723)
[ANSWER]
[{'concept': 'Q191067'}, 'P50', 'Q11727985'] [{'concept': 'Q191067'}, 'P50', 'Q5539480'] [{'concept': 'Q191067'}, 'P50', 'Q5661723']
SELECT DISTINCT ?g WHERE { ?g property:P50 resource:Q11727985 . ?g rdf:type ontology:Q191067 }
John Sinclair, 1st Baron Pentland George Frederick Stanley Harold McCusker
Did you mean Harold McCusker ?
Harold McCusker
[{'concept': 'article'}, 'author', 'John Sinclair, 1st Baron Pentland'] [{'concept': 'article'}, 'author', 'George Frederick Stanley'] [{'concept': 'article'}, 'author', 'Harold McCusker']
SELECT DISTINCT ?g WHERE { ?g property:author resource:John_Sinclair,_1st_Baron_Pentland . ?g rdf:type ontology:article }
[]
Simple Question (Coreferenced)
USER
No, I meant John Sinclair, 1st Baron Pentland. Could you tell me the answer for that?
(c(Q191067),P50,Q11727985)
Q11727985
[{'concept': 'Q191067'}, 'P50', 'Q11727985']
[{'concept': 'article'}, 'author', 'John Sinclair, 1st Baron Pentland']
[]
Q21484538
SYSTEM
Campbell-Bannerman, Henry (DNB12)
Q21484538
(c(Q191067),P50,Q11727985)
action filter_type
action find_reverse
entity Q11727985
relation P50
type Q191067
[ANSWER] is that person an author of
[{'concept': 'Q191067'}, 'P50', 'Q11727985']
SELECT DISTINCT ?g WHERE { ?g property:P50 resource:Q11727985 . ?g rdf:type ontology:Q191067 }
Campbell-Bannerman, Henry (DNB12)
Campbell-Bannerman, Henry (DNB12) is that person an author of
Campbell-Bannerman, Henry (DNB12)
action filter_type
action find_reverse
entity John Sinclair, 1st Baron Pentland
relation author
type article
[{'concept': 'article'}, 'author', 'John Sinclair, 1st Baron Pentland']
SELECT DISTINCT ?g WHERE { ?g property:author resource:John_Sinclair,_1st_Baron_Pentland . ?g rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21484538
P1433
Q571
USER
Where is that article published ?
(Q21484538,P1433,c(Q571))
action filter_type
action find
entity Q21484538
relation P1433
type Q571
['Q21484538', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?y WHERE { resource:Q21484538 property:P1433 ?y . ?y rdf:type ontology:Q571 }
Campbell-Bannerman, Henry (DNB12)
action filter_type
action find
entity Campbell-Bannerman, Henry (DNB12)
relation published in
type book
['Campbell-Bannerman, Henry (DNB12)', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?y WHERE { resource:Campbell-Bannerman,_Henry_(DNB12) property:published_in ?y . ?y rdf:type ontology:book }
[]
book
Q16014697
SYSTEM
Dictionary of National Biography, second supplement
Q16014697
(Q21484538,P1433,c(Q571))
action filter_type
action find
entity Q21484538
relation P1433
type Q571
That article is published in [ANSWER]
['Q21484538', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?y WHERE { resource:Q21484538 property:P1433 ?y . ?y rdf:type ontology:Q571 }
Dictionary of National Biography, second supplement
That article is published in Dictionary of National Biography, second supplement
Dictionary of National Biography, second supplement
action filter_type
action find
entity Campbell-Bannerman, Henry (DNB12)
relation published in
type book
['Campbell-Bannerman, Henry (DNB12)', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?y WHERE { resource:Campbell-Bannerman,_Henry_(DNB12) property:published_in ?y . ?y rdf:type ontology:book }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1741
P291
Q56061 Q571
USER
Which administrative territories were greater number of books published than Vienna ?
(c(Q571),P291,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q1741
relation P291
type Q56061
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P291 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q571 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q1741 property:P291 ?j . ?j rdf:type ontology:Q56061 } } . FILTER ( ?w > ?l ) }
Vienna
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Vienna
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:place_of_publication ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:book } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Vienna property:place_of_publication ?j . ?j rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?w > ?l ) }
[]
administrative territorial entity book
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q909146 Q2512312 Q501661 Q982367 Q23337 Q33959 Q586 Q9920 Q1757 Q1754 Q1022 Q90 Q3846 Q597 Q365 Q5836 Q8818 Q1155 Q209055 Q3561 Q40347 Q739452 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q3141 Q671288 Q72 Q334 Q621 Q3130 Q192517 Q1297 Q3033 Q936183 Q1748 Q45412 Q84 Q5112 Q2103 Q178093 Q49111 Q71 Q2617448 Q36405 Q270 Q60 Q1931927 Q16567 Q5092 Q1492 Q1479 Q2807 Q42735 Q242478 Q220 Q26421 Q37995 Q6761 Q761 Q2634 Q3584 Q1726 Q8717 Q3519 Q64 Q65 Q2028 Q61 Q62 Q18125 Q12439 Q470445 Q1352 Q8385 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q24826 Q128306 Q997170 Q580 Q585 Q34370 Q207639 Q2066 Q100 Q3834 Q216 Q350 Q1348 Q1085
(c(Q571),P291,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q1741
relation P291
type Q56061
[ANSWERS] were greater number of books published than Vienna
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P291 ?d . ?d rdf:type ontology:Q56061 . ?n rdf:type ontology:Q571 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q1741 property:P291 ?j . ?j rdf:type ontology:Q56061 } } . FILTER ( ?w > ?l ) }
Godalming Eppegem Schleswig Mineola Salt Lake City Nice Bonn Haarlem Helsinki Stockholm Stuttgart Paris Minden Lisbon Cologne Toledo Valencia Busto Arsizio Torquay Algiers Norman Garden City Rio de Janeiro Milan Turin Florence Edinburgh Minsk Melbourne Bend Zürich Singapore Versailles Sydney Boulder Chicago Göttingen Tonbridge Copenhagen Coimbra London Adelaide Bochum Poughkeepsie Cambridge Geneva Edinburgh Aberdeen Warsaw New York City Bracon Ash Columbus Baltimore Barcelona Bordeaux Madrid Olympia Levoča Rome Dordrecht Yangon Livorno Białystok Naples Nový Jičín Munich Seville Bari Berlin Los Angeles Verona Washington, D.C. San Francisco Manchester Detroit Prostějov Chennai Ostrava Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Liverpool Denton Waterville Łódź Oslo Rotterdam Chichester Essen Boston Konstanz Vilnius Cambridge Kolkata Prague
Prague, Zürich and Moscow were greater number of books published than Vienna
Prague Zürich Moscow
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Vienna
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:place_of_publication ?d . ?d rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:book } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Vienna property:place_of_publication ?j . ?j rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?w > ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q87
P291
Q56061 Q571
USER
And what about Alexandria?
(c(Q571),P291,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q87
relation P291
type Q56061
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P291 ?q . ?q rdf:type ontology:Q56061 . ?b rdf:type ontology:Q571 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Q87 property:P291 ?n . ?n rdf:type ontology:Q56061 } } . FILTER ( ?e > ?f ) }
Alexandria
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Alexandria
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:place_of_publication ?q . ?q rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:book } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Alexandria property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?e > ?f ) }
[]
administrative territorial entity book
Q1085 Q72 Q649
SYSTEM
Prague, Zürich, Moscow
Q909146 Q2512312 Q501661 Q982367 Q23337 Q33959 Q586 Q9920 Q1757 Q1754 Q1022 Q90 Q3846 Q597 Q365 Q5836 Q8818 Q1155 Q209055 Q3561 Q40347 Q739452 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q3141 Q671288 Q72 Q334 Q621 Q3130 Q192517 Q1297 Q3033 Q936183 Q1748 Q45412 Q84 Q5112 Q2103 Q178093 Q49111 Q71 Q2617448 Q36405 Q270 Q60 Q1931927 Q16567 Q5092 Q1492 Q1479 Q2807 Q42735 Q242478 Q220 Q26421 Q37995 Q6761 Q761 Q2634 Q3584 Q1726 Q8717 Q3519 Q64 Q65 Q2028 Q61 Q62 Q18125 Q12439 Q470445 Q1352 Q8385 Q72259 Q19785 Q647 Q641 Q193367 Q727 Q649 Q24826 Q128306 Q997170 Q580 Q585 Q34370 Q207639 Q2066 Q100 Q3834 Q216 Q350 Q1348 Q1085
(c(Q571),P291,c(Q56061))
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q87
relation P291
type Q56061
[ANSWERS]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P291 ?q . ?q rdf:type ontology:Q56061 . ?b rdf:type ontology:Q571 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Q87 property:P291 ?n . ?n rdf:type ontology:Q56061 } } . FILTER ( ?e > ?f ) }
Godalming Eppegem Schleswig Mineola Salt Lake City Nice Bonn Haarlem Helsinki Stockholm Stuttgart Paris Minden Lisbon Cologne Toledo Valencia Busto Arsizio Torquay Algiers Norman Garden City Rio de Janeiro Milan Turin Florence Edinburgh Minsk Melbourne Bend Zürich Singapore Versailles Sydney Boulder Chicago Göttingen Tonbridge Copenhagen Coimbra London Adelaide Bochum Poughkeepsie Cambridge Geneva Edinburgh Aberdeen Warsaw New York City Bracon Ash Columbus Baltimore Barcelona Bordeaux Madrid Olympia Levoča Rome Dordrecht Yangon Livorno Białystok Naples Nový Jičín Munich Seville Bari Berlin Los Angeles Verona Washington, D.C. San Francisco Manchester Detroit Prostějov Chennai Ostrava Portsmouth Harpenden Rennes Venice Porvoo Amsterdam Moscow Liverpool Denton Waterville Łódź Oslo Rotterdam Chichester Essen Boston Konstanz Vilnius Cambridge Kolkata Prague
Prague Zürich Moscow
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Alexandria
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:place_of_publication ?q . ?q rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:book } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Alexandria property:place_of_publication ?n . ?n rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?e > ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q649
P272
Q838948
USER
Which work of art was released from the production company named that administrative territory ?
(c(Q838948),P272,Q649)
action filter_type
action find_reverse
entity Q649
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q649']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q649 . ?x rdf:type ontology:Q838948 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Moscow']
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Moscow . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q72
SYSTEM
Did you mean Zürich ?
Q1085 Q72 Q649
(c(Q838948),P272,Q1085) (c(Q838948),P272,Q72) (c(Q838948),P272,Q649)
[ANSWER]
[{'concept': 'Q838948'}, 'P272', 'Q1085'] [{'concept': 'Q838948'}, 'P272', 'Q72'] [{'concept': 'Q838948'}, 'P272', 'Q649']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q649 . ?x rdf:type ontology:Q838948 }
Prague Zürich Moscow
Did you mean Zürich ?
Zürich
[{'concept': 'work of art'}, 'production company', 'Prague'] [{'concept': 'work of art'}, 'production company', 'Zürich'] [{'concept': 'work of art'}, 'production company', 'Moscow']
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Moscow . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Moscow. Could you tell me the answer for that?
(c(Q838948),P272,Q649)
Q649
[{'concept': 'Q838948'}, 'P272', 'Q649']
[{'concept': 'work of art'}, 'production company', 'Moscow']
[]
Q873313
SYSTEM
The Red and the White
Q873313
(c(Q838948),P272,Q649)
action filter_type
action find_reverse
entity Q649
relation P272
type Q838948
The [ANSWER] was released from the production company named that administrative territory
[{'concept': 'Q838948'}, 'P272', 'Q649']
SELECT DISTINCT ?x WHERE { ?x property:P272 resource:Q649 . ?x rdf:type ontology:Q838948 }
The Red and the White
The The Red and the White was released from the production company named that administrative territory
The Red and the White
action filter_type
action find_reverse
entity Moscow
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Moscow']
SELECT DISTINCT ?x WHERE { ?x property:production_company resource:Moscow . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q649
P190
Q56061
USER
How many administrative territories are sister towns of Moscow ?
(Q649,P190,c(Q56061))
action count
action filter_type
action find
entity Q649
relation P190
type Q56061
['Q649', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Q649 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Moscow
action count
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
['Moscow', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Moscow property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
49
Q807 Q41572 Q13498 Q994 Q437 Q1353 Q727 Q472 Q23564 Q179830 Q178373 Q42308 Q1770 Q1718 Q18808 Q1297 Q1490 Q1741 Q196678 Q3805 Q1520 Q1524 Q1491 Q987 Q1780 Q3630 Q140147 Q25409 Q33935 Q131290 Q3561 Q84 Q85 Q486282 Q19566 Q1861 Q3820 Q216 Q43070 Q270 Q239 Q2807 Q956 Q3640 Q64 Q1218 Q133026 Q186576 Q1085
(Q649,P190,c(Q56061))
action count
action filter_type
action find
entity Q649
relation P190
type Q56061
[ANSWER]
['Q649', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Q649 property:P190 ?r . ?r rdf:type ontology:Q56061 }
Lausanne Mykolaiv Taranto Tbilisi Ljubljana Delhi Amsterdam Sofia Podgorica Jelgava Rasht Kharkiv Tallinn Düsseldorf Pyongyang Chicago Tokyo Vienna Torzhok Amman Astana Athens La Paz New Delhi Bratislava Jakarta Brest Košice Tel Aviv Ganja Algiers London Cairo Pavlodar Simferopol Bangkok Beirut Vilnius Donetsk Warsaw Brussels Madrid Beijing Ankara Berlin Jerusalem Kolomna Pazardzhik Prague
49
action count
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
['Moscow', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Moscow property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]