Simple Question (Direct)
Simple Question
Q3293581
P641
Q349
USER
Which sport was Mario Tremblay a part of ?
(Q3293581,P641,c(Q349))
action filter_type
action find
entity Q3293581
relation P641
type Q349
['Q3293581', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q3293581 property:P641 ?d . ?d rdf:type ontology:Q349 }
Mario Tremblay
action filter_type
action find
entity Mario Tremblay
relation sport
type sport
['Mario Tremblay', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Mario_Tremblay property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3293581,P641,c(Q349))
action filter_type
action find
entity Q3293581
relation P641
type Q349
Which sport was Mario Tremblay a part of
['Q3293581', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q3293581 property:P641 ?d . ?d rdf:type ontology:Q349 }
ice hockey
Which sport was Mario Tremblay a part of
ice hockey
action filter_type
action find
entity Mario Tremblay
relation sport
type sport
['Mario Tremblay', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Mario_Tremblay property:sport ?d . ?d rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21285442 Q3293581
P27
Q1048835
USER
Which political territories do Mario Tremblay or Reece Papuni belong to ?
OR((Q3293581,P27,c(Q1048835)), (Q21285442,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3293581
relation P27
action find
entity Q21285442
relation P27
type Q1048835
{'OR': [['Q3293581', 'P27', {'concept': 'Q1048835'}], ['Q21285442', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?g property:P27 ?v . VALUES ( ?g ) { ( resource:Q3293581 ) ( resource:Q21285442 ) } } . ?v rdf:type ontology:Q1048835 }
Reece Papuni Mario Tremblay
action filter_type
action union
action find
entity Mario Tremblay
relation country of citizenship
action find
entity Reece Papuni
relation country of citizenship
type political territorial entity
{'OR': [['Mario Tremblay', 'country of citizenship', {'concept': 'political territorial entity'}], ['Reece Papuni', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?g property:country_of_citizenship ?v . VALUES ( ?g ) { ( resource:Mario_Tremblay ) ( resource:Reece_Papuni ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q664
SYSTEM
Canada, New Zealand
Q16 Q664
OR((Q3293581,P27,c(Q1048835)), (Q21285442,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3293581
relation P27
action find
entity Q21285442
relation P27
type Q1048835
Mario Tremblay or Reece Papuni belong to Upper [ANSWERS]
{'OR': [['Q3293581', 'P27', {'concept': 'Q1048835'}], ['Q21285442', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { ?g property:P27 ?v . VALUES ( ?g ) { ( resource:Q3293581 ) ( resource:Q21285442 ) } } . ?v rdf:type ontology:Q1048835 }
Canada New Zealand
Mario Tremblay or Reece Papuni belong to Upper Canada and New Zealand
Canada New Zealand
action filter_type
action union
action find
entity Mario Tremblay
relation country of citizenship
action find
entity Reece Papuni
relation country of citizenship
type political territorial entity
{'OR': [['Mario Tremblay', 'country of citizenship', {'concept': 'political territorial entity'}], ['Reece Papuni', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?g property:country_of_citizenship ?v . VALUES ( ?g ) { ( resource:Mario_Tremblay ) ( resource:Reece_Papuni ) } } . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q664
P17
Q699405
USER
Which dwellings are present in Canada and New Zealand ?
(c(Q699405),P17,Q16) (c(Q699405),P17,Q664)
action union
action filter_type
action find_reverse
entity Q16
relation P17
type Q699405
action filter_type
action find_reverse
entity Q664
relation P17
type Q699405
[{'concept': 'Q699405'}, 'P17', 'Q16'] [{'concept': 'Q699405'}, 'P17', 'Q664']
SELECT DISTINCT ?u WHERE { { ?u property:P17 resource:Q16 . ?u rdf:type ontology:Q699405 } UNION { ?u property:P17 resource:Q664 . ?u rdf:type ontology:Q699405 } }
Canada New Zealand
action union
action filter_type
action find_reverse
entity Canada
relation country
type dwelling
action filter_type
action find_reverse
entity New Zealand
relation country
type dwelling
[{'concept': 'dwelling'}, 'country', 'Canada'] [{'concept': 'dwelling'}, 'country', 'New Zealand']
SELECT DISTINCT ?u WHERE { { ?u property:country resource:Canada . ?u rdf:type ontology:dwelling } UNION { ?u property:country resource:New_Zealand . ?u rdf:type ontology:dwelling } }
[]
dwelling
Q2089212 Q3145493 Q1139845
SYSTEM
Château Laurier, Fort Garry Hotel, The Empress
Q6973414 Q6989551 Q14874904 Q1139845 Q14874939 Q14875207 Q8060826 Q7109212 Q6679216 Q16896009 Q7660934 Q2967950 Q19878646 Q2565400 Q5911786 Q2442059 Q2967922 Q7307912 Q5911958 Q3145393 Q5752013 Q14874835 Q7981155 Q14875339 Q5475519 Q3145454 Q5641285 Q14875136 Q18008945 Q5268645 Q7494699 Q806429 Q7369841 Q8024567 Q17512898 Q14875195 Q5250954 Q3145697 Q3145493 Q7773258 Q12060663 Q16982276 Q6474685 Q3565160 Q5475439 Q16975695 Q7243822 Q3145638 Q2089212 Q6411469 Q14874772 Q14874771 Q5254591 Q23979534 Q14875596 Q14874690 Q6679821 Q7244390 Q745964 Q5211759 Q6501272 Q3145578 Q16892508 Q7491131 Q5912087 Q3433362 Q4819024 Q5087538 Q2941086 Q14874623 Q5911361 Q5275586 Q16910475 Q3286125 Q5912106 Q5911472 Q7960634 Q5348711 Q5419474 Q7383342 Q2632667 Q7969686 Q5043017 Q7712949 Q7744118 Q5594618 Q6486057 Q7537623
(c(Q699405),P17,Q16) (c(Q699405),P17,Q664)
action union
action filter_type
action find_reverse
entity Q16
relation P17
type Q699405
action filter_type
action find_reverse
entity Q664
relation P17
type Q699405
[ANSWERS] are present in Canada and New Zealand
[{'concept': 'Q699405'}, 'P17', 'Q16'] [{'concept': 'Q699405'}, 'P17', 'Q664']
SELECT DISTINCT ?u WHERE { { ?u property:P17 resource:Q16 . ?u rdf:type ontology:Q699405 } UNION { ?u property:P17 resource:Q664 . ?u rdf:type ontology:Q699405 } }
National Hotel Neill-Wycik Transit Hotel (Edmonton) The Empress Delta Bessborough InterContinental Toronto Centre Yukon Hotel Ottawa Marriott Hotel Lord Elgin Hotel Hotel Le Soleil Sylvia Hotel Château Montebello Hartin's Hotel Westin Harbour Castle Hotel Hotel Newfoundland Queen Elizabeth Hotel Chateau Lake Louise Regal Constellation Hotel Hotel Senator The Algonquin Hidden Valley Resort King Edward Hotel (Calgary) Welland House Hotel New Broadview House Hotel Four Seasons Hotel Toronto Clarendon Hotel Haldimand House Dominion Hotel, Toronto Hotel Le Chantecler Eaton Hall (King City) Sheraton on the Falls Banff Springs Hotel Rossin House Hotel Windsor Arms Hotel Arlington Hotel Hotel Kenney Deerhurst Resort Windsor Hotel Fort Garry Hotel The Waldorf Hotel Ice Hotel (Quebec) Mount Stephen House Lake Agnes Tea House Wainwright Hotel Four Points by Sheraton Niagara Falls Highland Inn Prince Arthur Hotel Prince of Wales Hotel Château Laurier The Omni King Edward Hotel The Westin Bayshore The Sutton Place Delta Chelsea Strathcona Hotel Hotel Beauséjour Metropolitan Vancouver Hotel Lord Nelson Hotel Prince of Wales Hotel, Niagara-on-the-Lake Château Frontenac Dalvay-by-the-Sea Laurentian Hotel Hotel Macdonald Executive Hotel Vintage Park Shaw's Hotel Hotel Victoria Ritz-Carlton Montreal Auberge Le Saint-Gabriel Chateau Lacombe Hotel Casino New Brunswick Hotel Georgia (Vancouver) Hotel Charlottetown Digby Pines Resort Granville Island Hotel Manoir Richelieu Hotel Waverly Hotel Europe Waitomo Caves Hotel Eichardt's Hotel Excelsior Hotel, Christchurch Rutherford Hotel Luana Liki Hotel Warner's Hotel Carlton Hotel, Christchurch The Aitutaki Lagoon Resort & Spa The Kentish Hotel Grand Hotel Langham Hotel, Auckland Skycity Auckland
Château Laurier, Fort Garry Hotel and The Empress are present in Canada and New Zealand
Château Laurier Fort Garry Hotel The Empress
action union
action filter_type
action find_reverse
entity Canada
relation country
type dwelling
action filter_type
action find_reverse
entity New Zealand
relation country
type dwelling
[{'concept': 'dwelling'}, 'country', 'Canada'] [{'concept': 'dwelling'}, 'country', 'New Zealand']
SELECT DISTINCT ?u WHERE { { ?u property:country resource:Canada . ?u rdf:type ontology:dwelling } UNION { ?u property:country resource:New_Zealand . ?u rdf:type ontology:dwelling } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P37
Q34770
USER
What is the official language of Canada ?
(Q16,P37,c(Q34770))
action filter_type
action find
entity Q16
relation P37
type Q34770
['Q16', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q16 property:P37 ?j . ?j rdf:type ontology:Q34770 }
Canada
action filter_type
action find
entity Canada
relation official language
type language
['Canada', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Canada property:official_language ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16,P37,c(Q34770))
action filter_type
action find
entity Q16
relation P37
type Q34770
The official language of Canada is the [ANSWER]
['Q16', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q16 property:P37 ?j . ?j rdf:type ontology:Q34770 }
English
The official language of Canada is the English
English
action filter_type
action find
entity Canada
relation official language
type language
['Canada', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Canada property:official_language ?j . ?j rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q67730
Q34770
USER
And what about Frasco?
(Q67730,P37,c(Q34770))
action filter_type
action find
entity Q67730
relation P37
type Q34770
['Q67730', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q67730 property:P37 ?c }
Frasco
action filter_type
action find
entity Frasco
relation official language
type language
['Frasco', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Frasco property:official_language ?c }
[]
language
Q652
SYSTEM
Italian
Q652
(Q67730,P37,c(Q34770))
action filter_type
action find
entity Q67730
relation P37
type Q34770
[ANSWER]
['Q67730', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q67730 property:P37 ?c }
Italian
Italian
action filter_type
action find
entity Frasco
relation official language
type language
['Frasco', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Frasco property:official_language ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Canada ?
(Q16,P530,c(Q15617994))
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?c }
Canada
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
34
Q804 Q801 Q843 Q1029 Q711 Q145 Q229 Q33 Q30 Q36 Q34 Q77 Q39 Q1028 Q878 Q739 Q833 Q423 Q1030 Q851 Q29999 Q928 Q252 Q258 Q212 Q38 Q159 Q43 Q155 Q218 Q20 Q79 Q115 Q884
(Q16,P530,c(Q15617994))
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?c }
Panama Israel Pakistan Mozambique Mongolia United Kingdom Cyprus Finland United States of America Poland Sweden Uruguay Switzerland Morocco United Arab Emirates Colombia Malaysia North Korea Namibia Saudi Arabia Kingdom of the Netherlands Philippines Indonesia South Africa Ukraine Italy Russia Turkey Brazil Romania Norway Egypt Ethiopia South Korea
34
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q230
P530
Q15617994
USER
And what about Georgia?
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q230 property:P530 ?g }
Georgia
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Georgia property:diplomatic_relation ?g }
[]
designation for an administrative territorial entity
SYSTEM
80
Q805 Q801 Q800 Q668 Q414 Q145 Q262 Q784 Q786 Q710 Q252 Q399 Q398 Q43 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q986 Q822 Q241 Q424 Q921 Q31 Q30 Q37 Q38 Q739 Q423 Q983 Q851 Q734 Q1011 Q736 Q27 Q29 Q819 Q189 Q184 Q32 Q347 Q227 Q225 Q222 Q229 Q228 Q17 Q902 Q1008 Q191 Q965 Q967 Q963 Q115 Q114 Q117 Q750 Q211 Q219 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q970 Q686 Q874 Q79 Q878 Q774 Q810 Q1016 Q1013 Q953
(Q230,P530,c(Q15617994))
action count
action filter_type
action find
entity Q230
relation P530
type Q15617994
[ANSWER]
['Q230', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q230 property:P530 ?g }
Yemen Israel Costa Rica India Argentina United Kingdom Algeria Dominica Dominican Republic Kiribati Indonesia Armenia Bahrain Turkey Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Eritrea Lebanon Cuba Cambodia Brunei Belgium United States of America Lithuania Italy Colombia North Korea Equatorial Guinea Saudi Arabia Guyana Cape Verde Ecuador Ireland Spain Laos Iceland Belarus Luxembourg Liechtenstein Azerbaijan Bosnia and Herzegovina Albania Cyprus Andorra Japan Bangladesh Côte d'Ivoire Estonia Burkina Faso Burundi Botswana Ethiopia Kenya Ghana Bolivia Latvia Bulgaria Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Comoros Vanuatu Turkmenistan Egypt United Arab Emirates Guatemala Jordan Libya Lesotho Zambia
80
action count
action filter_type
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Georgia property:diplomatic_relation ?g }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16
Q15617994
USER
And how about Canada?
(Q16,P530,c(Q15617994))
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?s }
Canada
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?s }
[]
designation for an administrative territorial entity
SYSTEM
34
(Q16,P530,c(Q15617994))
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?s }
34
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P20
Q502895
USER
Which people have Kingdom of the Netherlands as the area of death ?
(c(Q502895),P20,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q29999']
SELECT DISTINCT ?e WHERE { ?e property:P20 resource:Q29999 . ?e rdf:type ontology:Q502895 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kingdom of the Netherlands']
SELECT DISTINCT ?e WHERE { ?e property:place_of_death resource:Kingdom_of_the_Netherlands . ?e rdf:type ontology:common_name }
[]
common name
Q4103262 Q4113917 Q3378027
SYSTEM
Ko van der Vlis, Ben Vogel, Jack Murdoch
Q4103262 Q4113917 Q3378027
(c(Q502895),P20,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P20
type Q502895
[ANSWERS] have Kingdom of the Netherlands as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q29999']
SELECT DISTINCT ?e WHERE { ?e property:P20 resource:Q29999 . ?e rdf:type ontology:Q502895 }
Ko van der Vlis Ben Vogel Jack Murdoch
Ko van der Vlis, Ben Vogel and Jack Murdoch have Kingdom of the Netherlands as the area of death
Ko van der Vlis Ben Vogel Jack Murdoch
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Kingdom of the Netherlands']
SELECT DISTINCT ?e WHERE { ?e property:place_of_death resource:Kingdom_of_the_Netherlands . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4113917
P19
Q15617994
USER
Where was that person born ?
(Q4113917,P19,c(Q15617994))
action filter_type
action find
entity Q4113917
relation P19
type Q15617994
['Q4113917', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4113917 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Ben Vogel
action filter_type
action find
entity Ben Vogel
relation place of birth
type designation for an administrative territorial entity
['Ben Vogel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ben_Vogel property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3378027
SYSTEM
Did you mean Jack Murdoch ?
Q4103262 Q4113917 Q3378027
(Q4103262,P19,c(Q15617994)) (Q4113917,P19,c(Q15617994)) (Q3378027,P19,c(Q15617994))
[ANSWER]
['Q4103262', 'P19', {'concept': 'Q15617994'}] ['Q4113917', 'P19', {'concept': 'Q15617994'}] ['Q3378027', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4113917 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Ko van der Vlis Ben Vogel Jack Murdoch
Did you mean Jack Murdoch ?
Jack Murdoch
['Ko van der Vlis', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Ben Vogel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Jack Murdoch', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ben_Vogel property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Ben Vogel. Could you tell me the answer for that?
(Q4113917,P19,c(Q15617994))
Q4113917
['Q4113917', 'P19', {'concept': 'Q15617994'}]
['Ben Vogel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55
SYSTEM
Netherlands
Q55
(Q4113917,P19,c(Q15617994))
action filter_type
action find
entity Q4113917
relation P19
type Q15617994
That person was born in [ANSWER]
['Q4113917', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q4113917 property:P19 ?m . ?m rdf:type ontology:Q15617994 }
Netherlands
That person was born in Netherlands
Netherlands
action filter_type
action find
entity Ben Vogel
relation place of birth
type designation for an administrative territorial entity
['Ben Vogel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Ben_Vogel property:place_of_birth ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q399
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Armenia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q399
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P530 ?o . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q399 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Armenia
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Armenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:diplomatic_relation ?o . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Armenia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q399
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P530 ?o . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q399 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Armenia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:diplomatic_relation ?o . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Armenia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]