Simple Question (Direct)
Simple Question
Q4153228
P26
Q502895
USER
Which person is the life partner of Soo Garay ?
(Q4153228,P26,c(Q502895))
action filter_type
action find
entity Q4153228
relation P26
type Q502895
['Q4153228', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q4153228 property:P26 ?p }
Soo Garay
action filter_type
action find
entity Soo Garay
relation spouse
type common name
['Soo Garay', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Soo_Garay property:spouse ?p }
[]
common name
Q353640
SYSTEM
David Hewlett
Q353640
(Q4153228,P26,c(Q502895))
action filter_type
action find
entity Q4153228
relation P26
type Q502895
[ANSWER] is the life partner of Soo Garay
['Q4153228', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q4153228 property:P26 ?p }
David Hewlett
David Hewlett is the life partner of Soo Garay
David Hewlett
action filter_type
action find
entity Soo Garay
relation spouse
type common name
['Soo Garay', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Soo_Garay property:spouse ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4153228
P25
Q502895
USER
Which female person has a child named Soo Garay ?
(Q4153228,P25,c(Q502895))
action filter_type
action find
entity Q4153228
relation P25
type Q502895
['Q4153228', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q4153228 property:P25 ?q }
Soo Garay
action filter_type
action find
entity Soo Garay
relation mother
type common name
['Soo Garay', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Soo_Garay property:mother ?q }
[]
common name
Q271540
SYSTEM
Valéria Gyenge
Q271540
(Q4153228,P25,c(Q502895))
action filter_type
action find
entity Q4153228
relation P25
type Q502895
[ANSWER] has a child named Soo Garay
['Q4153228', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q4153228 property:P25 ?q }
Valéria Gyenge
Valéria Gyenge has a child named Soo Garay
Valéria Gyenge
action filter_type
action find
entity Soo Garay
relation mother
type common name
['Soo Garay', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Soo_Garay property:mother ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q271540
P40
Q502895
USER
Which person is a child of that one ?
(Q271540,P40,c(Q502895))
action filter_type
action find
entity Q271540
relation P40
type Q502895
['Q271540', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q271540 property:P40 ?l }
Valéria Gyenge
action filter_type
action find
entity Valéria Gyenge
relation child
type common name
['Valéria Gyenge', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Valéria_Gyenge property:child ?l }
[]
common name
Q4153228
SYSTEM
Soo Garay
Q4153228
(Q271540,P40,c(Q502895))
action filter_type
action find
entity Q271540
relation P40
type Q502895
[ANSWER] is a child of that one
['Q271540', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q271540 property:P40 ?l }
Soo Garay
Soo Garay is a child of that one
Soo Garay
action filter_type
action find
entity Valéria Gyenge
relation child
type common name
['Valéria Gyenge', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Valéria_Gyenge property:child ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4153228 Q7733182
P161
Q838948
USER
Does The Fall have that person in its star cast ?
(Q7733182,P161,Q4153228)
action is_in
entity Q4153228
action find
entity Q7733182
relation P161
['Q7733182', 'P161', 'Q4153228']
ASK WHERE { resource:Q7733182 property:P161 resource:Q4153228 }
Soo Garay The Fall
action is_in
entity Soo Garay
action find
entity The Fall
relation cast member
['The Fall', 'cast member', 'Soo Garay']
ASK WHERE { resource:The_Fall property:cast_member resource:Soo_Garay }
[]
work of art
SYSTEM
YES
(Q7733182,P161,Q4153228)
action is_in
entity Q4153228
action find
entity Q7733182
relation P161
[ANSWER]
['Q7733182', 'P161', 'Q4153228']
ASK WHERE { resource:Q7733182 property:P161 resource:Q4153228 }
Yes
action is_in
entity Soo Garay
action find
entity The Fall
relation cast member
['The Fall', 'cast member', 'Soo Garay']
ASK WHERE { resource:The_Fall property:cast_member resource:Soo_Garay }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4153228
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q4153228
relation P21
type Q290
SELECT DISTINCT ?m WHERE { resource:Q4153228 property:P21 ?m . ?m rdf:type ontology:Q290 }
Soo Garay
action filter_type
action find
entity Soo Garay
relation gender
type sex
SELECT DISTINCT ?m WHERE { resource:Soo_Garay property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q4153228
relation P21
type Q290
That person possesses the [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q4153228 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Soo Garay
relation gender
type sex
SELECT DISTINCT ?m WHERE { resource:Soo_Garay property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4153228
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q6581072,P27,c(Q1048835))
action filter_type
action find
entity Q4153228
relation P27
type Q1048835
['Q6581072', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q4153228 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Soo Garay
action filter_type
action find
entity Soo Garay
relation country of citizenship
type political territorial entity
['female', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Soo_Garay property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6581072,P27,c(Q1048835))
action filter_type
action find
entity Q4153228
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q6581072', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q4153228 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Canada
Canada is the country of citizenship of that person
Canada
action filter_type
action find
entity Soo Garay
relation country of citizenship
type political territorial entity
['female', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Soo_Garay property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4315901 Q4153228
P19 P27
Q15617994
USER
Which administrative territories were Soo Garay born in or are the native countriesof Charles Newuche ?
OR((Q4153228,P19,c(Q15617994)), (Q4315901,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4153228
relation P19
action find
entity Q4315901
relation P27
type Q15617994
{'OR': [['Q4153228', 'P19', {'concept': 'Q15617994'}], ['Q4315901', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q4315901 property:P27 ?d } UNION { resource:Q4153228 property:P19 ?d } } }
Charles Newuche Soo Garay
action filter_type
action union
action find
entity Soo Garay
relation place of birth
action find
entity Charles Newuche
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Soo Garay', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Charles Newuche', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Charles_Newuche property:country_of_citizenship ?d } UNION { resource:Soo_Garay property:place_of_birth ?d } } }
[]
designation for an administrative territorial entity
Q1033 Q1904
SYSTEM
Nigeria, Ontario
Q1033 Q1904
OR((Q4153228,P19,c(Q15617994)), (Q4315901,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4153228
relation P19
action find
entity Q4315901
relation P27
type Q15617994
Soo Garay were born in [ANSWERS] or are the native countriesof Charles Newuche
{'OR': [['Q4153228', 'P19', {'concept': 'Q15617994'}], ['Q4315901', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . { { resource:Q4315901 property:P27 ?d } UNION { resource:Q4153228 property:P19 ?d } } }
Nigeria Ontario
Soo Garay were born in Nigeria and Ontario or are the native countriesof Charles Newuche
Nigeria Ontario
action filter_type
action union
action find
entity Soo Garay
relation place of birth
action find
entity Charles Newuche
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Soo Garay', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Charles Newuche', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Charles_Newuche property:country_of_citizenship ?d } UNION { resource:Soo_Garay property:place_of_birth ?d } } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q1239175 Q4153228
P106
Q12737077
USER
Which occupations are the professions of Soo Garay but not Don Grady ?
AND((Q4153228,P106,c(Q12737077)), NOT((Q1239175,P106,c(Q12737077))))
action filter_type
action difference
action find
entity Q4153228
relation P106
action find
entity Q1239175
relation P106
type Q12737077
{'AND': [['Q4153228', 'P106', {'concept': 'Q12737077'}], {'NOT': [['Q1239175', 'P106', {'concept': 'Q12737077'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Q4153228 property:P106 ?o . FILTER NOT EXISTS { resource:Q1239175 property:P106 ?o } . ?o rdf:type ontology:Q12737077 }
Don Grady Soo Garay
action filter_type
action difference
action find
entity Soo Garay
relation occupation
action find
entity Don Grady
relation occupation
type occupation
{'AND': [['Soo Garay', 'occupation', {'concept': 'occupation'}], {'NOT': [['Don Grady', 'occupation', {'concept': 'occupation'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Soo_Garay property:occupation ?o . FILTER NOT EXISTS { resource:Don_Grady property:occupation ?o } . ?o rdf:type ontology:occupation }
[]
occupation
Q2259451
SYSTEM
stage actor
Q2259451
AND((Q4153228,P106,c(Q12737077)), NOT((Q1239175,P106,c(Q12737077))))
action filter_type
action difference
action find
entity Q4153228
relation P106
action find
entity Q1239175
relation P106
type Q12737077
[ANSWER] is the professions of Soo Garay but not Don Grady
{'AND': [['Q4153228', 'P106', {'concept': 'Q12737077'}], {'NOT': [['Q1239175', 'P106', {'concept': 'Q12737077'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Q4153228 property:P106 ?o . FILTER NOT EXISTS { resource:Q1239175 property:P106 ?o } . ?o rdf:type ontology:Q12737077 }
stage actor
Stage actor is the professions of Soo Garay but not Don Grady
stage actor
action filter_type
action difference
action find
entity Soo Garay
relation occupation
action find
entity Don Grady
relation occupation
type occupation
{'AND': [['Soo Garay', 'occupation', {'concept': 'occupation'}], {'NOT': [['Don Grady', 'occupation', {'concept': 'occupation'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Soo_Garay property:occupation ?o . FILTER NOT EXISTS { resource:Don_Grady property:occupation ?o } . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1239175
P7
Q502895
USER
Who is a sibling of Don Grady ?
(c(Q502895),P7,Q2259451)
action filter_type
action find_reverse
entity Q1239175
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2259451']
SELECT DISTINCT ?v WHERE { ?v property:P7 resource:Q1239175 . ?v rdf:type ontology:Q502895 }
Don Grady
action filter_type
action find_reverse
entity Don Grady
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'stage actor']
SELECT DISTINCT ?v WHERE { ?v property:brother resource:Don_Grady . ?v rdf:type ontology:common_name }
[]
common name
Q3217566
SYSTEM
Lani O'Grady
Q3217566
(c(Q502895),P7,Q2259451)
action filter_type
action find_reverse
entity Q1239175
relation P7
type Q502895
A sibling of Don Grady is the [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2259451']
SELECT DISTINCT ?v WHERE { ?v property:P7 resource:Q1239175 . ?v rdf:type ontology:Q502895 }
Lani O'Grady
A sibling of Don Grady is the Lani O'Grady
Lani O'Grady
action filter_type
action find_reverse
entity Don Grady
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'stage actor']
SELECT DISTINCT ?v WHERE { ?v property:brother resource:Don_Grady . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q33999 Q1239175
P106 P7
Q502895
USER
Which people had Don Grady as brother and have career as actor ?
AND((c(Q502895),P7,Q1239175), (c(Q502895),P106,Q33999))
action filter_type
action intersection
action find_reverse
entity Q1239175
relation P7
action find_reverse
entity Q33999
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q1239175'], [{'concept': 'Q502895'}, 'P106', 'Q33999']]}
SELECT DISTINCT ?h WHERE { ?h property:P7 resource:Q1239175 . ?h property:P106 resource:Q33999 . ?h rdf:type ontology:Q502895 }
actor Don Grady
action filter_type
action intersection
action find_reverse
entity Don Grady
relation brother
action find_reverse
entity actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Don Grady'], [{'concept': 'common name'}, 'occupation', 'actor']]}
SELECT DISTINCT ?h WHERE { ?h property:brother resource:Don_Grady . ?h property:occupation resource:actor . ?h rdf:type ontology:common_name }
[]
common name
Q3217566
SYSTEM
Lani O'Grady
Q3217566
AND((c(Q502895),P7,Q1239175), (c(Q502895),P106,Q33999))
action filter_type
action intersection
action find_reverse
entity Q1239175
relation P7
action find_reverse
entity Q33999
relation P106
type Q502895
[ANSWER] had Don Grady as brother and have career as actor
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q1239175'], [{'concept': 'Q502895'}, 'P106', 'Q33999']]}
SELECT DISTINCT ?h WHERE { ?h property:P7 resource:Q1239175 . ?h property:P106 resource:Q33999 . ?h rdf:type ontology:Q502895 }
Lani O'Grady
Lani O'Grady had Don Grady as brother and have career as actor
Lani O'Grady
action filter_type
action intersection
action find_reverse
entity Don Grady
relation brother
action find_reverse
entity actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Don Grady'], [{'concept': 'common name'}, 'occupation', 'actor']]}
SELECT DISTINCT ?h WHERE { ?h property:brother resource:Don_Grady . ?h property:occupation resource:actor . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3217566
P20
Q486972
USER
Where did the expiration of that person occur ?
(Q3217566,P20,c(Q486972))
action filter_type
action find
entity Q3217566
relation P20
type Q486972
['Q3217566', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q3217566 property:P20 ?p . ?p rdf:type ontology:Q486972 }
Lani O'Grady
action filter_type
action find
entity Lani O'Grady
relation place of death
type human settlement
["Lani O'Grady", 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Lani_O'Grady property:place_of_death ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q1319893
SYSTEM
Valencia
Q1319893
(Q3217566,P20,c(Q486972))
action filter_type
action find
entity Q3217566
relation P20
type Q486972
The expiration of that person occurred in [ANSWER]
['Q3217566', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q3217566 property:P20 ?p . ?p rdf:type ontology:Q486972 }
Valencia
The expiration of that person occurred in Valencia
Valencia
action filter_type
action find
entity Lani O'Grady
relation place of death
type human settlement
["Lani O'Grady", 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Lani_O'Grady property:place_of_death ?p . ?p rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4210441 Q3217566
P27
Q15617994
USER
Which administrative territories do Lani O'Grady and Christopher Caluza belong to ?
AND((Q3217566,P27,c(Q15617994)), (Q4210441,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3217566
relation P27
action find
entity Q4210441
relation P27
type Q15617994
{'AND': [['Q3217566', 'P27', {'concept': 'Q15617994'}], ['Q4210441', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q3217566 property:P27 ?j . resource:Q4210441 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Christopher Caluza Lani O'Grady
action filter_type
action intersection
action find
entity Lani O'Grady
relation country of citizenship
action find
entity Christopher Caluza
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [["Lani O'Grady", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Christopher Caluza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Lani_O'Grady property:country_of_citizenship ?j . resource:Christopher_Caluza property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q3217566,P27,c(Q15617994)), (Q4210441,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3217566
relation P27
action find
entity Q4210441
relation P27
type Q15617994
Lani O'Grady and Christopher Caluza belong to the [ANSWER]
{'AND': [['Q3217566', 'P27', {'concept': 'Q15617994'}], ['Q4210441', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q3217566 property:P27 ?j . resource:Q4210441 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
Lani O'Grady and Christopher Caluza belong to the United States of America
United States of America
action filter_type
action intersection
action find
entity Lani O'Grady
relation country of citizenship
action find
entity Christopher Caluza
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [["Lani O'Grady", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Christopher Caluza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Lani_O'Grady property:country_of_citizenship ?j . resource:Christopher_Caluza property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q2342494 Q15416
USER
How many administrative territories are the narrative locations of atmost 93 collectables and television programs ?
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 93
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?c WHERE { { ?n property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2342494 } UNION { ?n property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15416 } } GROUP BY ?c } . FILTER ( ?p <= 93 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 93
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?c WHERE { { ?n property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:collectable } UNION { ?n property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:television_program } } GROUP BY ?c } . FILTER ( ?p <= 93 ) }
[]
designation for an administrative territorial entity collectable television program
SYSTEM
156
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q96 Q17 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q2342494)|c(Q15416),P840,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 93
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?c WHERE { { ?n property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2342494 } UNION { ?n property:P840 ?c . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15416 } } GROUP BY ?c } . FILTER ( ?p <= 93 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Mexico Japan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
156
action count
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 93
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) ?c WHERE { { ?n property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:collectable } UNION { ?n property:narrative_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:television_program } } GROUP BY ?c } . FILTER ( ?p <= 93 ) }
[]