Simple Question (Direct)
Simple Question
Q1386339
P641
Q31629
USER
Which type of sport did Johann Passler participate in ?
(Q1386339,P641,c(Q31629))
action filter_type
action find
entity Q1386339
relation P641
type Q31629
['Q1386339', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { resource:Q1386339 property:P641 ?t . ?t rdf:type ontology:Q31629 }
Johann Passler
action filter_type
action find
entity Johann Passler
relation sport
type type of sport
['Johann Passler', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { resource:Johann_Passler property:sport ?t . ?t rdf:type ontology:type_of_sport }
[]
type of sport
Q166788
SYSTEM
biathlon
Q166788
(Q1386339,P641,c(Q31629))
action filter_type
action find
entity Q1386339
relation P641
type Q31629
Johann Passler participated in [ANSWER]
['Q1386339', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { resource:Q1386339 property:P641 ?t . ?t rdf:type ontology:Q31629 }
biathlon
Johann Passler participated in biathlon
biathlon
action filter_type
action find
entity Johann Passler
relation sport
type type of sport
['Johann Passler', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { resource:Johann_Passler property:sport ?t . ?t rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1386339
P1344
Q16510064
USER
Which sporting events did Johann Passler take part in ?
(Q1386339,P1344,c(Q16510064))
action filter_type
action find
entity Q1386339
relation P1344
type Q16510064
['Q1386339', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?s WHERE { resource:Q1386339 property:P1344 ?s . ?s rdf:type ontology:Q16510064 }
Johann Passler
action filter_type
action find
entity Johann Passler
relation participant of
type sporting event
['Johann Passler', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?s WHERE { resource:Johann_Passler property:participant_of ?s . ?s rdf:type ontology:sporting_event }
[]
sporting event
Q1005119 Q1005041
SYSTEM
Biathlon at the 1988 Winter Olympics – Relay, Biathlon at the 1988 Winter Olympics – Individual
Q1005119 Q1005041
(Q1386339,P1344,c(Q16510064))
action filter_type
action find
entity Q1386339
relation P1344
type Q16510064
Johann Passler took part in [ANSWERS]
['Q1386339', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?s WHERE { resource:Q1386339 property:P1344 ?s . ?s rdf:type ontology:Q16510064 }
Biathlon at the 1988 Winter Olympics – Relay Biathlon at the 1988 Winter Olympics – Individual
Johann Passler took part in Biathlon at the 1988 Winter Olympics – Relay and Biathlon at the 1988 Winter Olympics – Individual
Biathlon at the 1988 Winter Olympics – Relay Biathlon at the 1988 Winter Olympics – Individual
action filter_type
action find
entity Johann Passler
relation participant of
type sporting event
['Johann Passler', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?s WHERE { resource:Johann_Passler property:participant_of ?s . ?s rdf:type ontology:sporting_event }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1386339
Q15900616
USER
And which event sequence?
(Q1386339,P1344,c(Q15900616))
action filter_type
action find
entity Q1386339
relation P1344
type Q15900616
['Q1386339', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?c WHERE { resource:Q1386339 property:P1344 ?c . ?c rdf:type ontology:Q15900616 }
Johann Passler
action filter_type
action find
entity Johann Passler
relation participant of
type event sequence
['Johann Passler', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?c WHERE { resource:Johann_Passler property:participant_of ?c . ?c rdf:type ontology:event_sequence }
[]
event sequence
Q9663 Q9657 Q9658
SYSTEM
1994 Winter Olympics, 1984 Winter Olympics, 1988 Winter Olympics
Q9657 Q9663 Q9658 Q9660
(Q1386339,P1344,c(Q15900616))
action filter_type
action find
entity Q1386339
relation P1344
type Q15900616
[ANSWERS]
['Q1386339', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?c WHERE { resource:Q1386339 property:P1344 ?c . ?c rdf:type ontology:Q15900616 }
1984 Winter Olympics 1994 Winter Olympics 1988 Winter Olympics 1992 Winter Olympics
1994 Winter Olympics 1984 Winter Olympics 1988 Winter Olympics
action filter_type
action find
entity Johann Passler
relation participant of
type event sequence
['Johann Passler', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?c WHERE { resource:Johann_Passler property:participant_of ?c . ?c rdf:type ontology:event_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1386339
P27
Q15617994
USER
How many administrative territories are the native countriesof Johann Passler ?
(Q1386339,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1386339
relation P27
type Q15617994
['Q1386339', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1386339 property:P27 ?p }
Johann Passler
action count
action filter_type
action find
entity Johann Passler
relation country of citizenship
type designation for an administrative territorial entity
['Johann Passler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Passler property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q1386339,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1386339
relation P27
type Q15617994
[ANSWER]
['Q1386339', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1386339 property:P27 ?p }
Italy
1
action count
action filter_type
action find
entity Johann Passler
relation country of citizenship
type designation for an administrative territorial entity
['Johann Passler', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Passler property:country_of_citizenship ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3623464
P27
Q15617994
USER
And also tell me about Stefan Krukowski?
(Q3623464,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3623464
relation P27
type Q15617994
['Q3623464', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q3623464 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Stefan Krukowski
action count
action filter_type
action find
entity Stefan Krukowski
relation country of citizenship
type designation for an administrative territorial entity
['Stefan Krukowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Stefan_Krukowski property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q36
(Q3623464,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3623464
relation P27
type Q15617994
[ANSWER]
['Q3623464', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q3623464 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Poland
1
action count
action filter_type
action find
entity Stefan Krukowski
relation country of citizenship
type designation for an administrative territorial entity
['Stefan Krukowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Stefan_Krukowski property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7437109
Q15617994
USER
And also tell me about Scott Reeder?
(Q7437109,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7437109
relation P27
type Q15617994
['Q7437109', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q7437109 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Scott Reeder
action count
action filter_type
action find
entity Scott Reeder
relation country of citizenship
type designation for an administrative territorial entity
['Scott Reeder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Scott_Reeder property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7437109,P27,c(Q15617994))
action count
action filter_type
action find
entity Q7437109
relation P27
type Q15617994
[ANSWER]
['Q7437109', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q7437109 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Scott Reeder
relation country of citizenship
type designation for an administrative territorial entity
['Scott Reeder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Scott_Reeder property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q23776822
P115
Q1076486 Q811979 Q16510064
USER
How many sporting events have greater number of sports venues or architectural structures as their home ground than Water polo at the 2016 Summer Olympics – Men's tournament ?
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action count
action filter_multi_types
action find
entity Q23776822
relation P115
type Q1076486
type Q811979
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?e WHERE { VALUES ( ?k ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?h rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q23776822 property:P115 ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } } } . FILTER ( ?y > ?r ) }
Water polo at the 2016 Summer Olympics – Men's tournament
action count
action greater
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action count
action filter_multi_types
action find
entity Water polo at the 2016 Summer Olympics – Men's tournament
relation home venue
type sports venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?e WHERE { VALUES ( ?k ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?h rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Water_polo_at_the_2016_Summer_Olympics_–_Men's_tournament property:home_venue ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } } } . FILTER ( ?y > ?r ) }
[]
sports venue architectural structure sporting event
SYSTEM
3
Q18479845 Q23058801 Q18479838
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action count
action greater
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
action count
action filter_multi_types
action find
entity Q23776822
relation P115
type Q1076486
type Q811979
[ANSWER]
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?e WHERE { VALUES ( ?k ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?h rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q23776822 property:P115 ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } } } . FILTER ( ?y > ?r ) }
Football at the 2016 Summer Olympics – Men's tournament‎ Basketball at the 2016 Summer Olympics – Women's tournament Football at the 2016 Summer Olympics – Women's tournament
3
action count
action greater
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
action count
action filter_multi_types
action find
entity Water polo at the 2016 Summer Olympics – Men's tournament
relation home venue
type sports venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) ?e WHERE { VALUES ( ?k ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?h rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Water_polo_at_the_2016_Summer_Olympics_–_Men's_tournament property:home_venue ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } } } . FILTER ( ?y > ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1005119 Q3498823
P1344
Q502895
USER
How many people participated in Biathlon at the 1988 Winter Olympics – Relay or Women's World Chess Championship 1939 ?
(c(Q502895),P1344,Q1005119) (c(Q502895),P1344,Q3498823)
action count
action union
action filter_type
action find_reverse
entity Q1005119
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q3498823
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q1005119'] [{'concept': 'Q502895'}, 'P1344', 'Q3498823']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P1344 ?j . VALUES ( ?j ) { ( resource:Q1005119 ) ( resource:Q3498823 ) } }
Biathlon at the 1988 Winter Olympics – Relay Women's World Chess Championship 1939
action count
action union
action filter_type
action find_reverse
entity Biathlon at the 1988 Winter Olympics – Relay
relation participant of
type common name
action filter_type
action find_reverse
entity Women's World Chess Championship 1939
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Biathlon at the 1988 Winter Olympics – Relay'] [{'concept': 'common name'}, 'participant of', "Women's World Chess Championship 1939"]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:participant_of ?j . VALUES ( ?j ) { ( resource:Biathlon_at_the_1988_Winter_Olympics_–_Relay ) ( resource:Women's_World_Chess_Championship_1939 ) } }
[]
common name
SYSTEM
13
Q550670 Q1539881 Q476108 Q1386339 Q1386644 Q157867 Q501347 Q695694 Q477476 Q682275 Q982668 Q1232806 Q1387438
(c(Q502895),P1344,Q1005119) (c(Q502895),P1344,Q3498823)
action count
action union
action filter_type
action find_reverse
entity Q1005119
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q3498823
relation P1344
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q1005119'] [{'concept': 'Q502895'}, 'P1344', 'Q3498823']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P1344 ?j . VALUES ( ?j ) { ( resource:Q1005119 ) ( resource:Q3498823 ) } }
Sergey Tchepikov Gottlieb Taschler Ernst Reiter Johann Passler Alexander Popov Vera Menchik Andreas Zingerle Peter Angerer Stefan Höck Fritz Fischer Valery Medvedtsev Dmitri Vladimirovich Vasilyev Werner Kiem
13
action count
action union
action filter_type
action find_reverse
entity Biathlon at the 1988 Winter Olympics – Relay
relation participant of
type common name
action filter_type
action find_reverse
entity Women's World Chess Championship 1939
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Biathlon at the 1988 Winter Olympics – Relay'] [{'concept': 'common name'}, 'participant of', "Women's World Chess Championship 1939"]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:participant_of ?j . VALUES ( ?j ) { ( resource:Biathlon_at_the_1988_Winter_Olympics_–_Relay ) ( resource:Women's_World_Chess_Championship_1939 ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1005119 Q219922
P641
Q349
USER
How many sports were Biathlon at the 1988 Winter Olympics – Relay or Zone defense a part of ?
(Q1005119,P641,c(Q349)) (Q219922,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q1005119
relation P641
type Q349
action filter_type
action find
entity Q219922
relation P641
type Q349
['Q1005119', 'P641', {'concept': 'Q349'}] ['Q219922', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q rdf:type ontology:Q349 . resource:Q219922 property:P641 ?q } UNION { resource:Q1005119 property:P641 ?q . ?q rdf:type ontology:Q349 } }
Biathlon at the 1988 Winter Olympics – Relay Zone defense
action count
action union
action filter_type
action find
entity Biathlon at the 1988 Winter Olympics – Relay
relation sport
type sport
action filter_type
action find
entity Zone defense
relation sport
type sport
['Biathlon at the 1988 Winter Olympics – Relay', 'sport', {'concept': 'sport'}] ['Zone defense', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q rdf:type ontology:sport . resource:Zone_defense property:sport ?q } UNION { resource:Biathlon_at_the_1988_Winter_Olympics_–_Relay property:sport ?q . ?q rdf:type ontology:sport } }
[]
sport
SYSTEM
2
Q5372 Q2736
(Q1005119,P641,c(Q349)) (Q219922,P641,c(Q349))
action count
action union
action filter_type
action find
entity Q1005119
relation P641
type Q349
action filter_type
action find
entity Q219922
relation P641
type Q349
[ANSWER]
['Q1005119', 'P641', {'concept': 'Q349'}] ['Q219922', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q rdf:type ontology:Q349 . resource:Q219922 property:P641 ?q } UNION { resource:Q1005119 property:P641 ?q . ?q rdf:type ontology:Q349 } }
basketball association football
2
action count
action union
action filter_type
action find
entity Biathlon at the 1988 Winter Olympics – Relay
relation sport
type sport
action filter_type
action find
entity Zone defense
relation sport
type sport
['Biathlon at the 1988 Winter Olympics – Relay', 'sport', {'concept': 'sport'}] ['Zone defense', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q rdf:type ontology:sport . resource:Zone_defense property:sport ?q } UNION { resource:Biathlon_at_the_1988_Winter_Olympics_–_Relay property:sport ?q . ?q rdf:type ontology:sport } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1005119
P21 P1344
Q502895
USER
Which people took part in Biathlon at the 1988 Winter Olympics – Relay and are a male ?
AND((c(Q502895),P1344,Q1005119), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1005119
relation P1344
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q1005119'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P1344 resource:Q1005119 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
male Biathlon at the 1988 Winter Olympics – Relay
action filter_type
action intersection
action find_reverse
entity Biathlon at the 1988 Winter Olympics – Relay
relation participant of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', 'Biathlon at the 1988 Winter Olympics – Relay'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:participant_of resource:Biathlon_at_the_1988_Winter_Olympics_–_Relay . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
common name
Q476108 Q1539881 Q1232806 Q1386339 Q695694 Q682275 Q982668 Q1386644 Q550670 Q501347
SYSTEM
Some of them are Ernst Reiter, Gottlieb Taschler, Dmitri Vladimirovich Vasilyev, Johann Passler, Peter Angerer, Fritz Fischer, Valery Medvedtsev, Alexander Popov, Sergey Tchepikov, Andreas Zingerle
Q550670 Q1539881 Q1386339 Q476108 Q1386644 Q695694 Q501347 Q1232806 Q477476 Q682275 Q982668 Q1387438
AND((c(Q502895),P1344,Q1005119), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1005119
relation P1344
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] took part in Biathlon at the 1988 Winter Olympics – Relay and are a male
{'AND': [[{'concept': 'Q502895'}, 'P1344', 'Q1005119'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a property:P1344 resource:Q1005119 . ?a property:P21 resource:Q6581097 . ?a rdf:type ontology:Q502895 }
Sergey Tchepikov Gottlieb Taschler Johann Passler Ernst Reiter Alexander Popov Peter Angerer Andreas Zingerle Dmitri Vladimirovich Vasilyev Stefan Höck Fritz Fischer Valery Medvedtsev Werner Kiem
Ernst Reiter, Gottlieb Taschler, Dmitri Vladimirovich Vasilyev, Johann Passler, Peter Angerer, Fritz Fischer, Valery Medvedtsev, Alexander Popov, Sergey Tchepikov and Andreas Zingerle took part in Biathlon at the 1988 Winter Olympics – Relay and are a male
Ernst Reiter Gottlieb Taschler Dmitri Vladimirovich Vasilyev Johann Passler Peter Angerer Fritz Fischer Valery Medvedtsev Alexander Popov Sergey Tchepikov Andreas Zingerle
action filter_type
action intersection
action find_reverse
entity Biathlon at the 1988 Winter Olympics – Relay
relation participant of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'participant of', 'Biathlon at the 1988 Winter Olympics – Relay'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a property:participant_of resource:Biathlon_at_the_1988_Winter_Olympics_–_Relay . ?a property:gender resource:male . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q550670
P19
Q56061
USER
Where was Sergey Tchepikov born ?
(Q550670,P19,c(Q56061))
action filter_type
action find
entity Q550670
relation P19
type Q56061
['Q550670', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q550670 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Sergey Tchepikov
action filter_type
action find
entity Sergey Tchepikov
relation place of birth
type administrative territorial entity
['Sergey Tchepikov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sergey_Tchepikov property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4454
SYSTEM
Khabarovsk
Q4454
(Q550670,P19,c(Q56061))
action filter_type
action find
entity Q550670
relation P19
type Q56061
Sergey Tchepikov was born in [ANSWER]
['Q550670', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q550670 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Khabarovsk
Sergey Tchepikov was born in Khabarovsk
Khabarovsk
action filter_type
action find
entity Sergey Tchepikov
relation place of birth
type administrative territorial entity
['Sergey Tchepikov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sergey_Tchepikov property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P163
Q14660 Q17335294 Q56061
USER
How many administrative territories can be described by approximately the same number of flags and coats of arms as that administrative territory ?
(c(Q56061),P163,c(Q14660)|c(Q17335294))
action count
action approx
action union
action find_tuple_counts
relation P163
type Q56061
type Q14660
action find_tuple_counts
relation P163
type Q56061
type Q17335294
action count
action filter_multi_types
action find
entity Q4454
relation P163
type Q14660
type Q17335294
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?p ) WHERE { { ?q property:P163 ?y . ?y rdf:type ontology:Q14660 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P163 ?y . ?q rdf:type ontology:Q56061 . ?y rdf:type ontology:Q17335294 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { VALUES ( ?u ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } . ?n rdf:type ?u } . resource:Q4454 property:P163 ?n } } . FILTER ( ?p = ?r ) }
action count
action approx
action union
action find_tuple_counts
relation flag
type administrative territorial entity
type flag
action find_tuple_counts
relation flag
type administrative territorial entity
type flag or coat of arms
action count
action filter_multi_types
action find
entity Khabarovsk
relation flag
type flag
type flag or coat of arms
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?p ) WHERE { { ?q property:flag ?y . ?y rdf:type ontology:flag . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:flag ?y . ?q rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { VALUES ( ?u ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } . ?n rdf:type ?u } . resource:Khabarovsk property:flag ?n } } . FILTER ( ?p = ?r ) }
[]
flag flag or coat of arms administrative territorial entity
SYSTEM
639
Q175742 Q802 Q198842 Q104262 Q15696 Q132977 Q136758 Q6934 Q15275 Q177908 Q15270 Q15273 Q193288 Q136834 Q196611 Q172657 Q157576 Q2494383 Q7947 Q898 Q198364 Q894 Q155774 Q196369 Q176325 Q175524 Q183193 Q175480 Q102682 Q154704 Q16969 Q15311 Q157688 Q393 Q102334 Q103493 Q172685 Q196729 Q133029 Q153453 Q133026 Q2288 Q153380 Q958685 Q15759 Q15758 Q1717770 Q105264 Q15757 Q3159 Q955126 Q132739 Q146419 Q159501 Q132732 Q165844 Q15307 Q142996 Q196469 Q13379 Q548441 Q135394 Q196466 Q158751 Q6049 Q177888 Q157757 Q184537 Q154648 Q103620 Q103993 Q194438 Q23116 Q134770 Q145735 Q1572234 Q2659505 Q911 Q105215 Q162761 Q193580 Q46850 Q141342 Q105465 Q184322 Q175258 Q196833 Q750424 Q198990 Q132855 Q196599 Q150346 Q105342 Q136471 Q104609 Q6610 Q241475 Q178238 Q5196 Q193636 Q7978 Q4234145 Q104059 Q136715 Q134375 Q174155 Q172616 Q175393 Q145426 Q184147 Q184391 Q2280 Q157723 Q158405 Q156320 Q135572 Q155955 Q156284 Q5222 Q955328 Q155615 Q155349 Q155597 Q198369 Q144844 Q104232 Q2137 Q954132 Q172448 Q196643 Q520162 Q159097 Q145993 Q5426 Q104713 Q133102 Q3927 Q6014 Q175452 Q135189 Q157395 Q133310 Q15323 Q133089 Q103377 Q103176 Q761 Q189295 Q178188 Q133819 Q7705 Q3323 Q954812 Q153663 Q15762 Q15760 Q105253 Q15764 Q104654 Q105315 Q197386 Q197385 Q158990 Q153684 Q102152 Q8810 Q141697 Q196394 Q144170 Q196497 Q134686 Q136435 Q158005 Q2174 Q196489 Q134512 Q182871 Q184562 Q156747 Q153565 Q1895 Q16985 Q105179 Q16982 Q2684 Q196694 Q19520 Q104801 Q179476 Q136223 Q153698 Q105413 Q95041 Q42308 Q145012 Q155974 Q198206 Q14328 Q198759 Q4454 Q9911 Q145583 Q5647 Q143079 Q155309 Q179525 Q103439 Q145457 Q154661 Q157447 Q155095 Q193604 Q2861 Q46639 Q155829 Q144264 Q490 Q174124 Q887 Q155947 Q175124 Q155541 Q154738 Q133049 Q141358 Q958847 Q2621918 Q155785 Q177805 Q194084 Q59704 Q102445 Q155624 Q4315576 Q278743 Q135665 Q5265 Q193473 Q159261 Q105002 Q133033 Q133037 Q155365 Q135466 Q8851 Q143052 Q172696 Q175541 Q155437 Q164001 Q198155 Q26430 Q162677 Q157622 Q135386 Q193930 Q59246 Q135410 Q105455 Q2070417 Q196953 Q193342 Q136490 Q134663 Q184095 Q156209 Q196658 Q197609 Q7859 Q738777 Q145638 Q908 Q4264 Q198400 Q900 Q179486 Q7968 Q146468 Q136310 Q134181 Q135686 Q172608 Q144345 Q196435 Q95449 Q104030 Q157523 Q193722 Q172601 Q193333 Q155902 Q104530 Q9867 Q5337 Q5332 Q178090 Q175161 Q176761 Q2371612 Q155276 Q196498 Q177920 Q11953 Q93910 Q1025883 Q162698 Q200797 Q196678 Q15250 Q33345 Q622030 Q2423 Q4297737 Q1442470 Q173008 Q154801 Q155470 Q140147 Q157666 Q176264 Q159230 Q197410 Q2214 Q196415 Q133093 Q133825 Q183002 Q105520 Q155968 Q16971 Q196464 Q2470394 Q156658 Q152906 Q159139 Q15775 Q15774 Q8802 Q173858 Q104660 Q132714 Q155405 Q175433 Q193269 Q132718 Q158731 Q105392 Q237655 Q1025665 Q134446 Q135427 Q134528 Q157779 Q193371 Q134306 Q196686 Q134302 Q134717 Q104564 Q193277 Q193505 Q177737 Q196922 Q196925 Q954914 Q191465 Q146043 Q155569 Q681893 Q136692 Q15092 Q15095 Q959 Q134786 Q19157 Q175727 Q103850 Q4538749 Q172637 Q196946 Q5384 Q102307 Q15301 Q132981 Q2770 Q5470 Q195662 Q155936 Q175802 Q197351 Q60425 Q176738 Q133052 Q154835 Q176636 Q155632 Q1076109 Q175651 Q196702 Q193293 Q956207 Q141290 Q153434 Q2801 Q4177764 Q956471 Q153549 Q722836 Q135473 Q196528 Q37792 Q196520 Q146435 Q103212 Q1829 Q105298 Q587173 Q193586 Q156602 Q8385 Q177770 Q105444 Q5627 Q196964 Q102364 Q5584 Q2097419 Q159041 Q10400 Q23185 Q172366 Q141538 Q144017 Q136551 Q919 Q6576 Q196374 Q914 Q104557 Q207294 Q155990 Q182935 Q7951 Q83339 Q6816 Q135696 Q105433 Q158424 Q196384 Q103676 Q170513 Q196387 Q196386 Q6494 Q104778 Q2630 Q181376 Q1973581 Q194670 Q1415346 Q163864 Q956159 Q954114 Q5343 Q156056 Q879406 Q136023 Q1183 Q196747 Q105133 Q175752 Q15248 Q103789 Q2592 Q193396 Q8717 Q15245 Q2626420 Q133291 Q173015 Q198820 Q143274 Q155745 Q198824 Q198358 Q102737 Q155489 Q178175 Q14657 Q103255 Q16973 Q193631 Q194067 Q196792 Q16978 Q5815 Q10006 Q1085 Q133838 Q157260 Q177867 Q159124 Q105023 Q59828 Q143297 Q135482 Q139840 Q184346 Q198173 Q132724 Q175407 Q143376 Q141578 Q196479 Q103694 Q261024 Q134433 Q3646 Q204150 Q104703 Q134531 Q196443 Q174138 Q193363 Q134735 Q134318 Q134760 Q157841 Q196525 Q193898 Q954519 Q143247 Q105477 Q133529 Q105554 Q157764 Q955153 Q196603 Q158114 Q955013 Q198776 Q104991 Q134169 Q196377 Q193443 Q588 Q173064 Q136848 Q103747 Q136669 Q196622 Q135869 Q172625 Q7938 Q144209 Q628623 Q197582 Q196786 Q139794 Q47166 Q197345 Q5449 Q196358 Q196359 Q196357 Q155148 Q132698 Q102346 Q15336 Q153715 Q157850 Q15339 Q177829 Q154630 Q141606 Q103565 Q4156699 Q196654 Q15235 Q15238 Q134315 Q159081 Q196711 Q3544 Q155853 Q133045 Q144097 Q143334 Q182906 Q173943 Q140087 Q168782 Q135446 Q2235 Q6066 Q155515 Q487786 Q196531 Q102762 Q196537 Q286964 Q2143 Q42234 Q135161 Q157482 Q98995 Q102659 Q104649 Q105306 Q193557 Q976 Q135616 Q431779 Q132947 Q143839 Q3490 Q196803 Q175360 Q197620 Q197625 Q215080 Q105235 Q104735 Q2746 Q133175 Q103703 Q136629 Q184193 Q105425 Q184617 Q104545 Q193909 Q193906 Q198182 Q6329 Q193413 Q875 Q198197 Q198190
(c(Q56061),P163,c(Q14660)|c(Q17335294))
action count
action approx
action union
action find_tuple_counts
relation P163
type Q56061
type Q14660
action find_tuple_counts
relation P163
type Q56061
type Q17335294
action count
action filter_multi_types
action find
entity Q4454
relation P163
type Q14660
type Q17335294
[ANSWER]
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?p ) WHERE { { ?q property:P163 ?y . ?y rdf:type ontology:Q14660 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P163 ?y . ?q rdf:type ontology:Q56061 . ?y rdf:type ontology:Q17335294 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { VALUES ( ?u ) { ( ontology:Q14660 ) ( ontology:Q17335294 ) } . ?n rdf:type ?u } . resource:Q4454 property:P163 ?n } } . FILTER ( ?p = ?r ) }
Odintsovo Nowy Sącz Yuryuzan Asha Zamora Vereshchagino Zarechny Blagoveshchensk Lodeynoye Pole Pavlovsky Posad Kingisepp Kirovsk Rezh Zvenigorod Tarko-Sale Nizhnekamsk Livny Aktsyabarski Pushkin Omsk Shchyokino (town), Tula Oblast Samara Krasnouralsk Sovetsk Oktyabrsky Noyabrsk Pravdinsk Noginsk Abdulino Kola Gulkevichi Slantsy Lomonosov Szczecin Dmitrov Amursk Nizhniye Sergi Tynda Verkhny Tagil Kirillov Kolomna Tver Kineshma Masty Temryuk Anapa Sviyazhsk Boguchar Suzdal Kursk Cherykaw Bronnitsy Kimovsk Muravlenko Bratsk Nevyansk Primorsk Inta Sretensk Kurgan Portugalete Dolgoprudny Sredneuralsk Mezhdurechensk Kyzyl Pavlovsk Lukhovitsy Raduzhny Kodinsk Anzhero-Sudzhensk Artyom Sibay Ladushkin Danilov Kizel Halshany Sharkaushchyna Ufa Bobrov Myshkin Sayanogorsk Zelenogorsk Zubtsov Mirny Pushkino Novosil Uray Navapolatsk Yarovoye Buy Taldom Yalutorovsk Bolshoy Kamen Zavodoukovsk Barabinsk Yakutsk Lida Pestovo Grozny Svobodny Anadyr Korotoyak Asbest Zarechny Galich Novokubansk Nefteyugansk Novouralsk Kartaly Prokopyevsk Pyt-Yakh Minsk Losino-Petrovsky Megion Kyshtym Yegoryevsk Kuybyshev Kushva Magas Krasnobrodsky Krasnoznamensk Koryazhma Krasnozavodsk Shchyolkovo Karabash Achinsk Totma Lepiel Nerekhta Teykovo Zhabinka Mikhaylovsk Shumikha Izhevsk Belinsky Vichuga Astrakhan Barnaul Novocherkassk Dzerzhinsky Langepas Volodarsk Otradnoye Vilyuysk Alexandrov Aksay Białystok Serov Pereslavl-Zalessky Karabanovo Kommunar Belgorod Horki Kiselyovsk Abinsk Novorossiysk Bogotol Apsheronsk Bezhetsk Bolokhovo Fryazino Frolovo Minusinsk Klimovsk Volokolamsk Granada Izobilny Sorsk Kamyshin Strunino Gubkinsky Zhukovsky Maloyaroslavets Naryan-Mar Sterlitamak Gorodishche Polevskoy Raduzhny Poltava Kirovo-Chepetsk Petrozavodsk Labinsk Blagoveshchensk Kurganinsk Vladimir Troitsk Podolsk Belousovo Plast Zherdevka Klin Georgiyevsk Naberezhnye Chelny Kharkiv Karasuk Kungur Shakhty Santa Cruz de Tenerife Yubileyny Khabarovsk Den Helder Kachkanar Sovetsk Irbit Korolyov Pokachi Aleksin Kasimov Kozelsk Lebedyan Konakovo Svetlograd Rostock Mozdok Krasny Sulin Kandalaksha Milan Novodvinsk Yekaterinburg Kuznetsk Novokuybyshevsk Krasnoarmeysk Kolpino Verkhnyaya Tura Lyubertsy Skidzyel’ Druya Krasnoufimsk Okhansk Sestroretsk Zelenogorsk Kovrov Krasnokamensk Nebug Navahrudak Yemanzhelinsk Nalchik Salsk Moskovsky Berezniki Verkhny Ufaley Verkhnyaya Pyshma Kosteryovo Dubna Málaga Ipatovo Nizhny Lomov Nytva Kotelnich Naro-Fominsk Shadrinsk Tilburg Murom Liski Dobryanka Seltso Nyazepetrovsk Domodedovo Miass Novy Port Ust-Katav Rostov Zavolzhsk Gryazi Primorsko-Akhtarsk Kurtamysh Tikhoretsk Kholmsk Yuzhno-Sakhalinsk Iwye Kashira Rostov-on-Don Mercosur Shchuchye Kazan Plyos Magadan Kinel Zhigulyovsk Vyshny Volochyok Yeniseysk Neftekumsk Kansk Spas-Demensk Magnitogorsk Artyomovsky Lesnoy Sergiyev Posad Neftekamsk Rossosh Kubinka Bakal Sint-Oedenrode Orenburg Saratov Partizansk Novomoskovsk Ostashkov Poretskoye Korkino Stupino Pallasovka Guadalajara Novokuznetsk Dzyatlava Mtsensk Polotsk Torzhok Vysotsk Yevpatoria Palos de la Frontera Yaroslavl Mikhaylovsky, Saratov Oblast Santoña Nizhnyaya Salda Komsomolsk-on-Amur Kotovo Brest Lobnya Ozyory Morshansk Kharabali Pskov Sosnogorsk Vilyuchinsk Voskresensk Surgut Semiluki Kumertau Korenovsk Srednekolymsk Voranava Nakhodka Lakinsk Mozhaysk Gelendzhik Belorechensk Getafe Novaya Lyalya Belaya Kholunitsa Borovichi Kotelniki Novocheboksarsk Rasskazovo Borovsk Mezhgorye Vytegra Baranovichi Eibergen Golitsyno Donskoy Gorokhovets Lytkarino Rtishchevo Gavrilov Posad Tryokhgorny Vyatskiye Polyany Guryevsk Balashov Revda Sarapul Ostrogozhsk Usolye Usolye-Sibirskoye Krychaw Rzhev Nerchinsk Krasnogorsk Errenteria Zaraysk Castelló de la Plana Albacete Vladivostok Dedovsk Pervouralsk Ob Arsenyev Yaropolets Nizhnevartovsk Ust-Ilimsk Kirov Vyazma Podporozhye Vereya Tula Cheboksary Slavyansk-na-Kubani Kudymkar Ozyorsk Uyar Meppel Osa Verkhoturye Mogilyov Orekhovo-Zuyevo Krasnokamsk Svislach Obninsk Tuapse Reutov Ivanava Znamensk Kirzhach Bryansk Zhavoronki Drahichyn Kirovgrad Ashmyany Dubovka Sukhoy Log Sint-Truiden Surovikino Kimry Alapayevsk Kaliningrad Bologoye Ivatsevichy Sayansk Labytnangi Ostrava Otradny Kamensk-Uralsky Ulyanovsk Ust-Kut Yelnya Zelenogradsk Alakurtti Minyar Almería Mytishchi Nelidovo Ivanteyevka Kamensk-Shakhtinsky Zadonsk Krasnoyarsk Irkutsk Sovetskaya Gavan Volgograd Balashikha Babruysk Kupino Polyarny Petropavlovsk-Kamchatsky Volchansk Ulan-Ude Yermolino Donetsk Mednogorsk Solikamsk Aprelevka Taganrog Sol-Iletsk Solnechnogorsk Salekhard Beloretsk Ivanovo Grodno Narovtšat Skopin Lyachchyzy Navoloki Pruzhany Hlybokaye Saransk Kurlovo (town), Vladimir Oblast Biaroza Zheleznodorozhny Puerto Rico Tyukalinsk Birsk Ozherelye Vsevolozhsk Arzamas Kostroma Ruza Seville Volkhov Nakhodka, Yamalo-Nenets Autonomous Okrug Volgorechensk Nizhnyaya Tura Yuzhnouralsk Iskitim Krasnoslobodsk Yurga Shuya Agidel Kotovsk Peresvet Vyborg Alatyr Kropotkin Svirsk Serpukhov Udachny Krymsk Tyumen Hengelo Prague Votkinsk Horlivka Pavlovsk Michurinsk Beryozovsky Shebekino Istra Dudinka Zernograd Pushchino Sharypovo Borodino Novokhopyorsk Ishimbay Ivdel Staraya Russa Aramil Astravyets Glazov Krasnodar Pinsk Belebey Goryachy Klyuch Spassk Novozybkov Roshal Gus-Khrustalny Gagarin Dalnerechensk Lyudinovo Susuman Severomorsk Syanno Isilkul Mirny Vorkuta Yakhroma Lyskovo Klichaw Talitsa Manturovo Kastsyukovichy Yugorsk Berdsk Vysokovsk Sovetsky Salavat Katowice Nikolsk Zverevo Ardatov (town), Republic of Mordovia Zapolyarny Tatarsk Zheleznogorsk Neya Kirishi Kamyshlov Braslaw Khimki Uglich Zelenokumsk Orsk Uchaly Yoshkar-Ola Snezhnogorsk Sobinka Snezhinsk Kopeysk Borisoglebsk Yelets Tikhvin Klintsy Lyantor Shlisselburg Ochyor Kogalym Igarka Angarsk Dedinovo Timashyovsk Pikalyovo Volosovo Gavrilov-Yam Mikhaylovka Turinsk Tambov Kremyonki, Kaluga Oblast Verkhnyaya Salda Kameshkovo Ishim Polysayevo Novovoronezh Zlatoust Tobolsk Dorogobuzh Veliky Novgorod Kemerovo Kokhma Orihuela Sysert Azov Tavda Baran Syktyvkar Buzuluk Desnogorsk Leninsk-Kuznetsky Volzhsky Belokurikha Bataysk Bolotnoye Sasovo Tomsk Yeysk Shchuchyn Valday Kamenka Lipetsk Uzhur Novotroitsk Khotkovo Tsivilsk Machala Bogoroditsk Belogorsk Ryazan Volgodonsk Argun Zaozyorsk Protvino Degtyarsk Raychikhinsk Balabanovo Seversk Severouralsk Sharya Khanty-Mansiysk Rybinsk Abakan Shakhtyorsk Shatura
639
action count
action approx
action union
action find_tuple_counts
relation flag
type administrative territorial entity
type flag
action find_tuple_counts
relation flag
type administrative territorial entity
type flag or coat of arms
action count
action filter_multi_types
action find
entity Khabarovsk
relation flag
type flag
type flag or coat of arms
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?p ) WHERE { { ?q property:flag ?y . ?y rdf:type ontology:flag . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:flag ?y . ?q rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { VALUES ( ?u ) { ( ontology:flag ) ( ontology:flag_or_coat_of_arms ) } . ?n rdf:type ?u } . resource:Khabarovsk property:flag ?n } } . FILTER ( ?p = ?r ) }
[]