Simple Question (Direct)
Simple Question
Q2067757
P166
Q618779
USER
Which awards were received by Gertie Evenhuis ?
(Q2067757,P166,c(Q618779))
action filter_type
action find
entity Q2067757
relation P166
type Q618779
['Q2067757', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q2067757 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Gertie Evenhuis
action filter_type
action find
entity Gertie Evenhuis
relation award received
type award
['Gertie Evenhuis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Gertie_Evenhuis property:award_received ?q . ?q rdf:type ontology:award }
[]
award
Q1451417 Q2285862
SYSTEM
Nienke van Hichtum-prijs, Zilveren Griffel
Q1451417 Q2285862
(Q2067757,P166,c(Q618779))
action filter_type
action find
entity Q2067757
relation P166
type Q618779
The [ANSWERS] were received by Gertie Evenhuis
['Q2067757', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q2067757 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Nienke van Hichtum-prijs Zilveren Griffel
The Nienke van Hichtum-prijs and Zilveren Griffel were received by Gertie Evenhuis
Nienke van Hichtum-prijs Zilveren Griffel
action filter_type
action find
entity Gertie Evenhuis
relation award received
type award
['Gertie Evenhuis', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Gertie_Evenhuis property:award_received ?q . ?q rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2285862
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q2285862,P17,c(Q15617994))
action filter_type
action find
entity Q2285862
relation P17
type Q15617994
['Q2285862', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2285862 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Zilveren Griffel
action filter_type
action find
entity Zilveren Griffel
relation country
type designation for an administrative territorial entity
['Zilveren Griffel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Zilveren_Griffel property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1451417
SYSTEM
Did you mean Nienke van Hichtum-prijs ?
Q1451417 Q2285862
(Q1451417,P17,c(Q15617994)) (Q2285862,P17,c(Q15617994))
[ANSWER]
['Q1451417', 'P17', {'concept': 'Q15617994'}] ['Q2285862', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2285862 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Nienke van Hichtum-prijs Zilveren Griffel
Did you mean Nienke van Hichtum-prijs ?
Nienke van Hichtum-prijs
['Nienke van Hichtum-prijs', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zilveren Griffel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Zilveren_Griffel property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Zilveren Griffel. Could you tell me the answer for that?
(Q2285862,P17,c(Q15617994))
Q2285862
['Q2285862', 'P17', {'concept': 'Q15617994'}]
['Zilveren Griffel', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q2285862,P17,c(Q15617994))
action filter_type
action find
entity Q2285862
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q2285862', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2285862 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Netherlands
That award is situated in Netherlands
Netherlands
action filter_type
action find
entity Zilveren Griffel
relation country
type designation for an administrative territorial entity
['Zilveren Griffel', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Zilveren_Griffel property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P19
Q502895 Q6619679
USER
How many people and fictional humanoids have place of birth as that administrative territory ?
(c(Q502895),P19,Q55) (c(Q6619679),P19,Q55) (c(Q502895),P19,Q55) (c(Q6619679),P19,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P19
type Q502895
action filter_type
action find_reverse
entity Q55
relation P19
type Q6619679
[{'concept': 'Q502895'}, 'P19', 'Q55'] [{'concept': 'Q6619679'}, 'P19', 'Q55'] [{'concept': 'Q502895'}, 'P19', 'Q55'] [{'concept': 'Q6619679'}, 'P19', 'Q55']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:P19 resource:Q55 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P19 resource:Q55 . ?l rdf:type ontology:Q6619679 } }
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation place of birth
type common name
action filter_type
action find_reverse
entity Netherlands
relation place of birth
type fictional humanoid
[{'concept': 'common name'}, 'place of birth', 'Netherlands'] [{'concept': 'fictional humanoid'}, 'place of birth', 'Netherlands'] [{'concept': 'common name'}, 'place of birth', 'Netherlands'] [{'concept': 'fictional humanoid'}, 'place of birth', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:place_of_birth resource:Netherlands . ?l rdf:type ontology:common_name } UNION { ?l property:place_of_birth resource:Netherlands . ?l rdf:type ontology:fictional_humanoid } }
[]
common name fictional humanoid
SYSTEM
292 people and 1 fictional humanoids
Q3194124 Q1605243 Q19280571 Q23498751 Q17402998 Q16629067 Q21064362 Q2198945 Q941773 Q89389 Q2067868 Q15011770 Q6150343 Q1972774 Q24950536 Q3806928 Q76661 Q17189425 Q2698673 Q21064310 Q15943790 Q21064314 Q21064317 Q711454 Q525389 Q4443572 Q13522538 Q26132176 Q6297253 Q1826771 Q6377033 Q1334773 Q7174982 Q6301403 Q18341703 Q2004036 Q863840 Q6688279 Q4105984 Q26719534 Q2831715 Q4253448 Q7606380 Q3083028 Q17490431 Q2196381 Q540253 Q110968 Q20090950 Q2161668 Q11834978 Q1445487 Q2513885 Q21712225 Q1888447 Q2169734 Q2569527 Q6148606 Q17175141 Q11978894 Q7030035 Q2554625 Q2536344 Q4447664 Q16692414 Q7310395 Q16713420 Q24572676 Q16712666 Q2500248 Q22001419 Q21084485 Q4113917 Q5488574 Q2287959 Q6229292 Q5490318 Q11344997 Q22001795 Q17403024 Q4412777 Q20760451 Q24474045 Q7668191 Q634596 Q16629106 Q2522531 Q8003630 Q2557220 Q21173984 Q2675455 Q2973140 Q7151490 Q1133624 Q7931548 Q2532064 Q1853784 Q7178065 Q6774753 Q253060 Q709768 Q1813822 Q16692422 Q6524352 Q4143144 Q7360756 Q3127892 Q962552 Q16232511 Q7340821 Q23962046 Q7147435 Q16629098 Q1349598 Q82538 Q5049101 Q5273598 Q22001769 Q4538240 Q18199174 Q17198453 Q6183059 Q5109992 Q17265736 Q2576760 Q20155596 Q16642234 Q15882852 Q3356078 Q18418351 Q6370100 Q5131281 Q17907944 Q3923437 Q17490429 Q21498349 Q19519426 Q4103265 Q4444868 Q202127 Q24045981 Q4111544 Q1093797 Q16627089 Q468259 Q6918927 Q15815136 Q6760675 Q2621230 Q4138296 Q16712267 Q7940250 Q16629091 Q7675659 Q18603450 Q5650276 Q16626837 Q2703285 Q92642 Q6697131 Q27057727 Q1694048 Q1828327 Q909017 Q438869 Q469949 Q5125278 Q543733 Q4895839 Q26160659 Q24764327 Q15987604 Q21064309 Q2259917 Q2760921 Q20786536 Q17612084 Q918826 Q2177896 Q2510220 Q1261162 Q2464647 Q17431972 Q16669938 Q7312899 Q16639395 Q21064853 Q5461895 Q2085750 Q2934335 Q5745571 Q4103262 Q25950815 Q4374233 Q1622359 Q4113927 Q21007953 Q4402819 Q4289063 Q1808047 Q612016 Q16466956 Q19386365 Q21479699 Q4161572 Q24287404 Q4222297 Q26228395 Q1304885 Q3016606 Q7606608 Q25768297 Q3086265 Q2089879 Q19720875 Q23822678 Q5504815 Q16205382 Q1354305 Q16216071 Q4168548 Q344917 Q1678109 Q21170420 Q5273600 Q16204226 Q2266989 Q2913598 Q610960 Q14494706 Q19943017 Q16631586 Q16631584 Q818605 Q20972384 Q4661092 Q4103257 Q4079722 Q1306065 Q16187329 Q4678110 Q1334935 Q23664874 Q26405309 Q1396031 Q22950462 Q4412004 Q1057516 Q22237703 Q8065013 Q535608 Q16715090 Q3103962 Q682716 Q17639876 Q5650540 Q2767247 Q1585760 Q3961348 Q2390810 Q6205321 Q658256 Q4495351 Q2071596 Q1914035 Q559352 Q16047678 Q16729835 Q5649078 Q469278 Q4224355 Q20738009 Q3070720 Q6114552 Q20685325 Q826248 Q6122783 Q22553268 Q15965839 Q20155514 Q8003541 Q4328570 Q18402357 Q381076 Q19665472 Q6231564 Q4572689 Q20724063 Q92973 Q16629565 Q6150107 Q3733452 Q2773325
(c(Q502895),P19,Q55) (c(Q6619679),P19,Q55) (c(Q502895),P19,Q55) (c(Q6619679),P19,Q55)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P19
type Q502895
action filter_type
action find_reverse
entity Q55
relation P19
type Q6619679
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q55'] [{'concept': 'Q6619679'}, 'P19', 'Q55'] [{'concept': 'Q502895'}, 'P19', 'Q55'] [{'concept': 'Q6619679'}, 'P19', 'Q55']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:P19 resource:Q55 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P19 resource:Q55 . ?l rdf:type ontology:Q6619679 } }
Katia Christine Henk Heithuis Stan van Bladeren Maurice Gustave Hansen Rob Thielen Frits van Brienen Alex Roelse Dirk Chivers Leon Bolier Hein ten Hoff Eshly Bakker Joop Kuipers Jan van Aken Hannah Hoekstra Joey Dale Jan Roos Heinrich Boere Mark van Platen Coen Janssen Amarens Genee Walter Waalderbos Debby Willemsz Carolina Slagter Marco V Barbara Nielsen Bert Strijks Hubertus Jan van der Vaart Gökhan Kardes Joy Schoonhoven Renate Jansen Kathryn Erskine Emanuel Siprutini Peter Johan Lor Juan van Emmerloot Augustine Loof Jojanneke van den Berge Jan Jansz den Uyl Louis Timothee Ton Weijmer Dogucan Haspolat Albertine Elisabeth de Champcenetz Freek Lamain Stefanie Dijkhuizen Frans van der Hoff Dirk Abels Louis Boekhout Clemens Maria Franz von Bönninghausen Tjalling Koopmans Terry Huberts Al Roelofs Robert Lücken Frans van Houten Kaye Coppoolse Joey Konings Piet Huyg Micha Wertheim Mechiel Versluis Jan Boutmy Pietro di Borbone-Busset Johannes van der Burg Nicole Delies Herman van Doorn Ernst Winar Johnny Schaap Wim Rozeboom Reinier de Graaf Rein Happel Vasilios Barkas Bab Fritz Iekeliene Stange Jozef Pielage Mark Vervoort Ben Vogel Frank Muller Simon van den Bergh John Devries Frank Weyzig Jacobus Nicolaas Westerhoven Arnaut Groeneveld Anka Wolbert Kick Seegers Wabe Erika Vogelsang T. Charles Gaastra Nicolette Kluijver Anton van der Heide Allard Schröder Willem de Graaf Ton Pattinama Winka Dubbeldam Marja Kok Gerard Fleischeuer Paul J. H. Schoemaker Cornelis de Jager Vince Martin Willem van Eijk Manfred F.R. Kets de Vries Peterjan van der Burgh Martijn Kajuiter Albert Balink Steven Cheung Sabra Johnson Remi Rosendahl Leo de Boer Genevieve Gaunt Rolf Koster Harry Powers Harald Zwart Tjeerd Westdijk Robbert Klomp Nigel Robertha Patrick Otte Jan van den Heuvel Jan Leeghwater Mike van Diem Casper ten Boom Dick van Alphen Rick van Drongelen Frank Janssen Gyrano Kerk Justin Prime Jerrel Venetiaan Christian Osepins Othman El Kabir Willem Thijssen Deirdre Craig Jan de Jong Thijs van Hofwegen Anthony Coucheron Segun Owobowale Karen Van der Zee Gilanne Louwaars Henri Philippe de Limiers Tashira Renfurm Kenneth Paal The Gansevoort Limner Birgit Lavrijssen Toon van der Linde Joop Steunenberg Theodorus Dekker Ilse Paulis Jan Vinck E.G.D. Cohen Karel Blitz Monique van de Ven Mouin Rabbani Henri Peters-Arnolds Margot Franssen Willy Scheepers Jean Gilissen Wim Focken Volkert Doeksen Joop van de Puttelaar Tahseen Jabbary Jacob de Gruyter Hans Karl LaRondelle Jo Behrens Pieter Fleury Ton Roosendaal Lucien Seymour Rivallino Sleur Johann Geusendam Tjalling van den Bosch Brennan Heart Pieter Boddaert Gratia Schimmelpenninck van der Oye Claire Oberman Roel Reiné Bertram van Munster Henry Cornelius Balink Sikke Van der Veer Mosab Amrani Dagmar Genee Boaz van de Beatz Ran-D Ate Dykstra Rodney Antwi Robert B.C. Noorduyn Bert de Meijer Jan Willem van Ede Taeke Cnossen Piet Punt Antonia Ridge Han Lambregts Rene Hidding Roelof "Roel" Gras Sven Blummel Floris Jansen Jaap Amesz Charles Boissevain Hesdy Gerges Ko van der Vlis Jamarro Diks Frans Postma Abraham Van Helsing Peter Voogt Armitages Boy Kees Ruiter Han Meijer Laurens W. Molenkamp Ab Wolders Suently Alberto Regien Cox Jordy Bruijn Fred Dikstaal Anne van Kesteren Berend Kist Bodi Brusselers Ger Lagendijk Henk Wullems Steffen Bakker Wafia Diederik van Rooijen Laura du Ry Lineth Beerensteyn Roberto Bakker Frits Poelman Alper Çuğun Erika Belle Louis Schoorl Ben Dronkers Martin van Bruinessen Jacques Steyn Leon Bergsma Dick van Eijmeren Arthur van Hoff Guus Kouwenhoven Jan Pruijn Marius Jansen Titia Ex Giovanni Troupée Cees Wolffers Jan Wolterink Bep Verstoep Sherel Floranus Aad de Bruyn Nico van der Weijde Co Bouwens Einbert-Jan Langevoort Willem van Suijdam Ad Bax Piet Dankert Luc Wulterkens Chisom Leonard Johnson Huub Stapel Farah Karimaee Bart Severijnse Hank Hanegraaff Gianluca Scamacca Zakaria Amrani Inge Hornstra Willem "Wim" Huis Gerarda Hermina Marius Eraud Henry Andrew Francken Yannick de Waal Hans Nijman Bas Paternotte Harold Samuel Arnold Hartog Chew Fu Johanna Reiss Joan Muysken Arie Schans Günther de Haan Ariane Schluter Frank van den Eeden Stefan Mazrocis Philip G. Kreyenbroek Sam Hinkie Hanneke Mensink Melchior Borchgrevinck Wim Kluft Rafael Peles William Raymond Dommersen Ruud Wielinga Finlay Robertson Bernhard von Beauvryé Sebastiaan van Kammen John Beers Ruud Saarloos Mandy Wagemaker Willem B. Drees Cor van Nus Robert ter Harmsel Hendrik Hubert Frehen Roel de Vries John Elferink Willem Coucheron Louis Suden Wietse Venema Han Velder Jan Van Hulst Esther De Jong Jan Schubert
292 people and 1 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation place of birth
type common name
action filter_type
action find_reverse
entity Netherlands
relation place of birth
type fictional humanoid
[{'concept': 'common name'}, 'place of birth', 'Netherlands'] [{'concept': 'fictional humanoid'}, 'place of birth', 'Netherlands'] [{'concept': 'common name'}, 'place of birth', 'Netherlands'] [{'concept': 'fictional humanoid'}, 'place of birth', 'Netherlands']
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { ?l property:place_of_birth resource:Netherlands . ?l rdf:type ontology:common_name } UNION { ?l property:place_of_birth resource:Netherlands . ?l rdf:type ontology:fictional_humanoid } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q55
P463
Q484652
USER
How many international organizations had Netherlands as their member ?
(Q55,P463,c(Q484652))
action count
action filter_type
action find
entity Q55
relation P463
type Q484652
['Q55', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q55 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Netherlands
action count
action filter_type
action find
entity Netherlands
relation member of
type international organization
['Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Netherlands property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
SYSTEM
19
Q81299 Q826700 Q188822 Q47488 Q42262 Q152299 Q1043527 Q472311 Q8475 Q7184 Q201054 Q7804 Q842490 Q54129 Q1480793 Q1411881 Q182000 Q233611 Q1045198
(Q55,P463,c(Q484652))
action count
action filter_type
action find
entity Q55
relation P463
type Q484652
[ANSWER]
['Q55', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q55 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe International Energy Agency Asian Development Bank International Criminal Court European Space Agency Dutch Language Union Multilateral Investment Guarantee Agency International Organization for Migration Interpol North Atlantic Treaty Organisation International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons International Labour Organization Nuclear Suppliers Group Group of Ten United Nations Conference on Trade and Development International Hydrographic Organization Permanent Court of Arbitration
19
action count
action filter_type
action find
entity Netherlands
relation member of
type international organization
['Netherlands', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Netherlands property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3852797
P463
Q484652
USER
And what about Mauro Chiaruzzi?
(Q3852797,P463,c(Q484652))
action count
action filter_type
action find
entity Q3852797
relation P463
type Q484652
['Q3852797', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q3852797 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Mauro Chiaruzzi
action count
action filter_type
action find
entity Mauro Chiaruzzi
relation member of
type international organization
['Mauro Chiaruzzi', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Mauro_Chiaruzzi property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
international organization
SYSTEM
1
Q939743
(Q3852797,P463,c(Q484652))
action count
action filter_type
action find
entity Q3852797
relation P463
type Q484652
[ANSWER]
['Q3852797', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q3852797 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
1
action count
action filter_type
action find
entity Mauro Chiaruzzi
relation member of
type international organization
['Mauro Chiaruzzi', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Mauro_Chiaruzzi property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1029
Q484652
USER
And how about Mozambique?
(Q1029,P463,c(Q484652))
action count
action filter_type
action find
entity Q1029
relation P463
type Q484652
['Q1029', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Q1029 property:P463 ?z . ?z rdf:type ontology:Q484652 }
Mozambique
action count
action filter_type
action find
entity Mozambique
relation member of
type international organization
['Mozambique', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Mozambique property:member_of ?z . ?z rdf:type ontology:international_organization }
[]
international organization
SYSTEM
4
(Q1029,P463,c(Q484652))
action count
action filter_type
action find
entity Q1029
relation P463
type Q484652
[ANSWER]
['Q1029', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Q1029 property:P463 ?z . ?z rdf:type ontology:Q484652 }
4
action count
action filter_type
action find
entity Mozambique
relation member of
type international organization
['Mozambique', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { resource:Mozambique property:member_of ?z . ?z rdf:type ontology:international_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with approximately the same number of administrative territories as New Zealand ?
(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 Q664
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q664 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:P530 ?t . ?y rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?y } }
New Zealand
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:New_Zealand property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:diplomatic_relation ?t . ?y rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
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 Q664
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with approximately the same number of administrative territories as New Zealand
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q664 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:P530 ?t . ?y rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?y } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have a diplomatic relationship with approximately the same number of administrative territories as New Zealand
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?m ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:New_Zealand property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:diplomatic_relation ?t . ?y rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40
P937
Q502895
USER
Who have that political territory as their work location ?
(c(Q502895),P937,Q40)
action filter_type
action find_reverse
entity Q40
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q40']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q40 }
Austria
action filter_type
action find_reverse
entity Austria
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Austria']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Austria }
[]
common name
Clarification for simple ques.
Q35
SYSTEM
Did you mean Denmark ?
Q35 Q16 Q40
(c(Q502895),P937,Q35) (c(Q502895),P937,Q16) (c(Q502895),P937,Q40)
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q35'] [{'concept': 'Q502895'}, 'P937', 'Q16'] [{'concept': 'Q502895'}, 'P937', 'Q40']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q40 }
Denmark Canada Austria
Did you mean Denmark ?
Denmark
[{'concept': 'common name'}, 'work location', 'Denmark'] [{'concept': 'common name'}, 'work location', 'Canada'] [{'concept': 'common name'}, 'work location', 'Austria']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Austria }
[]
Simple Question (Coreferenced)
USER
No, I meant Austria. Could you tell me the answer for that?
(c(Q502895),P937,Q40)
Q40
[{'concept': 'Q502895'}, 'P937', 'Q40']
[{'concept': 'common name'}, 'work location', 'Austria']
[]
Q113581 Q22133416 Q261389
SYSTEM
Conchita Wurst, Jennifer Lacey, Princess Isabella of Croÿ
Q113581 Q261389 Q345771 Q874606 Q22133416 Q90201
(c(Q502895),P937,Q40)
action filter_type
action find_reverse
entity Q40
relation P937
type Q502895
[ANSWERS] have that political territory as their work location
[{'concept': 'Q502895'}, 'P937', 'Q40']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q40 }
Conchita Wurst Princess Isabella of Croÿ Joshua Sinclair Otto Friedrich Jennifer Lacey Boris Brainin
Conchita Wurst, Jennifer Lacey and Princess Isabella of Croÿ have that political territory as their work location
Conchita Wurst Jennifer Lacey Princess Isabella of Croÿ
action filter_type
action find_reverse
entity Austria
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Austria']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:work_location resource:Austria }
[]