Simple Question (Direct)
Simple Question
Q2060191
P19
Q56061
USER
Which administrative territory is the place of birth of Al Capp ?
(Q2060191,P19,c(Q56061))
action filter_type
action find
entity Q2060191
relation P19
type Q56061
['Q2060191', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2060191 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Al Capp
action filter_type
action find
entity Al Capp
relation place of birth
type administrative territorial entity
['Al Capp', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Al_Capp property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49145
SYSTEM
New Haven
Q49145
(Q2060191,P19,c(Q56061))
action filter_type
action find
entity Q2060191
relation P19
type Q56061
[ANSWER] is the place of birth of Al Capp
['Q2060191', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2060191 property:P19 ?e . ?e rdf:type ontology:Q56061 }
New Haven
New Haven is the place of birth of Al Capp
New Haven
action filter_type
action find
entity Al Capp
relation place of birth
type administrative territorial entity
['Al Capp', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Al_Capp property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2060191
P1412
Q34770
USER
Which language can Al Capp read ?
(Q2060191,P1412,c(Q34770))
action filter_type
action find
entity Q2060191
relation P1412
type Q34770
['Q2060191', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q2060191 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Al Capp
action filter_type
action find
entity Al Capp
relation languages spoken, written or signed
type language
['Al Capp', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Al_Capp property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2060191,P1412,c(Q34770))
action filter_type
action find
entity Q2060191
relation P1412
type Q34770
Al Capp can read in [ANSWER]
['Q2060191', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q2060191 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Al Capp can read in English
English
action filter_type
action find
entity Al Capp
relation languages spoken, written or signed
type language
['Al Capp', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Al_Capp property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q667276 Q502895
USER
How many people were exhibited at around 3 events or art exhibitions ?
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 3
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?k ) WHERE { { ?y property:P608 ?p . ?y rdf:type ontology:Q502895 . ?p rdf:type ontology:Q667276 } UNION { ?y property:P608 ?p . ?p rdf:type ontology:Q1656682 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?k = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 3
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?k ) WHERE { { ?y property:exhibition_history ?p . ?y rdf:type ontology:common_name . ?p rdf:type ontology:art_exhibition } UNION { ?y property:exhibition_history ?p . ?p rdf:type ontology:event . ?y rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?k = 3 ) }
[]
event art exhibition common name
SYSTEM
1
Q3335569
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 3
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?k ) WHERE { { ?y property:P608 ?p . ?y rdf:type ontology:Q502895 . ?p rdf:type ontology:Q667276 } UNION { ?y property:P608 ?p . ?p rdf:type ontology:Q1656682 . ?y rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?k = 3 ) }
Nancy Elizabeth Prophet
1
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 3
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?k ) WHERE { { ?y property:exhibition_history ?p . ?y rdf:type ontology:common_name . ?p rdf:type ontology:art_exhibition } UNION { ?y property:exhibition_history ?p . ?p rdf:type ontology:event . ?y rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?k = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2092163
P282
Q9779 Q34770
USER
How many alphabets are the writing systems used for more number of languages than Macedonian alphabet ?
(c(Q34770),P282,c(Q9779))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q2092163
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P282 ?i . ?i rdf:type ontology:Q9779 . ?o rdf:type ontology:Q34770 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q2092163 property:P282 ?h . ?h rdf:type ontology:Q9779 } } . FILTER ( ?y > ?p ) }
Macedonian alphabet
action count
action greater
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Macedonian alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:writing_system ?i . ?i rdf:type ontology:alphabet . ?o rdf:type ontology:language } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Macedonian_alphabet property:writing_system ?h . ?h rdf:type ontology:alphabet } } . FILTER ( ?y > ?p ) }
[]
alphabet language
SYSTEM
4
Q8209 Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q2092163
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P282 ?i . ?i rdf:type ontology:Q9779 . ?o rdf:type ontology:Q34770 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q2092163 property:P282 ?h . ?h rdf:type ontology:Q9779 } } . FILTER ( ?y > ?p ) }
Cyrillic script Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
4
action count
action greater
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Macedonian alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:writing_system ?i . ?i rdf:type ontology:alphabet . ?o rdf:type ontology:language } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Macedonian_alphabet property:writing_system ?h . ?h rdf:type ontology:alphabet } } . FILTER ( ?y > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q606972
P282
Q9779 Q34770
USER
And how about Polish alphabet?
(c(Q34770),P282,c(Q9779))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q606972
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P282 ?j . ?j rdf:type ontology:Q9779 . ?r rdf:type ontology:Q34770 } GROUP BY ?j } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q606972 property:P282 ?s . ?s rdf:type ontology:Q9779 } } }
Polish alphabet
action count
action greater
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Polish alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:writing_system ?j . ?j rdf:type ontology:alphabet . ?r rdf:type ontology:language } GROUP BY ?j } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Polish_alphabet property:writing_system ?s . ?s rdf:type ontology:alphabet } } }
[]
alphabet language
SYSTEM
4
Q8209 Q829464 Q550383 Q442244
(c(Q34770),P282,c(Q9779))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q606972
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P282 ?j . ?j rdf:type ontology:Q9779 . ?r rdf:type ontology:Q34770 } GROUP BY ?j } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q606972 property:P282 ?s . ?s rdf:type ontology:Q9779 } } }
Cyrillic script Serbian Cyrillic alphabet Italian alphabet Early Cyrillic alphabet
4
action count
action greater
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Polish alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:writing_system ?j . ?j rdf:type ontology:alphabet . ?r rdf:type ontology:language } GROUP BY ?j } . FILTER ( ?a > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Polish_alphabet property:writing_system ?s . ?s rdf:type ontology:alphabet } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49145
P291
Q1914636
USER
Which activity has New Haven as its publication place ?
(c(Q1914636),P291,Q49145)
action filter_type
action find_reverse
entity Q49145
relation P291
type Q1914636
[{'concept': 'Q1914636'}, 'P291', 'Q49145']
SELECT DISTINCT ?o WHERE { ?o property:P291 resource:Q49145 . ?o rdf:type ontology:Q1914636 }
New Haven
action filter_type
action find_reverse
entity New Haven
relation place of publication
type activity
[{'concept': 'activity'}, 'place of publication', 'New Haven']
SELECT DISTINCT ?o WHERE { ?o property:place_of_publication resource:New_Haven . ?o rdf:type ontology:activity }
[]
activity
Q24175132
SYSTEM
The Buildings of Wales: Gwent/Monmouthshire
Q24175132
(c(Q1914636),P291,Q49145)
action filter_type
action find_reverse
entity Q49145
relation P291
type Q1914636
[ANSWER] has New Haven as its publication place
[{'concept': 'Q1914636'}, 'P291', 'Q49145']
SELECT DISTINCT ?o WHERE { ?o property:P291 resource:Q49145 . ?o rdf:type ontology:Q1914636 }
The Buildings of Wales: Gwent/Monmouthshire
The Buildings of Wales: Gwent/Monmouthshire has New Haven as its publication place
The Buildings of Wales: Gwent/Monmouthshire
action filter_type
action find_reverse
entity New Haven
relation place of publication
type activity
[{'concept': 'activity'}, 'place of publication', 'New Haven']
SELECT DISTINCT ?o WHERE { ?o property:place_of_publication resource:New_Haven . ?o rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49145
P190
Q13220204
USER
Which administrative country subdivision is twin city of that administrative territory ?
(Q24175132,P190,c(Q13220204))
action filter_type
action find
entity Q49145
relation P190
type Q13220204
['Q24175132', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q49145 property:P190 ?u . ?u rdf:type ontology:Q13220204 }
New Haven
action filter_type
action find
entity New Haven
relation sister city
type second-level administrative country subdivision
['The Buildings of Wales: Gwent/Monmouthshire', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:New_Haven property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q36167
SYSTEM
Huế
Q36167
(Q24175132,P190,c(Q13220204))
action filter_type
action find
entity Q49145
relation P190
type Q13220204
[ANSWER] is twin city of that administrative territory
['Q24175132', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q49145 property:P190 ?u . ?u rdf:type ontology:Q13220204 }
Huế
Huế is twin city of that administrative territory
Huế
action filter_type
action find
entity New Haven
relation sister city
type second-level administrative country subdivision
['The Buildings of Wales: Gwent/Monmouthshire', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:New_Haven property:sister_city ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24282686 Q1860
P361 P101
Q5962346
USER
Which classification schemes are English a part of or do Ray Harlow belong to ?
OR((Q1860,P361,c(Q5962346)), (Q24282686,P101,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q24282686
relation P101
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q24282686', 'P101', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1860 property:P361 ?h } UNION { resource:Q24282686 property:P101 ?h } } . ?h rdf:type ontology:Q5962346 }
Ray Harlow English
action filter_type
action union
action find
entity English
relation part of
action find
entity Ray Harlow
relation field of work
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Ray Harlow', 'field of work', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?h WHERE { { { resource:English property:part_of ?h } UNION { resource:Ray_Harlow property:field_of_work ?h } } . ?h rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q390979 Q5329170
SYSTEM
Anglic languages, Polynesian languages, Anglo-Frisian languages
Q1346342 Q390979 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q24282686,P101,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q24282686
relation P101
type Q5962346
[ANSWERS] are English a part of or do Ray Harlow belong to
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q24282686', 'P101', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1860 property:P361 ?h } UNION { resource:Q24282686 property:P101 ?h } } . ?h rdf:type ontology:Q5962346 }
Anglic languages Polynesian languages Anglo-Frisian languages
Anglic languages, Polynesian languages and Anglo-Frisian languages are English a part of or do Ray Harlow belong to
Anglic languages Polynesian languages Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Ray Harlow
relation field of work
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Ray Harlow', 'field of work', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?h WHERE { { { resource:English property:part_of ?h } UNION { resource:Ray_Harlow property:field_of_work ?h } } . ?h rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36167
P276
Q1190554
USER
Which event is located at Huế ?
(c(Q1190554),P276,Q36167)
action filter_type
action find_reverse
entity Q36167
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q36167']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . ?m property:P276 resource:Q36167 }
Huế
action filter_type
action find_reverse
entity Huế
relation location
type event
[{'concept': 'event'}, 'location', 'Huế']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . ?m property:location resource:Huế }
[]
event
Q697053
SYSTEM
Battle of Hue
Q697053
(c(Q1190554),P276,Q36167)
action filter_type
action find_reverse
entity Q36167
relation P276
type Q1190554
[ANSWER] is located at Huế
[{'concept': 'Q1190554'}, 'P276', 'Q36167']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . ?m property:P276 resource:Q36167 }
Battle of Hue
Battle of Hue is located at Huế
Battle of Hue
action filter_type
action find_reverse
entity Huế
relation location
type event
[{'concept': 'event'}, 'location', 'Huế']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . ?m property:location resource:Huế }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36167
P1376
Q13417114
USER
Which noble family has that administrative country subdivision has its first city ?
(Q697053,P1376,c(Q13417114))
action filter_type
action find
entity Q36167
relation P1376
type Q13417114
['Q697053', 'P1376', {'concept': 'Q13417114'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q13417114 . resource:Q36167 property:P1376 ?c }
Huế
action filter_type
action find
entity Huế
relation capital of
type noble family
['Battle of Hue', 'capital of', {'concept': 'noble family'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:noble_family . resource:Huế property:capital_of ?c }
[]
noble family
Q6500483
SYSTEM
Nguyen dynasty
Q6500483
(Q697053,P1376,c(Q13417114))
action filter_type
action find
entity Q36167
relation P1376
type Q13417114
[ANSWER] has that administrative country subdivision has its first city
['Q697053', 'P1376', {'concept': 'Q13417114'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q13417114 . resource:Q36167 property:P1376 ?c }
Nguyen dynasty
Nguyen dynasty has that administrative country subdivision has its first city
Nguyen dynasty
action filter_type
action find
entity Huế
relation capital of
type noble family
['Battle of Hue', 'capital of', {'concept': 'noble family'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:noble_family . resource:Huế property:capital_of ?c }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q499537 Q49145
P47 P190
Q20667921
USER
Which french administrative divisions are twin cities of New Haven or share border with Ornans ?
OR((Q49145,P190,c(Q20667921)), (Q499537,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q49145
relation P190
action find
entity Q499537
relation P47
type Q20667921
{'OR': [['Q49145', 'P190', {'concept': 'Q20667921'}], ['Q499537', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q49145 property:P190 ?e } UNION { resource:Q499537 property:P47 ?e } } . ?e rdf:type ontology:Q20667921 }
Ornans New Haven
action filter_type
action union
action find
entity New Haven
relation sister city
action find
entity Ornans
relation shares border with
type type of french administrative division
{'OR': [['New Haven', 'sister city', {'concept': 'type of french administrative division'}], ['Ornans', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?e WHERE { { { resource:New_Haven property:sister_city ?e } UNION { resource:Ornans property:shares_border_with ?e } } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q838161 Q838919 Q906920 Q837744 Q908618 Q908925 Q838865 Q906893 Q908368 Q6397
SYSTEM
Foucherans, Chassagne-Saint-Denis, Saules, Bonnevaux-le-Prieuré, Flagey, Silley-Amancey, Chantrans, Scey-Maisières, Montgesoye, Avignon
Q838161 Q838919 Q906920 Q837744 Q908618 Q908925 Q838865 Q906893 Q908368 Q6397
OR((Q49145,P190,c(Q20667921)), (Q499537,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q49145
relation P190
action find
entity Q499537
relation P47
type Q20667921
[ANSWERS] are twin cities of New Haven or share border with Ornans
{'OR': [['Q49145', 'P190', {'concept': 'Q20667921'}], ['Q499537', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q49145 property:P190 ?e } UNION { resource:Q499537 property:P47 ?e } } . ?e rdf:type ontology:Q20667921 }
Foucherans Chassagne-Saint-Denis Saules Bonnevaux-le-Prieuré Flagey Silley-Amancey Chantrans Scey-Maisières Montgesoye Avignon
Foucherans, Chassagne-Saint-Denis, Saules, Bonnevaux-le-Prieuré, Flagey, Silley-Amancey, Chantrans, Scey-Maisières, Montgesoye and Avignon are twin cities of New Haven or share border with Ornans
Foucherans Chassagne-Saint-Denis Saules Bonnevaux-le-Prieuré Flagey Silley-Amancey Chantrans Scey-Maisières Montgesoye Avignon
action filter_type
action union
action find
entity New Haven
relation sister city
action find
entity Ornans
relation shares border with
type type of french administrative division
{'OR': [['New Haven', 'sister city', {'concept': 'type of french administrative division'}], ['Ornans', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?e WHERE { { { resource:New_Haven property:sister_city ?e } UNION { resource:Ornans property:shares_border_with ?e } } . ?e rdf:type ontology:type_of_french_administrative_division }
[]