Simple Question (Direct)
Simple Question
Q1758072
P1431
Q502895
USER
Whose production is Lilyhammer of ?
(Q1758072,P1431,c(Q502895))
action filter_type
action find
entity Q1758072
relation P1431
type Q502895
['Q1758072', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1758072 property:P1431 ?g . ?g rdf:type ontology:Q502895 }
Lilyhammer
action filter_type
action find
entity Lilyhammer
relation executive producer
type common name
['Lilyhammer', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lilyhammer property:executive_producer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q354181
SYSTEM
Steven Van Zandt
Q354181
(Q1758072,P1431,c(Q502895))
action filter_type
action find
entity Q1758072
relation P1431
type Q502895
[ANSWER] is Lilyhammer of
['Q1758072', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1758072 property:P1431 ?g . ?g rdf:type ontology:Q502895 }
Steven Van Zandt
Steven Van Zandt is Lilyhammer of
Steven Van Zandt
action filter_type
action find
entity Lilyhammer
relation executive producer
type common name
['Lilyhammer', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lilyhammer property:executive_producer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q354181
P19
Q56061
USER
Where was that person born ?
(Q354181,P19,c(Q56061))
action filter_type
action find
entity Q354181
relation P19
type Q56061
['Q354181', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q354181 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Steven Van Zandt
action filter_type
action find
entity Steven Van Zandt
relation place of birth
type administrative territorial entity
['Steven Van Zandt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Steven_Van_Zandt property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q354181,P19,c(Q56061))
action filter_type
action find
entity Q354181
relation P19
type Q56061
That person was born in [ANSWER]
['Q354181', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q354181 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Boston
That person was born in Boston
Boston
action filter_type
action find
entity Steven Van Zandt
relation place of birth
type administrative territorial entity
['Steven Van Zandt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Steven_Van_Zandt property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q354181
P1346
Q618779
USER
Where was that person decalred as a champion ?
(c(Q618779),P1346,Q100)
action filter_type
action find_reverse
entity Q354181
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q100']
SELECT DISTINCT ?j WHERE { ?j property:P1346 resource:Q354181 . ?j rdf:type ontology:Q618779 }
Steven Van Zandt
action filter_type
action find_reverse
entity Steven Van Zandt
relation winner
type award
[{'concept': 'award'}, 'winner', 'Boston']
SELECT DISTINCT ?j WHERE { ?j property:winner resource:Steven_Van_Zandt . ?j rdf:type ontology:award }
[]
award
Q2530270
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
Q2530270
(c(Q618779),P1346,Q100)
action filter_type
action find_reverse
entity Q354181
relation P1346
type Q618779
The [ANSWER] that person was decalred as a champion
[{'concept': 'Q618779'}, 'P1346', 'Q100']
SELECT DISTINCT ?j WHERE { ?j property:P1346 resource:Q354181 . ?j rdf:type ontology:Q618779 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
The Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series that person was decalred as a champion
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
action filter_type
action find_reverse
entity Steven Van Zandt
relation winner
type award
[{'concept': 'award'}, 'winner', 'Boston']
SELECT DISTINCT ?j WHERE { ?j property:winner resource:Steven_Van_Zandt . ?j rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1411
Q502895 Q15416
USER
How many people and television programs were nominated for that award ?
(c(Q502895),P1411,Q2530270) (c(Q15416),P1411,Q2530270) (c(Q502895),P1411,Q2530270) (c(Q15416),P1411,Q2530270)
action count
action union
action filter_type
action find_reverse
entity Q2530270
relation P1411
type Q502895
action filter_type
action find_reverse
entity Q2530270
relation P1411
type Q15416
[{'concept': 'Q502895'}, 'P1411', 'Q2530270'] [{'concept': 'Q15416'}, 'P1411', 'Q2530270'] [{'concept': 'Q502895'}, 'P1411', 'Q2530270'] [{'concept': 'Q15416'}, 'P1411', 'Q2530270']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q15416 ) } . ?r rdf:type ?l }
action count
action union
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation nominated for
type common name
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation nominated for
type television program
[{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'television program'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'television program'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:common_name ) ( ontology:television_program ) } . ?r rdf:type ?l }
[]
common name television program
SYSTEM
35 people and 5 television programs
Q1138674 Q106942 Q299700 Q1150569 Q1079204 Q445772 Q235132 Q103946 Q1071958 Q104061 Q1050603 Q3713649 Q2118568 Q115134 Q183141 Q982866 Q302794 Q236300 Q228789 Q4752066 Q1086977 Q231091 Q313043 Q447225 Q23628 Q1079 Q299309 Q188500 Q1148937 Q3027407 Q117995 Q442013 Q191104 Q232419 Q1132439 Q296774 Q1126128 Q352180 Q310637 Q1117390
(c(Q502895),P1411,Q2530270) (c(Q15416),P1411,Q2530270) (c(Q502895),P1411,Q2530270) (c(Q15416),P1411,Q2530270)
action count
action union
action filter_type
action find_reverse
entity Q2530270
relation P1411
type Q502895
action filter_type
action find_reverse
entity Q2530270
relation P1411
type Q15416
[ANSWER]
[{'concept': 'Q502895'}, 'P1411', 'Q2530270'] [{'concept': 'Q15416'}, 'P1411', 'Q2530270'] [{'concept': 'Q502895'}, 'P1411', 'Q2530270'] [{'concept': 'Q15416'}, 'P1411', 'Q2530270']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:Q502895 ) ( ontology:Q15416 ) } . ?r rdf:type ?l }
Jesse Plemons Candice Bergen Daniel Dae Kim Rich Sommer Christian Clemenson Nikolaj Coster-Waldau Emilia Clarke Kiefer Sutherland Chicago Hope Steve Buscemi Deadwood Donald Sumpter RJ Mitte Aida Turturro Peter Berg Louis Lombardi Aaron Staton Teri Polo Lena Headey Anatol Yusef Christopher Stanley Morena Baccarin Richard Jenkins Leigh Taylor-Young The Sopranos Breaking Bad Peter MacNicol Elisha Cuthbert Iwan Rheon Diego Klattenhoff Phyllis Logan Constance Zimmer Sean Bean Saffron Burrows The Practice Mark Harmon Conleth Hill Bradley Whitford Alexander Skarsgård Stockard Channing
35 people and 5 television programs
action count
action union
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation nominated for
type common name
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation nominated for
type television program
[{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'television program'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'television program'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:common_name ) ( ontology:television_program ) } . ?r rdf:type ?l }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q272718 Q354181
P161
Q15416
USER
Which television programs have Steven Van Zandt or Çağan Irmak in their star cast ?
OR((c(Q15416),P161,Q354181), (c(Q15416),P161,Q272718))
action filter_type
action union
action find_reverse
entity Q354181
relation P161
action find_reverse
entity Q272718
relation P161
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q354181'], [{'concept': 'Q15416'}, 'P161', 'Q272718']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?l ) { ( resource:Q272718 ) ( resource:Q354181 ) } . ?z property:P161 ?l } . ?z rdf:type ontology:Q15416 }
Çağan Irmak Steven Van Zandt
action filter_type
action union
action find_reverse
entity Steven Van Zandt
relation cast member
action find_reverse
entity Çağan Irmak
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Steven Van Zandt'], [{'concept': 'television program'}, 'cast member', 'Çağan Irmak']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?l ) { ( resource:Çağan_Irmak ) ( resource:Steven_Van_Zandt ) } . ?z property:cast_member ?l } . ?z rdf:type ontology:television_program }
[]
television program
Q6070492 Q1758072 Q23628
SYSTEM
Strawberry Pasta, Lilyhammer, The Sopranos
Q6070492 Q1758072 Q23628
OR((c(Q15416),P161,Q354181), (c(Q15416),P161,Q272718))
action filter_type
action union
action find_reverse
entity Q354181
relation P161
action find_reverse
entity Q272718
relation P161
type Q15416
[ANSWERS] have Steven Van Zandt or Çağan Irmak in their star cast
{'OR': [[{'concept': 'Q15416'}, 'P161', 'Q354181'], [{'concept': 'Q15416'}, 'P161', 'Q272718']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?l ) { ( resource:Q272718 ) ( resource:Q354181 ) } . ?z property:P161 ?l } . ?z rdf:type ontology:Q15416 }
Strawberry Pasta Lilyhammer The Sopranos
Strawberry Pasta, Lilyhammer and The Sopranos have Steven Van Zandt or Çağan Irmak in their star cast
Strawberry Pasta Lilyhammer The Sopranos
action filter_type
action union
action find_reverse
entity Steven Van Zandt
relation cast member
action find_reverse
entity Çağan Irmak
relation cast member
type television program
{'OR': [[{'concept': 'television program'}, 'cast member', 'Steven Van Zandt'], [{'concept': 'television program'}, 'cast member', 'Çağan Irmak']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?l ) { ( resource:Çağan_Irmak ) ( resource:Steven_Van_Zandt ) } . ?z property:cast_member ?l } . ?z rdf:type ontology:television_program }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q15416
USER
How many television programs are parts of that television program ?
(c(Q15416),P361,Q1758072)
[{'concept': 'Q15416'}, 'P361', 'Q1758072']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q1758072 . ?z rdf:type ontology:Q15416 }
[{'concept': 'television program'}, 'part of', 'Lilyhammer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Lilyhammer . ?z rdf:type ontology:television_program }
[]
television program
Quantitative|Count|Single entity type|Clarification
Q23628
SYSTEM
Did you mean The Sopranos ?
(c(Q15416),P361,Q6070492) (c(Q15416),P361,Q1758072) (c(Q15416),P361,Q23628)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q6070492'] [{'concept': 'Q15416'}, 'P361', 'Q1758072'] [{'concept': 'Q15416'}, 'P361', 'Q23628']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q1758072 . ?z rdf:type ontology:Q15416 }
Did you mean The Sopranos ?
The Sopranos
[{'concept': 'television program'}, 'part of', 'Strawberry Pasta'] [{'concept': 'television program'}, 'part of', 'Lilyhammer'] [{'concept': 'television program'}, 'part of', 'The Sopranos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Lilyhammer . ?z rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Lilyhammer. Could you tell me the answer for that?
(c(Q15416),P361,Q1758072)
Q1758072
[{'concept': 'Q15416'}, 'P361', 'Q1758072']
[{'concept': 'television program'}, 'part of', 'Lilyhammer']
[]
SYSTEM
3
Q21160416 Q21160412 Q21160408
(c(Q15416),P361,Q1758072)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q1758072']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q1758072 . ?z rdf:type ontology:Q15416 }
Lilyhammer, Season 3 Lilyhammer, Season 2 Lilyhammer, Season 1
3
[{'concept': 'television program'}, 'part of', 'Lilyhammer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Lilyhammer . ?z rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q100
P206
Q355304 Q15324
USER
How many watercourses and bodies of water are situated in the neighbourhood of Boston ?
(Q100,P206,c(Q355304)) (Q100,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q355304
action filter_type
action find
entity Q100
relation P206
type Q15324
['Q100', 'P206', {'concept': 'Q355304'}] ['Q100', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { resource:Q100 property:P206 ?k . ?k rdf:type ontology:Q355304 } UNION { resource:Q100 property:P206 ?k . ?k rdf:type ontology:Q15324 } }
Boston
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
['Boston', 'located next to body of water', {'concept': 'watercourse'}] ['Boston', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { resource:Boston property:located_next_to_body_of_water ?k . ?k rdf:type ontology:watercourse } UNION { resource:Boston property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water } }
[]
watercourse body of water
SYSTEM
3 watercourses and 1 bodies of water
Q894564 Q1332459 Q1758000 Q794927
(Q100,P206,c(Q355304)) (Q100,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q100
relation P206
type Q355304
action filter_type
action find
entity Q100
relation P206
type Q15324
[ANSWER]
['Q100', 'P206', {'concept': 'Q355304'}] ['Q100', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { resource:Q100 property:P206 ?k . ?k rdf:type ontology:Q355304 } UNION { resource:Q100 property:P206 ?k . ?k rdf:type ontology:Q15324 } }
Boston Harbor Neponset River Mystic River Charles River
3 watercourses and 1 bodies of water
action count
action union
action filter_type
action find
entity Boston
relation located next to body of water
type watercourse
action filter_type
action find
entity Boston
relation located next to body of water
type body of water
['Boston', 'located next to body of water', {'concept': 'watercourse'}] ['Boston', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { resource:Boston property:located_next_to_body_of_water ?k . ?k rdf:type ontology:watercourse } UNION { resource:Boston property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q15416 Q95074 Q502895
USER
Which television programs are max number of fictional characters or people shown in ?
(c(Q95074)|c(Q502895),P1441,c(Q15416))
action argmax
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q502895
[[{'concept': 'Q95074'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:P1441 ?c . ?c rdf:type ontology:Q15416 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P1441 ?c . ?c rdf:type ontology:Q15416 . ?r rdf:type ontology:Q95074 } } GROUP BY ?c } } }
action argmax
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action find_reverse_tuple_counts
relation present in work
type television program
type common name
[[{'concept': 'fictional character'}, {'concept': 'common name'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:fictional_character ) ( ontology:common_name ) } } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:present_in_work ?c . ?c rdf:type ontology:television_program . ?r rdf:type ontology:common_name } UNION { ?r property:present_in_work ?c . ?c rdf:type ontology:television_program . ?r rdf:type ontology:fictional_character } } GROUP BY ?c } } }
[]
television program fictional character common name
Q3577037
SYSTEM
The West Wing
Q3577037
(c(Q95074)|c(Q502895),P1441,c(Q15416))
action argmax
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q502895
[ANSWER] is max number of fictional characters or people shown in
[[{'concept': 'Q95074'}, {'concept': 'Q502895'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:Q95074 ) ( ontology:Q502895 ) } } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:P1441 ?c . ?c rdf:type ontology:Q15416 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P1441 ?c . ?c rdf:type ontology:Q15416 . ?r rdf:type ontology:Q95074 } } GROUP BY ?c } } }
The West Wing
The West Wing is max number of fictional characters or people shown in
The West Wing
action argmax
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional character
action find_reverse_tuple_counts
relation present in work
type television program
type common name
[[{'concept': 'fictional character'}, {'concept': 'common name'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?s = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:fictional_character ) ( ontology:common_name ) } } GROUP BY ?l } . { SELECT DISTINCT ( MAX ( ?h ) AS ?u ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?h ) WHERE { { ?r property:present_in_work ?c . ?c rdf:type ontology:television_program . ?r rdf:type ontology:common_name } UNION { ?r property:present_in_work ?c . ?c rdf:type ontology:television_program . ?r rdf:type ontology:fictional_character } } GROUP BY ?c } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26650678 Q100
P17
Q15617994
USER
Which administrative territories are Boston or 6 And 7, Bath Place situated in ?
OR((Q100,P17,c(Q15617994)), (Q26650678,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q100
relation P17
action find
entity Q26650678
relation P17
type Q15617994
{'OR': [['Q100', 'P17', {'concept': 'Q15617994'}], ['Q26650678', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { VALUES ( ?t ) { ( resource:Q100 ) ( resource:Q26650678 ) } . ?t property:P17 ?v } }
6 And 7, Bath Place Boston
action filter_type
action union
action find
entity Boston
relation country
action find
entity 6 And 7, Bath Place
relation country
type designation for an administrative territorial entity
{'OR': [['Boston', 'country', {'concept': 'designation for an administrative territorial entity'}], ['6 And 7, Bath Place', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?t ) { ( resource:Boston ) ( resource:6_And_7,_Bath_Place ) } . ?t property:country ?v } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q100,P17,c(Q15617994)), (Q26650678,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q100
relation P17
action find
entity Q26650678
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q100', 'P17', {'concept': 'Q15617994'}], ['Q26650678', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . { VALUES ( ?t ) { ( resource:Q100 ) ( resource:Q26650678 ) } . ?t property:P17 ?v } }
United States of America United Kingdom
Which administrative territories are Boston or 6 And 7, Bath Place situated in
United States of America United Kingdom
action filter_type
action union
action find
entity Boston
relation country
action find
entity 6 And 7, Bath Place
relation country
type designation for an administrative territorial entity
{'OR': [['Boston', 'country', {'concept': 'designation for an administrative territorial entity'}], ['6 And 7, Bath Place', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?t ) { ( resource:Boston ) ( resource:6_And_7,_Bath_Place ) } . ?t property:country ?v } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q100
P1001
Q17335294 Q1752346
USER
How many coats of arms and assemblies have control over the jurisdiction of Boston ?
(c(Q17335294),P1001,Q100) (c(Q1752346),P1001,Q100)
action count
action union
action filter_type
action find_reverse
entity Q100
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q100
relation P1001
type Q1752346
[{'concept': 'Q17335294'}, 'P1001', 'Q100'] [{'concept': 'Q1752346'}, 'P1001', 'Q100']
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:Q17335294 ) ( ontology:Q1752346 ) } . ?t rdf:type ?x }
Boston
action count
action union
action filter_type
action find_reverse
entity Boston
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity Boston
relation applies to jurisdiction
type assembly
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Boston'] [{'concept': 'assembly'}, 'applies to jurisdiction', 'Boston']
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:flag_or_coat_of_arms ) ( ontology:assembly ) } . ?t rdf:type ?x }
[]
flag or coat of arms assembly
SYSTEM
1 coats of arms and 1 assemblies
Q5456707 Q4947808
(c(Q17335294),P1001,Q100) (c(Q1752346),P1001,Q100)
action count
action union
action filter_type
action find_reverse
entity Q100
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q100
relation P1001
type Q1752346
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', 'Q100'] [{'concept': 'Q1752346'}, 'P1001', 'Q100']
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:Q17335294 ) ( ontology:Q1752346 ) } . ?t rdf:type ?x }
flag of Boston Boston City Council
1 coats of arms and 1 assemblies
action count
action union
action filter_type
action find_reverse
entity Boston
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity Boston
relation applies to jurisdiction
type assembly
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Boston'] [{'concept': 'assembly'}, 'applies to jurisdiction', 'Boston']
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?x ) { ( ontology:flag_or_coat_of_arms ) ( ontology:assembly ) } . ?t rdf:type ?x }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3089911 Q3577037
P767 P1441
Q95074
USER
Which fictional characters appear in The West Wing or did Shamus Culhane contribute to ?
OR((c(Q95074),P1441,Q3577037), (c(Q95074),P767,Q3089911))
action filter_type
action union
action find_reverse
entity Q3577037
relation P1441
action find_reverse
entity Q3089911
relation P767
type Q95074
{'OR': [[{'concept': 'Q95074'}, 'P1441', 'Q3577037'], [{'concept': 'Q95074'}, 'P767', 'Q3089911']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P1441 resource:Q3577037 } UNION { ?i property:P767 resource:Q3089911 } } . ?i rdf:type ontology:Q95074 }
Shamus Culhane The West Wing
action filter_type
action union
action find_reverse
entity The West Wing
relation present in work
action find_reverse
entity Shamus Culhane
relation contributor
type fictional character
{'OR': [[{'concept': 'fictional character'}, 'present in work', 'The West Wing'], [{'concept': 'fictional character'}, 'contributor', 'Shamus Culhane']]}
SELECT DISTINCT ?i WHERE { { { ?i property:present_in_work resource:The_West_Wing } UNION { ?i property:contributor resource:Shamus_Culhane } } . ?i rdf:type ontology:fictional_character }
[]
fictional character
Q23005316 Q23760935 Q27148704 Q23890919 Q27148632 Q23042922 Q23001864 Q23938893 Q24054367 Q23038541
SYSTEM
Some of them are Jaworski, Intern Stacy, Happy, Joe Quincy, Grumpy, Bruno Gianelli, Ron Butterfield, Ben Dryer, Otto, Howard Stackhouse
Q23214200 Q24044563 Q23038751 Q24039836 Q23038562 Q23024676 Q23046165 Q23826180 Q7167342 Q27148737 Q610519 Q23012300 Q24024851 Q27148632 Q24084368 Q27148563 Q24052834 Q23003614 Q24062967 Q6748296 Q23058141 Q23760935 Q23015114 Q23047371 Q4767744 Q23900493 Q23037303 Q9012447 Q24054552 Q23025185 Q24035460 Q23761797 Q23029164 Q23012330 Q24037769 Q23054665 Q23001864 Q24040324 Q17075849 Q24044109 Q23005189 Q23010238 Q23000921 Q8002690 Q5354221 Q23301703 Q23005293 Q23762190 Q24054813 Q23899095 Q23047434 Q23003776 Q23761301 Q23894023 Q23053752 Q23938898 Q23777628 Q23762112 Q23938893 Q23036869 Q23008119 Q23940153 Q4933846 Q24068632 Q24068630 Q23893764 Q23898966 Q3704358 Q23898969 Q4749202 Q23301677 Q23058181 Q23001650 Q22999546 Q23000140 Q23001659 Q24054376 Q23900741 Q23042970 Q24052982 Q23777896 Q23011599 Q23900341 Q24054381 Q27148680 Q23014030 Q24062083 Q23010252 Q23038541 Q23898951 Q23932637 Q24039746 Q23784735 Q24054363 Q2715593 Q23799249 Q24054367 Q23912069 Q23981988 Q23982155 Q23042967 Q3603297 Q4755325 Q23893787 Q23035757 Q23011464 Q23035753 Q14396915 Q27148610 Q24037752 Q23785282 Q23826623 Q23939646 Q6929804 Q23826628 Q23024229 Q23899066 Q23000758 Q23900602 Q23762427 Q24039948 Q23042922 Q4795290 Q24053179 Q23007298 Q22999522 Q27148704 Q23047422 Q23900472 Q23012307 Q27148660 Q23305518 Q23799208 Q24021446 Q23000920 Q23005306 Q22999586 Q6524042 Q24039954 Q22999595 Q23890919 Q23014039 Q22999590 Q23024397 Q23833727 Q24020884 Q23047396 Q3946354 Q24009496 Q3666688 Q24036633 Q8073344 Q23777554 Q24036639 Q23008443 Q23932620 Q23005316 Q6744279 Q24023460 Q23005310 Q23005318 Q1080587 Q24044444 Q6214458 Q23011516 Q24069196 Q24023874 Q24053385 Q23035765 Q7349306 Q1345373 Q23899180 Q23301736 Q23000261 Q23908883 Q23000267 Q23785435 Q23005125 Q3036775 Q24054431 Q23014839 Q23005324 Q5656906 Q23000290 Q23001841 Q24020978 Q24090736 Q23011568 Q23030384
OR((c(Q95074),P1441,Q3577037), (c(Q95074),P767,Q3089911))
action filter_type
action union
action find_reverse
entity Q3577037
relation P1441
action find_reverse
entity Q3089911
relation P767
type Q95074
[ANSWERS] appear in The West Wing or did Shamus Culhane contribute to
{'OR': [[{'concept': 'Q95074'}, 'P1441', 'Q3577037'], [{'concept': 'Q95074'}, 'P767', 'Q3089911']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P1441 resource:Q3577037 } UNION { ?i property:P767 resource:Q3089911 } } . ?i rdf:type ontology:Q95074 }
Simon Donovan Sean Oliver Babish Edwin Kelwick Zach Robbie Mosley Cliff Calley Miles Hutchinson Percy Fitzwallace Sneezy Matt Santos Nancy McNally Doran Mazar Grumpy Mark B. Sellner Dopey Congresswoman Gleeson Roberto Mendoza Steve Hodder Mandy Hampton Jordon Kendall Intern Stacy Mary Marsh Robert Royce Annabeth Schott Reporter George Michael Casper John Hoynes Charles Frost Mark O'Donnell Congressman Lackey Elsie Snuffin Henry Shallick Arthur Leeds Ling-Po Albie Duncan Ron Butterfield Trevor Danny Concannon Sheila Brooks Donnie Gina Toscano Jenny McGarry Will Bailey Eleanor Bartlet Officer Thomas Lord John Marbury June Wheeler Barry Goodwin Lewis Berryhill Sally Katie Witt Alexander Thompson Glenallen Walken Alan Adamle Matt Hunt Reporter John Ted Willard Ben Dryer Millicent Griffith Joseph Bruno Lisa Wolfe Bob Russell Miranda Santos Peter Santos Secret Service Agent Wesley Steve Atwood Deborah Fiderer Doug Westin Amy Gardner SitRoom Civilian Advisor Darren Gibson Bob Engler Cathy Nancy Carol Fitzpatrick Ellis Taylor Nicholas Alexander Connie Tate Bram Howard Gail Mackee Sondra Jeff Haffley Mike Diacovo Sleepy Ainsley Hayes Vic Faison Al Kiefer Howard Stackhouse Elizabeth Bartlet Westin Taylor Reid Curtis Carruthers Wendell Tripplehorn Edie Ortega Josiah Bartlet Jean Paul Otto Rina Jack Sosa George Arnold Douglas Wegland Abbey Bartlet Andrea Wyatt Jamie Reed Jack Sloan Jonathan Mickey Troop Kate Harper Doc Eric Baker Manny Cassie Tatum Greg Brock Delores Landingham Jimmy Wendall Stanley Keyworth Ryan Pierce Chris Reporter Charlayne Reporter Jo Helen Santos Bruno Gianelli Arnold Vinick Ray Sullivan Roger Tribbey Laurie Happy Phil Theodore Barrow Ken Shannon Bashful Mitch Bryce Jules Ziegler Nizar Farad Mark Richardson Larry Claypool Al Caldwell Leo McGarry Marla Worisky Bonnie Joe Quincy Mark Gottfried Margaret Hooper Bernard Thatch Bartender Tammy Colin Ayres Bob Slatterly Sam Seaborn Mike Gordon Charlie Young Ned Carlson Zoey Bartlet Jack Reese Ronna Beckman Kenny Thurman Efraim 'Eli' Zahavy Jaworski Mallory O'Brien Shira Galit Chinese Ambassador George Rollie C. J. Cregg Bob Mayer Joey Lucas Max Lobell Jane Braun Saeb Mukarat Dylan Clark Mike Chysler Robert Ritchie Toby Ziegler Angela Blake SitRoom Civilian Advisor David Bobbi Roy Ashland Stevie Presidential Reporter Ginger Donna Moss Louise Thornton Mark Chase Larry Josh Lyman Ed Matt Skinner Colonel Leahy Curtis Shaeffer Steve Roger Salier
Jaworski, Intern Stacy, Happy, Joe Quincy, Grumpy, Bruno Gianelli, Ron Butterfield, Ben Dryer, Otto and Howard Stackhouse appear in The West Wing or did Shamus Culhane contribute to
Jaworski Intern Stacy Happy Joe Quincy Grumpy Bruno Gianelli Ron Butterfield Ben Dryer Otto Howard Stackhouse
action filter_type
action union
action find_reverse
entity The West Wing
relation present in work
action find_reverse
entity Shamus Culhane
relation contributor
type fictional character
{'OR': [[{'concept': 'fictional character'}, 'present in work', 'The West Wing'], [{'concept': 'fictional character'}, 'contributor', 'Shamus Culhane']]}
SELECT DISTINCT ?i WHERE { { { ?i property:present_in_work resource:The_West_Wing } UNION { ?i property:contributor resource:Shamus_Culhane } } . ?i rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23005316 Q23760935 Q27148704 Q23890919 Q27148632 Q23042922 Q23001864 Q23938893 Q24054367 Q23038541
P21
Q290
USER
What are the sex of those fictional characters ?
(Q23005316,P21,c(Q290)) (Q23760935,P21,c(Q290)) (Q27148704,P21,c(Q290)) (Q23890919,P21,c(Q290)) (Q27148632,P21,c(Q290)) (Q23042922,P21,c(Q290)) (Q23001864,P21,c(Q290)) (Q23938893,P21,c(Q290)) (Q24054367,P21,c(Q290)) (Q23038541,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q23005316', 'P21', {'concept': 'Q290'}] ['Q23760935', 'P21', {'concept': 'Q290'}] ['Q27148704', 'P21', {'concept': 'Q290'}] ['Q23890919', 'P21', {'concept': 'Q290'}] ['Q27148632', 'P21', {'concept': 'Q290'}] ['Q23042922', 'P21', {'concept': 'Q290'}] ['Q23001864', 'P21', {'concept': 'Q290'}] ['Q23938893', 'P21', {'concept': 'Q290'}] ['Q24054367', 'P21', {'concept': 'Q290'}] ['Q23038541', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:Q23214200 ) ( resource:Q24044563 ) ( resource:Q23038751 ) } . ?k property:P21 ?t . ?t rdf:type ontology:Q290 }
Jaworski Intern Stacy Happy Joe Quincy Grumpy Bruno Gianelli Ron Butterfield Ben Dryer Otto Howard Stackhouse
action filter_type
action find
entity prev_answer
relation gender
type sex
['Jaworski', 'gender', {'concept': 'sex'}] ['Intern Stacy', 'gender', {'concept': 'sex'}] ['Happy', 'gender', {'concept': 'sex'}] ['Joe Quincy', 'gender', {'concept': 'sex'}] ['Grumpy', 'gender', {'concept': 'sex'}] ['Bruno Gianelli', 'gender', {'concept': 'sex'}] ['Ron Butterfield', 'gender', {'concept': 'sex'}] ['Ben Dryer', 'gender', {'concept': 'sex'}] ['Otto', 'gender', {'concept': 'sex'}] ['Howard Stackhouse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:Simon_Donovan ) ( resource:Sean ) ( resource:Oliver_Babish ) } . ?k property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q23005316,P21,c(Q290)) (Q23760935,P21,c(Q290)) (Q27148704,P21,c(Q290)) (Q23890919,P21,c(Q290)) (Q27148632,P21,c(Q290)) (Q23042922,P21,c(Q290)) (Q23001864,P21,c(Q290)) (Q23938893,P21,c(Q290)) (Q24054367,P21,c(Q290)) (Q23038541,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q23005316', 'P21', {'concept': 'Q290'}] ['Q23760935', 'P21', {'concept': 'Q290'}] ['Q27148704', 'P21', {'concept': 'Q290'}] ['Q23890919', 'P21', {'concept': 'Q290'}] ['Q27148632', 'P21', {'concept': 'Q290'}] ['Q23042922', 'P21', {'concept': 'Q290'}] ['Q23001864', 'P21', {'concept': 'Q290'}] ['Q23938893', 'P21', {'concept': 'Q290'}] ['Q24054367', 'P21', {'concept': 'Q290'}] ['Q23038541', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:Q23214200 ) ( resource:Q24044563 ) ( resource:Q23038751 ) } . ?k property:P21 ?t . ?t rdf:type ontology:Q290 }
male female male male male male male male male male
The sex of those fictional characters are male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Jaworski', 'gender', {'concept': 'sex'}] ['Intern Stacy', 'gender', {'concept': 'sex'}] ['Happy', 'gender', {'concept': 'sex'}] ['Joe Quincy', 'gender', {'concept': 'sex'}] ['Grumpy', 'gender', {'concept': 'sex'}] ['Bruno Gianelli', 'gender', {'concept': 'sex'}] ['Ron Butterfield', 'gender', {'concept': 'sex'}] ['Ben Dryer', 'gender', {'concept': 'sex'}] ['Otto', 'gender', {'concept': 'sex'}] ['Howard Stackhouse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?k ) { ( resource:Simon_Donovan ) ( resource:Sean ) ( resource:Oliver_Babish ) } . ?k property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1433
Q2342494
USER
Which collectable does United Kingdom have ?
(c(Q2342494),P1433,Q145)
action filter_type
action find_reverse
entity Q145
relation P1433
type Q2342494
[{'concept': 'Q2342494'}, 'P1433', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P1433 resource:Q145 . ?y rdf:type ontology:Q2342494 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:published_in resource:United_Kingdom . ?y rdf:type ontology:collectable }
[]
collectable
Q27514793
SYSTEM
Who Was Who in Egyptology (3rd Edition)
Q27514793
(c(Q2342494),P1433,Q145)
action filter_type
action find_reverse
entity Q145
relation P1433
type Q2342494
United Kingdom has a [ANSWER]
[{'concept': 'Q2342494'}, 'P1433', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P1433 resource:Q145 . ?y rdf:type ontology:Q2342494 }
Who Was Who in Egyptology (3rd Edition)
United Kingdom has a Who Was Who in Egyptology (3rd Edition)
Who Was Who in Egyptology (3rd Edition)
action filter_type
action find_reverse
entity United Kingdom
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:published_in resource:United_Kingdom . ?y rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1001
Q1292279
USER
Which political borders apply to jurisdiction over United Kingdom ?
(c(Q1292279),P1001,Q145)
action filter_type
action find_reverse
entity Q145
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q145 . ?t rdf:type ontology:Q1292279 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:United_Kingdom . ?t rdf:type ontology:political_border }
[]
political border
Q3088906 Q17351344 Q17351351
SYSTEM
France–United Kingdom border, Netherlands–United Kingdom border, Antigua and Barbuda–United Kingdom border
Q17351344 Q17351351 Q17351357 Q17351819 Q16467748 Q17351713 Q17351706 Q3088648 Q670200 Q17351805 Q3088906 Q17351824 Q16025208 Q17351790 Q17351746 Q16025205 Q17351738 Q17351840
(c(Q1292279),P1001,Q145)
action filter_type
action find_reverse
entity Q145
relation P1001
type Q1292279
[ANSWERS] apply to jurisdiction over United Kingdom
[{'concept': 'Q1292279'}, 'P1001', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q145 . ?t rdf:type ontology:Q1292279 }
Netherlands–United Kingdom border Antigua and Barbuda–United Kingdom border United Kingdom–Venezuela border Norway–United Kingdom border Belgium–United Kingdom border Bahamas–United Kingdom border Argentina–United Kingdom border Cyprus–United Kingdom border Ireland–United Kingdom border Maldives–United Kingdom border France–United Kingdom border Saint Kitts and Nevis–United Kingdom border Denmark–United Kingdom border Jamaica–United Kingdom border Dominican Republic–United Kingdom border Germany–United Kingdom border Cuba–United Kingdom border United Kingdom–United States border
France–United Kingdom border, Netherlands–United Kingdom border and Antigua and Barbuda–United Kingdom border apply to jurisdiction over United Kingdom
France–United Kingdom border Netherlands–United Kingdom border Antigua and Barbuda–United Kingdom border
action filter_type
action find_reverse
entity United Kingdom
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:United_Kingdom . ?t rdf:type ontology:political_border }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3088906 Q17351344 Q17351351
P17
Q15617994
USER
Which administrative territories are France–United Kingdom border, Netherlands–United Kingdom border and Antigua and Barbuda–United Kingdom border present in ?
(Q3088906,P17,c(Q15617994)) (Q17351344,P17,c(Q15617994)) (Q17351351,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3088906
relation P17
type Q15617994
action filter_type
action find
entity Q17351344
relation P17
type Q15617994
action filter_type
action find
entity Q17351351
relation P17
type Q15617994
['Q3088906', 'P17', {'concept': 'Q15617994'}] ['Q17351344', 'P17', {'concept': 'Q15617994'}] ['Q17351351', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?j property:P17 ?q . VALUES ( ?j ) { ( resource:Q17351344 ) ( resource:Q3088906 ) } }
France–United Kingdom border Netherlands–United Kingdom border Antigua and Barbuda–United Kingdom border
action union
action filter_type
action find
entity France–United Kingdom border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands–United Kingdom border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Antigua and Barbuda–United Kingdom border
relation country
type designation for an administrative territorial entity
['France–United Kingdom border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands–United Kingdom border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Antigua and Barbuda–United Kingdom border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?j property:country ?q . VALUES ( ?j ) { ( resource:Netherlands–United_Kingdom_border ) ( resource:France–United_Kingdom_border ) } }
[]
designation for an administrative territorial entity
Q55 Q142 Q145
SYSTEM
Netherlands, France, United Kingdom
Q142 Q145 Q55 Q145 Q145
(Q3088906,P17,c(Q15617994)) (Q17351344,P17,c(Q15617994)) (Q17351351,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3088906
relation P17
type Q15617994
action filter_type
action find
entity Q17351344
relation P17
type Q15617994
action filter_type
action find
entity Q17351351
relation P17
type Q15617994
[ANSWERS] are France–United Kingdom border, Netherlands–United Kingdom border and Antigua and Barbuda–United Kingdom border present in
['Q3088906', 'P17', {'concept': 'Q15617994'}] ['Q17351344', 'P17', {'concept': 'Q15617994'}] ['Q17351351', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?j property:P17 ?q . VALUES ( ?j ) { ( resource:Q17351344 ) ( resource:Q3088906 ) } }
France United Kingdom Netherlands United Kingdom United Kingdom
Netherlands, France and United Kingdom are France–United Kingdom border, Netherlands–United Kingdom border and Antigua and Barbuda–United Kingdom border present in
Netherlands France United Kingdom
action union
action filter_type
action find
entity France–United Kingdom border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Netherlands–United Kingdom border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Antigua and Barbuda–United Kingdom border
relation country
type designation for an administrative territorial entity
['France–United Kingdom border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Netherlands–United Kingdom border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Antigua and Barbuda–United Kingdom border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?j property:country ?q . VALUES ( ?j ) { ( resource:Netherlands–United_Kingdom_border ) ( resource:France–United_Kingdom_border ) } }
[]