Simple Question (Direct)
Simple Question
Q3848605
P106
Q12737077
USER
What does Mario Galassi do for a living ?
(Q3848605,P106,c(Q12737077))
action filter_type
action find
entity Q3848605
relation P106
type Q12737077
['Q3848605', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3848605 property:P106 ?i }
Mario Galassi
action filter_type
action find
entity Mario Galassi
relation occupation
type occupation
['Mario Galassi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Mario_Galassi property:occupation ?i }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3848605,P106,c(Q12737077))
action filter_type
action find
entity Q3848605
relation P106
type Q12737077
Mario Galassi does for a living as [ANSWER]
['Q3848605', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3848605 property:P106 ?i }
association football player
Mario Galassi does for a living as association football player
association football player
action filter_type
action find
entity Mario Galassi
relation occupation
type occupation
['Mario Galassi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Mario_Galassi property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3848605
P21
Q290
USER
Which sex does Mario Galassi have ?
(Q3848605,P21,c(Q290))
action filter_type
action find
entity Q3848605
relation P21
type Q290
['Q3848605', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3848605 property:P21 ?c . ?c rdf:type ontology:Q290 }
Mario Galassi
action filter_type
action find
entity Mario Galassi
relation gender
type sex
['Mario Galassi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Mario_Galassi property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3848605,P21,c(Q290))
action filter_type
action find
entity Q3848605
relation P21
type Q290
Mario Galassi has a [ANSWER]
['Q3848605', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3848605 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Mario Galassi has a male
male
action filter_type
action find
entity Mario Galassi
relation gender
type sex
['Mario Galassi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Mario_Galassi property:gender ?c . ?c rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5202612 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation and did César Plasencia participate in ?
AND((Q937857,P425,c(Q349)), (Q5202612,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q5202612
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q5202612', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { resource:Q5202612 property:P641 ?z . resource:Q937857 property:P425 ?z . ?z rdf:type ontology:Q349 }
César Plasencia association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity César Plasencia
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['César Plasencia', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { resource:César_Plasencia property:sport ?z . resource:association_football_player property:field_of_this_occupation ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q5202612,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q5202612
relation P641
type Q349
Team [ANSWER] have [ANSWER] player as the associated fields of occupation and did César Plasencia participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q5202612', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?z WHERE { resource:Q5202612 property:P641 ?z . resource:Q937857 property:P425 ?z . ?z rdf:type ontology:Q349 }
association football
Team association football have association football player as the associated fields of occupation and did César Plasencia participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity César Plasencia
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['César Plasencia', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?z WHERE { resource:César_Plasencia property:sport ?z . resource:association_football_player property:field_of_this_occupation ?z . ?z rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q622022 Q3848605
P27
Q15617994
USER
Which administrative territories are Mario Galassi or Neil Etheridge a civilian of ?
OR((Q3848605,P27,c(Q15617994)), (Q622022,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3848605
relation P27
action find
entity Q622022
relation P27
type Q15617994
{'OR': [['Q3848605', 'P27', {'concept': 'Q15617994'}], ['Q622022', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?l ) { ( resource:Q3848605 ) ( resource:Q622022 ) } . ?l property:P27 ?a } . ?a rdf:type ontology:Q15617994 }
Neil Etheridge Mario Galassi
action filter_type
action union
action find
entity Mario Galassi
relation country of citizenship
action find
entity Neil Etheridge
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mario Galassi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Neil Etheridge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?l ) { ( resource:Mario_Galassi ) ( resource:Neil_Etheridge ) } . ?l property:country_of_citizenship ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q38 Q145
SYSTEM
Philippines, Italy, United Kingdom
Q928 Q38 Q145
OR((Q3848605,P27,c(Q15617994)), (Q622022,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3848605
relation P27
action find
entity Q622022
relation P27
type Q15617994
[ANSWERS] are Mario Galassi or Neil Etheridge a civilian of
{'OR': [['Q3848605', 'P27', {'concept': 'Q15617994'}], ['Q622022', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?l ) { ( resource:Q3848605 ) ( resource:Q622022 ) } . ?l property:P27 ?a } . ?a rdf:type ontology:Q15617994 }
Philippines Italy United Kingdom
Philippines, Italy and United Kingdom are Mario Galassi or Neil Etheridge a civilian of
Philippines Italy United Kingdom
action filter_type
action union
action find
entity Mario Galassi
relation country of citizenship
action find
entity Neil Etheridge
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mario Galassi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Neil Etheridge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?l ) { ( resource:Mario_Galassi ) ( resource:Neil_Etheridge ) } . ?l property:country_of_citizenship ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19202034 Q3848605
P27 P17
Q15617994
USER
Which administrative territories are Mario Galassi an inhabitant of or are Goudrenetstraat a part of ?
OR((Q3848605,P27,c(Q15617994)), (Q19202034,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3848605
relation P27
action find
entity Q19202034
relation P17
type Q15617994
{'OR': [['Q3848605', 'P27', {'concept': 'Q15617994'}], ['Q19202034', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3848605 property:P27 ?t } UNION { resource:Q19202034 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Goudrenetstraat Mario Galassi
action filter_type
action union
action find
entity Mario Galassi
relation country of citizenship
action find
entity Goudrenetstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Mario Galassi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Goudrenetstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Mario_Galassi property:country_of_citizenship ?t } UNION { resource:Goudrenetstraat property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q3848605,P27,c(Q15617994)), (Q19202034,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3848605
relation P27
action find
entity Q19202034
relation P17
type Q15617994
[ANSWERS] are Mario Galassi an inhabitant of or are Goudrenetstraat a part of
{'OR': [['Q3848605', 'P27', {'concept': 'Q15617994'}], ['Q19202034', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3848605 property:P27 ?t } UNION { resource:Q19202034 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Italy Netherlands
Italy and Netherlands are Mario Galassi an inhabitant of or are Goudrenetstraat a part of
Italy Netherlands
action filter_type
action union
action find
entity Mario Galassi
relation country of citizenship
action find
entity Goudrenetstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Mario Galassi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Goudrenetstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Mario_Galassi property:country_of_citizenship ?t } UNION { resource:Goudrenetstraat property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q2088357
USER
How many administrative territories are the countries of origin of lesser number of literary works and musical ensembles than that administrative territory ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity literary work musical ensemble
Comparative|Count over More/Less|Mult. entity type|Clarification
Q55
SYSTEM
Did you mean Netherlands ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Netherlands ?
Netherlands
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
Q38
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
162
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
162
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atleast 88 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 88
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?d property:P530 ?z . ?d rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?g >= 88 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 88
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?d property:diplomatic_relation ?z . ?d rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?g >= 88 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 88
[ANSWERS] have diplomatic relationships with atleast 88 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?d property:P530 ?z . ?d rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?g >= 88 ) }
Germany Australia
Germany and Australia have diplomatic relationships with atleast 88 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 88
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?z ) AS ?g ) WHERE { ?d property:diplomatic_relation ?z . ?d rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?g >= 88 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q676184
P276
Q1190554
USER
How many events have their location as Italy or Kingdom of Sussex ?
(c(Q1190554),P276,Q38) (c(Q1190554),P276,Q676184)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q676184
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q38'] [{'concept': 'Q1190554'}, 'P276', 'Q676184']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:P276 resource:Q38 . ?w rdf:type ontology:Q1190554 } UNION { ?w property:P276 resource:Q676184 . ?w rdf:type ontology:Q1190554 } }
Italy Kingdom of Sussex
action count
action union
action filter_type
action find_reverse
entity Italy
relation location
type event
action filter_type
action find_reverse
entity Kingdom of Sussex
relation location
type event
[{'concept': 'event'}, 'location', 'Italy'] [{'concept': 'event'}, 'location', 'Kingdom of Sussex']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:location resource:Italy . ?w rdf:type ontology:event } UNION { ?w property:location resource:Kingdom_of_Sussex . ?w rdf:type ontology:event } }
[]
event
SYSTEM
2
Q4245345 Q4871718
(c(Q1190554),P276,Q38) (c(Q1190554),P276,Q676184)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q676184
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q38'] [{'concept': 'Q1190554'}, 'P276', 'Q676184']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:P276 resource:Q38 . ?w rdf:type ontology:Q1190554 } UNION { ?w property:P276 resource:Q676184 . ?w rdf:type ontology:Q1190554 } }
Battle of Tornavento Battle of Mercredesburne
2
action count
action union
action filter_type
action find_reverse
entity Italy
relation location
type event
action filter_type
action find_reverse
entity Kingdom of Sussex
relation location
type event
[{'concept': 'event'}, 'location', 'Italy'] [{'concept': 'event'}, 'location', 'Kingdom of Sussex']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { ?w property:location resource:Italy . ?w rdf:type ontology:event } UNION { ?w property:location resource:Kingdom_of_Sussex . ?w rdf:type ontology:event } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q15617994
USER
Which administrative territories are situated in the neighbourhood of atleast 11 waterways or watercourses ?
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 11
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?e WHERE { VALUES ( ?h ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?b rdf:type ?h } GROUP BY ?e } . FILTER ( ?g >= 11 ) }
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?e WHERE { VALUES ( ?h ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?b rdf:type ?h } GROUP BY ?e } . FILTER ( ?g >= 11 ) }
[]
waterway watercourse designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(c(Q15617994),P206,c(Q1267889)|c(Q355304))
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 11
[ANSWER] is situated in the neighbourhood of atleast 11 waterways or watercourses
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?e WHERE { VALUES ( ?h ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?b rdf:type ?h } GROUP BY ?e } . FILTER ( ?g >= 11 ) }
Poland
Poland is situated in the neighbourhood of atleast 11 waterways or watercourses
Poland
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?e WHERE { VALUES ( ?h ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?b rdf:type ?h } GROUP BY ?e } . FILTER ( ?g >= 11 ) }
[]