Simple Question (Direct)
Simple Question
Q7525629
P19
Q56061
USER
Which administrative territory is the place of birth of Siphiwe Mkhonza ?
(Q7525629,P19,c(Q56061))
action filter_type
action find
entity Q7525629
relation P19
type Q56061
['Q7525629', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q7525629 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Siphiwe Mkhonza
action filter_type
action find
entity Siphiwe Mkhonza
relation place of birth
type administrative territorial entity
['Siphiwe Mkhonza', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Siphiwe_Mkhonza property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q761408
SYSTEM
Springs
Q761408
(Q7525629,P19,c(Q56061))
action filter_type
action find
entity Q7525629
relation P19
type Q56061
[ANSWER] is the place of birth of Siphiwe Mkhonza
['Q7525629', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q7525629 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Springs
Springs is the place of birth of Siphiwe Mkhonza
Springs
action filter_type
action find
entity Siphiwe Mkhonza
relation place of birth
type administrative territorial entity
['Siphiwe Mkhonza', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Siphiwe_Mkhonza property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q761408
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q761408,P17,c(Q15617994))
action filter_type
action find
entity Q761408
relation P17
type Q15617994
['Q761408', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q761408 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Springs
action filter_type
action find
entity Springs
relation country
type designation for an administrative territorial entity
['Springs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Springs property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q761408,P17,c(Q15617994))
action filter_type
action find
entity Q761408
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q761408', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q761408 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
South Africa
That administrative territory is located in South Africa
South Africa
action filter_type
action find
entity Springs
relation country
type designation for an administrative territorial entity
['Springs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Springs property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q761408
P19 P21
Q502895
USER
Which people were born at Springs and have the gender as male ?
AND((c(Q502895),P19,Q761408), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q761408
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q761408'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P19 resource:Q761408 . ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q502895 }
male Springs
action filter_type
action intersection
action find_reverse
entity Springs
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Springs'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:place_of_birth resource:Springs . ?h property:gender resource:male . ?h rdf:type ontology:common_name }
[]
common name
Q5214309 Q330546 Q3525417 Q1084228 Q5277144 Q11164991 Q61949 Q4760773 Q962512 Q2977315
SYSTEM
Some of them are Dan Roodt, John Arthur, Jacques Rudolph, Christo Steyn, Lucas Sithole, Riaan Smit, Rowen Fernández, Andy Harris, Frew McMillan, Claude Dry
Q20687318 Q16196519 Q4864249 Q1334867 Q3438759 Q6275701 Q3973403 Q962512 Q330546 Q7525629 Q5214309 Q6118191 Q5956314 Q5277144 Q1084228 Q61949 Q4760773 Q2977315 Q18753647 Q19061137 Q3525417 Q11164991
AND((c(Q502895),P19,Q761408), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q761408
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Springs and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q761408'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P19 resource:Q761408 . ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q502895 }
Peter Klatzow Ivor Ichikowitz Barry Geel Jacques Janse van Rensburg Roger Bushell Jonno Devlin Steve Tshwete Frew McMillan John Arthur Siphiwe Mkhonza Dan Roodt Jaco Taute Hylton Ackerman Lucas Sithole Christo Steyn Rowen Fernández Andy Harris Claude Dry Ruehan van Jaarsveld Tony Schiena Jacques Rudolph Riaan Smit
Dan Roodt, John Arthur, Jacques Rudolph, Christo Steyn, Lucas Sithole, Riaan Smit, Rowen Fernández, Andy Harris, Frew McMillan and Claude Dry were born at Springs and have the gender as male
Dan Roodt John Arthur Jacques Rudolph Christo Steyn Lucas Sithole Riaan Smit Rowen Fernández Andy Harris Frew McMillan Claude Dry
action filter_type
action intersection
action find_reverse
entity Springs
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Springs'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:place_of_birth resource:Springs . ?h property:gender resource:male . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5214309 Q330546 Q3525417 Q1084228 Q5277144 Q11164991 Q61949 Q4760773 Q962512 Q2977315
P106
Q12737077
USER
What are the professions of those people ?
(Q5214309,P106,c(Q12737077)) (Q330546,P106,c(Q12737077)) (Q3525417,P106,c(Q12737077)) (Q1084228,P106,c(Q12737077)) (Q5277144,P106,c(Q12737077)) (Q11164991,P106,c(Q12737077)) (Q61949,P106,c(Q12737077)) (Q4760773,P106,c(Q12737077)) (Q962512,P106,c(Q12737077)) (Q2977315,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q5214309', 'P106', {'concept': 'Q12737077'}] ['Q330546', 'P106', {'concept': 'Q12737077'}] ['Q3525417', 'P106', {'concept': 'Q12737077'}] ['Q1084228', 'P106', {'concept': 'Q12737077'}] ['Q5277144', 'P106', {'concept': 'Q12737077'}] ['Q11164991', 'P106', {'concept': 'Q12737077'}] ['Q61949', 'P106', {'concept': 'Q12737077'}] ['Q4760773', 'P106', {'concept': 'Q12737077'}] ['Q962512', 'P106', {'concept': 'Q12737077'}] ['Q2977315', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?z property:P106 ?i . ?i rdf:type ontology:Q12737077 . VALUES ( ?z ) { ( resource:Q20687318 ) ( resource:Q16196519 ) ( resource:Q4864249 ) } }
Dan Roodt John Arthur Jacques Rudolph Christo Steyn Lucas Sithole Riaan Smit Rowen Fernández Andy Harris Frew McMillan Claude Dry
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Dan Roodt', 'occupation', {'concept': 'occupation'}] ['John Arthur', 'occupation', {'concept': 'occupation'}] ['Jacques Rudolph', 'occupation', {'concept': 'occupation'}] ['Christo Steyn', 'occupation', {'concept': 'occupation'}] ['Lucas Sithole', 'occupation', {'concept': 'occupation'}] ['Riaan Smit', 'occupation', {'concept': 'occupation'}] ['Rowen Fernández', 'occupation', {'concept': 'occupation'}] ['Andy Harris', 'occupation', {'concept': 'occupation'}] ['Frew McMillan', 'occupation', {'concept': 'occupation'}] ['Claude Dry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?z property:occupation ?i . ?i rdf:type ontology:occupation . VALUES ( ?z ) { ( resource:Peter_Klatzow ) ( resource:Ivor_Ichikowitz ) ( resource:Barry_Geel ) } }
[]
occupation
Q10833314 Q14089670 Q937857
SYSTEM
tennis player, rugby union player, association football player
Q36180 Q11338576 Q12299841 Q10833314 Q1281618 Q14089670 Q937857 Q937857 Q10833314 Q14089670
(Q5214309,P106,c(Q12737077)) (Q330546,P106,c(Q12737077)) (Q3525417,P106,c(Q12737077)) (Q1084228,P106,c(Q12737077)) (Q5277144,P106,c(Q12737077)) (Q11164991,P106,c(Q12737077)) (Q61949,P106,c(Q12737077)) (Q4760773,P106,c(Q12737077)) (Q962512,P106,c(Q12737077)) (Q2977315,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q5214309', 'P106', {'concept': 'Q12737077'}] ['Q330546', 'P106', {'concept': 'Q12737077'}] ['Q3525417', 'P106', {'concept': 'Q12737077'}] ['Q1084228', 'P106', {'concept': 'Q12737077'}] ['Q5277144', 'P106', {'concept': 'Q12737077'}] ['Q11164991', 'P106', {'concept': 'Q12737077'}] ['Q61949', 'P106', {'concept': 'Q12737077'}] ['Q4760773', 'P106', {'concept': 'Q12737077'}] ['Q962512', 'P106', {'concept': 'Q12737077'}] ['Q2977315', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?z property:P106 ?i . ?i rdf:type ontology:Q12737077 . VALUES ( ?z ) { ( resource:Q20687318 ) ( resource:Q16196519 ) ( resource:Q4864249 ) } }
writer boxer cricketer tennis player sculptor rugby union player association football player association football player tennis player rugby union player
The professions of those people are tennis player, rugby union player and association football player
tennis player rugby union player association football player
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Dan Roodt', 'occupation', {'concept': 'occupation'}] ['John Arthur', 'occupation', {'concept': 'occupation'}] ['Jacques Rudolph', 'occupation', {'concept': 'occupation'}] ['Christo Steyn', 'occupation', {'concept': 'occupation'}] ['Lucas Sithole', 'occupation', {'concept': 'occupation'}] ['Riaan Smit', 'occupation', {'concept': 'occupation'}] ['Rowen Fernández', 'occupation', {'concept': 'occupation'}] ['Andy Harris', 'occupation', {'concept': 'occupation'}] ['Frew McMillan', 'occupation', {'concept': 'occupation'}] ['Claude Dry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?z property:occupation ?i . ?i rdf:type ontology:occupation . VALUES ( ?z ) { ( resource:Peter_Klatzow ) ( resource:Ivor_Ichikowitz ) ( resource:Barry_Geel ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5214309
P1412
Q34770
USER
Which language does that person speak in ?
(Q5214309,P1412,c(Q34770))
action filter_type
action find
entity Q5214309
relation P1412
type Q34770
['Q5214309', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q5214309 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Dan Roodt
action filter_type
action find
entity Dan Roodt
relation languages spoken, written or signed
type language
['Dan Roodt', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Dan_Roodt property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q5214309
SYSTEM
Did you mean Dan Roodt ?
Q10833314 Q14089670 Q937857
(Q10833314,P1412,c(Q34770)) (Q14089670,P1412,c(Q34770)) (Q937857,P1412,c(Q34770))
[ANSWER]
['Q10833314', 'P1412', {'concept': 'Q34770'}] ['Q14089670', 'P1412', {'concept': 'Q34770'}] ['Q937857', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q5214309 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
tennis player rugby union player association football player
Did you mean Dan Roodt ?
Dan Roodt
['tennis player', 'languages spoken, written or signed', {'concept': 'language'}] ['rugby union player', 'languages spoken, written or signed', {'concept': 'language'}] ['association football player', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Dan_Roodt property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5214309,P1412,c(Q34770))
['Q5214309', 'P1412', {'concept': 'Q34770'}]
['Dan Roodt', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q5214309,P1412,c(Q34770))
action filter_type
action find
entity Q5214309
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q5214309', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q5214309 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Dan Roodt
relation languages spoken, written or signed
type language
['Dan Roodt', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Dan_Roodt property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13586 Q61949
P47 P27
Q1048835
USER
Which political territories are the native countriesof Rowen Fernández or are bordered by Verges ?
OR((Q61949,P27,c(Q1048835)), (Q13586,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q61949
relation P27
action find
entity Q13586
relation P47
type Q1048835
{'OR': [['Q61949', 'P27', {'concept': 'Q1048835'}], ['Q13586', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q61949 property:P27 ?h } UNION { resource:Q13586 property:P47 ?h } } }
Verges Rowen Fernández
action filter_type
action union
action find
entity Rowen Fernández
relation country of citizenship
action find
entity Verges
relation shares border with
type political territorial entity
{'OR': [['Rowen Fernández', 'country of citizenship', {'concept': 'political territorial entity'}], ['Verges', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Rowen_Fernández property:country_of_citizenship ?h } UNION { resource:Verges property:shares_border_with ?h } } }
[]
political territorial entity
Q13571 Q13588 Q183 Q13570 Q13474 Q13465
SYSTEM
La Tallada d'Empordà, Ultramort, Germany, Serra de Daró, Garrigoles, Foixà
Q13571 Q13588 Q183 Q13570 Q13474 Q13465
OR((Q61949,P27,c(Q1048835)), (Q13586,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q61949
relation P27
action find
entity Q13586
relation P47
type Q1048835
[ANSWERS] are the native countriesof Rowen Fernández or are bordered by Verges
{'OR': [['Q61949', 'P27', {'concept': 'Q1048835'}], ['Q13586', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q61949 property:P27 ?h } UNION { resource:Q13586 property:P47 ?h } } }
La Tallada d'Empordà Ultramort Germany Serra de Daró Garrigoles Foixà
La Tallada d'Empordà, Ultramort, Germany, Serra de Daró, Garrigoles and Foixà are the native countriesof Rowen Fernández or are bordered by Verges
La Tallada d'Empordà Ultramort Germany Serra de Daró Garrigoles Foixà
action filter_type
action union
action find
entity Rowen Fernández
relation country of citizenship
action find
entity Verges
relation shares border with
type political territorial entity
{'OR': [['Rowen Fernández', 'country of citizenship', {'concept': 'political territorial entity'}], ['Verges', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Rowen_Fernández property:country_of_citizenship ?h } UNION { resource:Verges property:shares_border_with ?h } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q13586
P47
Q56061 Q1048835
USER
How many administrative territories and political territories share the border with Verges ?
(Q13586,P47,c(Q56061)) (Q13586,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q13586
relation P47
type Q56061
action filter_type
action find
entity Q13586
relation P47
type Q1048835
['Q13586', 'P47', {'concept': 'Q56061'}] ['Q13586', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Q13586 property:P47 ?d . ?d rdf:type ontology:Q56061 } UNION { resource:Q13586 property:P47 ?d . ?d rdf:type ontology:Q1048835 } }
Verges
action count
action union
action filter_type
action find
entity Verges
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Verges
relation shares border with
type political territorial entity
['Verges', 'shares border with', {'concept': 'administrative territorial entity'}] ['Verges', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Verges property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { resource:Verges property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity } }
[]
administrative territorial entity political territorial entity
SYSTEM
1 administrative territories and 5 political territories
Q13588 Q13571 Q13570 Q13474 Q13471 Q13465
(Q13586,P47,c(Q56061)) (Q13586,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q13586
relation P47
type Q56061
action filter_type
action find
entity Q13586
relation P47
type Q1048835
[ANSWER]
['Q13586', 'P47', {'concept': 'Q56061'}] ['Q13586', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Q13586 property:P47 ?d . ?d rdf:type ontology:Q56061 } UNION { resource:Q13586 property:P47 ?d . ?d rdf:type ontology:Q1048835 } }
Ultramort La Tallada d'Empordà Serra de Daró Garrigoles Jafre Foixà
1 administrative territories and 5 political territories
action count
action union
action filter_type
action find
entity Verges
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Verges
relation shares border with
type political territorial entity
['Verges', 'shares border with', {'concept': 'administrative territorial entity'}] ['Verges', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Verges property:shares_border_with ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { resource:Verges property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P47
Q1048835 Q15617994
USER
How many political territories or administrative territories have a shared border with Germany ?
(Q183,P47,c(Q1048835)) (Q183,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q1048835
action filter_type
action find
entity Q183
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v rdf:type ontology:Q1048835 . resource:Q183 property:P47 ?v } UNION { ?v rdf:type ontology:Q15617994 . resource:Q183 property:P47 ?v } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v rdf:type ontology:political_territorial_entity . resource:Germany property:shares_border_with ?v } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:shares_border_with ?v } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
10
Q142 Q213 Q55 Q40 Q29999 Q32 Q31 Q36 Q35 Q39
(Q183,P47,c(Q1048835)) (Q183,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q1048835
action filter_type
action find
entity Q183
relation P47
type Q15617994
[ANSWER]
['Q183', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v rdf:type ontology:Q1048835 . resource:Q183 property:P47 ?v } UNION { ?v rdf:type ontology:Q15617994 . resource:Q183 property:P47 ?v } }
France Czech Republic Netherlands Austria Kingdom of the Netherlands Luxembourg Belgium Poland Denmark Switzerland
10
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type political territorial entity
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { ?v rdf:type ontology:political_territorial_entity . resource:Germany property:shares_border_with ?v } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:shares_border_with ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q765778
P180
Q12737077 Q3516658 Q386724
USER
How many occupations are depicted in around the same number of heraldic symbols or works as organist ?
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q765778
relation P180
type Q3516658
type Q386724
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?s WHERE { VALUES ( ?l ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } . ?m rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P180 resource:Q765778 . { VALUES ( ?n ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } . ?a rdf:type ?n } } } . FILTER ( ?d = ?j ) }
organist
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity organist
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?s WHERE { VALUES ( ?l ) { ( ontology:heraldic_symbol ) ( ontology:work ) } . ?m rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:depicts resource:organist . { VALUES ( ?n ) { ( ontology:heraldic_symbol ) ( ontology:work ) } . ?a rdf:type ?n } } } . FILTER ( ?d = ?j ) }
[]
occupation heraldic symbol work
SYSTEM
225
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q765778
relation P180
type Q3516658
type Q386724
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?s WHERE { VALUES ( ?l ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } . ?m rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P180 resource:Q765778 . { VALUES ( ?n ) { ( ontology:Q3516658 ) ( ontology:Q386724 ) } . ?a rdf:type ?n } } } . FILTER ( ?d = ?j ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
225
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity organist
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?s WHERE { VALUES ( ?l ) { ( ontology:heraldic_symbol ) ( ontology:work ) } . ?m rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:depicts resource:organist . { VALUES ( ?n ) { ( ontology:heraldic_symbol ) ( ontology:work ) } . ?a rdf:type ?n } } } . FILTER ( ?d = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2191547
P180
Q12737077 Q3516658 Q386724
USER
And also tell me about picador?
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q2191547
relation P180
type Q3516658
type Q386724
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P180 resource:Q2191547 . { { ?k rdf:type ontology:Q3516658 } UNION { ?k rdf:type ontology:Q386724 } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { { ?d property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q386724 } UNION { ?d property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3516658 } } GROUP BY ?g } }
picador
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity picador
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:depicts resource:picador . { { ?k rdf:type ontology:heraldic_symbol } UNION { ?k rdf:type ontology:work } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { { ?d property:depicts ?g . ?g rdf:type ontology:occupation . ?d rdf:type ontology:work } UNION { ?d property:depicts ?g . ?g rdf:type ontology:occupation . ?d rdf:type ontology:heraldic_symbol } } GROUP BY ?g } }
[]
occupation heraldic symbol work
SYSTEM
225
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q733786 Q2309900 Q805221 Q5371902 Q17126809 Q12097 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q4991371 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3516658)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q2191547
relation P180
type Q3516658
type Q386724
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P180 resource:Q2191547 . { { ?k rdf:type ontology:Q3516658 } UNION { ?k rdf:type ontology:Q386724 } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { { ?d property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q386724 } UNION { ?d property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q3516658 } } GROUP BY ?g } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic monk helmsman ballet dancer harpsichordist rescuer king VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner soldier goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
225
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity picador
relation depicts
type heraldic symbol
type work
[[{'concept': 'heraldic symbol'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:depicts resource:picador . { { ?k rdf:type ontology:heraldic_symbol } UNION { ?k rdf:type ontology:work } } } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?g WHERE { { ?d property:depicts ?g . ?g rdf:type ontology:occupation . ?d rdf:type ontology:work } UNION { ?d property:depicts ?g . ?g rdf:type ontology:occupation . ?d rdf:type ontology:heraldic_symbol } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q983628
P706
Q107425 Q271669 Q1048835
USER
How many political territories are located in less number of landscapes or landforms than Sant Joan de Labritja ?
(c(Q1048835),P706,c(Q107425)|c(Q271669))
action count
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q107425
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action count
action filter_multi_types
action find
entity Q983628
relation P706
type Q107425
type Q271669
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q983628 property:P706 ?s . { VALUES ( ?j ) { ( ontology:Q107425 ) ( ontology:Q271669 ) } . ?s rdf:type ?j } } } . FILTER ( ?t < ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?t ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q107425 ) ( ontology:Q271669 ) } } GROUP BY ?g } }
Sant Joan de Labritja
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action count
action filter_multi_types
action find
entity Sant Joan de Labritja
relation located on terrain feature
type landscape
type landform
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Sant_Joan_de_Labritja property:located_on_terrain_feature ?s . { VALUES ( ?j ) { ( ontology:landscape ) ( ontology:landform ) } . ?s rdf:type ?j } } } . FILTER ( ?t < ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?t ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:landscape ) ( ontology:landform ) } } GROUP BY ?g } }
[]
landscape landform political territorial entity
SYSTEM
26
Q6661154 Q1747689 Q52626 Q13353 Q6139 Q785 Q904566 Q42314 Q898856 Q168856 Q5785 Q3405693 Q13751 Q25228 Q202023 Q8583 Q170213 Q766 Q9676 Q168159 Q8593 Q18221 Q778 Q9337 Q5700 Q25305
(c(Q1048835),P706,c(Q107425)|c(Q271669))
action count
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q107425
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action count
action filter_multi_types
action find
entity Q983628
relation P706
type Q107425
type Q271669
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q107425'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q983628 property:P706 ?s . { VALUES ( ?j ) { ( ontology:Q107425 ) ( ontology:Q271669 ) } . ?s rdf:type ?j } } } . FILTER ( ?t < ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?t ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q107425 ) ( ontology:Q271669 ) } } GROUP BY ?g } }
Llanddeusant, Carmarthenshire Ancient Rome Formentera Montserrat Havelland Jersey Brecqhou Channel Islands Jethou Chernivtsi Oblast Cayman Islands Sark Biliran Anguilla Herm Vulkaneifel Zakarpattia Oblast Jamaica Isle of Man Anglesey Mayen-Koblenz Turks and Caicos Islands The Bahamas Flemish Region Lapland British Virgin Islands
26
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action count
action filter_multi_types
action find
entity Sant Joan de Labritja
relation located on terrain feature
type landscape
type landform
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landscape'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Sant_Joan_de_Labritja property:located_on_terrain_feature ?s . { VALUES ( ?j ) { ( ontology:landscape ) ( ontology:landform ) } . ?s rdf:type ?j } } } . FILTER ( ?t < ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?t ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:landscape ) ( ontology:landform ) } } GROUP BY ?g } }
[]