Simple Question (Direct)
Simple Question
Q4953319
P937
Q56061
USER
Which administrative territory is the work location of Kerstin Heinemann ?
(Q4953319,P937,c(Q56061))
action filter_type
action find
entity Q4953319
relation P937
type Q56061
['Q4953319', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4953319 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Kerstin Heinemann
action filter_type
action find
entity Kerstin Heinemann
relation work location
type administrative territorial entity
['Kerstin Heinemann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Kerstin_Heinemann property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q4953319,P937,c(Q56061))
action filter_type
action find
entity Q4953319
relation P937
type Q56061
[ANSWER] is the work location of Kerstin Heinemann
['Q4953319', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4953319 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Stockholm
Stockholm is the work location of Kerstin Heinemann
Stockholm
action filter_type
action find
entity Kerstin Heinemann
relation work location
type administrative territorial entity
['Kerstin Heinemann', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Kerstin_Heinemann property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4953319
P39
Q12737077
USER
What was the position held by Kerstin Heinemann ?
(Q4953319,P39,c(Q12737077))
action filter_type
action find
entity Q4953319
relation P39
type Q12737077
['Q4953319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4953319 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Kerstin Heinemann
action filter_type
action find
entity Kerstin Heinemann
relation position held
type occupation
['Kerstin Heinemann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Kerstin_Heinemann property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q4953319,P39,c(Q12737077))
action filter_type
action find
entity Q4953319
relation P39
type Q12737077
The position held by Kerstin Heinemann was a [ANSWER]
['Q4953319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4953319 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Member of the Riksdag
The position held by Kerstin Heinemann was a Member of the Riksdag
Member of the Riksdag
action filter_type
action find
entity Kerstin Heinemann
relation position held
type occupation
['Kerstin Heinemann', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Kerstin_Heinemann property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10655178
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that occupation ?
(Q10655178,P1001,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P1001
type Q15617994
['Q10655178', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q10655178 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
Member of the Riksdag
action filter_type
action find
entity Member of the Riksdag
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Riksdag', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Member_of_the_Riksdag property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q10655178,P1001,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P1001
type Q15617994
[ANSWER] comes under the supervision of that occupation
['Q10655178', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q10655178 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
Sweden
Sweden comes under the supervision of that occupation
Sweden
action filter_type
action find
entity Member of the Riksdag
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Riksdag', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Member_of_the_Riksdag property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10655178
P17
Q15617994
USER
Which administrative territory is Member of the Riksdag located in ?
(Q10655178,P17,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P17
type Q15617994
['Q10655178', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q10655178 property:P17 ?y }
Member of the Riksdag
action filter_type
action find
entity Member of the Riksdag
relation country
type designation for an administrative territorial entity
['Member of the Riksdag', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Member_of_the_Riksdag property:country ?y }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q10655178,P17,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P17
type Q15617994
Member of the Riksdag is located in [ANSWER]
['Q10655178', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q10655178 property:P17 ?y }
Sweden
Member of the Riksdag is located in Sweden
Sweden
action filter_type
action find
entity Member of the Riksdag
relation country
type designation for an administrative territorial entity
['Member of the Riksdag', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Member_of_the_Riksdag property:country ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P127
Q43229
USER
Which organizations are under posessision of that administrative territory ?
(c(Q43229),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q34']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q34 . ?b rdf:type ontology:Q43229 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Sweden']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:Sweden . ?b rdf:type ontology:organization }
[]
organization
Q10397475 Q3181430
SYSTEM
A/O Dom Shvetsii, PostNord
Q10397475 Q3181430
(c(Q43229),P127,Q34)
action filter_type
action find_reverse
entity Q34
relation P127
type Q43229
[ANSWERS] are under posessision of that administrative territory
[{'concept': 'Q43229'}, 'P127', 'Q34']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q34 . ?b rdf:type ontology:Q43229 }
A/O Dom Shvetsii PostNord
A/O Dom Shvetsii and PostNord are under posessision of that administrative territory
A/O Dom Shvetsii PostNord
action filter_type
action find_reverse
entity Sweden
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Sweden']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:Sweden . ?b rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P740
Q43229
USER
What were formed at that administrative territory ?
(c(Q43229),P740,Q10397475) (c(Q43229),P740,Q3181430)
action filter_type
action find_reverse
entity Q34
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q10397475'] [{'concept': 'Q43229'}, 'P740', 'Q3181430']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q34 . ?d rdf:type ontology:Q43229 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'A/O Dom Shvetsii'] [{'concept': 'organization'}, 'location of formation', 'PostNord']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Sweden . ?d rdf:type ontology:organization }
[]
organization
Q4356297 Q4953489 Q3356778
SYSTEM
Peab, Jenny Hellström, J.Lindeberg
Q6724578 Q2479728 Q4356297 Q3356778 Q4176650 Q2723182 Q1341066 Q4953489
(c(Q43229),P740,Q10397475) (c(Q43229),P740,Q3181430)
action filter_type
action find_reverse
entity Q34
relation P740
type Q43229
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q10397475'] [{'concept': 'Q43229'}, 'P740', 'Q3181430']
SELECT DISTINCT ?d WHERE { ?d property:P740 resource:Q34 . ?d rdf:type ontology:Q43229 }
Mackmyra Whisky Filippa K Peab J.Lindeberg Tiger of Sweden Betsson ENEA AB Jenny Hellström
Peab, Jenny Hellström and J.Lindeberg were formed at that administrative territory
Peab Jenny Hellström J.Lindeberg
action filter_type
action find_reverse
entity Sweden
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'A/O Dom Shvetsii'] [{'concept': 'organization'}, 'location of formation', 'PostNord']
SELECT DISTINCT ?d WHERE { ?d property:location_of_formation resource:Sweden . ?d rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q179049 Q271669
USER
Which administrative territories are the etymology of approximately 1 nature reserves and landforms ?
(c(Q179049)|c(Q271669),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
value 1
[[{'concept': 'Q179049'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P138 ?b . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q271669 } UNION { ?t property:P138 ?b . ?t rdf:type ontology:Q179049 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?b } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
value 1
[[{'concept': 'nature reserve'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:named_after ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:landform } UNION { ?t property:named_after ?b . ?t rdf:type ontology:nature_reserve . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?k = 1 ) }
[]
designation for an administrative territorial entity nature reserve landform
Q142 Q6681 Q570120
SYSTEM
France, Crotone, Hollenstedt
Q6681 Q570120 Q549749 Q1427674 Q632209 Q1987554 Q555328 Q305352 Q1527970 Q493437 Q31872 Q142 Q264620 Q490167 Q2009898 Q759201 Q6998 Q1837 Q554187
(c(Q179049)|c(Q271669),P138,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q271669
value 1
[ANSWERS] are the etymology of approximately 1 nature reserves and landforms
[[{'concept': 'Q179049'}, {'concept': 'Q271669'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P138 ?b . ?b rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q271669 } UNION { ?t property:P138 ?b . ?t rdf:type ontology:Q179049 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?b } . FILTER ( ?k = 1 ) }
Crotone Hollenstedt Heinsen Wernborn Basedow Nieder-Roden Urmitz Aban Ober-Roden Arneburg Moosburg an der Isar France Garching bei München Pielenhofen Oberhöchstadt Auerbach Freising Wohldorf-Ohlstedt Lunden
France, Crotone and Hollenstedt are the etymology of approximately 1 nature reserves and landforms
France Crotone Hollenstedt
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type landform
value 1
[[{'concept': 'nature reserve'}, {'concept': 'landform'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:named_after ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:landform } UNION { ?t property:named_after ?b . ?t rdf:type ontology:nature_reserve . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } . FILTER ( ?k = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with lesser number of administrative territories than New Zealand ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:P530 ?j . ?x rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q664 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?o < ?h ) }
New Zealand
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:diplomatic_relation ?j . ?x rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:New_Zealand property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?o < ?h ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:P530 ?j . ?x rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q664 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?o < ?h ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?x property:diplomatic_relation ?j . ?x rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:New_Zealand property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?o < ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q7075656
P463
Q874405
USER
How many social groups had Sweden or Ocalea as their member ?
(Q34,P463,c(Q874405)) (Q7075656,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q874405
action filter_type
action find
entity Q7075656
relation P463
type Q874405
['Q34', 'P463', {'concept': 'Q874405'}] ['Q7075656', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ontology:Q874405 . resource:Q34 property:P463 ?u } UNION { ?u rdf:type ontology:Q874405 . resource:Q7075656 property:P463 ?u } }
Sweden Ocalea
action count
action union
action filter_type
action find
entity Sweden
relation member of
type social group
action filter_type
action find
entity Ocalea
relation member of
type social group
['Sweden', 'member of', {'concept': 'social group'}] ['Ocalea', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ontology:social_group . resource:Sweden property:member_of ?u } UNION { ?u rdf:type ontology:social_group . resource:Ocalea property:member_of ?u } }
[]
social group
SYSTEM
3
Q782942 Q8908 Q833665
(Q34,P463,c(Q874405)) (Q7075656,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q874405
action filter_type
action find
entity Q7075656
relation P463
type Q874405
[ANSWER]
['Q34', 'P463', {'concept': 'Q874405'}] ['Q7075656', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ontology:Q874405 . resource:Q34 property:P463 ?u } UNION { ?u rdf:type ontology:Q874405 . resource:Q7075656 property:P463 ?u } }
Australia Group Council of Europe Boeotian confederation
3
action count
action union
action filter_type
action find
entity Sweden
relation member of
type social group
action filter_type
action find
entity Ocalea
relation member of
type social group
['Sweden', 'member of', {'concept': 'social group'}] ['Ocalea', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { ?u rdf:type ontology:social_group . resource:Sweden property:member_of ?u } UNION { ?u rdf:type ontology:social_group . resource:Ocalea property:member_of ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with atmost 96 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 96
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?r <= 96 ) . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?r ) WHERE { ?f property:P530 ?l . ?f rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?f } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 96
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?r <= 96 ) . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?r ) WHERE { ?f property:diplomatic_relation ?l . ?f rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 96
[ANSWERS] have tactful political relations with atmost 96 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?r <= 96 ) . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?r ) WHERE { ?f property:P530 ?l . ?f rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 } GROUP BY ?f } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have tactful political relations with atmost 96 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 96
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?r <= 96 ) . { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?r ) WHERE { ?f property:diplomatic_relation ?l . ?f rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P272
Q43229 Q838948 Q15416
USER
Which organizations were the producer of exactly 6 works of art and television programs ?
(c(Q838948)|c(Q15416),P272,c(Q43229))
action equal
action union
action find_reverse_tuple_counts
relation P272
type Q43229
type Q838948
action find_reverse_tuple_counts
relation P272
type Q43229
type Q15416
value 6
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?u rdf:type ?f } GROUP BY ?j } . FILTER ( ?z = 6 ) }
action equal
action union
action find_reverse_tuple_counts
relation production company
type organization
type work of art
action find_reverse_tuple_counts
relation production company
type organization
type television program
value 6
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?u rdf:type ?f } GROUP BY ?j } . FILTER ( ?z = 6 ) }
[]
organization work of art television program
Q1344736 Q3352642 Q750438
SYSTEM
Entertainment One, One Race Films, Astral Media
Q5508101 Q5448985 Q3352642 Q6428422 Q7306853 Q3028387 Q7645776 Q5567045 Q7226171 Q3480580 Q4849846 Q3963037 Q6917750 Q750438 Q6948183 Q2245650 Q7317854 Q6927081 Q1344736 Q7503531
(c(Q838948)|c(Q15416),P272,c(Q43229))
action equal
action union
action find_reverse_tuple_counts
relation P272
type Q43229
type Q838948
action find_reverse_tuple_counts
relation P272
type Q43229
type Q15416
value 6
[ANSWERS] were the producer of exactly 6 works of art and television programs
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?u rdf:type ?f } GROUP BY ?j } . FILTER ( ?z = 6 ) }
Full Moon Features Film Workshop One Race Films Kommunenes Filmcentral Reel FX Creative Studios Dino de Laurentiis Cinematografica Suresh Productions Glass Eye Pix Polybona Films Sesame Workshop Balaji Motion Pictures Smokehouse Pictures Motion Picture Corporation of America Astral Media Myriad Pictures Kudos Revelations Entertainment Moving Picture Institute Entertainment One Shree Venkatesh Films
Entertainment One, One Race Films and Astral Media were the producer of exactly 6 works of art and television programs
Entertainment One One Race Films Astral Media
action equal
action union
action find_reverse_tuple_counts
relation production company
type organization
type work of art
action find_reverse_tuple_counts
relation production company
type organization
type television program
value 6
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?u rdf:type ?f } GROUP BY ?j } . FILTER ( ?z = 6 ) }
[]