Simple Question (Direct)
Simple Question
Q6395734
P21
Q290
USER
What is the sex of Kevin Andrews ?
(Q6395734,P21,c(Q290))
action filter_type
action find
entity Q6395734
relation P21
type Q290
['Q6395734', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6395734 property:P21 ?v . ?v rdf:type ontology:Q290 }
Kevin Andrews
action filter_type
action find
entity Kevin Andrews
relation gender
type sex
['Kevin Andrews', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Andrews property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6395734,P21,c(Q290))
action filter_type
action find
entity Q6395734
relation P21
type Q290
The sex of Kevin Andrews is a [ANSWER]
['Q6395734', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q6395734 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
The sex of Kevin Andrews is a male
male
action filter_type
action find
entity Kevin Andrews
relation gender
type sex
['Kevin Andrews', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Andrews property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6395734
P69
Q3914
USER
Which school was that person educated at ?
(Q6581097,P69,c(Q3914))
action filter_type
action find
entity Q6395734
relation P69
type Q3914
['Q6581097', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q6395734 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Kevin Andrews
action filter_type
action find
entity Kevin Andrews
relation educated at
type school
['male', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Andrews property:educated_at ?v . ?v rdf:type ontology:school }
[]
school
Q7620697
SYSTEM
Stowe School
Q7620697
(Q6581097,P69,c(Q3914))
action filter_type
action find
entity Q6395734
relation P69
type Q3914
That person was educated at [ANSWER]
['Q6581097', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q6395734 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Stowe School
That person was educated at Stowe School
Stowe School
action filter_type
action find
entity Kevin Andrews
relation educated at
type school
['male', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Andrews property:educated_at ?v . ?v rdf:type ontology:school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6395734
P106
Q12737077
USER
What do Kevin Andrews do for a living ?
(Q6395734,P106,c(Q12737077))
action filter_type
action find
entity Q6395734
relation P106
type Q12737077
['Q6395734', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q6395734 property:P106 ?b }
Kevin Andrews
action filter_type
action find
entity Kevin Andrews
relation occupation
type occupation
['Kevin Andrews', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Kevin_Andrews property:occupation ?b }
[]
occupation
Q201788 Q4773904 Q3621491
SYSTEM
historian, anthropologist, archaeologist
Q201788 Q4773904 Q3621491
(Q6395734,P106,c(Q12737077))
action filter_type
action find
entity Q6395734
relation P106
type Q12737077
[ANSWERS] Kevin Andrews do for a living
['Q6395734', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q6395734 property:P106 ?b }
historian anthropologist archaeologist
Historian, anthropologist and archaeologist Kevin Andrews do for a living
historian anthropologist archaeologist
action filter_type
action find
entity Kevin Andrews
relation occupation
type occupation
['Kevin Andrews', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Kevin_Andrews property:occupation ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16555388
Q12737077
USER
And what about Favi?
(Q16555388,P106,c(Q12737077))
action filter_type
action find
entity Q16555388
relation P106
type Q12737077
['Q16555388', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q16555388 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Favi
action filter_type
action find
entity Favi
relation occupation
type occupation
['Favi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Favi property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16555388,P106,c(Q12737077))
action filter_type
action find
entity Q16555388
relation P106
type Q12737077
[ANSWER]
['Q16555388', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q16555388 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Favi
relation occupation
type occupation
['Favi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Favi property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7620697
P17
Q15617994
USER
Which administrative territory does Stowe School belong to ?
(Q7620697,P17,c(Q15617994))
action filter_type
action find
entity Q7620697
relation P17
type Q15617994
['Q7620697', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7620697 property:P17 ?r }
Stowe School
action filter_type
action find
entity Stowe School
relation country
type designation for an administrative territorial entity
['Stowe School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stowe_School property:country ?r }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7620697,P17,c(Q15617994))
action filter_type
action find
entity Q7620697
relation P17
type Q15617994
Stowe School belongs to [ANSWER]
['Q7620697', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7620697 property:P17 ?r }
United Kingdom
Stowe School belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Stowe School
relation country
type designation for an administrative territorial entity
['Stowe School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stowe_School property:country ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7620697
P466
Q3947
USER
Which house is occupied by that school ?
(c(Q3947),P466,Q145)
action filter_type
action find_reverse
entity Q7620697
relation P466
type Q3947
[{'concept': 'Q3947'}, 'P466', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q7620697 . ?y rdf:type ontology:Q3947 }
Stowe School
action filter_type
action find_reverse
entity Stowe School
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Stowe_School . ?y rdf:type ontology:house }
[]
house
Q2352431
SYSTEM
Stowe House
Q2352431
(c(Q3947),P466,Q145)
action filter_type
action find_reverse
entity Q7620697
relation P466
type Q3947
[ANSWER] is occupied by that school
[{'concept': 'Q3947'}, 'P466', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P466 resource:Q7620697 . ?y rdf:type ontology:Q3947 }
Stowe House
Stowe House is occupied by that school
Stowe House
action filter_type
action find_reverse
entity Stowe School
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:occupant resource:Stowe_School . ?y rdf:type ontology:house }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P84
Q502895 Q3947
USER
How many houses were around the same number of people an architect of as that house ?
(c(Q3947),P84,c(Q502895))
action count
action approx
action find_tuple_counts
relation P84
type Q3947
type Q502895
action count
action filter_type
action find
entity Q2352431
relation P84
type Q3947
[{'concept': 'Q3947'}, 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q3947 . ?k property:P84 ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q2352431 property:P84 ?g . ?g rdf:type ontology:Q3947 } } . FILTER ( ?e = ?c ) }
action count
action approx
action find_tuple_counts
relation architect
type house
type common name
action count
action filter_type
action find
entity Stowe House
relation architect
type house
[{'concept': 'house'}, 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:common_name . ?k rdf:type ontology:house . ?k property:architect ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Stowe_House property:architect ?g . ?g rdf:type ontology:house } } . FILTER ( ?e = ?c ) }
[]
common name house
SYSTEM
229
Q3145716 Q876743 Q3145712 Q7983825 Q6529644 Q15133272 Q7459452 Q18150033 Q3145899 Q5125774 Q4966850 Q940746 Q4572713 Q692768 Q1067909 Q5548024 Q1572552 Q17402102 Q11837814 Q529806 Q627266 Q2081335 Q2121329 Q15950596 Q2525445 Q597957 Q23908643 Q15651199 Q3145892 Q4573321 Q858831 Q15823623 Q15651192 Q3145517 Q10396692 Q3817742 Q5079979 Q4888052 Q222881 Q2295190 Q7114893 Q839379 Q5645788 Q12059680 Q16964856 Q5598297 Q4918753 Q2368274 Q2525507 Q1324786 Q5056884 Q14545369 Q1643144 Q5180627 Q565521 Q3558757 Q27210998 Q4011917 Q1137916 Q15123304 Q2464716 Q3558508 Q3145797 Q7930318 Q15118459 Q1519685 Q17571424 Q688670 Q4012132 Q9374672 Q3205344 Q3558616 Q1688944 Q3558624 Q1362663 Q15613817 Q3145766 Q632845 Q891095 Q565532 Q1582141 Q1441598 Q6487070 Q14906885 Q864789 Q1570585 Q1643082 Q15979614 Q153880 Q3145604 Q7504671 Q2525979 Q1636905 Q1759455 Q5099075 Q15950424 Q518747 Q15649864 Q15296701 Q3558636 Q495086 Q15124420 Q4875993 Q3145934 Q15124422 Q15091777 Q1263962 Q26213230 Q15838847 Q21003150 Q3813365 Q3558723 Q7619446 Q3145754 Q4242143 Q8030449 Q718790 Q1126723 Q664344 Q966399 Q15126080 Q9374680 Q6890519 Q14546740 Q1506237 Q17594152 Q1409679 Q1232310 Q1643072 Q15700663 Q1726158 Q14547199 Q10715480 Q718315 Q16891385 Q1327076 Q569075 Q15124419 Q2349736 Q3558617 Q2525799 Q16985009 Q5638758 Q3277871 Q20987227 Q17639699 Q1648281 Q5479679 Q1140280 Q1786933 Q17318519 Q3848659 Q3558769 Q8032495 Q1643105 Q3950494 Q1553420 Q595553 Q3145859 Q15126078 Q1280641 Q3145692 Q19849306 Q19800100 Q1574432 Q2094778 Q8016552 Q3558462 Q10663150 Q3558469 Q7930495 Q564578 Q1142766 Q22947991 Q3145671 Q16642856 Q151782 Q35525 Q4669352 Q1495042 Q3695427 Q3361167 Q1046446 Q1387625 Q10715501 Q4810979 Q1267485 Q378143 Q3558702 Q7930298 Q19060407 Q3517668 Q772886 Q4352621 Q3422736 Q14906942 Q15610069 Q21451874 Q2971106 Q3558622 Q4923584 Q1049514 Q15106496 Q11721744 Q17528596 Q3930513 Q14906398 Q18609782 Q1516590 Q3145745 Q206365 Q2060860 Q15118460 Q16321288 Q2837861 Q3145876 Q3145789 Q15649879 Q4165373 Q534938 Q3145788 Q15649872 Q16540659 Q18908005 Q14906992 Q734970 Q3425468 Q3068796 Q2054708
(c(Q3947),P84,c(Q502895))
action count
action approx
action find_tuple_counts
relation P84
type Q3947
type Q502895
action count
action filter_type
action find
entity Q2352431
relation P84
type Q3947
[ANSWER]
[{'concept': 'Q3947'}, 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q3947 . ?k property:P84 ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q2352431 property:P84 ?g . ?g rdf:type ontology:Q3947 } } . FILTER ( ?e = ?c ) }
Hôtel d'Aumont Villa Wartholz Hôtel d'Angoulême Lamoignon Wesley's Chapel Les Jolies Eaux Unter den Ulmen 96 Sezincote House Villa Favorita, Ercolano hôtel de Mesmay Clandon Park Bridgewater House Villa Savoye Reinhold Richter Villa Hôtel de Crillon Chartwell Georgian House, Bristol Ham House Villa Alicius Villa Hugo Hecht in Bydgoszcz Flavian Palace E-1027 Petworth House Syon Park House Hôtel de Coislin Villa Merian Villa Farnese Gyttegård Villa Kocks Hôtel de Marigny Leopold Kindermann Villa Casa di Riposo per Musicisti Kirchstraße 13 Adenauerallee 131 Hôtel Guimard Šalounova vila Jujol Centre – Can Negre Charles L. Shrewsbury House Beningbrough Hall 2 Willow Road Villa Lante al Gianicolo Owlpen Manor Royal Villa of Milan Hammerwood Park Trmal's Villa Villa Majorelle Graycliff Bitar Mansion Fritzøehus Villa Necchi Campiglio Villa Empain Cedar Rock State Park Adenauerallee 124 Hôtel de Sully Cragside Clarence House Villa Simonetta Torre Castañer Villa Corsini in Castello Winfield House Oberländer Ufer 208 Cliveden Villa Cyrnos Hôtel de Charost Villa Fallet Lindenallee 70 Villa Le Lac Shennanton House Hôtel Thellusson Villa Imperiale of Pesaro Villa Fritz Heroldt in Bydgoszcz Villa Linssen Villa Kerylos Villa Obenauer Villa La Prairie Villa Medici Basteistraße 18 Hôtel de Breteuil Hôtel de Mademoiselle de Condé Villa Erba Marlborough House Villa Leonhart Osterley Park Lanier Mansion Joachimstraße 7 Montreal Biosphère Villa d'Este Hôtel Lambert Witanhurst Villa Lynen hôtel Montaudouin Shugborough Hall Rolandstraße 67 The Gallen-Kallela Museum Larnach Castle Chillington Hall Hôtel Côte-Blatin Villa Cavrois Buschstraße 18 Kronprinzenstraße 6 Villa Le Trident Bolton Castle Parkstraße 5 Beacon Towers Hôtel de Pourtalès Parkstraße 8 Birmingham Union workhouse Duff House Bryn y Pys Hall Tempelstrasse 10 Villa Comerio Hermitage of Virgen del Puerto Villa Rothschild Stoneywell Hôtel de Blossac Croome Court Wolterton Hall Villa Donn'Anna Villa Farnesina Villa Le Balze Hôtel Beauharnais Rheinallee 34 Villa Heinrich Dietz in Bydgoszcz Moggerhanger House Kurt-Schumacher-Straße 4/6 Glass House Grote Noord 20 Feuerschlößchen Kingston Lacy Hotel Gaillard Rhöndorfer Straße 87 Longleat Kurt-Schumacher-Straße 10 Villa Johanna Villa Floridiana Forglen House Haus Wiegand Hôtel de Toulouse Parkstraße 20 residence of the Prime Minister of Belgium Villa La Mauresque Villa Spiritus Hôtel de Villeneuve d'Ansouis Hagley Hall Villa Jeanneret-Perret Villa Kampen Stirzenhofstraße 21 Landhaus Glasewaldtstraße 8 Kalela Harpsund Mansion House Rolandstraße 48 Villa Grande Villa Stein Woodchester Mansion Hôtel de Beauvais Villa dei Vescovi Hôtel Amelot de Bisseuil Güell Pavilions Hôtel de Guénégaud Rheinallee 32 Hässelby Castle Hôtel Tubeuf Hôtel Duret de Chevry Khrushchev-Seleznev Estate Villa Noailles Villa di Castello William Palmer Residence chateau beau site Scharinska villan Blue Villa Villa Schwob Frogmore House Catete Palace Möckelhaus Hôtel Salomon de Rothschild hôtel d'Estrées Ainola White House Abram Gaar House and Farm Villa Leopolda Tyntesfield Hôtel des Deux-Ponts Casa Loma Hirschburg Villa Mittag-Leffler Aston Hall Villa Madama Hearst Castle Villa Paul Poiret Villa Cook Palais de Luppé temple du Goût Hôtel de Vendôme Villa Furtado-Heine Red House Kiefernweg 12 Raiffeisenstraße 3 Prieuré de Batz-sur-Mer Château de l'Horizon Villa La Reine Jeanne Blackwell Castle Howard Am Südpark 47 Vredenburgh Wollaton Hall Rauhalinna Bayenthalgürtel 15 Raiffeisenstraße 1 Villa Olmo hôtel de Beauvau Villa Medici Sir John Soane's Museum Lindenallee 7 Molí de la Torre (el Far d'Empordà) Belcourt Castle Hôtel de Ligne Hôtel de Castries Poppelsdorfer Allee 63 Plumbush Hôtel de Lauzun Hôtel de Caumont Buschstraße 20 Preachers' House Burg Arntz Kronprinzenstraße 2 Taliesin Renishaw Hall Kesäranta Hol Maren
229
action count
action approx
action find_tuple_counts
relation architect
type house
type common name
action count
action filter_type
action find
entity Stowe House
relation architect
type house
[{'concept': 'house'}, 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:common_name . ?k rdf:type ontology:house . ?k property:architect ?v } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Stowe_House property:architect ?g . ?g rdf:type ontology:house } } . FILTER ( ?e = ?c ) }
[]