Simple Question (Direct)
Simple Question
Q6163265
P39
Q338337
USER
What was the position held by Violeta Correa ?
(Q6163265,P39,c(Q338337))
action filter_type
action find
entity Q6163265
relation P39
type Q338337
['Q6163265', 'P39', {'concept': 'Q338337'}]
SELECT DISTINCT ?d WHERE { resource:Q6163265 property:P39 ?d . ?d rdf:type ontology:Q338337 }
Violeta Correa
action filter_type
action find
entity Violeta Correa
relation position held
type honorary academic title
['Violeta Correa', 'position held', {'concept': 'honorary academic title'}]
SELECT DISTINCT ?d WHERE { resource:Violeta_Correa property:position_held ?d . ?d rdf:type ontology:honorary_academic_title }
[]
honorary academic title
Q3402192
SYSTEM
First Lady of Peru
Q3402192
(Q6163265,P39,c(Q338337))
action filter_type
action find
entity Q6163265
relation P39
type Q338337
The position held by Violeta Correa was the [ANSWER]
['Q6163265', 'P39', {'concept': 'Q338337'}]
SELECT DISTINCT ?d WHERE { resource:Q6163265 property:P39 ?d . ?d rdf:type ontology:Q338337 }
First Lady of Peru
The position held by Violeta Correa was the First Lady of Peru
First Lady of Peru
action filter_type
action find
entity Violeta Correa
relation position held
type honorary academic title
['Violeta Correa', 'position held', {'concept': 'honorary academic title'}]
SELECT DISTINCT ?d WHERE { resource:Violeta_Correa property:position_held ?d . ?d rdf:type ontology:honorary_academic_title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6163265
P26
Q502895
USER
Which person is married to that one ?
(c(Q502895),P26,Q3402192)
action filter_type
action find
entity Q6163265
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3402192']
SELECT DISTINCT ?b WHERE { resource:Q6163265 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Violeta Correa
action filter_type
action find
entity Violeta Correa
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'First Lady of Peru']
SELECT DISTINCT ?b WHERE { resource:Violeta_Correa property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
Q116736
SYSTEM
Fernando Belaúnde Terry
Q116736
(c(Q502895),P26,Q3402192)
action filter_type
action find
entity Q6163265
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q3402192']
SELECT DISTINCT ?b WHERE { resource:Q6163265 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Fernando Belaúnde Terry
Fernando Belaúnde Terry is married to that one
Fernando Belaúnde Terry
action filter_type
action find
entity Violeta Correa
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'First Lady of Peru']
SELECT DISTINCT ?b WHERE { resource:Violeta_Correa property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6163265
P40
Q502895
USER
Who has Violeta Correa as an offspring ?
(c(Q502895),P40,Q6163265)
action filter_type
action find_reverse
entity Q6163265
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6163265']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q6163265 . ?m rdf:type ontology:Q502895 }
Violeta Correa
action filter_type
action find_reverse
entity Violeta Correa
relation child
type common name
[{'concept': 'common name'}, 'child', 'Violeta Correa']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Violeta_Correa . ?m rdf:type ontology:common_name }
[]
common name
Q5927629
SYSTEM
Javier Correa Elías
Q5927629
(c(Q502895),P40,Q6163265)
action filter_type
action find_reverse
entity Q6163265
relation P40
type Q502895
[ANSWER] has Violeta Correa as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q6163265']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q6163265 . ?m rdf:type ontology:Q502895 }
Javier Correa Elías
Javier Correa Elías has Violeta Correa as an offspring
Javier Correa Elías
action filter_type
action find_reverse
entity Violeta Correa
relation child
type common name
[{'concept': 'common name'}, 'child', 'Violeta Correa']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Violeta_Correa . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5927629
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q5927629)
action filter_type
action find_reverse
entity Q5927629
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5927629']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q5927629 . ?e rdf:type ontology:Q502895 }
Javier Correa Elías
action filter_type
action find_reverse
entity Javier Correa Elías
relation father
type common name
[{'concept': 'common name'}, 'father', 'Javier Correa Elías']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Javier_Correa_Elías . ?e rdf:type ontology:common_name }
[]
common name
Q6163265
SYSTEM
Violeta Correa
Q6163265
(c(Q502895),P22,Q5927629)
action filter_type
action find_reverse
entity Q5927629
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q5927629']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q5927629 . ?e rdf:type ontology:Q502895 }
Violeta Correa
Violeta Correa has that one as a parent
Violeta Correa
action filter_type
action find_reverse
entity Javier Correa Elías
relation father
type common name
[{'concept': 'common name'}, 'father', 'Javier Correa Elías']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Javier_Correa_Elías . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6163265
P140
Q874405
USER
Which social group is the religion of that person ?
(Q6163265,P140,c(Q874405))
action filter_type
action find
entity Q6163265
relation P140
type Q874405
['Q6163265', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q6163265 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Violeta Correa
action filter_type
action find
entity Violeta Correa
relation religion
type social group
['Violeta Correa', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Violeta_Correa property:religion ?a . ?a rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q6163265,P140,c(Q874405))
action filter_type
action find
entity Q6163265
relation P140
type Q874405
[ANSWER] is the religion of that person
['Q6163265', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?a WHERE { resource:Q6163265 property:P140 ?a . ?a rdf:type ontology:Q874405 }
Catholicism
Catholicism is the religion of that person
Catholicism
action filter_type
action find
entity Violeta Correa
relation religion
type social group
['Violeta Correa', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?a WHERE { resource:Violeta_Correa property:religion ?a . ?a rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q874405 Q15709879
USER
Which social groups were approximately the same number of artwork series inspired by as that social group ?
(c(Q15709879),P941,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find
entity Q1841
relation P941
type Q874405
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b rdf:type ontology:Q874405 . ?d rdf:type ontology:Q15709879 . ?d property:P941 ?b } GROUP BY ?b } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q874405 . resource:Q1841 property:P941 ?y } } }
action approx
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find
entity Catholicism
relation inspired by
type social group
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b rdf:type ontology:social_group . ?d rdf:type ontology:artwork_series . ?d property:inspired_by ?b } GROUP BY ?b } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:social_group . resource:Catholicism property:inspired_by ?y } } }
[]
social group artwork series
Q1841
SYSTEM
Catholicism
Q1841
(c(Q15709879),P941,c(Q874405))
action approx
action find_reverse_tuple_counts
relation P941
type Q874405
type Q15709879
action count
action filter_type
action find
entity Q1841
relation P941
type Q874405
[ANSWER] was approximately the same number of artwork series inspired by as that social group
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b rdf:type ontology:Q874405 . ?d rdf:type ontology:Q15709879 . ?d property:P941 ?b } GROUP BY ?b } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q874405 . resource:Q1841 property:P941 ?y } } }
Catholicism
Catholicism was approximately the same number of artwork series inspired by as that social group
Catholicism
action approx
action find_reverse_tuple_counts
relation inspired by
type social group
type artwork series
action count
action filter_type
action find
entity Catholicism
relation inspired by
type social group
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?r ) WHERE { ?b rdf:type ontology:social_group . ?d rdf:type ontology:artwork_series . ?d property:inspired_by ?b } GROUP BY ?b } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:social_group . resource:Catholicism property:inspired_by ?y } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1841 Q3170233
P140
Q502895
USER
Does Jean-Émile Anizan have that social group as religious affiliation ?
(Q3170233,P140,Q1841)
action is_in
entity Q1841
action find
entity Q3170233
relation P140
['Q3170233', 'P140', 'Q1841']
ASK WHERE { resource:Q3170233 property:P140 resource:Q1841 }
Catholicism Jean-Émile Anizan
action is_in
entity Catholicism
action find
entity Jean-Émile Anizan
relation religion
['Jean-Émile Anizan', 'religion', 'Catholicism']
ASK WHERE { resource:Jean-Émile_Anizan property:religion resource:Catholicism }
[]
common name
SYSTEM
YES
(Q3170233,P140,Q1841)
action is_in
entity Q1841
action find
entity Q3170233
relation P140
[ANSWER]
['Q3170233', 'P140', 'Q1841']
ASK WHERE { resource:Q3170233 property:P140 resource:Q1841 }
Yes
action is_in
entity Catholicism
action find
entity Jean-Émile Anizan
relation religion
['Jean-Émile Anizan', 'religion', 'Catholicism']
ASK WHERE { resource:Jean-Émile_Anizan property:religion resource:Catholicism }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5927629 Q2160911 Q419
P27
Q15617994
USER
Is Javier Correa Elías a citizen of Rodau and Peru ?
(Q5927629,P27,Q2160911) (Q5927629,P27,Q419)
action is_in
entity Q5927629
action intersection
action find_reverse
entity Q2160911
relation P27
action find_reverse
entity Q419
relation P27
['Q5927629', 'P27', 'Q2160911'] ['Q5927629', 'P27', 'Q419']
ASK WHERE { resource:Q5927629 property:P27 resource:Q2160911 . resource:Q5927629 property:P27 resource:Q419 }
Javier Correa Elías Rodau Peru
action is_in
entity Javier Correa Elías
action intersection
action find_reverse
entity Rodau
relation country of citizenship
action find_reverse
entity Peru
relation country of citizenship
['Javier Correa Elías', 'country of citizenship', 'Rodau'] ['Javier Correa Elías', 'country of citizenship', 'Peru']
ASK WHERE { resource:Javier_Correa_Elías property:country_of_citizenship resource:Rodau . resource:Javier_Correa_Elías property:country_of_citizenship resource:Peru }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5927629,P27,Q2160911) (Q5927629,P27,Q419)
action is_in
entity Q5927629
action intersection
action find_reverse
entity Q2160911
relation P27
action find_reverse
entity Q419
relation P27
[ANSWER]
['Q5927629', 'P27', 'Q2160911'] ['Q5927629', 'P27', 'Q419']
ASK WHERE { resource:Q5927629 property:P27 resource:Q2160911 . resource:Q5927629 property:P27 resource:Q419 }
NO and YES respectively
action is_in
entity Javier Correa Elías
action intersection
action find_reverse
entity Rodau
relation country of citizenship
action find_reverse
entity Peru
relation country of citizenship
['Javier Correa Elías', 'country of citizenship', 'Rodau'] ['Javier Correa Elías', 'country of citizenship', 'Peru']
ASK WHERE { resource:Javier_Correa_Elías property:country_of_citizenship resource:Rodau . resource:Javier_Correa_Elías property:country_of_citizenship resource:Peru }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q874405 Q811430 Q18142
USER
Which social groups owned around 1 constructions and tower blocks ?
(c(Q811430)|c(Q18142),P127,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q874405
type Q811430
action find_reverse_tuple_counts
relation P127
type Q874405
type Q18142
value 1
[[{'concept': 'Q811430'}, {'concept': 'Q18142'}], 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?w ) { ( ontology:Q18142 ) ( ontology:Q811430 ) } . ?e rdf:type ?w } GROUP BY ?m } . FILTER ( ?s = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation owned by
type social group
type construction
action find_reverse_tuple_counts
relation owned by
type social group
type tower block
value 1
[[{'concept': 'construction'}, {'concept': 'tower block'}], 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?w ) { ( ontology:tower_block ) ( ontology:construction ) } . ?e rdf:type ?w } GROUP BY ?m } . FILTER ( ?s = 1 ) }
[]
social group construction tower block
Q2175142 Q341323 Q3355992
SYSTEM
Ruhrverband, Czech Radio, Cultural Heritage, Handcrafts and Tourism Organization
Q2689124 Q3355992 Q2175142 Q1311277 Q2171032 Q5268721 Q2991162 Q569207 Q2001380 Q16899515 Q697093 Q6407027 Q341323 Q1528836 Q5018189 Q7373663
(c(Q811430)|c(Q18142),P127,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q874405
type Q811430
action find_reverse_tuple_counts
relation P127
type Q874405
type Q18142
value 1
[ANSWERS]
[[{'concept': 'Q811430'}, {'concept': 'Q18142'}], 'P127', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?w ) { ( ontology:Q18142 ) ( ontology:Q811430 ) } . ?e rdf:type ?w } GROUP BY ?m } . FILTER ( ?s = 1 ) }
Landmark Trust Cultural Heritage, Handcrafts and Tourism Organization Ruhrverband Ramakrishna Mission Royal Forest and Bird Protection Society of New Zealand Dhaka City Corporation Government of Australia National Trust of Australia Manx National Heritage Sabah Foundation Ministry of Education Kilkenny Archaeological Society Czech Radio Society of Saint Vincent de Paul Cal Poly Pomona Associated Students Royal Antediluvian Order of Buffaloes
Ruhrverband, Czech Radio and Cultural Heritage, Handcrafts and Tourism Organization owned around 1 constructions and tower blocks
Ruhrverband Czech Radio Cultural Heritage, Handcrafts and Tourism Organization
action approx
action union
action find_reverse_tuple_counts
relation owned by
type social group
type construction
action find_reverse_tuple_counts
relation owned by
type social group
type tower block
value 1
[[{'concept': 'construction'}, {'concept': 'tower block'}], 'owned by', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?w ) { ( ontology:tower_block ) ( ontology:construction ) } . ?e rdf:type ?w } GROUP BY ?m } . FILTER ( ?s = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q341323
P276
Q1190554
USER
Which event is situated at that social group ?
(c(Q1190554),P276,Q341323)
action filter_type
action find_reverse
entity Q341323
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q341323']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q341323 . ?k rdf:type ontology:Q1190554 }
Czech Radio
action filter_type
action find_reverse
entity Czech Radio
relation location
type event
[{'concept': 'event'}, 'location', 'Czech Radio']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Czech_Radio . ?k rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q341323
SYSTEM
Did you mean Czech Radio ?
Q2175142 Q341323 Q3355992
(c(Q1190554),P276,Q2175142) (c(Q1190554),P276,Q341323) (c(Q1190554),P276,Q3355992)
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q2175142'] [{'concept': 'Q1190554'}, 'P276', 'Q341323'] [{'concept': 'Q1190554'}, 'P276', 'Q3355992']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q341323 . ?k rdf:type ontology:Q1190554 }
Ruhrverband Czech Radio Cultural Heritage, Handcrafts and Tourism Organization
Did you mean Czech Radio ?
Czech Radio
[{'concept': 'event'}, 'location', 'Ruhrverband'] [{'concept': 'event'}, 'location', 'Czech Radio'] [{'concept': 'event'}, 'location', 'Cultural Heritage, Handcrafts and Tourism Organization']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Czech_Radio . ?k rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1190554),P276,Q341323)
[{'concept': 'Q1190554'}, 'P276', 'Q341323']
[{'concept': 'event'}, 'location', 'Czech Radio']
[]
Q4870163
SYSTEM
Battle for Czech Radio
Q4870163
(c(Q1190554),P276,Q341323)
action filter_type
action find_reverse
entity Q341323
relation P276
type Q1190554
[ANSWER] is situated at that social group
[{'concept': 'Q1190554'}, 'P276', 'Q341323']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q341323 . ?k rdf:type ontology:Q1190554 }
Battle for Czech Radio
Battle for Czech Radio is situated at that social group
Battle for Czech Radio
action filter_type
action find_reverse
entity Czech Radio
relation location
type event
[{'concept': 'event'}, 'location', 'Czech Radio']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Czech_Radio . ?k rdf:type ontology:event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q4870163 Q1085
P276
Q56061
USER
Does Prague can that event be found ?
(Q4870163,P276,Q1085)
action is_in
entity Q1085
action find
entity Q4870163
relation P276
['Q4870163', 'P276', 'Q1085']
ASK WHERE { resource:Q4870163 property:P276 resource:Q1085 }
Battle for Czech Radio Prague
action is_in
entity Prague
action find
entity Battle for Czech Radio
relation location
['Battle for Czech Radio', 'location', 'Prague']
ASK WHERE { resource:Battle_for_Czech_Radio property:location resource:Prague }
[]
administrative territorial entity
SYSTEM
YES
(Q4870163,P276,Q1085)
action is_in
entity Q1085
action find
entity Q4870163
relation P276
[ANSWER]
['Q4870163', 'P276', 'Q1085']
ASK WHERE { resource:Q4870163 property:P276 resource:Q1085 }
Yes
action is_in
entity Prague
action find
entity Battle for Czech Radio
relation location
['Battle for Czech Radio', 'location', 'Prague']
ASK WHERE { resource:Battle_for_Czech_Radio property:location resource:Prague }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P466
Q874405 Q811979 Q483110
USER
Which social groups were the tenants of atleast 2 architectural structures and stadia ?
(c(Q811979)|c(Q483110),P466,c(Q874405))
action atleast
action union
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811979
action find_reverse_tuple_counts
relation P466
type Q874405
type Q483110
value 2
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811979 ) ( ontology:Q483110 ) } } GROUP BY ?u } . FILTER ( ?d >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation occupant
type social group
type architectural structure
action find_reverse_tuple_counts
relation occupant
type social group
type stadium
value 2
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:architectural_structure ) ( ontology:stadium ) } } GROUP BY ?u } . FILTER ( ?d >= 2 ) }
[]
social group architectural structure stadium
Q1134319 Q2352689 Q1210267
SYSTEM
St Helens RLFC, Bradford Bulls, Wigan Warriors
Q3469726 Q1134319 Q2352689 Q3572603 Q1210267
(c(Q811979)|c(Q483110),P466,c(Q874405))
action atleast
action union
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811979
action find_reverse_tuple_counts
relation P466
type Q874405
type Q483110
value 2
[ANSWERS] were the tenants of atleast 2 architectural structures and stadia
[[{'concept': 'Q811979'}, {'concept': 'Q483110'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q811979 ) ( ontology:Q483110 ) } } GROUP BY ?u } . FILTER ( ?d >= 2 ) }
Salford Red Devils St Helens RLFC Bradford Bulls York City Knights Wigan Warriors
St Helens RLFC, Bradford Bulls and Wigan Warriors were the tenants of atleast 2 architectural structures and stadia
St Helens RLFC Bradford Bulls Wigan Warriors
action atleast
action union
action find_reverse_tuple_counts
relation occupant
type social group
type architectural structure
action find_reverse_tuple_counts
relation occupant
type social group
type stadium
value 2
[[{'concept': 'architectural structure'}, {'concept': 'stadium'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?d ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:architectural_structure ) ( ontology:stadium ) } } GROUP BY ?u } . FILTER ( ?d >= 2 ) }
[]