Simple Question (Direct)
Simple Question
Q3849102
P19
Q15617994
USER
Which administrative territory is the birthplace of Mario Sernagiotto ?
(Q3849102,P19,c(Q15617994))
action filter_type
action find
entity Q3849102
relation P19
type Q15617994
['Q3849102', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3849102 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Mario Sernagiotto
action filter_type
action find
entity Mario Sernagiotto
relation place of birth
type designation for an administrative territorial entity
['Mario Sernagiotto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mario_Sernagiotto property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53245
SYSTEM
Cividale del Friuli
Q53245
(Q3849102,P19,c(Q15617994))
action filter_type
action find
entity Q3849102
relation P19
type Q15617994
[ANSWER] is the birthplace of Mario Sernagiotto
['Q3849102', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3849102 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Cividale del Friuli
Cividale del Friuli is the birthplace of Mario Sernagiotto
Cividale del Friuli
action filter_type
action find
entity Mario Sernagiotto
relation place of birth
type designation for an administrative territorial entity
['Mario Sernagiotto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mario_Sernagiotto property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3849102
P641
Q349
USER
Which sport did Mario Sernagiotto participate in ?
(Q3849102,P641,c(Q349))
action filter_type
action find
entity Q3849102
relation P641
type Q349
['Q3849102', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q3849102 property:P641 ?q . ?q rdf:type ontology:Q349 }
Mario Sernagiotto
action filter_type
action find
entity Mario Sernagiotto
relation sport
type sport
['Mario Sernagiotto', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Mario_Sernagiotto property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3849102,P641,c(Q349))
action filter_type
action find
entity Q3849102
relation P641
type Q349
Mario Sernagiotto participated in [ANSWER]
['Q3849102', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q3849102 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Mario Sernagiotto participated in association football
association football
action filter_type
action find
entity Mario Sernagiotto
relation sport
type sport
['Mario Sernagiotto', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Mario_Sernagiotto property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3849102
P106
Q12737077
USER
What does Mario Sernagiotto do for a living ?
(Q3849102,P106,c(Q12737077))
action filter_type
action find
entity Q3849102
relation P106
type Q12737077
['Q3849102', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3849102 property:P106 ?x }
Mario Sernagiotto
action filter_type
action find
entity Mario Sernagiotto
relation occupation
type occupation
['Mario Sernagiotto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Mario_Sernagiotto property:occupation ?x }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3849102,P106,c(Q12737077))
action filter_type
action find
entity Q3849102
relation P106
type Q12737077
Mario Sernagiotto does an [ANSWER] for a living
['Q3849102', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3849102 property:P106 ?x }
association football player
Mario Sernagiotto does an association football player for a living
association football player
action filter_type
action find
entity Mario Sernagiotto
relation occupation
type occupation
['Mario Sernagiotto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Mario_Sernagiotto property:occupation ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21209377
Q12737077
USER
And how about Edward George Renesch?
(Q21209377,P106,c(Q12737077))
action filter_type
action find
entity Q21209377
relation P106
type Q12737077
['Q21209377', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q21209377 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Edward George Renesch
action filter_type
action find
entity Edward George Renesch
relation occupation
type occupation
['Edward George Renesch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Edward_George_Renesch property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q644687
SYSTEM
illustrator
Q644687
(Q21209377,P106,c(Q12737077))
action filter_type
action find
entity Q21209377
relation P106
type Q12737077
[ANSWER]
['Q21209377', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q21209377 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
illustrator
illustrator
action filter_type
action find
entity Edward George Renesch
relation occupation
type occupation
['Edward George Renesch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Edward_George_Renesch property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Where did association football originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
Association football originated from [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
England
Association football originated from England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P138
Q161243
USER
Which dependent territory is named after that territory ?
(c(Q161243),P138,Q21)
action filter_type
action find_reverse
entity Q21
relation P138
type Q161243
[{'concept': 'Q161243'}, 'P138', 'Q21']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q21 . ?j rdf:type ontology:Q161243 }
England
action filter_type
action find_reverse
entity England
relation named after
type dependent territory
[{'concept': 'dependent territory'}, 'named after', 'England']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:England . ?j rdf:type ontology:dependent_territory }
[]
dependent territory
Q3345312
SYSTEM
New England
Q3345312
(c(Q161243),P138,Q21)
action filter_type
action find_reverse
entity Q21
relation P138
type Q161243
[ANSWER] is named after that territory
[{'concept': 'Q161243'}, 'P138', 'Q21']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q21 . ?j rdf:type ontology:Q161243 }
New England
New England is named after that territory
New England
action filter_type
action find_reverse
entity England
relation named after
type dependent territory
[{'concept': 'dependent territory'}, 'named after', 'England']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:England . ?j rdf:type ontology:dependent_territory }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P36
Q56061
USER
Which administrative territory is called the capital of England ?
(Q21,P36,c(Q56061))
action filter_type
action find
entity Q21
relation P36
type Q56061
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q21 property:P36 ?b . ?b rdf:type ontology:Q56061 }
England
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:England property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q21,P36,c(Q56061))
action filter_type
action find
entity Q21
relation P36
type Q56061
Be [ANSWER] is called the capital of England
['Q21', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q21 property:P36 ?b . ?b rdf:type ontology:Q56061 }
London
Be London is called the capital of England
London
action filter_type
action find
entity England
relation capital
type administrative territorial entity
['England', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:England property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P291
Q2342494
USER
Which collectables have that administrative territory as their publication location ?
(c(Q2342494),P291,Q84)
action filter_type
action find_reverse
entity Q84
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q84']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2342494 . ?m property:P291 resource:Q84 }
London
action filter_type
action find_reverse
entity London
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'London']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collectable . ?m property:place_of_publication resource:London }
[]
collectable
Q7733531 Q21286489 Q1396889
SYSTEM
The Fate of Fenella, The Comedies of Aristophanes, Animal Farm
Q3820779 Q20046346 Q24569300 Q20511806 Q4033161 Q26972799 Q26912054 Q17689986 Q24193572 Q15854262 Q27646767 Q27830476 Q20968078 Q27244059 Q16011749 Q21016740 Q19029314 Q24718280 Q27032545 Q27186272 Q26990369 Q21079641 Q21014397 Q21286489 Q20511541 Q1426599 Q26156647 Q21014398 Q27516382 Q20511141 Q2431853 Q24005944 Q12899074 Q25436622 Q20513084 Q27704241 Q7733531 Q19862348 Q26198098 Q502633 Q27044276 Q27308080 Q24763932 Q22290335 Q20507490 Q17974596 Q23011147 Q26776962 Q27163297 Q27076209 Q20506819 Q22344388 Q19063113 Q1396889 Q27063812 Q27005735 Q9004838 Q27244249 Q21056517 Q26960305 Q17852855 Q18346555 Q16913626 Q7250181 Q25991168 Q26263038 Q26225490 Q20968726 Q24579451 Q26706258 Q10888409 Q15303594 Q27644420 Q26806375 Q23691928 Q24548342 Q6883290 Q26772665 Q7714468 Q18669784 Q25859265 Q26186550 Q13410604 Q26157353 Q22061767 Q24726261 Q20724591 Q19587967 Q22810109 Q502579 Q24657361 Q26884254 Q21073021 Q24992145 Q20036800 Q27702596 Q26209459 Q26341856 Q20968276 Q27016937 Q27077671 Q25219289 Q23978365 Q23978177 Q19902769 Q26858764
(c(Q2342494),P291,Q84)
action filter_type
action find_reverse
entity Q84
relation P291
type Q2342494
[ANSWERS] have that administrative territory as their publication location
[{'concept': 'Q2342494'}, 'P291', 'Q84']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2342494 . ?m property:P291 resource:Q84 }
The English Constitution Lectures on the origin and growth of religion as illustrated by the native religions of Mexico and Peru Mexico in 1827 The horrors of Aleppo, seen by a German eyewitness A Natural Arrangement of British Plants My big idea: 30 successful entrepreneurs reveal how they found inspiration A collection of forty-eight views of noblemen's and gentlemen's seats, towns, castles, churches, monasteries, and romantic places in north and south Wales Le Foot: The Legends of French Football The hand-book to Llandudno and its vicinity Association Football and How to Play It A Voyage Round Great Britain A collection of engravings of castles and abbeys in Wales A Historical and Descriptive Narrative of twenty years' residence in South America Picturesque Views in England and Wales A Dictionary of Music and Musicians World of Tennis 1988 Martyred Armenia a critical dissertation upon the seventh verse of the fifth chapter of st. john's first epistle The seats of the nobility and gentry The Gunpowder Plot: terror & faith in 1605 England and Wales delineated The Art of Short-hand improved, being an Universal Character adapted to the English Language, whereby every kind of subject may be expressed or taken down in a very easy, compendious, and legible manner World of Tennis 1983 The Comedies of Aristophanes Inside Constantinople: A Diplomatist’s Diary During the Dardanelles Expedition The Key to Theosophy People of today World of Tennis 1985 The antiquities of England and Wales Nobleman: An Open Letter from K. G. Ossiannillson Extraordinary Popular Delusions and the Madness of Crowds The Bloomsbury Cookbook Britannia A History of Slavery and its Abolition Armenia and the Settlement The Antiquarian repertory The Fate of Fenella Journal of a Voyage to Greenland, in the Year 1821 Prints and printmaking : a dictionary and handbook of the art in nineteenth-century Britain The Return of the Shadow A collection of one hundred and fifty select views, in England, Scotland, and Ireland Munimenta antiqua: or, observations on antient castles Moments of prayer A guide to the architecture of London Evil of the East Roman military diplomas World of Tennis 1978 A Tour Through Parts of Wales: sonnets, odes, and other poems Antiquarian and topographical cabinet Alan Turing: The Enigma Armenia And Its Sorrows The Black Man's Lament Ballot Animal Farm Wales illustrated: in a series of views, comprising the picturesque scenery, towns, castles, seats of the nobility & gentry, antiquities, &c. Welsh Scenery. From drawings by Captain Batty Hortus Kewensis Liber studiorum; a series of sketches and studies World of Tennis '72 The Third World: Country or People? Burke John (1831) World of Tennis 1990 Historia Placitorum Coronæ Proper new book of cookery Aviel revé Sant Maheu Leigh's guide to Wales & Monmouthshire When pirates ruled the waves. Affinities of Plants, with some Observations upon Progressive Development The defence of the realm in the 1980s Catalogue of the Specimens of Dermaptera Saltatoria in the Collection of the British Museum Kidnapped in London Sedition and Alchemy: A Biography of John Cale XII Views in North Wales Encyclopedia of the Blues The Tragedies of Sophocles The Grounds of an Opinion on the Policy of Restricting the Importation of Foreign Corn A History of landownership in modern Egypt, 1800-1950 The Phoenix book of international rugby records The Art of Nijinsky North Korea (book) Princes of Ireland, planters of Maryland: a Carroll saga, 1500-1782 Ships and shipwrecks of the Americas: a history of underwater archaeology Wimbledon: The Official History of the Championships The charge: the real reason why the Light Brigade was lost Mortality in an International Perspective Historical descriptions of new and elegant picturesque views of the antiquities of England and Wales Faith Great Neapolitan Earthquake of 1857 The Dramas of Aeschylus The Lost Road and Other Writings Observations on the Effects of the Corn Laws XII Views in Aquatinta from Drawings taken on the Spot in South-Wales World of Tennis 1980 A genealogical and heraldic History of the commoners of Great Britain and Ireland, enjoying territorial possessions or high official rank, but uninvested with heritable honours The Black Prince Handbook of Data Compression A tour through the south of England, Wales, and part of Ireland, made during the summer of 1791 Industrial Britain under the Regency Child Life in Japan Views of the seats of noblemen and gentlemen, in England, Wales, Scotland, and Ireland Cipher systems: the protection of communications A topographical dictionary of Wales (Volume I) Who's Who in International Tennis Wintering in the Riviera Ronan the Barbarian A collection of views in England and Wales, drawn and engraved by John Boydell. To which are added, engraved by the same hand, some miscellaneous subjects after various masters
The Fate of Fenella, The Comedies of Aristophanes and Animal Farm have that administrative territory as their publication location
The Fate of Fenella The Comedies of Aristophanes Animal Farm
action filter_type
action find_reverse
entity London
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'London']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collectable . ?m property:place_of_publication resource:London }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q53245
P47 P17
Q15617994
USER
Which administrative territories are bordered by Cividale del Friuli and are present in Italy ?
AND((c(Q15617994),P47,Q53245), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q53245
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q53245'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?b WHERE { ?b property:P17 resource:Q38 . ?b property:P47 resource:Q53245 . ?b rdf:type ontology:Q15617994 }
Italy Cividale del Friuli
action filter_type
action intersection
action find_reverse
entity Cividale del Friuli
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cividale del Friuli'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?b WHERE { ?b property:country resource:Italy . ?b property:shares_border_with resource:Cividale_del_Friuli . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53358 Q53285 Q53382 Q53250 Q53318
SYSTEM
San Pietro al Natisone, Moimacco, Torreano, Corno di Rosazzo, Premariacco
Q53358 Q53285 Q53382 Q53250 Q53318
AND((c(Q15617994),P47,Q53245), (c(Q15617994),P17,Q38))
action filter_type
action intersection
action find_reverse
entity Q53245
relation P47
action find_reverse
entity Q38
relation P17
type Q15617994
[ANSWERS] are bordered by Cividale del Friuli and are present in Italy
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q53245'], [{'concept': 'Q15617994'}, 'P17', 'Q38']]}
SELECT DISTINCT ?b WHERE { ?b property:P17 resource:Q38 . ?b property:P47 resource:Q53245 . ?b rdf:type ontology:Q15617994 }
San Pietro al Natisone Moimacco Torreano Corno di Rosazzo Premariacco
San Pietro al Natisone, Moimacco, Torreano, Corno di Rosazzo and Premariacco are bordered by Cividale del Friuli and are present in Italy
San Pietro al Natisone Moimacco Torreano Corno di Rosazzo Premariacco
action filter_type
action intersection
action find_reverse
entity Cividale del Friuli
relation shares border with
action find_reverse
entity Italy
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cividale del Friuli'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Italy']]}
SELECT DISTINCT ?b WHERE { ?b property:country resource:Italy . ?b property:shares_border_with resource:Cividale_del_Friuli . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q769
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with approximately the same number of administrative territories as Grenada ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 . ?z property:P530 ?p } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q769 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?d = ?r ) }
Grenada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity . ?z property:diplomatic_relation ?p } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Grenada property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?d = ?r ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with approximately the same number of administrative territories as Grenada
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 . ?z property:P530 ?p } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q769 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?d = ?r ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with approximately the same number of administrative territories as Grenada
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity . ?z property:diplomatic_relation ?p } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Grenada property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?d = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q408
P530
Q1048835 Q15617994
USER
And what about Australia?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?s ) WHERE { ?o property:P530 ?q . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q408 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } }
Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?s ) WHERE { ?o property:diplomatic_relation ?q . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Australia property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?s ) WHERE { ?o property:P530 ?q . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Q408 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } }
Germany Australia
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?s ) WHERE { ?o property:diplomatic_relation ?q . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?s = ?h ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { resource:Australia property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P172
Q502895
USER
Which people have Germany as ethnic group ?
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P172 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:ethnic_group resource:Germany }
[]
common name
Q63997 Q429919 Q30865
SYSTEM
Ken Adam, Philotheus Boehner, Eike Batista
Q26838019 Q63997 Q429919 Q16058601 Q6286878 Q30865
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[ANSWERS] have Germany as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P172 resource:Q183 }
Konrad Baumgarten Ken Adam Philotheus Boehner Wolf Traut Joseph Schipfer Eike Batista
Ken Adam, Philotheus Boehner and Eike Batista have Germany as ethnic group
Ken Adam Philotheus Boehner Eike Batista
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:ethnic_group resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
(Q63997,P1313,c(Q12737077)) (Q429919,P1313,c(Q12737077)) (Q30865,P1313,c(Q12737077))
action filter_type
action find
entity Q183
relation P1313
type Q12737077
['Q63997', 'P1313', {'concept': 'Q12737077'}] ['Q429919', 'P1313', {'concept': 'Q12737077'}] ['Q30865', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q183 property:P1313 ?g . ?g rdf:type ontology:Q12737077 }
Germany
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
['Ken Adam', 'office held by head of government', {'concept': 'occupation'}] ['Philotheus Boehner', 'office held by head of government', {'concept': 'occupation'}] ['Eike Batista', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Germany property:office_held_by_head_of_government ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q4970706
SYSTEM
Federal Chancellor of Germany
Q4970706
(Q63997,P1313,c(Q12737077)) (Q429919,P1313,c(Q12737077)) (Q30865,P1313,c(Q12737077))
action filter_type
action find
entity Q183
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
['Q63997', 'P1313', {'concept': 'Q12737077'}] ['Q429919', 'P1313', {'concept': 'Q12737077'}] ['Q30865', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q183 property:P1313 ?g . ?g rdf:type ontology:Q12737077 }
Federal Chancellor of Germany
The Federal Chancellor of Germany is fulfilled by that political territory
Federal Chancellor of Germany
action filter_type
action find
entity Germany
relation office held by head of government
type occupation
['Ken Adam', 'office held by head of government', {'concept': 'occupation'}] ['Philotheus Boehner', 'office held by head of government', {'concept': 'occupation'}] ['Eike Batista', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Germany property:office_held_by_head_of_government ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4970706
P748
Q502895
USER
How many people appointed Federal Chancellor of Germany ?
(Q4970706,P748,c(Q502895))
action count
action filter_type
action find
entity Q4970706
relation P748
type Q502895
['Q4970706', 'P748', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q4970706 property:P748 ?c . ?c rdf:type ontology:Q502895 }
Federal Chancellor of Germany
action count
action filter_type
action find
entity Federal Chancellor of Germany
relation appointed by
type common name
['Federal Chancellor of Germany', 'appointed by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Federal_Chancellor_of_Germany property:appointed_by ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
8
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2512 Q567
(Q4970706,P748,c(Q502895))
action count
action filter_type
action find
entity Q4970706
relation P748
type Q502895
[ANSWER]
['Q4970706', 'P748', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q4970706 property:P748 ?c . ?c rdf:type ontology:Q502895 }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Kurt Georg Kiesinger Angela Merkel
8
action count
action filter_type
action find
entity Federal Chancellor of Germany
relation appointed by
type common name
['Federal Chancellor of Germany', 'appointed by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Federal_Chancellor_of_Germany property:appointed_by ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3397406
P748
Q502895
USER
And also tell me about Secretary of State for Health?
(Q3397406,P748,c(Q502895))
action count
action filter_type
action find
entity Q3397406
relation P748
type Q502895
['Q3397406', 'P748', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q3397406 property:P748 ?b }
Secretary of State for Health
action count
action filter_type
action find
entity Secretary of State for Health
relation appointed by
type common name
['Secretary of State for Health', 'appointed by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:common_name . resource:Secretary_of_State_for_Health property:appointed_by ?b }
[]
common name
SYSTEM
1
Q9682
(Q3397406,P748,c(Q502895))
action count
action filter_type
action find
entity Q3397406
relation P748
type Q502895
[ANSWER]
['Q3397406', 'P748', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q3397406 property:P748 ?b }
Elizabeth II
1
action count
action filter_type
action find
entity Secretary of State for Health
relation appointed by
type common name
['Secretary of State for Health', 'appointed by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:common_name . resource:Secretary_of_State_for_Health property:appointed_by ?b }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q152814
Q502895
USER
And how about Prime Minister of Malta?
(Q152814,P748,c(Q502895))
action count
action filter_type
action find
entity Q152814
relation P748
type Q502895
['Q152814', 'P748', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q152814 property:P748 ?e }
Prime Minister of Malta
action count
action filter_type
action find
entity Prime Minister of Malta
relation appointed by
type common name
['Prime Minister of Malta', 'appointed by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:common_name . resource:Prime_Minister_of_Malta property:appointed_by ?e }
[]
common name
SYSTEM
1
(Q152814,P748,c(Q502895))
action count
action filter_type
action find
entity Q152814
relation P748
type Q502895
[ANSWER]
['Q152814', 'P748', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q152814 property:P748 ?e }
1
action count
action filter_type
action find
entity Prime Minister of Malta
relation appointed by
type common name
['Prime Minister of Malta', 'appointed by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:common_name . resource:Prime_Minister_of_Malta property:appointed_by ?e }
[]