Simple Question (Direct)
Simple Question
Q5984958
P106
Q12737077
USER
Which occupation has Ibón Begoña as his/her 's career ?
(Q5984958,P106,c(Q12737077))
action filter_type
action find
entity Q5984958
relation P106
type Q12737077
['Q5984958', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5984958 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Ibón Begoña
action filter_type
action find
entity Ibón Begoña
relation occupation
type occupation
['Ibón Begoña', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ibón_Begoña property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5984958,P106,c(Q12737077))
action filter_type
action find
entity Q5984958
relation P106
type Q12737077
Player [ANSWER] has Ibón Begoña as his/her 's career
['Q5984958', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q5984958 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
Player association football player has Ibón Begoña as his/her 's career
association football player
action filter_type
action find
entity Ibón Begoña
relation occupation
type occupation
['Ibón Begoña', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Ibón_Begoña property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P921
Q2342494
USER
Which collectables have that occupation as their principal topic ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q937857 . ?x rdf:type ontology:Q2342494 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:association_football_player . ?x rdf:type ontology:collectable }
[]
collectable
Q24787529 Q23730991 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q937857 . ?x rdf:type ontology:Q2342494 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006 and Citizens and minstermen : a who's who of York City FC, 1922-1997 have that occupation as their principal topic
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:association_football_player . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P800
Q502895
USER
Which person is accredited with being the author of the notable work association football player ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?k WHERE { ?k property:P800 resource:Q937857 . ?k rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?k WHERE { ?k property:notable_work resource:association_football_player . ?k rdf:type ontology:common_name }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work association football player
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?k WHERE { ?k property:P800 resource:Q937857 . ?k rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Hugh Morgan-Owen is accredited with being the author of the notable work association football player
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?k WHERE { ?k property:notable_work resource:association_football_player . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P101
Q502895
USER
Which person has specialisation in association football player ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q937857 . ?n rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:association_football_player . ?n rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has specialisation in association football player
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q937857 . ?n rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze has specialisation in association football player
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:association_football_player . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2089026
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2089026,P27,c(Q15617994))
action filter_type
action find
entity Q2089026
relation P27
type Q15617994
['Q2089026', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2089026 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Akaki Devadze
action filter_type
action find
entity Akaki Devadze
relation country of citizenship
type designation for an administrative territorial entity
['Akaki Devadze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Akaki_Devadze property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(Q2089026,P27,c(Q15617994))
action filter_type
action find
entity Q2089026
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q2089026', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q2089026 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Georgia
That person belongs to a Georgia
Georgia
action filter_type
action find
entity Akaki Devadze
relation country of citizenship
type designation for an administrative territorial entity
['Akaki Devadze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Akaki_Devadze property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230
P1376
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(c(Q56061),P1376,Q230)
action filter_type
action find_reverse
entity Q230
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q230']
SELECT DISTINCT ?n WHERE { ?n property:P1376 resource:Q230 . ?n rdf:type ontology:Q56061 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Georgia']
SELECT DISTINCT ?n WHERE { ?n property:capital_of resource:Georgia . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994
SYSTEM
Tbilisi
Q994
(c(Q56061),P1376,Q230)
action filter_type
action find_reverse
entity Q230
relation P1376
type Q56061
[ANSWER] is the capital of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q230']
SELECT DISTINCT ?n WHERE { ?n property:P1376 resource:Q230 . ?n rdf:type ontology:Q56061 }
Tbilisi
Tbilisi is the capital of that administrative territory
Tbilisi
action filter_type
action find_reverse
entity Georgia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Georgia']
SELECT DISTINCT ?n WHERE { ?n property:capital_of resource:Georgia . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230
P36
Q56061
USER
Which administrative territories are associated to that administrative territory as the capital ?
(Q994,P36,c(Q56061))
action filter_type
action find
entity Q230
relation P36
type Q56061
['Q994', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q230 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Georgia
action filter_type
action find
entity Georgia
relation capital
type administrative territorial entity
['Tbilisi', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Georgia property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994 Q172415
SYSTEM
Tbilisi, Kutaisi
Q994 Q172415
(Q994,P36,c(Q56061))
action filter_type
action find
entity Q230
relation P36
type Q56061
[ANSWERS] are associated to that administrative territory as the capital
['Q994', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q230 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Tbilisi Kutaisi
Tbilisi and Kutaisi are associated to that administrative territory as the capital
Tbilisi Kutaisi
action filter_type
action find
entity Georgia
relation capital
type administrative territorial entity
['Tbilisi', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Georgia property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P163
Q14660 Q17335294 Q56061
USER
Which administrative territories are associated with more number of flags or coats of arms than that administrative territory ?
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q17335294 }
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag . ?x rdf:type ontology:flag_or_coat_of_arms }
[]
flag flag or coat of arms administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q172415
SYSTEM
Did you mean Kutaisi ?
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[ANSWER]
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q17335294 }
Did you mean Kutaisi ?
Kutaisi
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag . ?x rdf:type ontology:flag_or_coat_of_arms }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
[]
SYSTEM
137
Q562876 Q3977 Q891 Q12273 Q3711 Q34116 Q60 Q26253 Q16644 Q3805 Q198143 Q1309 Q23337 Q5727 Q15681 Q206687 Q16635 Q12892 Q486792 Q13127 Q1930 Q155863 Q7159 Q985671 Q197691 Q5831 Q175517 Q12411 Q7172 Q10027 Q15767 Q83178 Q198753 Q5083 Q11703 Q2868 Q196607 Q6346 Q1025401 Q7525 Q3003031 Q2144 Q25528 Q197677 Q237 Q334 Q8818 Q16554 Q16555 Q16557 Q995 Q994 Q9897 Q1297 Q597 Q198087 Q53139 Q19566 Q23197 Q25396 Q198427 Q158336 Q111048 Q38022 Q172 Q270 Q1957 Q5823 Q198047 Q23311 Q14318 Q16641 Q9909 Q1492 Q4519795 Q5689 Q1770 Q40236 Q197942 Q197860 Q43070 Q2807 Q198412 Q198419 Q651555 Q175470 Q340 Q10282 Q98967 Q25230 Q24639 Q172415 Q1218 Q915 Q2634 Q8356 Q11967 Q34404 Q64 Q65 Q61 Q62 Q384 Q5813 Q12439 Q270887 Q166065 Q6106 Q49255 Q25804 Q727 Q649 Q43788 Q4361 Q39420 Q157065 Q580 Q34370 Q906 Q14452 Q90 Q100 Q458 Q26180 Q2837 Q3426 Q133116 Q126758 Q198033 Q216 Q25263 Q236837 Q3118 Q105548 Q23564 Q197934 Q34647
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[ANSWER]
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q17335294 }
Anna Paulowna Elista Nizhny Novgorod Gijón Belgrade Thunder Bay New York City Madeira Northern Mariana Islands Amman Chusovoy Maastricht Salt Lake City La Rioja Jaén Nelson Guam Antwerp Aranjuez Sint-Niklaas Ottawa Kronstadt African Union Vernon Chaplygin Melilla Norilsk Pontevedra Arab League Baarn Armavir Almere Ertil Seattle United States Virgin Islands Lima Tara Indianapolis Scarborough Sevastopol Lieshout Cherepovets Saba Chapayevsk Vatican City Singapore Valencia Denver Houston Dallas Appingedam Tbilisi Aalsmeer Chicago Lisbon Chekhov Chita Simferopol Nashville Bonaire Elektrougli Mariinsky Posad Veliky Ustyug St. Louis Toronto Warsaw Vologda Ceuta Chernogolovka City of London Vitoria-Gasteiz American Samoa Bussum Barcelona Shalya Åland Islands Tallinn Manaus Cheremkhovo Chebarkul Donetsk Madrid Elektrogorsk Elektrostal Dzisna Novy Urengoy Montreal Pamplona Nizhny Tagil Guernsey Vancouver Kutaisi Jerusalem Perm Naples Valladolid Huesca New Orleans Berlin Los Angeles Washington, D.C. San Francisco Skopje Canary Islands Detroit Lethbridge Lelystad Portland Tampa Trondheim Amsterdam Moscow Madison Curitiba Sochi Kerch Łódź Rotterdam Chelyabinsk Easter Island Paris Boston European Union Sint Eustatius Kaluga Voronezh Hamilton Chernogorsk Chyormoz Vilnius Azores Richmond Oryol Chernushka Podgorica Cherdyn Johannesburg
137
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag . ?x rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q26284160 Q23730991
P495 P17
Q15617994
USER
Which administrative territories are the origins of Timeless Bees: Brentford F.C. who's who 1920-2006 and do Gate Farmhouse belong to ?
AND((Q23730991,P495,c(Q15617994)), (Q26284160,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q23730991
relation P495
action find
entity Q26284160
relation P17
type Q15617994
{'AND': [['Q23730991', 'P495', {'concept': 'Q15617994'}], ['Q26284160', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { resource:Q23730991 property:P495 ?d . resource:Q26284160 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Gate Farmhouse Timeless Bees: Brentford F.C. who's who 1920-2006
action filter_type
action intersection
action find
entity Timeless Bees: Brentford F.C. who's who 1920-2006
relation country of origin
action find
entity Gate Farmhouse
relation country
type designation for an administrative territorial entity
{'AND': [["Timeless Bees: Brentford F.C. who's who 1920-2006", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Gate Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 property:country_of_origin ?d . resource:Gate_Farmhouse property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q23730991,P495,c(Q15617994)), (Q26284160,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q23730991
relation P495
action find
entity Q26284160
relation P17
type Q15617994
[ANSWER] is the origins of Timeless Bees: Brentford F.C. who's who 1920-2006 and do Gate Farmhouse belong to
{'AND': [['Q23730991', 'P495', {'concept': 'Q15617994'}], ['Q26284160', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { resource:Q23730991 property:P495 ?d . resource:Q26284160 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the origins of Timeless Bees: Brentford F.C. who's who 1920-2006 and do Gate Farmhouse belong to
United Kingdom
action filter_type
action intersection
action find
entity Timeless Bees: Brentford F.C. who's who 1920-2006
relation country of origin
action find
entity Gate Farmhouse
relation country
type designation for an administrative territorial entity
{'AND': [["Timeless Bees: Brentford F.C. who's who 1920-2006", 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Gate Farmhouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 property:country_of_origin ?d . resource:Gate_Farmhouse property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with approximately the same number of administrative territories as Denmark ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?z ) WHERE { ?p property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q35 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?u ) }
Denmark
action count
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 Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?z ) WHERE { ?p property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Denmark property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?u ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?z ) WHERE { ?p property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q35 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?u ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
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 Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?z ) WHERE { ?p property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Denmark property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q781
P530
Q15617994 Q1048835
USER
And what about Antigua and Barbuda?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?k ) WHERE { ?v rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?v property:P530 ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q781 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?k = ?c ) }
Antigua and Barbuda
action count
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?k ) WHERE { ?v rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?k = ?c ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?k ) WHERE { ?v rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 . ?v property:P530 ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q781 property:P530 ?f . ?f rdf:type ontology:Q1048835 } } . FILTER ( ?k = ?c ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
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 Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?k ) WHERE { ?v rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?t } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?f . ?f rdf:type ontology:political_territorial_entity } } . FILTER ( ?k = ?c ) }
[]