Simple Question (Direct)
Simple Question
Q952191
P19
Q56061
USER
Which administrative territory was Robert Picard born at ?
(Q952191,P19,c(Q56061))
action filter_type
action find
entity Q952191
relation P19
type Q56061
['Q952191', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q952191 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Robert Picard
action filter_type
action find
entity Robert Picard
relation place of birth
type administrative territorial entity
['Robert Picard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Robert_Picard property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q952191,P19,c(Q56061))
action filter_type
action find
entity Q952191
relation P19
type Q56061
Robert Picard was born in [ANSWER]
['Q952191', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q952191 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Montreal
Robert Picard was born in Montreal
Montreal
action filter_type
action find
entity Robert Picard
relation place of birth
type administrative territorial entity
['Robert Picard', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Robert_Picard property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q952191
P734
Q82799
USER
Who is associated with that person ?
(Q340,P734,c(Q82799))
action filter_type
action find
entity Q952191
relation P734
type Q82799
['Q340', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q952191 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Robert Picard
action filter_type
action find
entity Robert Picard
relation family name
type name
['Montreal', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Robert_Picard property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q16881199
SYSTEM
Picard
Q16881199
(Q340,P734,c(Q82799))
action filter_type
action find
entity Q952191
relation P734
type Q82799
[ANSWER] is associated with that person
['Q340', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q952191 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Picard
Picard is associated with that person
Picard
action filter_type
action find
entity Robert Picard
relation family name
type name
['Montreal', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Robert_Picard property:family_name ?w . ?w rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are the languages of work for atmost 210 names ?
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 210
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { FILTER ( ?c <= 210 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P407 ?g . ?g rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?g } }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 210
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { FILTER ( ?c <= 210 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:language_of_work_or_name ?g . ?g rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?g } }
[]
language name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 210
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { FILTER ( ?c <= 210 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P407 ?g . ?g rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?g } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 210
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { FILTER ( ?c <= 210 ) . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:language_of_work_or_name ?g . ?g rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?g } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6382114 Q952191
P54
Q12973014
USER
Which sports teams are Robert Picard or Paul MacKinnon a member of ?
OR((Q952191,P54,c(Q12973014)), (Q6382114,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q952191
relation P54
action find
entity Q6382114
relation P54
type Q12973014
{'OR': [['Q952191', 'P54', {'concept': 'Q12973014'}], ['Q6382114', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Q952191 ) ( resource:Q6382114 ) } . ?g property:P54 ?z } . ?z rdf:type ontology:Q12973014 }
Paul MacKinnon Robert Picard
action filter_type
action union
action find
entity Robert Picard
relation member of sports team
action find
entity Paul MacKinnon
relation member of sports team
type sports team
{'OR': [['Robert Picard', 'member of sports team', {'concept': 'sports team'}], ['Paul MacKinnon', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Robert_Picard ) ( resource:Paul_MacKinnon ) } . ?g property:member_of_sports_team ?z } . ?z rdf:type ontology:sports_team }
[]
sports team
Q530764 Q188143 Q203384 Q1508876 Q204627 Q576406 Q194116
SYSTEM
Quebec Nordiques, Montreal Canadiens, Toronto Maple Leafs, Peterborough Petes, Washington Capitals, Winnipeg Jets, Detroit Red Wings
Q530764 Q188143 Q203384 Q1508876 Q204627 Q576406 Q194116
OR((Q952191,P54,c(Q12973014)), (Q6382114,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q952191
relation P54
action find
entity Q6382114
relation P54
type Q12973014
The [ANSWERS] are Robert Picard or Paul MacKinnon a member of
{'OR': [['Q952191', 'P54', {'concept': 'Q12973014'}], ['Q6382114', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Q952191 ) ( resource:Q6382114 ) } . ?g property:P54 ?z } . ?z rdf:type ontology:Q12973014 }
Quebec Nordiques Montreal Canadiens Toronto Maple Leafs Peterborough Petes Washington Capitals Winnipeg Jets Detroit Red Wings
The Quebec Nordiques, Montreal Canadiens, Toronto Maple Leafs, Peterborough Petes, Washington Capitals, Winnipeg Jets and Detroit Red Wings are Robert Picard or Paul MacKinnon a member of
Quebec Nordiques Montreal Canadiens Toronto Maple Leafs Peterborough Petes Washington Capitals Winnipeg Jets Detroit Red Wings
action filter_type
action union
action find
entity Robert Picard
relation member of sports team
action find
entity Paul MacKinnon
relation member of sports team
type sports team
{'OR': [['Robert Picard', 'member of sports team', {'concept': 'sports team'}], ['Paul MacKinnon', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?g ) { ( resource:Robert_Picard ) ( resource:Paul_MacKinnon ) } . ?g property:member_of_sports_team ?z } . ?z rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q530764 Q188143 Q203384 Q1508876 Q204627 Q576406 Q194116
P641
Q349
USER
Which sports did Quebec Nordiques, Montreal Canadiens, Toronto Maple Leafs, Peterborough Petes, Washington Capitals, Winnipeg Jets and Detroit Red Wings participate in ?
(Q530764,P641,c(Q349)) (Q188143,P641,c(Q349)) (Q203384,P641,c(Q349)) (Q1508876,P641,c(Q349)) (Q204627,P641,c(Q349)) (Q576406,P641,c(Q349)) (Q194116,P641,c(Q349))
action union
action filter_type
action find
entity Q530764
relation P641
type Q349
action filter_type
action find
entity Q188143
relation P641
type Q349
action filter_type
action find
entity Q203384
relation P641
type Q349
action filter_type
action find
entity Q1508876
relation P641
type Q349
action filter_type
action find
entity Q204627
relation P641
type Q349
action filter_type
action find
entity Q576406
relation P641
type Q349
action filter_type
action find
entity Q194116
relation P641
type Q349
['Q530764', 'P641', {'concept': 'Q349'}] ['Q188143', 'P641', {'concept': 'Q349'}] ['Q203384', 'P641', {'concept': 'Q349'}] ['Q1508876', 'P641', {'concept': 'Q349'}] ['Q204627', 'P641', {'concept': 'Q349'}] ['Q576406', 'P641', {'concept': 'Q349'}] ['Q194116', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?m property:P641 ?n . VALUES ( ?m ) { ( resource:Q188143 ) ( resource:Q530764 ) } }
Quebec Nordiques Montreal Canadiens Toronto Maple Leafs Peterborough Petes Washington Capitals Winnipeg Jets Detroit Red Wings
action union
action filter_type
action find
entity Quebec Nordiques
relation sport
type sport
action filter_type
action find
entity Montreal Canadiens
relation sport
type sport
action filter_type
action find
entity Toronto Maple Leafs
relation sport
type sport
action filter_type
action find
entity Peterborough Petes
relation sport
type sport
action filter_type
action find
entity Washington Capitals
relation sport
type sport
action filter_type
action find
entity Winnipeg Jets
relation sport
type sport
action filter_type
action find
entity Detroit Red Wings
relation sport
type sport
['Quebec Nordiques', 'sport', {'concept': 'sport'}] ['Montreal Canadiens', 'sport', {'concept': 'sport'}] ['Toronto Maple Leafs', 'sport', {'concept': 'sport'}] ['Peterborough Petes', 'sport', {'concept': 'sport'}] ['Washington Capitals', 'sport', {'concept': 'sport'}] ['Winnipeg Jets', 'sport', {'concept': 'sport'}] ['Detroit Red Wings', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?m property:sport ?n . VALUES ( ?m ) { ( resource:Montreal_Canadiens ) ( resource:Quebec_Nordiques ) } }
[]
sport
Q41466 Q41466 Q41466
SYSTEM
ice hockey
Q41466 Q41466 Q41466 Q41466 Q41466 Q41466 Q41466
(Q530764,P641,c(Q349)) (Q188143,P641,c(Q349)) (Q203384,P641,c(Q349)) (Q1508876,P641,c(Q349)) (Q204627,P641,c(Q349)) (Q576406,P641,c(Q349)) (Q194116,P641,c(Q349))
action union
action filter_type
action find
entity Q530764
relation P641
type Q349
action filter_type
action find
entity Q188143
relation P641
type Q349
action filter_type
action find
entity Q203384
relation P641
type Q349
action filter_type
action find
entity Q1508876
relation P641
type Q349
action filter_type
action find
entity Q204627
relation P641
type Q349
action filter_type
action find
entity Q576406
relation P641
type Q349
action filter_type
action find
entity Q194116
relation P641
type Q349
[ANSWER], [ANSWER] and [ANSWER] Quebec Nordiques, Montreal Canadiens, Toronto Maple Leafs, Peterborough Petes, Washington Capitals, Winnipeg Jets and Detroit Red Wings participated in
['Q530764', 'P641', {'concept': 'Q349'}] ['Q188143', 'P641', {'concept': 'Q349'}] ['Q203384', 'P641', {'concept': 'Q349'}] ['Q1508876', 'P641', {'concept': 'Q349'}] ['Q204627', 'P641', {'concept': 'Q349'}] ['Q576406', 'P641', {'concept': 'Q349'}] ['Q194116', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?m property:P641 ?n . VALUES ( ?m ) { ( resource:Q188143 ) ( resource:Q530764 ) } }
ice hockey ice hockey ice hockey ice hockey ice hockey ice hockey ice hockey
Ice hockey, ice hockey and ice hockey Quebec Nordiques, Montreal Canadiens, Toronto Maple Leafs, Peterborough Petes, Washington Capitals, Winnipeg Jets and Detroit Red Wings participated in
ice hockey ice hockey ice hockey
action union
action filter_type
action find
entity Quebec Nordiques
relation sport
type sport
action filter_type
action find
entity Montreal Canadiens
relation sport
type sport
action filter_type
action find
entity Toronto Maple Leafs
relation sport
type sport
action filter_type
action find
entity Peterborough Petes
relation sport
type sport
action filter_type
action find
entity Washington Capitals
relation sport
type sport
action filter_type
action find
entity Winnipeg Jets
relation sport
type sport
action filter_type
action find
entity Detroit Red Wings
relation sport
type sport
['Quebec Nordiques', 'sport', {'concept': 'sport'}] ['Montreal Canadiens', 'sport', {'concept': 'sport'}] ['Toronto Maple Leafs', 'sport', {'concept': 'sport'}] ['Peterborough Petes', 'sport', {'concept': 'sport'}] ['Washington Capitals', 'sport', {'concept': 'sport'}] ['Winnipeg Jets', 'sport', {'concept': 'sport'}] ['Detroit Red Wings', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?m property:sport ?n . VALUES ( ?m ) { ( resource:Montreal_Canadiens ) ( resource:Quebec_Nordiques ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194116
P17
Q15617994
USER
Which administrative territory is Detroit Red Wings located in ?
(Q194116,P17,c(Q15617994))
action filter_type
action find
entity Q194116
relation P17
type Q15617994
['Q194116', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q194116 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Detroit Red Wings
action filter_type
action find
entity Detroit Red Wings
relation country
type designation for an administrative territorial entity
['Detroit Red Wings', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Detroit_Red_Wings property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q194116,P17,c(Q15617994))
action filter_type
action find
entity Q194116
relation P17
type Q15617994
Which administrative territory is Detroit Red Wings located in
['Q194116', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q194116 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Detroit Red Wings located in
United States of America
action filter_type
action find
entity Detroit Red Wings
relation country
type designation for an administrative territorial entity
['Detroit Red Wings', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Detroit_Red_Wings property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194116
P115
Q811430
USER
Which construction is the ground of Detroit Red Wings ?
(Q194116,P115,c(Q811430))
action filter_type
action find
entity Q194116
relation P115
type Q811430
['Q194116', 'P115', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q811430 . resource:Q194116 property:P115 ?w }
Detroit Red Wings
action filter_type
action find
entity Detroit Red Wings
relation home venue
type construction
['Detroit Red Wings', 'home venue', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:construction . resource:Detroit_Red_Wings property:home_venue ?w }
[]
construction
Q1201545
SYSTEM
Detroit Olympia
Q1201545
(Q194116,P115,c(Q811430))
action filter_type
action find
entity Q194116
relation P115
type Q811430
[ANSWER] is the ground of Detroit Red Wings
['Q194116', 'P115', {'concept': 'Q811430'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q811430 . resource:Q194116 property:P115 ?w }
Detroit Olympia
Detroit Olympia is the ground of Detroit Red Wings
Detroit Olympia
action filter_type
action find
entity Detroit Red Wings
relation home venue
type construction
['Detroit Red Wings', 'home venue', {'concept': 'construction'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:construction . resource:Detroit_Red_Wings property:home_venue ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1201545 Q194116 Q5189645
P466
Q12973014
USER
Is that construction inhabited by Detroit Red Wings and Croydon Baseball Club ?
(Q1201545,P466,Q194116) (Q1201545,P466,Q5189645)
action is_in
entity Q1201545
action intersection
action find_reverse
entity Q194116
relation P466
action find_reverse
entity Q5189645
relation P466
['Q1201545', 'P466', 'Q194116'] ['Q1201545', 'P466', 'Q5189645']
ASK WHERE { resource:Q1201545 property:P466 resource:Q194116 . resource:Q1201545 property:P466 resource:Q5189645 }
Detroit Olympia Detroit Red Wings Croydon Baseball Club
action is_in
entity Detroit Olympia
action intersection
action find_reverse
entity Detroit Red Wings
relation occupant
action find_reverse
entity Croydon Baseball Club
relation occupant
['Detroit Olympia', 'occupant', 'Detroit Red Wings'] ['Detroit Olympia', 'occupant', 'Croydon Baseball Club']
ASK WHERE { resource:Detroit_Olympia property:occupant resource:Detroit_Red_Wings . resource:Detroit_Olympia property:occupant resource:Croydon_Baseball_Club }
[]
sports team
SYSTEM
YES and NO respectively
(Q1201545,P466,Q194116) (Q1201545,P466,Q5189645)
action is_in
entity Q1201545
action intersection
action find_reverse
entity Q194116
relation P466
action find_reverse
entity Q5189645
relation P466
[ANSWER]
['Q1201545', 'P466', 'Q194116'] ['Q1201545', 'P466', 'Q5189645']
ASK WHERE { resource:Q1201545 property:P466 resource:Q194116 . resource:Q1201545 property:P466 resource:Q5189645 }
YES and NO respectively
action is_in
entity Detroit Olympia
action intersection
action find_reverse
entity Detroit Red Wings
relation occupant
action find_reverse
entity Croydon Baseball Club
relation occupant
['Detroit Olympia', 'occupant', 'Detroit Red Wings'] ['Detroit Olympia', 'occupant', 'Croydon Baseball Club']
ASK WHERE { resource:Detroit_Olympia property:occupant resource:Detroit_Red_Wings . resource:Detroit_Olympia property:occupant resource:Croydon_Baseball_Club }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q530764 Q1614671 Q16
P17
Q1048835
USER
Is Quebec Nordiques located in Valdecaballeros and Canada ?
(Q530764,P17,Q1614671) (Q530764,P17,Q16)
action is_in
entity Q530764
action intersection
action find_reverse
entity Q1614671
relation P17
action find_reverse
entity Q16
relation P17
['Q530764', 'P17', 'Q1614671'] ['Q530764', 'P17', 'Q16']
ASK WHERE { resource:Q530764 property:P17 resource:Q16 . resource:Q530764 property:P17 resource:Q1614671 }
Quebec Nordiques Valdecaballeros Canada
action is_in
entity Quebec Nordiques
action intersection
action find_reverse
entity Valdecaballeros
relation country
action find_reverse
entity Canada
relation country
['Quebec Nordiques', 'country', 'Valdecaballeros'] ['Quebec Nordiques', 'country', 'Canada']
ASK WHERE { resource:Quebec_Nordiques property:country resource:Canada . resource:Quebec_Nordiques property:country resource:Valdecaballeros }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q530764,P17,Q1614671) (Q530764,P17,Q16)
action is_in
entity Q530764
action intersection
action find_reverse
entity Q1614671
relation P17
action find_reverse
entity Q16
relation P17
[ANSWER]
['Q530764', 'P17', 'Q1614671'] ['Q530764', 'P17', 'Q16']
ASK WHERE { resource:Q530764 property:P17 resource:Q16 . resource:Q530764 property:P17 resource:Q1614671 }
NO and YES respectively
action is_in
entity Quebec Nordiques
action intersection
action find_reverse
entity Valdecaballeros
relation country
action find_reverse
entity Canada
relation country
['Quebec Nordiques', 'country', 'Valdecaballeros'] ['Quebec Nordiques', 'country', 'Canada']
ASK WHERE { resource:Quebec_Nordiques property:country resource:Canada . resource:Quebec_Nordiques property:country resource:Valdecaballeros }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1995219 Q952191
P47 P27
Q1048835
USER
Which political territories are Robert Picard an inhabitant of or share border with Sarral ?
OR((Q952191,P27,c(Q1048835)), (Q1995219,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q952191
relation P27
action find
entity Q1995219
relation P47
type Q1048835
{'OR': [['Q952191', 'P27', {'concept': 'Q1048835'}], ['Q1995219', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . { { resource:Q1995219 property:P47 ?j } UNION { resource:Q952191 property:P27 ?j } } }
Sarral Robert Picard
action filter_type
action union
action find
entity Robert Picard
relation country of citizenship
action find
entity Sarral
relation shares border with
type political territorial entity
{'OR': [['Robert Picard', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sarral', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . { { resource:Sarral property:shares_border_with ?j } UNION { resource:Robert_Picard property:country_of_citizenship ?j } } }
[]
political territorial entity
Q1248557 Q730040 Q1230137 Q1248581 Q1248497 Q16 Q550221 Q1248512 Q983585 Q730021
SYSTEM
Les Piles, Rocafort de Queralt, Forès, Pontils, Solivella, Canada, Cabra del Camp, Conesa, El Pont d'Armentera, Barberà de la Conca
Q1248557 Q730040 Q1230137 Q1248581 Q1248497 Q16 Q550221 Q1248512 Q983585 Q730021
OR((Q952191,P27,c(Q1048835)), (Q1995219,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q952191
relation P27
action find
entity Q1995219
relation P47
type Q1048835
[ANSWERS] are Robert Picard an inhabitant of or share border with Sarral
{'OR': [['Q952191', 'P27', {'concept': 'Q1048835'}], ['Q1995219', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . { { resource:Q1995219 property:P47 ?j } UNION { resource:Q952191 property:P27 ?j } } }
Les Piles Rocafort de Queralt Forès Pontils Solivella Canada Cabra del Camp Conesa El Pont d'Armentera Barberà de la Conca
Les Piles, Rocafort de Queralt, Forès, Pontils, Solivella, Canada, Cabra del Camp, Conesa, El Pont d'Armentera and Barberà de la Conca are Robert Picard an inhabitant of or share border with Sarral
Les Piles Rocafort de Queralt Forès Pontils Solivella Canada Cabra del Camp Conesa El Pont d'Armentera Barberà de la Conca
action filter_type
action union
action find
entity Robert Picard
relation country of citizenship
action find
entity Sarral
relation shares border with
type political territorial entity
{'OR': [['Robert Picard', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sarral', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . { { resource:Sarral property:shares_border_with ?j } UNION { resource:Robert_Picard property:country_of_citizenship ?j } } }
[]