Simple Question (Direct)
Simple Question
Q8012382
P39
Q12737077
USER
Which occupation was a position for which William Hodgson was appointed ?
(Q8012382,P39,c(Q12737077))
action filter_type
action find
entity Q8012382
relation P39
type Q12737077
['Q8012382', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q8012382 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
William Hodgson
action filter_type
action find
entity William Hodgson
relation position held
type occupation
['William Hodgson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:William_Hodgson property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q3305347
SYSTEM
Member of Ontario Provincial Parliament
Q3305347
(Q8012382,P39,c(Q12737077))
action filter_type
action find
entity Q8012382
relation P39
type Q12737077
The [ANSWER] was a position for which William Hodgson was appointed
['Q8012382', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q8012382 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Member of Ontario Provincial Parliament
The Member of Ontario Provincial Parliament was a position for which William Hodgson was appointed
Member of Ontario Provincial Parliament
action filter_type
action find
entity William Hodgson
relation position held
type occupation
['William Hodgson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:William_Hodgson property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8012382
P20
Q56061
USER
Where did the demise of that person occur ?
(Q3305347,P20,c(Q56061))
action filter_type
action find
entity Q8012382
relation P20
type Q56061
['Q3305347', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q8012382 property:P20 ?t }
William Hodgson
action filter_type
action find
entity William Hodgson
relation place of death
type administrative territorial entity
['Member of Ontario Provincial Parliament', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:William_Hodgson property:place_of_death ?t }
[]
administrative territorial entity
Q12060991
SYSTEM
Kettleby, Ontario
Q12060991
(Q3305347,P20,c(Q56061))
action filter_type
action find
entity Q8012382
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q3305347', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q8012382 property:P20 ?t }
Kettleby, Ontario
The demise of that person occurred in Kettleby, Ontario
Kettleby, Ontario
action filter_type
action find
entity William Hodgson
relation place of death
type administrative territorial entity
['Member of Ontario Provincial Parliament', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:William_Hodgson property:place_of_death ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12060991 Q16 Q4217306
P17
Q1048835
USER
Is that administrative territory present in Canada and Katerynivka ?
(Q12060991,P17,Q16) (Q12060991,P17,Q4217306)
action is_in
entity Q12060991
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q4217306
relation P17
['Q12060991', 'P17', 'Q16'] ['Q12060991', 'P17', 'Q4217306']
ASK WHERE { resource:Q12060991 property:P17 resource:Q16 . resource:Q12060991 property:P17 resource:Q4217306 }
Kettleby, Ontario Canada Katerynivka
action is_in
entity Kettleby, Ontario
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Katerynivka
relation country
['Kettleby, Ontario', 'country', 'Canada'] ['Kettleby, Ontario', 'country', 'Katerynivka']
ASK WHERE { resource:Kettleby,_Ontario property:country resource:Canada . resource:Kettleby,_Ontario property:country resource:Katerynivka }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q12060991,P17,Q16) (Q12060991,P17,Q4217306)
action is_in
entity Q12060991
action intersection
action find_reverse
entity Q16
relation P17
action find_reverse
entity Q4217306
relation P17
[ANSWER]
['Q12060991', 'P17', 'Q16'] ['Q12060991', 'P17', 'Q4217306']
ASK WHERE { resource:Q12060991 property:P17 resource:Q16 . resource:Q12060991 property:P17 resource:Q4217306 }
YES and NO respectively
action is_in
entity Kettleby, Ontario
action intersection
action find_reverse
entity Canada
relation country
action find_reverse
entity Katerynivka
relation country
['Kettleby, Ontario', 'country', 'Canada'] ['Kettleby, Ontario', 'country', 'Katerynivka']
ASK WHERE { resource:Kettleby,_Ontario property:country resource:Canada . resource:Kettleby,_Ontario property:country resource:Katerynivka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8012382 Q16683 Q1402651
P27
Q1048835
USER
Is William Hodgson a citizen of Cardona and Gondesende ?
(Q8012382,P27,Q16683) (Q8012382,P27,Q1402651)
action is_in
entity Q8012382
action intersection
action find_reverse
entity Q16683
relation P27
action find_reverse
entity Q1402651
relation P27
['Q8012382', 'P27', 'Q16683'] ['Q8012382', 'P27', 'Q1402651']
ASK WHERE { resource:Q8012382 property:P27 resource:Q16683 . resource:Q8012382 property:P27 resource:Q1402651 }
William Hodgson Cardona Gondesende
action is_in
entity William Hodgson
action intersection
action find_reverse
entity Cardona
relation country of citizenship
action find_reverse
entity Gondesende
relation country of citizenship
['William Hodgson', 'country of citizenship', 'Cardona'] ['William Hodgson', 'country of citizenship', 'Gondesende']
ASK WHERE { resource:William_Hodgson property:country_of_citizenship resource:Cardona . resource:William_Hodgson property:country_of_citizenship resource:Gondesende }
[]
political territorial entity
SYSTEM
NO
(Q8012382,P27,Q16683) (Q8012382,P27,Q1402651)
action is_in
entity Q8012382
action intersection
action find_reverse
entity Q16683
relation P27
action find_reverse
entity Q1402651
relation P27
[ANSWER]
['Q8012382', 'P27', 'Q16683'] ['Q8012382', 'P27', 'Q1402651']
ASK WHERE { resource:Q8012382 property:P27 resource:Q16683 . resource:Q8012382 property:P27 resource:Q1402651 }
No
action is_in
entity William Hodgson
action intersection
action find_reverse
entity Cardona
relation country of citizenship
action find_reverse
entity Gondesende
relation country of citizenship
['William Hodgson', 'country of citizenship', 'Cardona'] ['William Hodgson', 'country of citizenship', 'Gondesende']
ASK WHERE { resource:William_Hodgson property:country_of_citizenship resource:Cardona . resource:William_Hodgson property:country_of_citizenship resource:Gondesende }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q837193 Q8012382
P47 P27
Q1048835
USER
Which political territories are William Hodgson an inhabitant of or are bordered by Tejado ?
OR((Q8012382,P27,c(Q1048835)), (Q837193,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q8012382
relation P27
action find
entity Q837193
relation P47
type Q1048835
{'OR': [['Q8012382', 'P27', {'concept': 'Q1048835'}], ['Q837193', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q8012382 property:P27 ?t } UNION { resource:Q837193 property:P47 ?t } } . ?t rdf:type ontology:Q1048835 }
Tejado William Hodgson
action filter_type
action union
action find
entity William Hodgson
relation country of citizenship
action find
entity Tejado
relation shares border with
type political territorial entity
{'OR': [['William Hodgson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Tejado', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:William_Hodgson property:country_of_citizenship ?t } UNION { resource:Tejado property:shares_border_with ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q835846 Q831949 Q837777 Q16 Q835677 Q833583 Q833410 Q829175
SYSTEM
Cubo de la Solana, Bliecos, Gómara, Canada, Nolay, Borjabad, Serón de Nágima, Aldealafuente
Q835846 Q831949 Q837777 Q16 Q835677 Q833583 Q833410 Q829175
OR((Q8012382,P27,c(Q1048835)), (Q837193,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q8012382
relation P27
action find
entity Q837193
relation P47
type Q1048835
[ANSWERS] are William Hodgson an inhabitant of or are bordered by Tejado
{'OR': [['Q8012382', 'P27', {'concept': 'Q1048835'}], ['Q837193', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q8012382 property:P27 ?t } UNION { resource:Q837193 property:P47 ?t } } . ?t rdf:type ontology:Q1048835 }
Cubo de la Solana Bliecos Gómara Canada Nolay Borjabad Serón de Nágima Aldealafuente
Cubo de la Solana, Bliecos, Gómara, Canada, Nolay, Borjabad, Serón de Nágima and Aldealafuente are William Hodgson an inhabitant of or are bordered by Tejado
Cubo de la Solana Bliecos Gómara Canada Nolay Borjabad Serón de Nágima Aldealafuente
action filter_type
action union
action find
entity William Hodgson
relation country of citizenship
action find
entity Tejado
relation shares border with
type political territorial entity
{'OR': [['William Hodgson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Tejado', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:William_Hodgson property:country_of_citizenship ?t } UNION { resource:Tejado property:shares_border_with ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14471871 Q8012382
P27
Q1048835
USER
Which political territories do William Hodgson or Jeffery Gibson belong to ?
OR((Q8012382,P27,c(Q1048835)), (Q14471871,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q8012382
relation P27
action find
entity Q14471871
relation P27
type Q1048835
{'OR': [['Q8012382', 'P27', {'concept': 'Q1048835'}], ['Q14471871', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:P27 ?o . VALUES ( ?d ) { ( resource:Q8012382 ) ( resource:Q14471871 ) } } . ?o rdf:type ontology:Q1048835 }
Jeffery Gibson William Hodgson
action filter_type
action union
action find
entity William Hodgson
relation country of citizenship
action find
entity Jeffery Gibson
relation country of citizenship
type political territorial entity
{'OR': [['William Hodgson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jeffery Gibson', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:country_of_citizenship ?o . VALUES ( ?d ) { ( resource:William_Hodgson ) ( resource:Jeffery_Gibson ) } } . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q778
SYSTEM
Canada, The Bahamas
Q16 Q778
OR((Q8012382,P27,c(Q1048835)), (Q14471871,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q8012382
relation P27
action find
entity Q14471871
relation P27
type Q1048835
William Hodgson or Jeffery Gibson belong to the [ANSWERS]
{'OR': [['Q8012382', 'P27', {'concept': 'Q1048835'}], ['Q14471871', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:P27 ?o . VALUES ( ?d ) { ( resource:Q8012382 ) ( resource:Q14471871 ) } } . ?o rdf:type ontology:Q1048835 }
Canada The Bahamas
William Hodgson or Jeffery Gibson belong to the Canada and The Bahamas
Canada The Bahamas
action filter_type
action union
action find
entity William Hodgson
relation country of citizenship
action find
entity Jeffery Gibson
relation country of citizenship
type political territorial entity
{'OR': [['William Hodgson', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jeffery Gibson', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?d property:country_of_citizenship ?o . VALUES ( ?d ) { ( resource:William_Hodgson ) ( resource:Jeffery_Gibson ) } } . ?o rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q1048835
USER
How many political territories have diplomatic relations with that political territory ?
(Q778,P530,c(Q1048835))
['Q778', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q778 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
['The Bahamas', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Bahamas property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q778
SYSTEM
Did you mean The Bahamas ?
(Q16,P530,c(Q1048835)) (Q778,P530,c(Q1048835))
[ANSWER]
['Q16', 'P530', {'concept': 'Q1048835'}] ['Q778', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q778 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean The Bahamas ?
The Bahamas
['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}] ['The Bahamas', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Bahamas property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q778,P530,c(Q1048835))
['Q778', 'P530', {'concept': 'Q1048835'}]
['The Bahamas', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q408
(Q778,P530,c(Q1048835))
[ANSWER]
['Q778', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q778 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Australia
1
['The Bahamas', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:The_Bahamas property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q148
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with greater number of political territories than People's Republic of China ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q148
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q148 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?o > ?k ) }
People's Republic of China
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?o > ?k ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q230 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q148
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with greater number of political territories than People's Republic of China
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:P530 ?u . ?e rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q148 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?o > ?k ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Georgia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy, Brazil and United States of America have ambassadorial relations with greater number of political territories than People's Republic of China
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity People's Republic of China
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:diplomatic_relation ?u . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:People's_Republic_of_China property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?o > ?k ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q207070
P530
Q15617994
USER
Do Macerata Feltria have diplomatic relations with those ones ?
(Q207070,P530,Q38) (Q207070,P530,Q155) (Q207070,P530,Q30)
action is_in
entity prev_answer
action find
entity Q207070
relation P530
['Q207070', 'P530', 'Q38'] ['Q207070', 'P530', 'Q155'] ['Q207070', 'P530', 'Q30']
ASK WHERE { resource:Q207070 property:P530 ?d . VALUES ( ?d ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q145 ) } }
Macerata Feltria
action is_in
entity prev_answer
action find
entity Macerata Feltria
relation diplomatic relation
['Macerata Feltria', 'diplomatic relation', 'Italy'] ['Macerata Feltria', 'diplomatic relation', 'Brazil'] ['Macerata Feltria', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Macerata_Feltria property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Israel ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q207070,P530,Q38) (Q207070,P530,Q155) (Q207070,P530,Q30)
action is_in
entity prev_answer
action find
entity Q207070
relation P530
[ANSWER]
['Q207070', 'P530', 'Q38'] ['Q207070', 'P530', 'Q155'] ['Q207070', 'P530', 'Q30']
ASK WHERE { resource:Q207070 property:P530 ?d . VALUES ( ?d ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Macerata Feltria
relation diplomatic relation
['Macerata Feltria', 'diplomatic relation', 'Italy'] ['Macerata Feltria', 'diplomatic relation', 'Brazil'] ['Macerata Feltria', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Macerata_Feltria property:diplomatic_relation ?d . VALUES ( ?d ) { ( resource:Israel ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q192536
P127
Q1048835 Q83620 Q7743
USER
How many political territories own less number of thoroughfares and homes than Zlín Region ?
(c(Q83620)|c(Q7743),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q192536
relation P127
type Q83620
type Q7743
[[{'concept': 'Q83620'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:Q83620 ) ( ontology:Q7743 ) } . ?f rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { VALUES ( ?w ) { ( ontology:Q83620 ) ( ontology:Q7743 ) } . ?y rdf:type ?w } . ?y property:P127 resource:Q192536 } } . FILTER ( ?c < ?g ) }
Zlín Region
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Zlín Region
relation owned by
type thoroughfare
type home
[[{'concept': 'thoroughfare'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:thoroughfare ) ( ontology:home ) } . ?f rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { VALUES ( ?w ) { ( ontology:thoroughfare ) ( ontology:home ) } . ?y rdf:type ?w } . ?y property:owned_by resource:Zlín_Region } } . FILTER ( ?c < ?g ) }
[]
political territorial entity thoroughfare home
SYSTEM
57
Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q35 Q2947 Q13862 Q276176 Q1135166 Q211106 Q202174 Q54902 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q207111 Q16 Q5756
(c(Q83620)|c(Q7743),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q192536
relation P127
type Q83620
type Q7743
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:Q83620 ) ( ontology:Q7743 ) } . ?f rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { VALUES ( ?w ) { ( ontology:Q83620 ) ( ontology:Q7743 ) } . ?y rdf:type ?w } . ?y property:P127 resource:Q192536 } } . FILTER ( ?c < ?g ) }
Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Denmark Dithmarschen Negros Occidental Volta Redonda Greater London Authority Moray Argyll and Bute Fuenlabrada Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia North Lanarkshire Canada Community of Madrid
57
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity Zlín Region
relation owned by
type thoroughfare
type home
[[{'concept': 'thoroughfare'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:thoroughfare ) ( ontology:home ) } . ?f rdf:type ?e } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { VALUES ( ?w ) { ( ontology:thoroughfare ) ( ontology:home ) } . ?y rdf:type ?w } . ?y property:owned_by resource:Zlín_Region } } . FILTER ( ?c < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q206926
P127
Q1048835 Q83620 Q7743
USER
And how about North Ayrshire?
(c(Q83620)|c(Q7743),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q206926
relation P127
type Q83620
type Q7743
[[{'concept': 'Q83620'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q83620 } UNION { ?y property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7743 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P127 resource:Q206926 . { { ?i rdf:type ontology:Q83620 } UNION { ?i rdf:type ontology:Q7743 } } } } . FILTER ( ?p < ?r ) }
North Ayrshire
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity North Ayrshire
relation owned by
type thoroughfare
type home
[[{'concept': 'thoroughfare'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:thoroughfare } UNION { ?y property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:home } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:owned_by resource:North_Ayrshire . { { ?i rdf:type ontology:thoroughfare } UNION { ?i rdf:type ontology:home } } } } . FILTER ( ?p < ?r ) }
[]
political territorial entity thoroughfare home
SYSTEM
57
Q170322 Q1648590 Q318314 Q3741 Q20937 Q2321093 Q5691 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q192387 Q133083 Q217838 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q6339 Q7379734 Q1823 Q8551 Q13786 Q5783 Q741765 Q35 Q2947 Q13862 Q276176 Q1135166 Q211106 Q202174 Q54902 Q2175 Q849584 Q2271 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q207111 Q16 Q5756
(c(Q83620)|c(Q7743),P127,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q7743
action count
action filter_multi_types
action find_reverse
entity Q206926
relation P127
type Q83620
type Q7743
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q7743'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q83620 } UNION { ?y property:P127 ?s . ?s rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q7743 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P127 resource:Q206926 . { { ?i rdf:type ontology:Q83620 } UNION { ?i rdf:type ontology:Q7743 } } } } . FILTER ( ?p < ?r ) }
Qingdao Manises Ipatinga Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Londrina Gauteng Stirling Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Erzgebirgskreis Aachen Aceh Südliche Weinstraße Cebu Andalusia San Fernando Denmark Dithmarschen Negros Occidental Volta Redonda Greater London Authority Moray Argyll and Bute Fuenlabrada Riau Province Jaraguá do Sul South Sumatra Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia North Lanarkshire Canada Community of Madrid
57
action count
action less
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type home
action count
action filter_multi_types
action find_reverse
entity North Ayrshire
relation owned by
type thoroughfare
type home
[[{'concept': 'thoroughfare'}, {'concept': 'home'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?s WHERE { { ?y property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:thoroughfare } UNION { ?y property:owned_by ?s . ?s rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:home } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:owned_by resource:North_Ayrshire . { { ?i rdf:type ontology:thoroughfare } UNION { ?i rdf:type ontology:home } } } } . FILTER ( ?p < ?r ) }
[]