Simple Question (Direct)
Simple Question
Q553137
P1412
Q34770
USER
Which language can Louis Sachar understand ?
(Q553137,P1412,c(Q34770))
action filter_type
action find
entity Q553137
relation P1412
type Q34770
['Q553137', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q553137 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Louis Sachar
action filter_type
action find
entity Louis Sachar
relation languages spoken, written or signed
type language
['Louis Sachar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Sachar property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q553137,P1412,c(Q34770))
action filter_type
action find
entity Q553137
relation P1412
type Q34770
Louis Sachar can understand [ANSWER]
['Q553137', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q553137 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
Louis Sachar can understand English
English
action filter_type
action find
entity Louis Sachar
relation languages spoken, written or signed
type language
['Louis Sachar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Sachar property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q553137
P21
Q290
USER
Which sex does that person have ?
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q553137
relation P21
type Q290
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q553137 property:P21 ?q }
Louis Sachar
action filter_type
action find
entity Louis Sachar
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Louis_Sachar property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q553137
relation P21
type Q290
That person has a [ANSWER]
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q553137 property:P21 ?q }
male
That person has a male
male
action filter_type
action find
entity Louis Sachar
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Louis_Sachar property:gender ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q553137
P170
Q15416
USER
What did that person make ?
(c(Q15416),P170,Q6581097)
action filter_type
action find_reverse
entity Q553137
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15416 . ?r property:P170 resource:Q553137 }
Louis Sachar
action filter_type
action find_reverse
entity Louis Sachar
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'male']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:television_program . ?r property:creator resource:Louis_Sachar }
[]
television program
Q745333
SYSTEM
Wayside
Q745333
(c(Q15416),P170,Q6581097)
action filter_type
action find_reverse
entity Q553137
relation P170
type Q15416
That person made at [ANSWER]
[{'concept': 'Q15416'}, 'P170', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15416 . ?r property:P170 resource:Q553137 }
Wayside
That person made at Wayside
Wayside
action filter_type
action find_reverse
entity Louis Sachar
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'male']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:television_program . ?r property:creator resource:Louis_Sachar }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q553137
P58
Q838948
USER
Which work of art is that person a screenwriter of ?
(c(Q838948),P58,Q745333)
action filter_type
action find_reverse
entity Q553137
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q745333']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P58 resource:Q553137 }
Louis Sachar
action filter_type
action find_reverse
entity Louis Sachar
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Wayside']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:screenwriter resource:Louis_Sachar }
[]
work of art
Q967018
SYSTEM
Holes
Q967018
(c(Q838948),P58,Q745333)
action filter_type
action find_reverse
entity Q553137
relation P58
type Q838948
[ANSWER] is that person a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q745333']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q838948 . ?q property:P58 resource:Q553137 }
Holes
Holes is that person a screenwriter of
Holes
action filter_type
action find_reverse
entity Louis Sachar
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Wayside']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work_of_art . ?q property:screenwriter resource:Louis_Sachar }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q967018 Q215976 Q167520
P161
Q502895
USER
Does Holes star Patricia Arquette and Jon Voight as actor ?
(Q967018,P161,Q215976) (Q967018,P161,Q167520)
action is_in
entity Q967018
action intersection
action find_reverse
entity Q215976
relation P161
action find_reverse
entity Q167520
relation P161
['Q967018', 'P161', 'Q215976'] ['Q967018', 'P161', 'Q167520']
ASK WHERE { resource:Q967018 property:P161 resource:Q215976 . resource:Q967018 property:P161 resource:Q167520 }
Holes Patricia Arquette Jon Voight
action is_in
entity Holes
action intersection
action find_reverse
entity Patricia Arquette
relation cast member
action find_reverse
entity Jon Voight
relation cast member
['Holes', 'cast member', 'Patricia Arquette'] ['Holes', 'cast member', 'Jon Voight']
ASK WHERE { resource:Holes property:cast_member resource:Patricia_Arquette . resource:Holes property:cast_member resource:Jon_Voight }
[]
common name
SYSTEM
YES
(Q967018,P161,Q215976) (Q967018,P161,Q167520)
action is_in
entity Q967018
action intersection
action find_reverse
entity Q215976
relation P161
action find_reverse
entity Q167520
relation P161
[ANSWER]
['Q967018', 'P161', 'Q215976'] ['Q967018', 'P161', 'Q167520']
ASK WHERE { resource:Q967018 property:P161 resource:Q215976 . resource:Q967018 property:P161 resource:Q167520 }
Yes
action is_in
entity Holes
action intersection
action find_reverse
entity Patricia Arquette
relation cast member
action find_reverse
entity Jon Voight
relation cast member
['Holes', 'cast member', 'Patricia Arquette'] ['Holes', 'cast member', 'Jon Voight']
ASK WHERE { resource:Holes property:cast_member resource:Patricia_Arquette . resource:Holes property:cast_member resource:Jon_Voight }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q103902 Q553137
P19 P937
Q56061
USER
Which administrative territories were Louis Sachar born in and did Rudolph Nissen work ?
AND((Q553137,P19,c(Q56061)), (Q103902,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q553137
relation P19
action find
entity Q103902
relation P937
type Q56061
{'AND': [['Q553137', 'P19', {'concept': 'Q56061'}], ['Q103902', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { resource:Q553137 property:P19 ?d . resource:Q103902 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Rudolph Nissen Louis Sachar
action filter_type
action intersection
action find
entity Louis Sachar
relation place of birth
action find
entity Rudolph Nissen
relation work location
type administrative territorial entity
{'AND': [['Louis Sachar', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudolph Nissen', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Louis_Sachar property:place_of_birth ?d . resource:Rudolph_Nissen property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
AND((Q553137,P19,c(Q56061)), (Q103902,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q553137
relation P19
action find
entity Q103902
relation P937
type Q56061
Louis Sachar were born in work in [ANSWER]
{'AND': [['Q553137', 'P19', {'concept': 'Q56061'}], ['Q103902', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { resource:Q553137 property:P19 ?d . resource:Q103902 property:P937 ?d . ?d rdf:type ontology:Q56061 }
New York City
Louis Sachar were born in work in New York City
New York City
action filter_type
action intersection
action find
entity Louis Sachar
relation place of birth
action find
entity Rudolph Nissen
relation work location
type administrative territorial entity
{'AND': [['Louis Sachar', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudolph Nissen', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Louis_Sachar property:place_of_birth ?d . resource:Rudolph_Nissen property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q60
P159
Q11019 Q811430
USER
How many machines and constructions have the principal seat at New York City ?
(c(Q11019),P159,Q60) (c(Q811430),P159,Q60)
action count
action union
action filter_type
action find_reverse
entity Q60
relation P159
type Q11019
action filter_type
action find_reverse
entity Q60
relation P159
type Q811430
[{'concept': 'Q11019'}, 'P159', 'Q60'] [{'concept': 'Q811430'}, 'P159', 'Q60']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P159 resource:Q60 . ?l rdf:type ontology:Q811430 } UNION { ?l property:P159 resource:Q60 . ?l rdf:type ontology:Q11019 } }
New York City
action count
action union
action filter_type
action find_reverse
entity New York City
relation headquarters location
type machine
action filter_type
action find_reverse
entity New York City
relation headquarters location
type construction
[{'concept': 'machine'}, 'headquarters location', 'New York City'] [{'concept': 'construction'}, 'headquarters location', 'New York City']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:headquarters_location resource:New_York_City . ?l rdf:type ontology:construction } UNION { ?l property:headquarters_location resource:New_York_City . ?l rdf:type ontology:machine } }
[]
machine construction
SYSTEM
1 machines and 1 constructions
Q1431274 Q7057013
(c(Q11019),P159,Q60) (c(Q811430),P159,Q60)
action count
action union
action filter_type
action find_reverse
entity Q60
relation P159
type Q11019
action filter_type
action find_reverse
entity Q60
relation P159
type Q811430
[ANSWER]
[{'concept': 'Q11019'}, 'P159', 'Q60'] [{'concept': 'Q811430'}, 'P159', 'Q60']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:P159 resource:Q60 . ?l rdf:type ontology:Q811430 } UNION { ?l property:P159 resource:Q60 . ?l rdf:type ontology:Q11019 } }
Underwood Typewriter Company North Tonawanda Barrel Organ Factory
1 machines and 1 constructions
action count
action union
action filter_type
action find_reverse
entity New York City
relation headquarters location
type machine
action filter_type
action find_reverse
entity New York City
relation headquarters location
type construction
[{'concept': 'machine'}, 'headquarters location', 'New York City'] [{'concept': 'construction'}, 'headquarters location', 'New York City']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l property:headquarters_location resource:New_York_City . ?l rdf:type ontology:construction } UNION { ?l property:headquarters_location resource:New_York_City . ?l rdf:type ontology:machine } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q508322
P466
Q483110
USER
Which stadium is occupied by FC Gueugnon ?
(c(Q483110),P466,Q508322)
action filter_type
action find_reverse
entity Q508322
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q508322']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q508322 . ?b rdf:type ontology:Q483110 }
FC Gueugnon
action filter_type
action find_reverse
entity FC Gueugnon
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'FC Gueugnon']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:FC_Gueugnon . ?b rdf:type ontology:stadium }
[]
stadium
Q1569474
SYSTEM
Stade Jean Laville
Q1569474
(c(Q483110),P466,Q508322)
action filter_type
action find_reverse
entity Q508322
relation P466
type Q483110
[ANSWER] is occupied by FC Gueugnon
[{'concept': 'Q483110'}, 'P466', 'Q508322']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q508322 . ?b rdf:type ontology:Q483110 }
Stade Jean Laville
Stade Jean Laville is occupied by FC Gueugnon
Stade Jean Laville
action filter_type
action find_reverse
entity FC Gueugnon
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'FC Gueugnon']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:FC_Gueugnon . ?b rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1569474
P641
Q349
USER
Which sport was that stadium a part of ?
(Q1569474,P641,c(Q349))
action filter_type
action find
entity Q1569474
relation P641
type Q349
['Q1569474', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1569474 property:P641 ?g . ?g rdf:type ontology:Q349 }
Stade Jean Laville
action filter_type
action find
entity Stade Jean Laville
relation sport
type sport
['Stade Jean Laville', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Stade_Jean_Laville property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1569474,P641,c(Q349))
action filter_type
action find
entity Q1569474
relation P641
type Q349
Which sport was that stadium a part of
['Q1569474', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q1569474 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Which sport was that stadium a part of
association football
action filter_type
action find
entity Stade Jean Laville
relation sport
type sport
['Stade Jean Laville', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Stade_Jean_Laville property:sport ?g . ?g rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q211091
P127
Q1048835 Q483110
USER
How many political territories own around the same number of stadia as Renfrewshire ?
(c(Q483110),P127,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q211091
relation P127
type Q1048835
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P127 ?j . ?j rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q483110 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Q211091 property:P127 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?r = ?t ) }
Renfrewshire
action count
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Renfrewshire
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:owned_by ?j . ?j rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:stadium } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Renfrewshire property:owned_by ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?r = ?t ) }
[]
political territorial entity stadium
SYSTEM
58
Q192536 Q170322 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q133083 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q7379734 Q1823 Q8551 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q16 Q206926
(c(Q483110),P127,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q211091
relation P127
type Q1048835
[ANSWER]
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P127 ?j . ?j rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q483110 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Q211091 property:P127 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?r = ?t ) }
Zlín Region Qingdao Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Gauteng Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Aachen Aceh Südliche Weinstraße Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region Canada North Ayrshire
58
action count
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Renfrewshire
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:owned_by ?j . ?j rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:stadium } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Renfrewshire property:owned_by ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?r = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2321093
P127
Q1048835 Q483110
USER
And how about Chorrillos?
(c(Q483110),P127,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q2321093
relation P127
type Q1048835
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P127 ?y . ?y rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q483110 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q2321093 property:P127 ?k } } . FILTER ( ?h = ?g ) }
Chorrillos
action count
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Chorrillos
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:stadium } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Chorrillos property:owned_by ?k } } . FILTER ( ?h = ?g ) }
[]
political territorial entity stadium
SYSTEM
58
Q192536 Q170322 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q133083 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q7379734 Q1823 Q8551 Q13786 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q17557 Q231 Q40 Q9331 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q16 Q206926
(c(Q483110),P127,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action count
action filter_type
action find
entity Q2321093
relation P127
type Q1048835
[ANSWER]
[{'concept': 'Q483110'}, 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P127 ?y . ?y rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q483110 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q2321093 property:P127 ?k } } . FILTER ( ?h = ?g ) }
Zlín Region Qingdao Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Gauteng Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Aachen Aceh Südliche Weinstraße Cebu Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands California Republic Walloon Region Austria Flemish Community Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region Canada North Ayrshire
58
action count
action approx
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action count
action filter_type
action find
entity Chorrillos
relation owned by
type political territorial entity
[{'concept': 'stadium'}, 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:stadium } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Chorrillos property:owned_by ?k } } . FILTER ( ?h = ?g ) }
[]