Simple Question (Direct)
Simple Question
Q7329265
P21
Q290
USER
Which sex does Richard Stone belong to ?
(Q7329265,P21,c(Q290))
action filter_type
action find
entity Q7329265
relation P21
type Q290
['Q7329265', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q7329265 property:P21 ?v }
Richard Stone
action filter_type
action find
entity Richard Stone
relation gender
type sex
['Richard Stone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Richard_Stone property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7329265,P21,c(Q290))
action filter_type
action find
entity Q7329265
relation P21
type Q290
Richard Stone belongs to [ANSWER]
['Q7329265', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q7329265 property:P21 ?v }
male
Richard Stone belongs to male
male
action filter_type
action find
entity Richard Stone
relation gender
type sex
['Richard Stone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Richard_Stone property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7329265
P20
Q56061
USER
Where did Richard Stone die ?
(Q7329265,P20,c(Q56061))
action filter_type
action find
entity Q7329265
relation P20
type Q56061
['Q7329265', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7329265 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Richard Stone
action filter_type
action find
entity Richard Stone
relation place of death
type administrative territorial entity
['Richard Stone', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Richard_Stone property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q478302
SYSTEM
Toowoomba
Q478302
(Q7329265,P20,c(Q56061))
action filter_type
action find
entity Q7329265
relation P20
type Q56061
Richard Stone died in [ANSWER]
['Q7329265', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7329265 property:P20 ?b . ?b rdf:type ontology:Q56061 }
Toowoomba
Richard Stone died in Toowoomba
Toowoomba
action filter_type
action find
entity Richard Stone
relation place of death
type administrative territorial entity
['Richard Stone', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Richard_Stone property:place_of_death ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q478302
P17
Q1048835
USER
Which political territory is that administrative territory present in ?
(Q478302,P17,c(Q1048835))
action filter_type
action find
entity Q478302
relation P17
type Q1048835
['Q478302', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q478302 property:P17 ?f }
Toowoomba
action filter_type
action find
entity Toowoomba
relation country
type political territorial entity
['Toowoomba', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Toowoomba property:country ?f }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q478302,P17,c(Q1048835))
action filter_type
action find
entity Q478302
relation P17
type Q1048835
That administrative territory is South [ANSWER]
['Q478302', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q478302 property:P17 ?f }
Australia
That administrative territory is South Australia
Australia
action filter_type
action find
entity Toowoomba
relation country
type political territorial entity
['Toowoomba', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Toowoomba property:country ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P137
Q43229 Q20027951
USER
How many organizations and aircraft power classes can be described as service operator of Australia ?
(c(Q43229),P137,Q408) (c(Q20027951),P137,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P137
type Q43229
action filter_type
action find_reverse
entity Q408
relation P137
type Q20027951
[{'concept': 'Q43229'}, 'P137', 'Q408'] [{'concept': 'Q20027951'}, 'P137', 'Q408']
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { ?p property:P137 resource:Q408 . ?p rdf:type ontology:Q20027951 } UNION { ?p property:P137 resource:Q408 . ?p rdf:type ontology:Q43229 } }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation operator
type organization
action filter_type
action find_reverse
entity Australia
relation operator
type aircraft power class
[{'concept': 'organization'}, 'operator', 'Australia'] [{'concept': 'aircraft power class'}, 'operator', 'Australia']
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { ?p property:operator resource:Australia . ?p rdf:type ontology:aircraft_power_class } UNION { ?p property:operator resource:Australia . ?p rdf:type ontology:organization } }
[]
organization aircraft power class
SYSTEM
2 organizations and 1 aircraft power classes
Q23891513 Q23891480 Q46397
(c(Q43229),P137,Q408) (c(Q20027951),P137,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P137
type Q43229
action filter_type
action find_reverse
entity Q408
relation P137
type Q20027951
[ANSWER]
[{'concept': 'Q43229'}, 'P137', 'Q408'] [{'concept': 'Q20027951'}, 'P137', 'Q408']
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { ?p property:P137 resource:Q408 . ?p rdf:type ontology:Q20027951 } UNION { ?p property:P137 resource:Q408 . ?p rdf:type ontology:Q43229 } }
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union Australian Embassy and Permanent Mission to the United Nations, Austria F/A-18 Hornet
2 organizations and 1 aircraft power classes
action count
action union
action filter_type
action find_reverse
entity Australia
relation operator
type organization
action filter_type
action find_reverse
entity Australia
relation operator
type aircraft power class
[{'concept': 'organization'}, 'operator', 'Australia'] [{'concept': 'aircraft power class'}, 'operator', 'Australia']
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { ?p property:operator resource:Australia . ?p rdf:type ontology:aircraft_power_class } UNION { ?p property:operator resource:Australia . ?p rdf:type ontology:organization } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q65270 Q478302
P19
Q502895
USER
Which people were born at Toowoomba or Stavyshche ?
OR((c(Q502895),P19,Q478302), (c(Q502895),P19,Q65270))
action filter_type
action union
action find_reverse
entity Q478302
relation P19
action find_reverse
entity Q65270
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q478302'], [{'concept': 'Q502895'}, 'P19', 'Q65270']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { ?k property:P19 resource:Q478302 } UNION { ?k property:P19 resource:Q65270 } } }
Stavyshche Toowoomba
action filter_type
action union
action find_reverse
entity Toowoomba
relation place of birth
action find_reverse
entity Stavyshche
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Toowoomba'], [{'concept': 'common name'}, 'place of birth', 'Stavyshche']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { ?k property:place_of_birth resource:Toowoomba } UNION { ?k property:place_of_birth resource:Stavyshche } } }
[]
common name
Q7609127 Q16201513 Q4911422 Q19667952 Q25934831 Q936628 Q6525437 Q5292960 Q1546646 Q2029694
SYSTEM
Some of them are Stephen Eaton, Cate McGregor, Bill Wood, Henry Littleton Groom, David Janetzki, Brett Robinson, Leonard John Brass, Don Lane, Mykola Melnyk, Damien Hooper
Q17505617 Q7357085 Q2029694 Q1709892 Q16237250 Q5235145 Q5241152 Q16201513 Q7488328 Q5225015 Q5292960 Q434284 Q7792273 Q3063455 Q5346449 Q5232549 Q488198 Q525778 Q7177770 Q12147951 Q16029998 Q1070533 Q3077022 Q2823981 Q166272 Q278902 Q7321383 Q6525437 Q2667644 Q7405185 Q19667952 Q20807128 Q5134497 Q1176396 Q7822285 Q19624434 Q3371590 Q3376893 Q20685579 Q5216634 Q6170858 Q6394657 Q3487208 Q4805354 Q2913292 Q7561722 Q5292214 Q6385248 Q237328 Q7801206 Q6676507 Q983693 Q936628 Q1865883 Q2849141 Q7941114 Q16019395 Q6499908 Q734538 Q6662709 Q4727502 Q5125267 Q12078664 Q933823 Q4355049 Q4911113 Q2247692 Q3035788 Q1260196 Q6370039 Q7609127 Q1086533 Q5363157 Q4911422 Q3182368 Q25934831 Q1335723 Q3162966 Q16222127 Q1825615 Q2413793 Q1909213 Q284324 Q15069960 Q1546646 Q285427 Q5592893
OR((c(Q502895),P19,Q478302), (c(Q502895),P19,Q65270))
action filter_type
action union
action find_reverse
entity Q478302
relation P19
action find_reverse
entity Q65270
relation P19
type Q502895
[ANSWERS] were born at Toowoomba or Stavyshche
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q478302'], [{'concept': 'Q502895'}, 'P19', 'Q65270']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . { { ?k property:P19 resource:Q478302 } UNION { ?k property:P19 resource:Q65270 } } }
Elsie Hall Rodney Taylor Damien Hooper Harold Hopkins John McDonald David Horodam David Williams Cate McGregor Shane Withington Darren Lange Don Lane Penelope Wensley Thomas McCawley Kylie Cronk Edwin Godsall David Cooper Anatoliy Zlenko Will Power Peter Wood Tadeusz Tomasz Zbigniew Rylski Henry King Alford Cheryl Praeger Michael Brennan Adam Mogg Geoffrey Rush Michael Katsidis Rhonda Thorne Leonard John Brass Bill Brown Sally Kehoe Henry Littleton Groom Sam Carter Clive Berghofer David Rowbotham Tony Elliott Braydon Smith Paul Kronk Peter Sterling Davina Smith Daniel Bowles Jean Hugard Kerry Shine Kenneth Svenson Ashley Adams Rachael Grinham Sonia Kruger Don Bennett Keith Wright Glynis Nunn Tiffany Day Michael Witt Peter Cameron Brett Robinson Littleton Groom Andy McIntyre Edmund Berezowski Bill Glasson Laurel Martyn John Dorge Lloyd Roberts Alix Bidstrup Claire Moore Nina Preobrazhenskaya David Kemp Angie Skirving Bill Taylor Natalie Grinham Tim Cuddihy Ross Case Karen Smith Stephen Eaton Chris Burton Elizabeth Maree Tomkins Bill Wood John Rillie David Janetzki Joshua Eagle Jason Little Tim Watts Chay Hews Jared Graves Matt King Shane Webcke Meredith McGeachie Mykola Melnyk Wade Bootes Graham Healy
Stephen Eaton, Cate McGregor, Bill Wood, Henry Littleton Groom, David Janetzki, Brett Robinson, Leonard John Brass, Don Lane, Mykola Melnyk and Damien Hooper were born at Toowoomba or Stavyshche
Stephen Eaton Cate McGregor Bill Wood Henry Littleton Groom David Janetzki Brett Robinson Leonard John Brass Don Lane Mykola Melnyk Damien Hooper
action filter_type
action union
action find_reverse
entity Toowoomba
relation place of birth
action find_reverse
entity Stavyshche
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Toowoomba'], [{'concept': 'common name'}, 'place of birth', 'Stavyshche']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . { { ?k property:place_of_birth resource:Toowoomba } UNION { ?k property:place_of_birth resource:Stavyshche } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2060194 Q6525437
P27
Q15617994
USER
Which administrative territories are the native countriesof Leonard John Brass or Bjarki Gunnlaugsson ?
OR((Q6525437,P27,c(Q15617994)), (Q2060194,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6525437
relation P27
action find
entity Q2060194
relation P27
type Q15617994
{'OR': [['Q6525437', 'P27', {'concept': 'Q15617994'}], ['Q2060194', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { VALUES ( ?c ) { ( resource:Q6525437 ) ( resource:Q2060194 ) } . ?c property:P27 ?y } }
Bjarki Gunnlaugsson Leonard John Brass
action filter_type
action union
action find
entity Leonard John Brass
relation country of citizenship
action find
entity Bjarki Gunnlaugsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leonard John Brass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bjarki Gunnlaugsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?c ) { ( resource:Leonard_John_Brass ) ( resource:Bjarki_Gunnlaugsson ) } . ?c property:country_of_citizenship ?y } }
[]
designation for an administrative territorial entity
Q30 Q189
SYSTEM
United States of America, Iceland
Q30 Q189
OR((Q6525437,P27,c(Q15617994)), (Q2060194,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6525437
relation P27
action find
entity Q2060194
relation P27
type Q15617994
[ANSWERS] are the native countriesof Leonard John Brass or Bjarki Gunnlaugsson
{'OR': [['Q6525437', 'P27', {'concept': 'Q15617994'}], ['Q2060194', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { VALUES ( ?c ) { ( resource:Q6525437 ) ( resource:Q2060194 ) } . ?c property:P27 ?y } }
United States of America Iceland
United States of America and Iceland are the native countriesof Leonard John Brass or Bjarki Gunnlaugsson
United States of America Iceland
action filter_type
action union
action find
entity Leonard John Brass
relation country of citizenship
action find
entity Bjarki Gunnlaugsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leonard John Brass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bjarki Gunnlaugsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?c ) { ( resource:Leonard_John_Brass ) ( resource:Bjarki_Gunnlaugsson ) } . ?c property:country_of_citizenship ?y } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12126535
P495
Q838948
USER
Did Nickel Mountain originate in those administrative territories ?
(Q12126535,P495,Q30) (Q12126535,P495,Q189)
action is_in
entity prev_answer
action find
entity Q12126535
relation P495
['Q12126535', 'P495', 'Q30'] ['Q12126535', 'P495', 'Q189']
ASK WHERE { VALUES ( ?f ) { ( resource:Q30 ) ( resource:Q189 ) } . resource:Q12126535 property:P495 ?f }
Nickel Mountain
action is_in
entity prev_answer
action find
entity Nickel Mountain
relation country of origin
['Nickel Mountain', 'country of origin', 'United States of America'] ['Nickel Mountain', 'country of origin', 'Iceland']
ASK WHERE { VALUES ( ?f ) { ( resource:United_States_of_America ) ( resource:Iceland ) } . resource:Nickel_Mountain property:country_of_origin ?f }
[]
work of art
SYSTEM
YES
(Q12126535,P495,Q30) (Q12126535,P495,Q189)
action is_in
entity prev_answer
action find
entity Q12126535
relation P495
[ANSWER]
['Q12126535', 'P495', 'Q30'] ['Q12126535', 'P495', 'Q189']
ASK WHERE { VALUES ( ?f ) { ( resource:Q30 ) ( resource:Q189 ) } . resource:Q12126535 property:P495 ?f }
Yes
action is_in
entity prev_answer
action find
entity Nickel Mountain
relation country of origin
['Nickel Mountain', 'country of origin', 'United States of America'] ['Nickel Mountain', 'country of origin', 'Iceland']
ASK WHERE { VALUES ( ?f ) { ( resource:United_States_of_America ) ( resource:Iceland ) } . resource:Nickel_Mountain property:country_of_origin ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q936628
P734
Q82799
USER
Who is associated with Brett Robinson ?
(Q936628,P734,c(Q82799))
action filter_type
action find
entity Q936628
relation P734
type Q82799
['Q936628', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q936628 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Brett Robinson
action filter_type
action find
entity Brett Robinson
relation family name
type name
['Brett Robinson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Brett_Robinson property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q2798428
SYSTEM
Robinson
Q2798428
(Q936628,P734,c(Q82799))
action filter_type
action find
entity Q936628
relation P734
type Q82799
Was [ANSWER] is associated with Brett [ANSWER]
['Q936628', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q936628 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Robinson
Was Robinson is associated with Brett Robinson
Robinson
action filter_type
action find
entity Brett Robinson
relation family name
type name
['Brett Robinson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Brett_Robinson property:family_name ?a . ?a rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q989866 Q189
P530 P915
Q1048835
USER
Which political territories have diplomatic relationships with Iceland and were Martin Luther filmed ?
AND((Q189,P530,c(Q1048835)), (Q989866,P915,c(Q1048835)))
action filter_type
action intersection
action find
entity Q189
relation P530
action find
entity Q989866
relation P915
type Q1048835
{'AND': [['Q189', 'P530', {'concept': 'Q1048835'}], ['Q989866', 'P915', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { resource:Q189 property:P530 ?p . resource:Q989866 property:P915 ?p . ?p rdf:type ontology:Q1048835 }
Martin Luther Iceland
action filter_type
action intersection
action find
entity Iceland
relation diplomatic relation
action find
entity Martin Luther
relation filming location
type political territorial entity
{'AND': [['Iceland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Martin Luther', 'filming location', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Iceland property:diplomatic_relation ?p . resource:Martin_Luther property:filming_location ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q189,P530,c(Q1048835)), (Q989866,P915,c(Q1048835)))
action filter_type
action intersection
action find
entity Q189
relation P530
action find
entity Q989866
relation P915
type Q1048835
[ANSWER] have diplomatic relationships with Iceland and were Martin Luther filmed
{'AND': [['Q189', 'P530', {'concept': 'Q1048835'}], ['Q989866', 'P915', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { resource:Q189 property:P530 ?p . resource:Q989866 property:P915 ?p . ?p rdf:type ontology:Q1048835 }
Germany
Germany have diplomatic relationships with Iceland and were Martin Luther filmed
Germany
action filter_type
action intersection
action find
entity Iceland
relation diplomatic relation
action find
entity Martin Luther
relation filming location
type political territorial entity
{'AND': [['Iceland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Martin Luther', 'filming location', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Iceland property:diplomatic_relation ?p . resource:Martin_Luther property:filming_location ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q152511
P35
Q502895 Q15617994 Q7275
USER
Which people are elected as the head of state of greater number of administrative territories or states than Eddie Fenech Adami ?
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q152511
relation P35
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?d WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?g rdf:type ?t } GROUP BY ?d } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P35 resource:Q152511 . { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?p rdf:type ?r } } } }
Eddie Fenech Adami
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Eddie Fenech Adami
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?d WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?g rdf:type ?t } GROUP BY ?d } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:head_of_state resource:Eddie_Fenech_Adami . { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?p rdf:type ?r } } } }
[]
common name designation for an administrative territorial entity state
Q7747 Q36233 Q352
SYSTEM
Vladimir Putin, Václav Havel, Adolf Hitler
Q29574 Q298403 Q356990 Q6737124 Q6756617 Q19830768 Q19830761 Q189732 Q57530 Q110330 Q709734 Q653611 Q153620 Q9151911 Q154952 Q19464383 Q157 Q13107337 Q463533 Q19830715 Q365209 Q3176299 Q365196 Q217500 Q320 Q194000 Q361567 Q57534 Q329 Q45068 Q151929 Q153986 Q43179 Q56226 Q16105901 Q57491 Q57319 Q152274 Q57258 Q57313 Q236503 Q57315 Q151667 Q55758 Q18119638 Q1459699 Q57383 Q57380 Q57381 Q57385 Q157651 Q128332 Q629702 Q367825 Q1059948 Q57405 Q57407 Q57402 Q310536 Q16105972 Q57543 Q296741 Q207728 Q19831439 Q78492 Q19831437 Q181154 Q19831432 Q14362 Q264210 Q151087 Q444 Q19810371 Q16765135 Q297825 Q400961 Q4413 Q57429 Q57537 Q15382355 Q187149 Q363392 Q57473 Q5901842 Q57348 Q361173 Q12967 Q3956186 Q1245 Q57478 Q1241 Q1240 Q1242 Q181832 Q153688 Q172388 Q15031 Q1238 Q299100 Q16988 Q1230 Q1233 Q1235 Q16849387 Q294969 Q561837 Q12762303 Q57449 Q57363 Q57366 Q57441 Q40722 Q57444 Q57446 Q284233 Q295212 Q2610 Q76179 Q5448556 Q41117 Q445553 Q165210 Q355610 Q19831452 Q2625711 Q1464 Q968038 Q128416 Q29032 Q29207 Q310247 Q289285 Q2866 Q2042 Q155004 Q196070 Q208497 Q2416022 Q44819 Q23530 Q880065 Q7747 Q379203 Q57667 Q150642 Q299152 Q57542 Q147989 Q6762928 Q377935 Q36233 Q154936 Q555531 Q236853 Q17485808 Q57324 Q57327 Q16669148 Q290786 Q57480 Q57482 Q773874 Q192049 Q886786 Q7244117 Q12149 Q2960197 Q36788 Q57390 Q57392 Q57394 Q57398 Q6127060 Q52878 Q2112764 Q57431 Q57434 Q57436 Q57438 Q344729 Q2646 Q14356 Q2105 Q76437 Q944643 Q2038 Q19581 Q52927 Q93427 Q483672 Q12366816 Q19830746 Q16597 Q15850 Q373532 Q3911 Q280856 Q57506 Q284003 Q16908893 Q37181 Q52890 Q43330 Q128894 Q76127 Q191045 Q12950 Q44329 Q157099 Q296950 Q57340 Q34464 Q2665070 Q128911 Q324108 Q15029 Q218435 Q4250160 Q334923 Q1079522 Q57298 Q57295 Q150747 Q590227 Q4414 Q2498541 Q57276 Q57274 Q57272 Q57379 Q57376 Q17410819 Q57371 Q57279 Q5018756 Q15054736 Q9099 Q230578 Q9094 Q1112792 Q8467 Q2601 Q2602 Q2607 Q612803 Q3318231 Q295141 Q314791 Q39619 Q153832 Q2091478 Q52925 Q52924 Q52926 Q485946 Q1231345 Q42410 Q1568274 Q10665 Q2444338 Q23034482 Q18117069 Q156806 Q336285 Q163945 Q602428 Q45785 Q15633683 Q30487 Q223183 Q172183 Q311413 Q213791 Q58077 Q12911 Q76167 Q242651 Q7176020 Q156502 Q17995110 Q42852 Q171684 Q57553 Q257425 Q468847 Q57311 Q379148 Q504372 Q217442 Q160318 Q210329 Q313539 Q381027 Q189575 Q22513 Q57331 Q165487 Q57336 Q57232 Q269412 Q471037 Q6127112 Q46809 Q19831185 Q19831184 Q19831183 Q157121 Q16004 Q5972763 Q57343 Q57424 Q57422 Q57421 Q14345 Q14342 Q16193958 Q19831457 Q473247 Q156494 Q20022984 Q76156 Q152463 Q455854 Q936831 Q153167 Q58132 Q156781 Q156780 Q2185 Q57519 Q57512 Q57517 Q57555 Q168691 Q151944 Q371854 Q154946 Q5816 Q57550 Q661663 Q19861344 Q311583 Q7726 Q128413 Q152265 Q357539 Q150620 Q563297 Q313350 Q559756 Q6225811 Q206471 Q151729 Q34453 Q57289 Q57282 Q57287 Q57284 Q57460 Q57467 Q310000 Q57464 Q2667 Q57308 Q3246667 Q37979 Q965155 Q57303 Q5983599 Q10707 Q26776 Q239717 Q2357762 Q159585 Q50678 Q4715 Q105480 Q128307 Q37731 Q312355 Q146496 Q188667 Q43915 Q298577 Q334111 Q2498455 Q3407316 Q57413 Q57410 Q19943 Q57418 Q20090884 Q21968142 Q317894 Q19628885 Q163813 Q57356 Q24692 Q456902 Q5220343 Q1707507 Q2124 Q296054 Q18352991 Q599988 Q297057 Q229493 Q57526 Q373605 Q17132 Q138048 Q212751 Q4772220 Q212058 Q878336 Q562002 Q701484 Q352 Q130834 Q12976 Q12974 Q12973 Q12971 Q14257286 Q150652 Q1459658 Q128371 Q150712 Q319153 Q314514 Q57306 Q19831445 Q299173 Q1228 Q1224 Q206421 Q1220 Q310136 Q57338 Q39259 Q307871 Q2757 Q57458 Q57350 Q57352 Q57452 Q57456 Q57454 Q183848 Q65917 Q380985 Q9682 Q15039600 Q2628 Q19831449
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q152511
relation P35
type Q15617994
type Q7275
[ANSWERS] are elected as the head of state of greater number of administrative territories or states than Eddie Fenech Adami
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?d WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?g rdf:type ?t } GROUP BY ?d } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P35 resource:Q152511 . { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?p rdf:type ?r } } } }
Beatrix of the Netherlands Umar II Michal Kováč Maithripala Sirisena Marcelo Rebelo de Sousa Thomas Currie Jonathan Lambert Leonid Kravchuk Gurbanguly Berdimuhamedow Ephraim Katzir Evaristo Carvalho Hipólito Mejía Amānullāh Khān Andrzej Duda Willem-Alexander of the Netherlands John Woolley François Hollande Giorgi Margvelashvili Michel Temer Robert Ben Madison Konstantinos Tsatsos Kolinda Grabar-Kitarović Phaedon Gizikis Rupiah Banda Michelle Bachelet Arnold Rüütel Muhammadu Buhari Mohammed Magariaf Nicolas Sarkozy Carl XVI Gustaf of Sweden Eduard Shevardnadze Guy Scott Ellen Johnson Sirleaf Kim Jong-un Paul Delprat Ricardo Martinelli Norodom Sihamoni Edvard Beneš Ivo Josipović José Eduardo dos Santos Fernando Collor de Mello Salva Kiir Mayardit Ferdinand I of Bulgaria Aleksander Kwaśniewski Guerrino Zanotti Viktor Yushchenko Girma Wolde-Giorgis Goodluck Jonathan Haris Silajdžić Teodoro Obiang Nguema Mbasogo Gustáv Husák Hisham ibn Abd al-Malik Leonid Kuchma Salman bin Abdulaziz Al Saud Khalifa bin Zayed Al Nahyan Susilo Bambang Yudhoyono Truong Tan Sang Daniel Ortega Francesco I Sforza Michel Kafando Sprent Dabwido Enrique Peña Nieto Mohammad Najibullah Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Muawiyah I Giuseppe Bertoleoni Chun Doo-hwan Muawiya II Jérôme Bonaparte Lech Wałęsa Vít Jedlička Isabel Saint Malo Željko Komšić Ahmad bin Yahya Alpha Condé Danilo Medina Letsie III of Lesotho Hery Rajaonarimampianina Umberto II of Italy Michel Aoun Joan Enric Vives Sicília Horacio Cartes Isaias Afewerki Sulejman Tihić Leopold II Sergio Mattarella Enrico De Nicola Nicolae Timofti Giovanni Gronchi Antonio Segni Luigi Einaudi Moshe Katsav Umberto I of Italy Ashraf Ghani Ahmadzai Xi Jinping Giuseppe Saragat Zalman Shazar Liu Shaoqi Francesco Cossiga Sandro Pertini Giovanni Leone Jam Nizamuddin II Mohamed Ould Abdel Aziz Mauricio Macri Andrej Kiska Ian Khama Andry Rajoelina Emomali Rahmon Ram Baran Yadav Dilma Rousseff Choummaly Sayasone Pranab Mukherjee Sulayman ibn Abd al-Malik Rosen Plevneliev Willi Stoph Megawati Sukarnoputri Filipe Nyusi Kim Il-sung Prince Charles, Count of Flanders Kim Young-sam Mohammed Nadir Shah Carlo II Bertoleoni Vseslav Izyaslavich Benigno Simeon Cojuangco Aquino III Dong Biwu Ibrahim ibn al-Walid Miloš Zeman Sauli Niinistö Mohammed Daoud Khan Filippo Maria Visconti Alexander Lukashenko Charles de Gaulle Philippe of Belgium Uhuru Kenyatta Tupou VI Raimonds Vējonis Suharto Dmitry Medvedev Héctor García Godoy Vladimir Putin Khieu Samphan Dési Bouterse Vittorio Emanuele III Emil Constantinescu Filip Vujanović Joaquín Balaguer Marie Louise Coleiro Preca Yang Shangkun Václav Havel Arnulf of Carinthia Paddy Roy Bates Ludovico Sforza Aguila Salah Issa Blaise Compaoré Hassanal Bolkiah Patrice Talon Stefan Dragutin Abdrabbuh Mansour Hadi Mahamadou Issoufou Maria I of Portugal Yun Posun Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Thein Sein Charles Savarin Abd al-Malik ibn Marwan Ismaïl Omar Guelleh Armando Guebuza Nursultan Nazarbayev Aníbal Cavaco Silva Jam Feruzudin Gustaf VI Adolf of Sweden Nicos Anastasiades Tomislav Nikolić Václav Klaus Gjorge Ivanov Macky Sall Christos Sartzetakis Friedrich Ebert Park Chung-hee Jacques Chirac Karl Dönitz Mladen Ivanić François Mitterrand Ratael Correa Charles XIV John of Sweden Archduke John of Austria Ali Abdullah Saleh Kersti Kaljulaid King Louis I of Talossa Jiang Zemin Oleksandr Turchynov Michail Stasinopoulos Albert II George VI Andris Bērziņš Al-Walid I José Mário Vaz Luiz Inácio Lula da Silva Gustaf V of Sweden Mikhail Saakashvili Yitzhak Ben-Zvi Sukarno Felipe VI Alain Poher Bashar al-Assad Louis the Child Antanas Smetona Mswati III Philip III of Spain Jozo Križanović Ezer Weizman Ibrahim Boubacar Keïta Hu Jintao Zviad Gamsakhurdia Tion Otang Abu Bakr Erasme Louis Surlet de Chokier Abdullah of Saudi Arabia Ivan Gašparovič Wilhelmina of the Netherlands Edward VIII Faure Gnassingbé Rogvolod Michael Higgins Yoweri Museveni Paul Biya Dalia Grybauskaitė Jigme Khesar Namgyel Wangchuck Fuad Masum Ilham Aliyev Traian Băsescu John Magufuli Mulatu Teshome Tabaré Vázquez Fernando Henrique Cardoso José Mujica Anna Maria Muccioli Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Serzh Sargsyan Joko Widodo Chaim Herzog Yazid II Alī ibn Abī Ṭālib Alcide De Gasperi Ioannis Alevras Charles XV of Sweden Oscar II of Sweden Oscar I of Sweden Itamar Franco Paul Kagame Evo Morales Hage Geingob Kim Jong-il Mirko Šarović Taaneti Mamau Baldwin Lonsdale Konstantinos Karamanlis Tommy Remengesau Yahya Muhammad Hamid ed-Din Antonio Guzmán Fernández Kim Dae-jung Catherine Samba-Panza Mikhail Gorbachev Peter II of Yugoslavia Chaim Weizmann Li Xiannian Eric Bloodaxe Petro Poroshenko Christopher Loeak Abdurrahman Wahid Roh Tae-woo Peter Mutharika Emil Hácha Jimmy Morales Abdullah Gül Rhee Syng-man Mohammed VI of Morocco Gojong of the Korean Empire Oswiu of Northumbria Juan Manuel Santos Jean-Pierre Bemba Ye Jianying Yazid I Norodom Sihanouk Yuan Shikai Beji Caid el Sebsi Pedro Pablo Kuczynski Ion Iliescu Zhu De Qaboos bin Said al Said Ahmet Necdet Sezer Ali Khamenei Sabine Bergmann-Pohl George V Inayatullah Khan Jam Unar Raúl Castro Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Conrad I of Germany Henri, Grand Duke of Luxembourg Jacobo Majluta Azar Pierre Nkurunziza Manuel Serifo Nhamadjo Donald Ramotar Tsakhiagiin Elbegdorj Roh Moo-hyun Lee Myung-bak Bidhya Bhandari Tonino Bertoleoni Habibullāh Kalakāni Antonín Novotný Ameenah Gurib-Fakim Bacharuddin Jusuf Habibie Louis the German Reuven Rivlin Salvador Sánchez Cerén Valdas Adamkus Nicolás Maduro Mário Soares Jorge Sampaio Georges Pompidou Taur Matan Ruak Michel Martelly Jorge Carlos Fonseca Sabah Al-Ahmad Al-Jaber Al-Sabah Victor Emmanuel II of Savoy Leonel Fernández el ladron Antonín Zápotocký Juliana of the Netherlands Mao Zedong Abdul Halim of Kedah Stephen Vladislav II of Syrmia Niels Vermeersch Yitzhak Navon Joseph Bonaparte Yazid III Mohammed Zahir Shah Gian Galeazzo Visconti Henry I the Fowler Baron Waqa Choi Kyu-ha Dragan Čović John Charlton Rudge Borut Pahor Süleyman Demirel Boris Yeltsin Toomas Hendrik Ilves Jacob Zuma Harald V of Norway Ólafur Ragnar Grímsson Ernest Bai Koroma János Áder Ludvík Svoboda Abdullah II of Jordan Paul von Hindenburg Abdelaziz Bouteflika Abdul Hamid Akihito Teburoro Tito Karolos Papoulias Luis Guillermo Solís Robert Mugabe Momčilo Krajišnik Pearlette Louisy Izyaslav of Polotsk Boris III of Bulgaria John Mahama Moncef Marzouki Kenneth Kaunda Al-Walid II Uthman ibn Affan Bakir Izetbegović Stjepan Mesić Burhanuddin Rabbani Otto I the Great Marwan I Sunjong of the Korean Empire Bryachislav of Polotsk Prokopis Pavlopoulos Alassane Ouattara Shimon Peres Juan Carlos I Denis Sassou Nguesso Hilda C. Heine Casten Nemra Galeazzo Maria Sforza Michael Bates Rudolf Schuster Yahya Jammeh Almazbek Atambayev Gian Maria Visconti Danny Faure Eliud Williams Valéry Giscard d'Estaing Klement Gottwald Edgar Lungu Roch Marc Christian Kaboré Frederick Chiluba Nino Burjanadze Bujar Nishani Epeli Nailatikau Soong Ching-ling Park Geun-hye Algirdas Brazauskas Anthony Carmona Levy Mwanawasa Gianfranco Terenzi Salvador Jorge Blanco Klaus Iohannis Adolf Hitler Francis I of Austria Baudouin of Belgium Albert I Leopold III Leopold I Mamnoon Hussain Wilhelm I of Germany Viktor Yanukovych Marwan II Charles the Fat Hassan Sheikh Mohamud Gian Galeazzo Sforza Jalal Talabani Mariangela Bertoleoni Michael Sata Oscar Luigi Scalfaro Carlo Azeglio Ciampi Konstantinos Stephanopoulos Giorgio Napolitano Nebojša Radmanović Mahinda Rajapaksa Recep Tayyip Erdoğan Abdel Fattah el-Sisi Lech Kaczyński Ikililou Dhoinine Idriss Déby Hamad bin Isa Al Khalifa François Bozizé Anote Tong Hans-Adam II, Prince of Liechtenstein Alija Izetbegović Wilhelm Pieck Aleksandras Stulginskis Elizabeth II Gian Carlo Capicchioni Walter Ulbricht Paolo II Bertoleoni
Vladimir Putin, Václav Havel and Adolf Hitler are elected as the head of state of greater number of administrative territories or states than Eddie Fenech Adami
Vladimir Putin Václav Havel Adolf Hitler
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Eddie Fenech Adami
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?d WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?g rdf:type ?t } GROUP BY ?d } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:head_of_state resource:Eddie_Fenech_Adami . { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?p rdf:type ?r } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q181154
P35
Q502895 Q15617994 Q7275
USER
And how about Muawiyah I?
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q181154
relation P35
type Q15617994
type Q7275
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P35 resource:Q181154 . { { ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q7275 } } } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?p ) WHERE { { ?b rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15617994 . ?w property:P35 ?b } UNION { ?w property:P35 ?b . ?b rdf:type ontology:Q502895 . ?w rdf:type ontology:Q7275 } } GROUP BY ?b } }
Muawiyah I
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Muawiyah I
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:head_of_state resource:Muawiyah_I . { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:state } } } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?p ) WHERE { { ?b rdf:type ontology:common_name . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:head_of_state ?b } UNION { ?w property:head_of_state ?b . ?b rdf:type ontology:common_name . ?w rdf:type ontology:state } } GROUP BY ?b } }
[]
common name designation for an administrative territorial entity state
Q7747 Q36233 Q9682
SYSTEM
Vladimir Putin, Václav Havel, Elizabeth II
Q154952 Q157 Q152274 Q7747 Q147989 Q36233 Q43330 Q12950 Q324108 Q156806 Q189575 Q151944 Q559756 Q2667 Q229493 Q9682
(c(Q15617994)|c(Q7275),P35,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action count
action filter_multi_types
action find_reverse
entity Q181154
relation P35
type Q15617994
type Q7275
[ANSWERS] And about Muawiyah I
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P35 resource:Q181154 . { { ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q7275 } } } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?p ) WHERE { { ?b rdf:type ontology:Q502895 . ?w rdf:type ontology:Q15617994 . ?w property:P35 ?b } UNION { ?w property:P35 ?b . ?b rdf:type ontology:Q502895 . ?w rdf:type ontology:Q7275 } } GROUP BY ?b } }
Willem-Alexander of the Netherlands François Hollande Edvard Beneš Vladimir Putin Joaquín Balaguer Václav Havel Mikhail Saakashvili Alain Poher Ibrahim Boubacar Keïta Konstantinos Karamanlis Ion Iliescu Leonel Fernández el ladron Dragan Čović Paul von Hindenburg Nino Burjanadze Elizabeth II
Vladimir Putin, Václav Havel and Elizabeth II And about Muawiyah I
Vladimir Putin Václav Havel Elizabeth II
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type state
action count
action filter_multi_types
action find_reverse
entity Muawiyah I
relation head of state
type designation for an administrative territorial entity
type state
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?p > ?n ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:head_of_state resource:Muawiyah_I . { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:state } } } } . { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?p ) WHERE { { ?b rdf:type ontology:common_name . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:head_of_state ?b } UNION { ?w property:head_of_state ?b . ?b rdf:type ontology:common_name . ?w rdf:type ontology:state } } GROUP BY ?b } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4568915 Q6525437
P27
Q15617994
USER
Which administrative territories are Leonard John Brass or Ellen Mattsson a civilian of ?
OR((Q6525437,P27,c(Q15617994)), (Q4568915,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6525437
relation P27
action find
entity Q4568915
relation P27
type Q15617994
{'OR': [['Q6525437', 'P27', {'concept': 'Q15617994'}], ['Q4568915', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6525437 property:P27 ?p } UNION { resource:Q4568915 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Ellen Mattsson Leonard John Brass
action filter_type
action union
action find
entity Leonard John Brass
relation country of citizenship
action find
entity Ellen Mattsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leonard John Brass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ellen Mattsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Leonard_John_Brass property:country_of_citizenship ?p } UNION { resource:Ellen_Mattsson property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q34
SYSTEM
United States of America, Sweden
Q30 Q34
OR((Q6525437,P27,c(Q15617994)), (Q4568915,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6525437
relation P27
action find
entity Q4568915
relation P27
type Q15617994
[ANSWERS] are Leonard John Brass or Ellen Mattsson a civilian of
{'OR': [['Q6525437', 'P27', {'concept': 'Q15617994'}], ['Q4568915', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6525437 property:P27 ?p } UNION { resource:Q4568915 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
United States of America Sweden
United States of America and Sweden are Leonard John Brass or Ellen Mattsson a civilian of
United States of America Sweden
action filter_type
action union
action find
entity Leonard John Brass
relation country of citizenship
action find
entity Ellen Mattsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Leonard John Brass', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ellen Mattsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Leonard_John_Brass property:country_of_citizenship ?p } UNION { resource:Ellen_Mattsson property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1724995
P495
Q15416
USER
Are those administrative territories a country of origin of Monster Garage ?
(Q1724995,P495,Q30) (Q1724995,P495,Q34)
action is_in
entity prev_answer
action find
entity Q1724995
relation P495
['Q1724995', 'P495', 'Q30'] ['Q1724995', 'P495', 'Q34']
ASK WHERE { resource:Q1724995 property:P495 ?g . VALUES ( ?g ) { ( resource:Q30 ) ( resource:Q34 ) } }
Monster Garage
action is_in
entity prev_answer
action find
entity Monster Garage
relation country of origin
['Monster Garage', 'country of origin', 'United States of America'] ['Monster Garage', 'country of origin', 'Sweden']
ASK WHERE { resource:Monster_Garage property:country_of_origin ?g . VALUES ( ?g ) { ( resource:United_States_of_America ) ( resource:Sweden ) } }
[]
television program
SYSTEM
YES
(Q1724995,P495,Q30) (Q1724995,P495,Q34)
action is_in
entity prev_answer
action find
entity Q1724995
relation P495
[ANSWER]
['Q1724995', 'P495', 'Q30'] ['Q1724995', 'P495', 'Q34']
ASK WHERE { resource:Q1724995 property:P495 ?g . VALUES ( ?g ) { ( resource:Q30 ) ( resource:Q34 ) } }
Yes
action is_in
entity prev_answer
action find
entity Monster Garage
relation country of origin
['Monster Garage', 'country of origin', 'United States of America'] ['Monster Garage', 'country of origin', 'Sweden']
ASK WHERE { resource:Monster_Garage property:country_of_origin ?g . VALUES ( ?g ) { ( resource:United_States_of_America ) ( resource:Sweden ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2069092 Q1724995
P495
Q15617994
USER
Which administrative territories are the origins of Monster Garage or Op Hoop van Zegen ?
OR((Q1724995,P495,c(Q15617994)), (Q2069092,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1724995
relation P495
action find
entity Q2069092
relation P495
type Q15617994
{'OR': [['Q1724995', 'P495', {'concept': 'Q15617994'}], ['Q2069092', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1724995 property:P495 ?p } UNION { resource:Q2069092 property:P495 ?p } } . ?p rdf:type ontology:Q15617994 }
Op Hoop van Zegen Monster Garage
action filter_type
action union
action find
entity Monster Garage
relation country of origin
action find
entity Op Hoop van Zegen
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Monster Garage', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Op Hoop van Zegen', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Monster_Garage property:country_of_origin ?p } UNION { resource:Op_Hoop_van_Zegen property:country_of_origin ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55 Q34
SYSTEM
United States of America, Netherlands, Sweden
Q30 Q55 Q34
OR((Q1724995,P495,c(Q15617994)), (Q2069092,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1724995
relation P495
action find
entity Q2069092
relation P495
type Q15617994
[ANSWERS] are the origins of Monster Garage or Op Hoop van Zegen
{'OR': [['Q1724995', 'P495', {'concept': 'Q15617994'}], ['Q2069092', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1724995 property:P495 ?p } UNION { resource:Q2069092 property:P495 ?p } } . ?p rdf:type ontology:Q15617994 }
United States of America Netherlands Sweden
United States of America, Netherlands and Sweden are the origins of Monster Garage or Op Hoop van Zegen
United States of America Netherlands Sweden
action filter_type
action union
action find
entity Monster Garage
relation country of origin
action find
entity Op Hoop van Zegen
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Monster Garage', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Op Hoop van Zegen', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Monster_Garage property:country_of_origin ?p } UNION { resource:Op_Hoop_van_Zegen property:country_of_origin ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6754743 Q989866
P915 P17
Q1048835
USER
Which political territories were the locations of filming Martin Luther or are Maramataha River a part of ?
OR((Q989866,P915,c(Q1048835)), (Q6754743,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q989866
relation P915
action find
entity Q6754743
relation P17
type Q1048835
{'OR': [['Q989866', 'P915', {'concept': 'Q1048835'}], ['Q6754743', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q989866 property:P915 ?b } UNION { resource:Q6754743 property:P17 ?b } } . ?b rdf:type ontology:Q1048835 }
Maramataha River Martin Luther
action filter_type
action union
action find
entity Martin Luther
relation filming location
action find
entity Maramataha River
relation country
type political territorial entity
{'OR': [['Martin Luther', 'filming location', {'concept': 'political territorial entity'}], ['Maramataha River', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Martin_Luther property:filming_location ?b } UNION { resource:Maramataha_River property:country ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q989866,P915,c(Q1048835)), (Q6754743,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q989866
relation P915
action find
entity Q6754743
relation P17
type Q1048835
[ANSWERS] were the locations of filming Martin Luther or are Maramataha River a part of
{'OR': [['Q989866', 'P915', {'concept': 'Q1048835'}], ['Q6754743', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q989866 property:P915 ?b } UNION { resource:Q6754743 property:P17 ?b } } . ?b rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand and Germany were the locations of filming Martin Luther or are Maramataha River a part of
New Zealand Germany
action filter_type
action union
action find
entity Martin Luther
relation filming location
action find
entity Maramataha River
relation country
type political territorial entity
{'OR': [['Martin Luther', 'filming location', {'concept': 'political territorial entity'}], ['Maramataha River', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Martin_Luther property:filming_location ?b } UNION { resource:Maramataha_River property:country ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]