Simple Question (Direct)
Simple Question
Q1194353
P161
Q502895
USER
Which people were casted in The Hitchhiker ?
(Q1194353,P161,c(Q502895))
action filter_type
action find
entity Q1194353
relation P161
type Q502895
['Q1194353', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1194353 property:P161 ?d . ?d rdf:type ontology:Q502895 }
The Hitchhiker
action filter_type
action find
entity The Hitchhiker
relation cast member
type common name
['The Hitchhiker', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Hitchhiker property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
common name
Q4355121 Q3875964
SYSTEM
Page Fletcher, Nicholas Campbell
Q4355121 Q3875964
(Q1194353,P161,c(Q502895))
action filter_type
action find
entity Q1194353
relation P161
type Q502895
[ANSWERS] were casted in The Hitchhiker
['Q1194353', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1194353 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Page Fletcher Nicholas Campbell
Page Fletcher and Nicholas Campbell were casted in The Hitchhiker
Page Fletcher Nicholas Campbell
action filter_type
action find
entity The Hitchhiker
relation cast member
type common name
['The Hitchhiker', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Hitchhiker property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4355121
P735
Q82799
USER
What is the firstname of that person ?
(Q4355121,P735,c(Q82799))
action filter_type
action find
entity Q4355121
relation P735
type Q82799
['Q4355121', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q4355121 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Page Fletcher
action filter_type
action find
entity Page Fletcher
relation given name
type name
['Page Fletcher', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Page_Fletcher property:given_name ?r . ?r rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q4355121
SYSTEM
Did you mean Page Fletcher ?
Q4355121 Q3875964
(Q4355121,P735,c(Q82799)) (Q3875964,P735,c(Q82799))
[ANSWER]
['Q4355121', 'P735', {'concept': 'Q82799'}] ['Q3875964', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q4355121 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Page Fletcher Nicholas Campbell
Did you mean Page Fletcher ?
Page Fletcher
['Page Fletcher', 'given name', {'concept': 'name'}] ['Nicholas Campbell', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Page_Fletcher property:given_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4355121,P735,c(Q82799))
['Q4355121', 'P735', {'concept': 'Q82799'}]
['Page Fletcher', 'given name', {'concept': 'name'}]
[]
Q15471528
SYSTEM
Page
Q15471528
(Q4355121,P735,c(Q82799))
action filter_type
action find
entity Q4355121
relation P735
type Q82799
The firstname of that person is a [ANSWER]
['Q4355121', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q4355121 property:P735 ?r . ?r rdf:type ontology:Q82799 }
Page
The firstname of that person is a Page
Page
action filter_type
action find
entity Page Fletcher
relation given name
type name
['Page Fletcher', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Page_Fletcher property:given_name ?r . ?r rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15471528 Q13563379
P1533
Q82799
USER
Is Page equal to Page ?
(Q15471528,P1533,Q13563379)
action is_in
entity Q13563379
action find
entity Q15471528
relation P1533
['Q15471528', 'P1533', 'Q13563379']
ASK WHERE { resource:Q15471528 property:P1533 resource:Q13563379 }
Page Page
action is_in
entity Page
action find
entity Page
relation family name identical to this first name
['Page', 'family name identical to this first name', 'Page']
ASK WHERE { resource:Page property:family_name_identical_to_this_first_name resource:Page }
[]
name
SYSTEM
YES
(Q15471528,P1533,Q13563379)
action is_in
entity Q13563379
action find
entity Q15471528
relation P1533
[ANSWER]
['Q15471528', 'P1533', 'Q13563379']
ASK WHERE { resource:Q15471528 property:P1533 resource:Q13563379 }
Yes
action is_in
entity Page
action find
entity Page
relation family name identical to this first name
['Page', 'family name identical to this first name', 'Page']
ASK WHERE { resource:Page property:family_name_identical_to_this_first_name resource:Page }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q18783400 Q386724
USER
How many names are demonstrated in around 3 genres of sculpture and works ?
(c(Q18783400)|c(Q386724),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
value 3
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:Q18783400 . ?z rdf:type ontology:Q82799 . ?r property:P180 ?z } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q82799 . ?r rdf:type ontology:Q386724 } } GROUP BY ?z } . FILTER ( ?f = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type work
value 3
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:genre_of_sculpture . ?z rdf:type ontology:name . ?r property:depicts ?z } UNION { ?r property:depicts ?z . ?z rdf:type ontology:name . ?r rdf:type ontology:work } } GROUP BY ?z } . FILTER ( ?f = 3 ) }
[]
name genre of sculpture work
SYSTEM
2
Q2092297 Q144
(c(Q18783400)|c(Q386724),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
value 3
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:Q18783400 . ?z rdf:type ontology:Q82799 . ?r property:P180 ?z } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q82799 . ?r rdf:type ontology:Q386724 } } GROUP BY ?z } . FILTER ( ?f = 3 ) }
eagle dog
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type work
value 3
[[{'concept': 'genre of sculpture'}, {'concept': 'work'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:genre_of_sculpture . ?z rdf:type ontology:name . ?r property:depicts ?z } UNION { ?r property:depicts ?z . ?z rdf:type ontology:name . ?r rdf:type ontology:work } } GROUP BY ?z } . FILTER ( ?f = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3091
Q502895 Q3745054 Q502895
USER
Which people utilize max number of people and horse breeds as steed ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action argmax
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?g rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?e ) AS ?o ) { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?e ) WHERE { { ?h property:P3091 ?v . ?h rdf:type ontology:Q502895 . ?v rdf:type ontology:Q3745054 } UNION { ?h property:P3091 ?v . ?h rdf:type ontology:Q502895 . ?v rdf:type ontology:Q502895 } } GROUP BY ?h } } }
action argmax
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?g rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?e ) AS ?o ) { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?e ) WHERE { { ?h property:mount ?v . ?h rdf:type ontology:common_name . ?v rdf:type ontology:horse_breed } UNION { ?h property:mount ?v . ?h rdf:type ontology:common_name . ?v rdf:type ontology:common_name } } GROUP BY ?h } } }
[]
common name horse breed common name
Q724288
SYSTEM
Rodrigo Pessoa
Q724288
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action argmax
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
[ANSWER] utilize max number of people and horse breeds as steed
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?g rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?e ) AS ?o ) { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?e ) WHERE { { ?h property:P3091 ?v . ?h rdf:type ontology:Q502895 . ?v rdf:type ontology:Q3745054 } UNION { ?h property:P3091 ?v . ?h rdf:type ontology:Q502895 . ?v rdf:type ontology:Q502895 } } GROUP BY ?h } } }
Rodrigo Pessoa
Rodrigo Pessoa utilize max number of people and horse breeds as steed
Rodrigo Pessoa
action argmax
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?s ) WHERE { VALUES ( ?z ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?g rdf:type ?z } GROUP BY ?r } . { SELECT DISTINCT ( MAX ( ?e ) AS ?o ) { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?e ) WHERE { { ?h property:mount ?v . ?h rdf:type ontology:common_name . ?v rdf:type ontology:horse_breed } UNION { ?h property:mount ?v . ?h rdf:type ontology:common_name . ?v rdf:type ontology:common_name } } GROUP BY ?h } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q724288 Q155
P27
Q15617994
USER
Is that person an inhabitant of Brazil ?
(Q724288,P27,Q155)
action is_in
entity Q155
action find
entity Q724288
relation P27
['Q724288', 'P27', 'Q155']
ASK WHERE { resource:Q724288 property:P27 resource:Q155 }
Rodrigo Pessoa Brazil
action is_in
entity Brazil
action find
entity Rodrigo Pessoa
relation country of citizenship
['Rodrigo Pessoa', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Rodrigo_Pessoa property:country_of_citizenship resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q724288,P27,Q155)
action is_in
entity Q155
action find
entity Q724288
relation P27
[ANSWER]
['Q724288', 'P27', 'Q155']
ASK WHERE { resource:Q724288 property:P27 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Rodrigo Pessoa
relation country of citizenship
['Rodrigo Pessoa', 'country of citizenship', 'Brazil']
ASK WHERE { resource:Rodrigo_Pessoa property:country_of_citizenship resource:Brazil }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q15471528 Q13563379 Q21482526
P1533
Q82799
USER
Does Page exactly matches Page and Galiazzo ?
(Q15471528,P1533,Q13563379) (Q15471528,P1533,Q21482526)
action is_in
entity Q15471528
action intersection
action find_reverse
entity Q13563379
relation P1533
action find_reverse
entity Q21482526
relation P1533
['Q15471528', 'P1533', 'Q13563379'] ['Q15471528', 'P1533', 'Q21482526']
ASK WHERE { resource:Q15471528 property:P1533 resource:Q13563379 . resource:Q15471528 property:P1533 resource:Q21482526 }
Page Page Galiazzo
action is_in
entity Page
action intersection
action find_reverse
entity Page
relation family name identical to this first name
action find_reverse
entity Galiazzo
relation family name identical to this first name
['Page', 'family name identical to this first name', 'Page'] ['Page', 'family name identical to this first name', 'Galiazzo']
ASK WHERE { resource:Page property:family_name_identical_to_this_first_name resource:Page . resource:Page property:family_name_identical_to_this_first_name resource:Galiazzo }
[]
name
SYSTEM
YES and NO respectively
(Q15471528,P1533,Q13563379) (Q15471528,P1533,Q21482526)
action is_in
entity Q15471528
action intersection
action find_reverse
entity Q13563379
relation P1533
action find_reverse
entity Q21482526
relation P1533
[ANSWER]
['Q15471528', 'P1533', 'Q13563379'] ['Q15471528', 'P1533', 'Q21482526']
ASK WHERE { resource:Q15471528 property:P1533 resource:Q13563379 . resource:Q15471528 property:P1533 resource:Q21482526 }
YES and NO respectively
action is_in
entity Page
action intersection
action find_reverse
entity Page
relation family name identical to this first name
action find_reverse
entity Galiazzo
relation family name identical to this first name
['Page', 'family name identical to this first name', 'Page'] ['Page', 'family name identical to this first name', 'Galiazzo']
ASK WHERE { resource:Page property:family_name_identical_to_this_first_name resource:Page . resource:Page property:family_name_identical_to_this_first_name resource:Galiazzo }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q30 Q13563379
P27 P734
Q502895
USER
Which people have Page as family name and do n't have nationality of United States of America ?
AND((c(Q502895),P734,Q13563379), NOT((c(Q502895),P27,Q30)))
action filter_type
action difference
action find_reverse
entity Q13563379
relation P734
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q13563379'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q30']]}]}
SELECT DISTINCT ?f WHERE { ?f property:P734 resource:Q13563379 . MINUS { ?f property:P27 resource:Q30 } . ?f rdf:type ontology:Q502895 }
United States of America Page
action filter_type
action difference
action find_reverse
entity Page
relation family name
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Page'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}]}
SELECT DISTINCT ?f WHERE { ?f property:family_name resource:Page . MINUS { ?f property:country_of_citizenship resource:United_States_of_America } . ?f rdf:type ontology:common_name }
[]
common name
Q6833334 Q19768191 Q467749 Q25711434 Q4714235 Q22673511 Q7348257 Q21170951 Q573730
SYSTEM
Michael Page, George A. Page Jr., Joanna Page, John Page, Alec Page, Perren Page, Robert Page, Pierre-André Page, Anthony Page
Q6833334 Q19768191 Q467749 Q25711434 Q4714235 Q22673511 Q7348257 Q21170951 Q573730
AND((c(Q502895),P734,Q13563379), NOT((c(Q502895),P27,Q30)))
action filter_type
action difference
action find_reverse
entity Q13563379
relation P734
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] have Page as family name and do n't have nationality of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q13563379'], {'NOT': [[{'concept': 'Q502895'}, 'P27', 'Q30']]}]}
SELECT DISTINCT ?f WHERE { ?f property:P734 resource:Q13563379 . MINUS { ?f property:P27 resource:Q30 } . ?f rdf:type ontology:Q502895 }
Michael Page George A. Page Jr. Joanna Page John Page Alec Page Perren Page Robert Page Pierre-André Page Anthony Page
Michael Page, George A. Page Jr., Joanna Page, John Page, Alec Page, Perren Page, Robert Page, Pierre-André Page and Anthony Page have Page as family name and do n't have nationality of United States of America
Michael Page George A. Page Jr. Joanna Page John Page Alec Page Perren Page Robert Page Pierre-André Page Anthony Page
action filter_type
action difference
action find_reverse
entity Page
relation family name
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Page'], {'NOT': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}]}
SELECT DISTINCT ?f WHERE { ?f property:family_name resource:Page . MINUS { ?f property:country_of_citizenship resource:United_States_of_America } . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q53362
P725
Q502895 Q166142
USER
How many applications did more number of people dub for than Bakemonogatari ?
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q53362
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?a ) WHERE { ?f property:P725 ?m . ?f rdf:type ontology:Q166142 . ?m rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Q53362 property:P725 ?s . ?s rdf:type ontology:Q166142 } } }
Bakemonogatari
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Bakemonogatari
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?a ) WHERE { ?f property:voice_actor ?m . ?f rdf:type ontology:application . ?m rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Bakemonogatari property:voice_actor ?s . ?s rdf:type ontology:application } } }
[]
common name application
SYSTEM
8
Q1052131 Q1141963 Q870981 Q2061445 Q843131 Q23017199 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q53362
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?a ) WHERE { ?f property:P725 ?m . ?f rdf:type ontology:Q166142 . ?m rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Q53362 property:P725 ?s . ?s rdf:type ontology:Q166142 } } }
Super Smash Bros. Melee Star Fox 64 Super Smash Bros. Hyperdimension Neptunia Mk2 Super Smash Bros. Brawl Marvel Avengers Academy Star Fox 64 3D Star Fox: Assault
8
action count
action greater
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Bakemonogatari
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?a ) WHERE { ?f property:voice_actor ?m . ?f rdf:type ontology:application . ?m rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?a > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { resource:Bakemonogatari property:voice_actor ?s . ?s rdf:type ontology:application } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3565654 Q724288
P27
Q15617994
USER
Which administrative territories are Rodrigo Pessoa or Milan Šimečka an inhabitant of ?
OR((Q724288,P27,c(Q15617994)), (Q3565654,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q724288
relation P27
action find
entity Q3565654
relation P27
type Q15617994
{'OR': [['Q724288', 'P27', {'concept': 'Q15617994'}], ['Q3565654', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3565654 property:P27 ?r } UNION { resource:Q724288 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Milan Šimečka Rodrigo Pessoa
action filter_type
action union
action find
entity Rodrigo Pessoa
relation country of citizenship
action find
entity Milan Šimečka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rodrigo Pessoa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Milan Šimečka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Milan_Šimečka property:country_of_citizenship ?r } UNION { resource:Rodrigo_Pessoa property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q214
SYSTEM
Brazil, Slovakia
Q155 Q214
OR((Q724288,P27,c(Q15617994)), (Q3565654,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q724288
relation P27
action find
entity Q3565654
relation P27
type Q15617994
[ANSWERS] are Rodrigo Pessoa or Milan Šimečka an inhabitant of
{'OR': [['Q724288', 'P27', {'concept': 'Q15617994'}], ['Q3565654', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3565654 property:P27 ?r } UNION { resource:Q724288 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Brazil Slovakia
Brazil and Slovakia are Rodrigo Pessoa or Milan Šimečka an inhabitant of
Brazil Slovakia
action filter_type
action union
action find
entity Rodrigo Pessoa
relation country of citizenship
action find
entity Milan Šimečka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rodrigo Pessoa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Milan Šimečka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Milan_Šimečka property:country_of_citizenship ?r } UNION { resource:Rodrigo_Pessoa property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]