Simple Question (Direct)
Simple Question
Q5525014
P106
Q12737077
USER
Which occupation is the profession of Gary Eddy ?
(Q5525014,P106,c(Q12737077))
action filter_type
action find
entity Q5525014
relation P106
type Q12737077
['Q5525014', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5525014 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Gary Eddy
action filter_type
action find
entity Gary Eddy
relation occupation
type occupation
['Gary Eddy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Gary_Eddy property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q4009406
SYSTEM
sprinter
Q4009406
(Q5525014,P106,c(Q12737077))
action filter_type
action find
entity Q5525014
relation P106
type Q12737077
The [ANSWER] is the profession of Gary Eddy
['Q5525014', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5525014 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
sprinter
The sprinter is the profession of Gary Eddy
sprinter
action filter_type
action find
entity Gary Eddy
relation occupation
type occupation
['Gary Eddy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Gary_Eddy property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4009406
P641
Q502895
USER
Who plays that occupation ?
(c(Q502895),P641,Q4009406)
action filter_type
action find_reverse
entity Q4009406
relation P641
type Q502895
[{'concept': 'Q502895'}, 'P641', 'Q4009406']
SELECT DISTINCT ?g WHERE { ?g property:P641 resource:Q4009406 . ?g rdf:type ontology:Q502895 }
sprinter
action filter_type
action find_reverse
entity sprinter
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'sprinter']
SELECT DISTINCT ?g WHERE { ?g property:sport resource:sprinter . ?g rdf:type ontology:common_name }
[]
common name
Q23901321
SYSTEM
Secundino Borabota
Q23901321
(c(Q502895),P641,Q4009406)
action filter_type
action find_reverse
entity Q4009406
relation P641
type Q502895
[ANSWER] plays that occupation
[{'concept': 'Q502895'}, 'P641', 'Q4009406']
SELECT DISTINCT ?g WHERE { ?g property:P641 resource:Q4009406 . ?g rdf:type ontology:Q502895 }
Secundino Borabota
Secundino Borabota plays that occupation
Secundino Borabota
action filter_type
action find_reverse
entity sprinter
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'sprinter']
SELECT DISTINCT ?g WHERE { ?g property:sport resource:sprinter . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23901321
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q23901321,P27,c(Q15617994))
action filter_type
action find
entity Q23901321
relation P27
type Q15617994
['Q23901321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q23901321 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Secundino Borabota
action filter_type
action find
entity Secundino Borabota
relation country of citizenship
type designation for an administrative territorial entity
['Secundino Borabota', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Secundino_Borabota property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q983
SYSTEM
Equatorial Guinea
Q983
(Q23901321,P27,c(Q15617994))
action filter_type
action find
entity Q23901321
relation P27
type Q15617994
Guinea [ANSWER] is the native country of that person
['Q23901321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q23901321 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Equatorial Guinea
Guinea Equatorial Guinea is the native country of that person
Equatorial Guinea
action filter_type
action find
entity Secundino Borabota
relation country of citizenship
type designation for an administrative territorial entity
['Secundino Borabota', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Secundino_Borabota property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23901321
P21
Q290
USER
Which sex does that person have ?
(Q983,P21,c(Q290))
action filter_type
action find
entity Q23901321
relation P21
type Q290
['Q983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q23901321 property:P21 ?c . ?c rdf:type ontology:Q290 }
Secundino Borabota
action filter_type
action find
entity Secundino Borabota
relation gender
type sex
['Equatorial Guinea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Secundino_Borabota property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q983,P21,c(Q290))
action filter_type
action find
entity Q23901321
relation P21
type Q290
That person has a [ANSWER]
['Q983', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q23901321 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Secundino Borabota
relation gender
type sex
['Equatorial Guinea', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Secundino_Borabota property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1312114
Q290
USER
And what about Frank Gratkowski?
(Q1312114,P21,c(Q290))
action filter_type
action find
entity Q1312114
relation P21
type Q290
['Q1312114', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q1312114 property:P21 ?p . ?p rdf:type ontology:Q290 }
Frank Gratkowski
action filter_type
action find
entity Frank Gratkowski
relation gender
type sex
['Frank Gratkowski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Frank_Gratkowski property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1312114,P21,c(Q290))
action filter_type
action find
entity Q1312114
relation P21
type Q290
[ANSWER]
['Q1312114', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q1312114 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Frank Gratkowski
relation gender
type sex
['Frank Gratkowski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Frank_Gratkowski property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q983
P163
Q14660
USER
What is associated with Equatorial Guinea ?
(Q983,P163,c(Q14660))
action filter_type
action find
entity Q983
relation P163
type Q14660
['Q983', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q983 property:P163 ?u . ?u rdf:type ontology:Q14660 }
Equatorial Guinea
action filter_type
action find
entity Equatorial Guinea
relation flag
type flag
['Equatorial Guinea', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Equatorial_Guinea property:flag ?u . ?u rdf:type ontology:flag }
[]
flag
Q170554
SYSTEM
flag of Equatorial Guinea
Q170554
(Q983,P163,c(Q14660))
action filter_type
action find
entity Q983
relation P163
type Q14660
Guinea [ANSWER] is associated with Equatorial Guinea
['Q983', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q983 property:P163 ?u . ?u rdf:type ontology:Q14660 }
flag of Equatorial Guinea
Guinea flag of Equatorial Guinea is associated with Equatorial Guinea
flag of Equatorial Guinea
action filter_type
action find
entity Equatorial Guinea
relation flag
type flag
['Equatorial Guinea', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Equatorial_Guinea property:flag ?u . ?u rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1001
Q56061 Q14660
USER
How many flags have jurisdiction over more number of administrative territories than that flag ?
(c(Q14660),P1001,c(Q56061))
action count
action greater
action find_tuple_counts
relation P1001
type Q14660
type Q56061
action count
action filter_type
action find
entity Q170554
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d property:P1001 ?b . ?d rdf:type ontology:Q14660 . ?b rdf:type ontology:Q56061 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:Q14660 . resource:Q170554 property:P1001 ?n } } . FILTER ( ?s > ?k ) }
action count
action greater
action find_tuple_counts
relation applies to jurisdiction
type flag
type administrative territorial entity
action count
action filter_type
action find
entity flag of Equatorial Guinea
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d property:applies_to_jurisdiction ?b . ?d rdf:type ontology:flag . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:flag . resource:flag_of_Equatorial_Guinea property:applies_to_jurisdiction ?n } } . FILTER ( ?s > ?k ) }
[]
administrative territorial entity flag
SYSTEM
16
Q483659 Q328889 Q600147 Q235829 Q618036 Q224972 Q241781 Q204666 Q19810326 Q659058 Q463964 Q242502 Q1414813 Q202610 Q429900 Q79198
(c(Q14660),P1001,c(Q56061))
action count
action greater
action find_tuple_counts
relation P1001
type Q14660
type Q56061
action count
action filter_type
action find
entity Q170554
relation P1001
type Q14660
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d property:P1001 ?b . ?d rdf:type ontology:Q14660 . ?b rdf:type ontology:Q56061 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:Q14660 . resource:Q170554 property:P1001 ?n } } . FILTER ( ?s > ?k ) }
Flag of Singapore Flag of the Northern Mariana Islands Flag of the City of Madrid flag of Guam Flag of Toronto Flag of the Canary Islands Flag of Madeira Flag of US Virgin Islands flag of Dzisna flag of Paris Flag of Northern Ireland Flag of American Samoa Flag of New York City flag of Åland Flag of Saba Flag of Vatican City
16
action count
action greater
action find_tuple_counts
relation applies to jurisdiction
type flag
type administrative territorial entity
action count
action filter_type
action find
entity flag of Equatorial Guinea
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?d property:applies_to_jurisdiction ?b . ?d rdf:type ontology:flag . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { ?n rdf:type ontology:flag . resource:flag_of_Equatorial_Guinea property:applies_to_jurisdiction ?n } } . FILTER ( ?s > ?k ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1247153 Q5525014
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Gary Eddy or share border with Garcia ?
OR((Q5525014,P27,c(Q1048835)), (Q1247153,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5525014
relation P27
action find
entity Q1247153
relation P47
type Q1048835
{'OR': [['Q5525014', 'P27', {'concept': 'Q1048835'}], ['Q1247153', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . { { resource:Q5525014 property:P27 ?p } UNION { resource:Q1247153 property:P47 ?p } } }
Garcia Gary Eddy
action filter_type
action union
action find
entity Gary Eddy
relation country of citizenship
action find
entity Garcia
relation shares border with
type political territorial entity
{'OR': [['Gary Eddy', 'country of citizenship', {'concept': 'political territorial entity'}], ['Garcia', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . { { resource:Gary_Eddy property:country_of_citizenship ?p } UNION { resource:Garcia property:shares_border_with ?p } } }
[]
political territorial entity
Q926784 Q1233485 Q667949 Q1248591 Q408 Q1233555 Q1230107 Q723440 Q1230055 Q1248533
SYSTEM
Móra d'Ebre, La Torre de l'Espanyol, El Masroig, El Molar, Australia, Móra la Nova, Els Guiamets, Ascó, Tivissa, Vinebre
Q926784 Q1233485 Q667949 Q1248591 Q408 Q1233555 Q1230107 Q723440 Q1230055 Q1248533
OR((Q5525014,P27,c(Q1048835)), (Q1247153,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q5525014
relation P27
action find
entity Q1247153
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Gary Eddy or share border with Garcia
{'OR': [['Q5525014', 'P27', {'concept': 'Q1048835'}], ['Q1247153', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . { { resource:Q5525014 property:P27 ?p } UNION { resource:Q1247153 property:P47 ?p } } }
Móra d'Ebre La Torre de l'Espanyol El Masroig El Molar Australia Móra la Nova Els Guiamets Ascó Tivissa Vinebre
Móra d'Ebre, La Torre de l'Espanyol, El Masroig, El Molar, Australia, Móra la Nova, Els Guiamets, Ascó, Tivissa and Vinebre are the countries of citizenship of Gary Eddy or share border with Garcia
Móra d'Ebre La Torre de l'Espanyol El Masroig El Molar Australia Móra la Nova Els Guiamets Ascó Tivissa Vinebre
action filter_type
action union
action find
entity Gary Eddy
relation country of citizenship
action find
entity Garcia
relation shares border with
type political territorial entity
{'OR': [['Gary Eddy', 'country of citizenship', {'concept': 'political territorial entity'}], ['Garcia', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . { { resource:Gary_Eddy property:country_of_citizenship ?p } UNION { resource:Garcia property:shares_border_with ?p } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q104351
P180
Q15324 Q44539 Q14660
USER
Which flags express around the same number of bodies of water or temples as Flag of Barbados ?
(c(Q14660),P180,c(Q15324)|c(Q44539))
action approx
action union
action find_tuple_counts
relation P180
type Q14660
type Q15324
action find_tuple_counts
relation P180
type Q14660
type Q44539
action count
action filter_multi_types
action find
entity Q104351
relation P180
type Q15324
type Q44539
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15324'}, {'concept': 'Q44539'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:Q14660 . ?l rdf:type ontology:Q44539 . ?q property:P180 ?l } UNION { ?q property:P180 ?l . ?q rdf:type ontology:Q14660 . ?l rdf:type ontology:Q15324 } } GROUP BY ?q } . FILTER ( ?t = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q104351 property:P180 ?a . { { ?a rdf:type ontology:Q15324 } UNION { ?a rdf:type ontology:Q44539 } } } } }
Flag of Barbados
action approx
action union
action find_tuple_counts
relation depicts
type flag
type body of water
action find_tuple_counts
relation depicts
type flag
type temple
action count
action filter_multi_types
action find
entity Flag of Barbados
relation depicts
type body of water
type temple
[{'concept': 'flag'}, 'depicts', [{'concept': 'body of water'}, {'concept': 'temple'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:flag . ?l rdf:type ontology:temple . ?q property:depicts ?l } UNION { ?q property:depicts ?l . ?q rdf:type ontology:flag . ?l rdf:type ontology:body_of_water } } GROUP BY ?q } . FILTER ( ?t = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Flag_of_Barbados property:depicts ?a . { { ?a rdf:type ontology:body_of_water } UNION { ?a rdf:type ontology:temple } } } } }
[]
body of water temple flag
Q82194 Q81676 Q185271
SYSTEM
flag of Brazil, flag of Australia, Flag of Papua New Guinea
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q134521 Q266618 Q484249 Q127179 Q601976 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q15324)|c(Q44539))
action approx
action union
action find_tuple_counts
relation P180
type Q14660
type Q15324
action find_tuple_counts
relation P180
type Q14660
type Q44539
action count
action filter_multi_types
action find
entity Q104351
relation P180
type Q15324
type Q44539
[ANSWERS] express around the same number of bodies of water or temples as Flag of Barbados
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15324'}, {'concept': 'Q44539'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:Q14660 . ?l rdf:type ontology:Q44539 . ?q property:P180 ?l } UNION { ?q property:P180 ?l . ?q rdf:type ontology:Q14660 . ?l rdf:type ontology:Q15324 } } GROUP BY ?q } . FILTER ( ?t = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q104351 property:P180 ?a . { { ?a rdf:type ontology:Q15324 } UNION { ?a rdf:type ontology:Q44539 } } } } }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Bhutan Flag of Prince Edward Island Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
Flag of Brazil, flag of Australia and Flag of Papua New Guinea express around the same number of bodies of water or temples as Flag of Barbados
flag of Brazil flag of Australia Flag of Papua New Guinea
action approx
action union
action find_tuple_counts
relation depicts
type flag
type body of water
action find_tuple_counts
relation depicts
type flag
type temple
action count
action filter_multi_types
action find
entity Flag of Barbados
relation depicts
type body of water
type temple
[{'concept': 'flag'}, 'depicts', [{'concept': 'body of water'}, {'concept': 'temple'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:flag . ?l rdf:type ontology:temple . ?q property:depicts ?l } UNION { ?q property:depicts ?l . ?q rdf:type ontology:flag . ?l rdf:type ontology:body_of_water } } GROUP BY ?q } . FILTER ( ?t = ?o ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Flag_of_Barbados property:depicts ?a . { { ?a rdf:type ontology:body_of_water } UNION { ?a rdf:type ontology:temple } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q512175
P180
Q15324 Q44539 Q14660
USER
And how about Flag of Manitoba?
(c(Q14660),P180,c(Q15324)|c(Q44539))
action approx
action union
action find_tuple_counts
relation P180
type Q14660
type Q15324
action find_tuple_counts
relation P180
type Q14660
type Q44539
action count
action filter_multi_types
action find
entity Q512175
relation P180
type Q15324
type Q44539
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15324'}, {'concept': 'Q44539'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { { ?l property:P180 ?t . ?l rdf:type ontology:Q14660 . ?t rdf:type ontology:Q15324 } UNION { ?l property:P180 ?t . ?l rdf:type ontology:Q14660 . ?t rdf:type ontology:Q44539 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q512175 property:P180 ?d . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q44539 ) } } } } . FILTER ( ?r = ?w ) }
Flag of Manitoba
action approx
action union
action find_tuple_counts
relation depicts
type flag
type body of water
action find_tuple_counts
relation depicts
type flag
type temple
action count
action filter_multi_types
action find
entity Flag of Manitoba
relation depicts
type body of water
type temple
[{'concept': 'flag'}, 'depicts', [{'concept': 'body of water'}, {'concept': 'temple'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { { ?l property:depicts ?t . ?l rdf:type ontology:flag . ?t rdf:type ontology:body_of_water } UNION { ?l property:depicts ?t . ?l rdf:type ontology:flag . ?t rdf:type ontology:temple } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Flag_of_Manitoba property:depicts ?d . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:temple ) } } } } . FILTER ( ?r = ?w ) }
[]
body of water temple flag
Q82194 Q81676 Q185271
SYSTEM
flag of Brazil, flag of Australia, Flag of Papua New Guinea
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q134521 Q266618 Q484249 Q127179 Q601976 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q15324)|c(Q44539))
action approx
action union
action find_tuple_counts
relation P180
type Q14660
type Q15324
action find_tuple_counts
relation P180
type Q14660
type Q44539
action count
action filter_multi_types
action find
entity Q512175
relation P180
type Q15324
type Q44539
[ANSWERS]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q15324'}, {'concept': 'Q44539'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { { ?l property:P180 ?t . ?l rdf:type ontology:Q14660 . ?t rdf:type ontology:Q15324 } UNION { ?l property:P180 ?t . ?l rdf:type ontology:Q14660 . ?t rdf:type ontology:Q44539 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Q512175 property:P180 ?d . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q15324 ) ( ontology:Q44539 ) } } } } . FILTER ( ?r = ?w ) }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Bhutan Flag of Prince Edward Island Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
flag of Brazil flag of Australia Flag of Papua New Guinea
action approx
action union
action find_tuple_counts
relation depicts
type flag
type body of water
action find_tuple_counts
relation depicts
type flag
type temple
action count
action filter_multi_types
action find
entity Flag of Manitoba
relation depicts
type body of water
type temple
[{'concept': 'flag'}, 'depicts', [{'concept': 'body of water'}, {'concept': 'temple'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) ?l WHERE { { ?l property:depicts ?t . ?l rdf:type ontology:flag . ?t rdf:type ontology:body_of_water } UNION { ?l property:depicts ?t . ?l rdf:type ontology:flag . ?t rdf:type ontology:temple } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { resource:Flag_of_Manitoba property:depicts ?d . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:body_of_water ) ( ontology:temple ) } } } } . FILTER ( ?r = ?w ) }
[]