Simple Question (Direct)
Simple Question
Q1702861
P1412
Q34770
USER
Which language can Jon Wozencroft read ?
(Q1702861,P1412,c(Q34770))
action filter_type
action find
entity Q1702861
relation P1412
type Q34770
['Q1702861', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q1702861 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Jon Wozencroft
action filter_type
action find
entity Jon Wozencroft
relation languages spoken, written or signed
type language
['Jon Wozencroft', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Jon_Wozencroft property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1702861,P1412,c(Q34770))
action filter_type
action find
entity Q1702861
relation P1412
type Q34770
Jon Wozencroft can read in [ANSWER]
['Q1702861', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q1702861 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
English
Jon Wozencroft can read in English
English
action filter_type
action find
entity Jon Wozencroft
relation languages spoken, written or signed
type language
['Jon Wozencroft', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Jon_Wozencroft property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1702861
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q1702861
relation P27
type Q15617994
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q1702861 property:P27 ?u }
Jon Wozencroft
action filter_type
action find
entity Jon Wozencroft
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jon_Wozencroft property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1860,P27,c(Q15617994))
action filter_type
action find
entity Q1702861
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q1860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q1702861 property:P27 ?u }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Jon Wozencroft
relation country of citizenship
type designation for an administrative territorial entity
['English', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jon_Wozencroft property:country_of_citizenship ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q27 Q142
P47
Q15617994
USER
Does Ireland and France share a border with Q145 ?
(Q145,P47,Q27) (Q145,P47,Q142)
action is_in
entity Q145
action intersection
action find_reverse
entity Q27
relation P47
action find_reverse
entity Q142
relation P47
['Q145', 'P47', 'Q27'] ['Q145', 'P47', 'Q142']
ASK WHERE { resource:Q145 property:P47 resource:Q27 . resource:Q145 property:P47 resource:Q142 }
United Kingdom Ireland France
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Ireland
relation shares border with
action find_reverse
entity France
relation shares border with
['United Kingdom', 'shares border with', 'Ireland'] ['United Kingdom', 'shares border with', 'France']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Ireland . resource:United_Kingdom property:shares_border_with resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q145,P47,Q27) (Q145,P47,Q142)
action is_in
entity Q145
action intersection
action find_reverse
entity Q27
relation P47
action find_reverse
entity Q142
relation P47
[ANSWER]
['Q145', 'P47', 'Q27'] ['Q145', 'P47', 'Q142']
ASK WHERE { resource:Q145 property:P47 resource:Q27 . resource:Q145 property:P47 resource:Q142 }
Yes
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Ireland
relation shares border with
action find_reverse
entity France
relation shares border with
['United Kingdom', 'shares border with', 'Ireland'] ['United Kingdom', 'shares border with', 'France']
ASK WHERE { resource:United_Kingdom property:shares_border_with resource:Ireland . resource:United_Kingdom property:shares_border_with resource:France }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25167
P282
Q2001982 Q8192 Q34770
USER
Which languages utilizes around the same number of notations and writing systems as the writing system as Bokmål ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q25167
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?o WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?o } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q25167 property:P282 ?f . { { ?f rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q8192 } } } } }
Bokmål
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Bokmål
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?o WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?o } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Bokmål property:writing_system ?f . { { ?f rdf:type ontology:notation } UNION { ?f rdf:type ontology:writing_system } } } } }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q25167
relation P282
type Q2001982
type Q8192
[ANSWERS] utilize around the same number of notations and writing systems as the writing system as Bokmål
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?o WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?o } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q25167 property:P282 ?f . { { ?f rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q8192 } } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English, Old Egyptian and Norn utilize around the same number of notations and writing systems as the writing system as Bokmål
English Old Egyptian Norn
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Bokmål
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?o WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?o } . FILTER ( ?v = ?a ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Bokmål property:writing_system ?f . { { ?f rdf:type ontology:notation } UNION { ?f rdf:type ontology:writing_system } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q652
P282
Q2001982 Q8192 Q34770
USER
And what about Italian?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q652
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?x WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?x } . FILTER ( ?c = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { { ?k rdf:type ontology:Q2001982 } UNION { ?k rdf:type ontology:Q8192 } } . resource:Q652 property:P282 ?k } } }
Italian
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Italian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?x WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?x } . FILTER ( ?c = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { { ?k rdf:type ontology:notation } UNION { ?k rdf:type ontology:writing_system } } . resource:Italian property:writing_system ?k } } }
[]
notation writing system language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q652
relation P282
type Q2001982
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?x WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } GROUP BY ?x } . FILTER ( ?c = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { { ?k rdf:type ontology:Q2001982 } UNION { ?k rdf:type ontology:Q8192 } } . resource:Q652 property:P282 ?k } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English Old Egyptian Norn
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Italian
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?x WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:notation ) ( ontology:writing_system ) } } GROUP BY ?x } . FILTER ( ?c = ?a ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { { ?k rdf:type ontology:notation } UNION { ?k rdf:type ontology:writing_system } } . resource:Italian property:writing_system ?k } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36708
P361
Q5962346
USER
Which classification scheme is Norn a component of ?
(Q36708,P361,c(Q5962346))
action filter_type
action find
entity Q36708
relation P361
type Q5962346
['Q36708', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?n WHERE { resource:Q36708 property:P361 ?n . ?n rdf:type ontology:Q5962346 }
Norn
action filter_type
action find
entity Norn
relation part of
type classification scheme
['Norn', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?n WHERE { resource:Norn property:part_of ?n . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q1792570
SYSTEM
West Scandinavian languages
Q1792570
(Q36708,P361,c(Q5962346))
action filter_type
action find
entity Q36708
relation P361
type Q5962346
The [ANSWER] is Norn a component of
['Q36708', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?n WHERE { resource:Q36708 property:P361 ?n . ?n rdf:type ontology:Q5962346 }
West Scandinavian languages
The West Scandinavian languages is Norn a component of
West Scandinavian languages
action filter_type
action find
entity Norn
relation part of
type classification scheme
['Norn', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?n WHERE { resource:Norn property:part_of ?n . ?n rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36708
P17
Q15617994
USER
Which administrative territory is Norn situated in ?
(Q36708,P17,c(Q15617994))
action filter_type
action find
entity Q36708
relation P17
type Q15617994
['Q36708', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q36708 property:P17 ?d }
Norn
action filter_type
action find
entity Norn
relation country
type designation for an administrative territorial entity
['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norn property:country ?d }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q36708,P17,c(Q15617994))
action filter_type
action find
entity Q36708
relation P17
type Q15617994
Norn is situated in [ANSWER]
['Q36708', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q36708 property:P17 ?d }
United Kingdom
Norn is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Norn
relation country
type designation for an administrative territorial entity
['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norn property:country ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4708291
Q15617994
USER
And what about Alanton?
(Q4708291,P17,c(Q15617994))
action filter_type
action find
entity Q4708291
relation P17
type Q15617994
['Q4708291', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4708291 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Alanton
action filter_type
action find
entity Alanton
relation country
type designation for an administrative territorial entity
['Alanton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alanton property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4708291,P17,c(Q15617994))
action filter_type
action find
entity Q4708291
relation P17
type Q15617994
[ANSWER]
['Q4708291', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4708291 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Alanton
relation country
type designation for an administrative territorial entity
['Alanton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alanton property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q12122876
P495
Q838948
USER
Did Freak Dance originate in that administrative territory ?
(Q12122876,P495,Q30)
action is_in
entity Q30
action find
entity Q12122876
relation P495
['Q12122876', 'P495', 'Q30']
ASK WHERE { resource:Q12122876 property:P495 resource:Q30 }
United States of America Freak Dance
action is_in
entity United States of America
action find
entity Freak Dance
relation country of origin
['Freak Dance', 'country of origin', 'United States of America']
ASK WHERE { resource:Freak_Dance property:country_of_origin resource:United_States_of_America }
[]
work of art
SYSTEM
YES
(Q12122876,P495,Q30)
action is_in
entity Q30
action find
entity Q12122876
relation P495
[ANSWER]
['Q12122876', 'P495', 'Q30']
ASK WHERE { resource:Q12122876 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Freak Dance
relation country of origin
['Freak Dance', 'country of origin', 'United States of America']
ASK WHERE { resource:Freak_Dance property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q82799 Q355304
USER
How many administrative territories are around 1 names or watercourses named after ?
(c(Q82799)|c(Q355304),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q355304
value 1
[[{'concept': 'Q82799'}, {'concept': 'Q355304'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q82799 } UNION { ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q355304 . ?z property:P138 ?i } } GROUP BY ?i } }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
value 1
[[{'concept': 'name'}, {'concept': 'watercourse'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:name } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:watercourse . ?z property:named_after ?i } } GROUP BY ?i } }
[]
designation for an administrative territorial entity name watercourse
SYSTEM
3
Q1273 Q11340 Q243337
(c(Q82799)|c(Q355304),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q82799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q355304
value 1
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q355304'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q82799 } UNION { ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q355304 . ?z property:P138 ?i } } GROUP BY ?i } }
Tuscany Sprockhövel Issum
3
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
value 1
[[{'concept': 'name'}, {'concept': 'watercourse'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { FILTER ( ?v = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:name } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:watercourse . ?z property:named_after ?i } } GROUP BY ?i } }
[]