Simple Question (Direct)
Simple Question
Q4449195
P106
Q12737077
USER
Which occupation has Dobrinka Tabakova as his/her 's career ?
(Q4449195,P106,c(Q12737077))
action filter_type
action find
entity Q4449195
relation P106
type Q12737077
['Q4449195', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4449195 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Dobrinka Tabakova
action filter_type
action find
entity Dobrinka Tabakova
relation occupation
type occupation
['Dobrinka Tabakova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Dobrinka_Tabakova property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q4449195,P106,c(Q12737077))
action filter_type
action find
entity Q4449195
relation P106
type Q12737077
The [ANSWER] has Dobrinka Tabakova as his/her 's career
['Q4449195', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q4449195 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
composer
The composer has Dobrinka Tabakova as his/her 's career
composer
action filter_type
action find
entity Dobrinka Tabakova
relation occupation
type occupation
['Dobrinka Tabakova', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Dobrinka_Tabakova property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36834
P287
Q166142
USER
Which application had designs produced by that occupation ?
(c(Q166142),P287,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P287
type Q166142
[{'concept': 'Q166142'}, 'P287', 'Q36834']
SELECT DISTINCT ?n WHERE { ?n property:P287 resource:Q36834 . ?n rdf:type ontology:Q166142 }
composer
action filter_type
action find_reverse
entity composer
relation designer
type application
[{'concept': 'application'}, 'designer', 'composer']
SELECT DISTINCT ?n WHERE { ?n property:designer resource:composer . ?n rdf:type ontology:application }
[]
application
Q7506275
SYSTEM
Shūjin e no Pert-em-Hru
Q7506275
(c(Q166142),P287,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P287
type Q166142
[ANSWER] had designs produced by that occupation
[{'concept': 'Q166142'}, 'P287', 'Q36834']
SELECT DISTINCT ?n WHERE { ?n property:P287 resource:Q36834 . ?n rdf:type ontology:Q166142 }
Shūjin e no Pert-em-Hru
Shūjin e no Pert-em-Hru had designs produced by that occupation
Shūjin e no Pert-em-Hru
action filter_type
action find_reverse
entity composer
relation designer
type application
[{'concept': 'application'}, 'designer', 'composer']
SELECT DISTINCT ?n WHERE { ?n property:designer resource:composer . ?n rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P175
Q7725634
USER
Which literary work gave the performance of composer ?
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?d WHERE { ?d property:P175 resource:Q36834 . ?d rdf:type ontology:Q7725634 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?d WHERE { ?d property:performer resource:composer . ?d rdf:type ontology:literary_work }
[]
literary work
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] gave the performance of composer
[{'concept': 'Q7725634'}, 'P175', 'Q36834']
SELECT DISTINCT ?d WHERE { ?d property:P175 resource:Q36834 . ?d rdf:type ontology:Q7725634 }
Hosanna
Hosanna gave the performance of composer
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'composer']
SELECT DISTINCT ?d WHERE { ?d property:performer resource:composer . ?d rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P39
Q502895
USER
Which person was responsible for occupying the position of composer ?
(c(Q502895),P39,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q36834']
SELECT DISTINCT ?q WHERE { ?q property:P39 resource:Q36834 . ?q rdf:type ontology:Q502895 }
composer
action filter_type
action find_reverse
entity composer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'composer']
SELECT DISTINCT ?q WHERE { ?q property:position_held resource:composer . ?q rdf:type ontology:common_name }
[]
common name
Q3193394
SYSTEM
Karl Hajos
Q3193394
(c(Q502895),P39,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of composer
[{'concept': 'Q502895'}, 'P39', 'Q36834']
SELECT DISTINCT ?q WHERE { ?q property:P39 resource:Q36834 . ?q rdf:type ontology:Q502895 }
Karl Hajos
Karl Hajos was responsible for occupying the position of composer
Karl Hajos
action filter_type
action find_reverse
entity composer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'composer']
SELECT DISTINCT ?q WHERE { ?q property:position_held resource:composer . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36834
P417
Q502895
USER
What is the name of person who is the patron saint of that occupation ?
(Q3193394,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
['Q3193394', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q36834 property:P417 ?n . ?n rdf:type ontology:Q502895 }
composer
action filter_type
action find
entity composer
relation patron saint
type common name
['Karl Hajos', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:composer property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
common name
Q80513
SYSTEM
Saint Cecilia
Q80513
(Q3193394,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
The name of person is the patron saint of that occupation is [ANSWER]
['Q3193394', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q36834 property:P417 ?n . ?n rdf:type ontology:Q502895 }
Saint Cecilia
The name of person is the patron saint of that occupation is Saint Cecilia
Saint Cecilia
action filter_type
action find
entity composer
relation patron saint
type common name
['Karl Hajos', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:composer property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q80513
P19
Q56061
USER
How many administrative territories are the places of birth of Saint Cecilia ?
(Q80513,P19,c(Q56061))
action count
action filter_type
action find
entity Q80513
relation P19
type Q56061
['Q80513', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q80513 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Saint Cecilia
action count
action filter_type
action find
entity Saint Cecilia
relation place of birth
type administrative territorial entity
['Saint Cecilia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Saint_Cecilia property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q220
(Q80513,P19,c(Q56061))
action count
action filter_type
action find
entity Q80513
relation P19
type Q56061
[ANSWER]
['Q80513', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q80513 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Rome
1
action count
action filter_type
action find
entity Saint Cecilia
relation place of birth
type administrative territorial entity
['Saint Cecilia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Saint_Cecilia property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6260581
P19
Q56061
USER
And what about John Thomas Idlet?
(Q6260581,P19,c(Q56061))
action count
action filter_type
action find
entity Q6260581
relation P19
type Q56061
['Q6260581', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q6260581 property:P19 ?i . ?i rdf:type ontology:Q56061 }
John Thomas Idlet
action count
action filter_type
action find
entity John Thomas Idlet
relation place of birth
type administrative territorial entity
['John Thomas Idlet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:John_Thomas_Idlet property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q5092
(Q6260581,P19,c(Q56061))
action count
action filter_type
action find
entity Q6260581
relation P19
type Q56061
[ANSWER]
['Q6260581', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q6260581 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Baltimore
1
action count
action filter_type
action find
entity John Thomas Idlet
relation place of birth
type administrative territorial entity
['John Thomas Idlet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:John_Thomas_Idlet property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3610129
Q56061
USER
And also tell me about Alessandro Marzi Medici?
(Q3610129,P19,c(Q56061))
action count
action filter_type
action find
entity Q3610129
relation P19
type Q56061
['Q3610129', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q3610129 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Alessandro Marzi Medici
action count
action filter_type
action find
entity Alessandro Marzi Medici
relation place of birth
type administrative territorial entity
['Alessandro Marzi Medici', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Alessandro_Marzi_Medici property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q3610129,P19,c(Q56061))
action count
action filter_type
action find
entity Q3610129
relation P19
type Q56061
[ANSWER]
['Q3610129', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q3610129 property:P19 ?f . ?f rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Alessandro Marzi Medici
relation place of birth
type administrative territorial entity
['Alessandro Marzi Medici', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Alessandro_Marzi_Medici property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q199506
P85
Q7725634 Q5589178 Q1048835
USER
Which literary works are the national anthems of approximately the same number of regimes or political territories as El Gran Carlemany ?
(c(Q5589178)|c(Q1048835),P85,c(Q7725634))
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q5589178
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q199506
relation P85
type Q5589178
type Q1048835
[[{'concept': 'Q5589178'}, {'concept': 'Q1048835'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { { ?f property:P85 ?k . ?k rdf:type ontology:Q7725634 . ?f rdf:type ontology:Q5589178 } UNION { ?f property:P85 ?k . ?k rdf:type ontology:Q7725634 . ?f rdf:type ontology:Q1048835 } } GROUP BY ?k } . FILTER ( ?w = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P85 resource:Q199506 . { { ?m rdf:type ontology:Q5589178 } UNION { ?m rdf:type ontology:Q1048835 } } } } }
El Gran Carlemany
action approx
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type regime
action find_reverse_tuple_counts
relation anthem
type literary work
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity El Gran Carlemany
relation anthem
type regime
type political territorial entity
[[{'concept': 'regime'}, {'concept': 'political territorial entity'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { { ?f property:anthem ?k . ?k rdf:type ontology:literary_work . ?f rdf:type ontology:regime } UNION { ?f property:anthem ?k . ?k rdf:type ontology:literary_work . ?f rdf:type ontology:political_territorial_entity } } GROUP BY ?k } . FILTER ( ?w = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:anthem resource:El_Gran_Carlemany . { { ?m rdf:type ontology:regime } UNION { ?m rdf:type ontology:political_territorial_entity } } } } }
[]
literary work regime political territorial entity
Q49617 Q166350 Q44042
SYSTEM
The Internationale, My Belarusy, Das Lied der Deutschen
Q4138482 Q2499004 Q329961 Q187 Q1353878 Q141005 Q476582 Q837310 Q166350 Q199506 Q331969 Q864979 Q1137824 Q1117160 Q905475 Q193873 Q3144046 Q2436991 Q1378369 Q83099 Q309476 Q322631 Q134654 Q49617 Q537157 Q482988 Q130865 Q7561178 Q41545 Q336321 Q748155 Q4254222 Q44042 Q163797 Q3207871 Q1052211 Q866231 Q4944 Q1064024 Q1136397 Q964168 Q1136391 Q866383 Q208016 Q2014237 Q698660 Q2398452 Q1354532 Q208275 Q632514
(c(Q5589178)|c(Q1048835),P85,c(Q7725634))
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q5589178
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q199506
relation P85
type Q5589178
type Q1048835
[ANSWERS] are the national anthems of approximately the same number of regimes or political territories as El Gran Carlemany
[[{'concept': 'Q5589178'}, {'concept': 'Q1048835'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { { ?f property:P85 ?k . ?k rdf:type ontology:Q7725634 . ?f rdf:type ontology:Q5589178 } UNION { ?f property:P85 ?k . ?k rdf:type ontology:Q7725634 . ?f rdf:type ontology:Q1048835 } } GROUP BY ?k } . FILTER ( ?w = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P85 resource:Q199506 . { { ?m rdf:type ontology:Q5589178 } UNION { ?m rdf:type ontology:Q1048835 } } } } }
Anthem of Saint Petersburg Ons Gelderland Lebanese National Anthem Il Canto degli Italiani Vajacki marš La Espero Sachsen Hymne Caminemos pisando las sendas de nuestra inmensa felicidad My Belarusy El Gran Carlemany Farewell of Slavianka National Anthem of the Republic of China Navarra anthem Giovinezza ’Ia ora ’o Tahiti Nui Oben am jungen Rhein Hymne du Saugeais Gaude Mater Polonia Shumi Maritsa Jana Gana Mana As Salam al Amiri Fair Antigua, We Salute Thee Brazilian National Anthem The Internationale Die Stem van Suid-Afrika Mazurek Dąbrowskiego Hatikvah Song of the Military and Political University of Resistance Against Japan Ode to Joy Hymne Monégasque Anthem of the Kazakh Soviet Socialist Republic Ser Benfiquista Das Lied der Deutschen Heil dir im Siegerkranz Copa Santa China Heroically Stands in the Universe Bro Gozh ma Zadoù National Anthem of Peru Saint Vincent Land so Beautiful Marche Henri IV God Save the South Partant pour la Syrie La Parisienne (song) Tiến Quân Ca Ode to Newfoundland Deutschösterreich, du herrliches Land Moya Moskva Trăiască Regele Flower of Scotland Waar wij steden doen verrijzen...
The Internationale, My Belarusy and Das Lied der Deutschen are the national anthems of approximately the same number of regimes or political territories as El Gran Carlemany
The Internationale My Belarusy Das Lied der Deutschen
action approx
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type regime
action find_reverse_tuple_counts
relation anthem
type literary work
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity El Gran Carlemany
relation anthem
type regime
type political territorial entity
[[{'concept': 'regime'}, {'concept': 'political territorial entity'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?k WHERE { { ?f property:anthem ?k . ?k rdf:type ontology:literary_work . ?f rdf:type ontology:regime } UNION { ?f property:anthem ?k . ?k rdf:type ontology:literary_work . ?f rdf:type ontology:political_territorial_entity } } GROUP BY ?k } . FILTER ( ?w = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:anthem resource:El_Gran_Carlemany . { { ?m rdf:type ontology:regime } UNION { ?m rdf:type ontology:political_territorial_entity } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q905475
P85
Q7725634 Q5589178 Q1048835
USER
And what about ’Ia ora ’o Tahiti Nui?
(c(Q5589178)|c(Q1048835),P85,c(Q7725634))
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q5589178
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q905475
relation P85
type Q5589178
type Q1048835
[[{'concept': 'Q5589178'}, {'concept': 'Q1048835'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?o ) WHERE { { ?c rdf:type ontology:Q7725634 . ?h rdf:type ontology:Q5589178 . ?h property:P85 ?c } UNION { ?h property:P85 ?c . ?c rdf:type ontology:Q7725634 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P85 resource:Q905475 . { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q5589178 } } } } . FILTER ( ?o = ?t ) }
’Ia ora ’o Tahiti Nui
action approx
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type regime
action find_reverse_tuple_counts
relation anthem
type literary work
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity ’Ia ora ’o Tahiti Nui
relation anthem
type regime
type political territorial entity
[[{'concept': 'regime'}, {'concept': 'political territorial entity'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?o ) WHERE { { ?c rdf:type ontology:literary_work . ?h rdf:type ontology:regime . ?h property:anthem ?c } UNION { ?h property:anthem ?c . ?c rdf:type ontology:literary_work . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:anthem resource:’Ia_ora_’o_Tahiti_Nui . { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:regime } } } } . FILTER ( ?o = ?t ) }
[]
literary work regime political territorial entity
Q49617 Q166350 Q44042
SYSTEM
The Internationale, My Belarusy, Das Lied der Deutschen
Q4138482 Q2499004 Q329961 Q187 Q1353878 Q141005 Q476582 Q837310 Q166350 Q199506 Q331969 Q864979 Q1137824 Q1117160 Q905475 Q193873 Q3144046 Q2436991 Q1378369 Q83099 Q309476 Q322631 Q134654 Q49617 Q537157 Q482988 Q130865 Q7561178 Q41545 Q336321 Q748155 Q4254222 Q44042 Q163797 Q3207871 Q1052211 Q866231 Q4944 Q1064024 Q1136397 Q964168 Q1136391 Q866383 Q208016 Q2014237 Q698660 Q2398452 Q1354532 Q208275 Q632514
(c(Q5589178)|c(Q1048835),P85,c(Q7725634))
action approx
action union
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q5589178
action find_reverse_tuple_counts
relation P85
type Q7725634
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q905475
relation P85
type Q5589178
type Q1048835
[ANSWERS]
[[{'concept': 'Q5589178'}, {'concept': 'Q1048835'}], 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?o ) WHERE { { ?c rdf:type ontology:Q7725634 . ?h rdf:type ontology:Q5589178 . ?h property:P85 ?c } UNION { ?h property:P85 ?c . ?c rdf:type ontology:Q7725634 . ?h rdf:type ontology:Q1048835 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P85 resource:Q905475 . { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q5589178 } } } } . FILTER ( ?o = ?t ) }
Anthem of Saint Petersburg Ons Gelderland Lebanese National Anthem Il Canto degli Italiani Vajacki marš La Espero Sachsen Hymne Caminemos pisando las sendas de nuestra inmensa felicidad My Belarusy El Gran Carlemany Farewell of Slavianka National Anthem of the Republic of China Navarra anthem Giovinezza ’Ia ora ’o Tahiti Nui Oben am jungen Rhein Hymne du Saugeais Gaude Mater Polonia Shumi Maritsa Jana Gana Mana As Salam al Amiri Fair Antigua, We Salute Thee Brazilian National Anthem The Internationale Die Stem van Suid-Afrika Mazurek Dąbrowskiego Hatikvah Song of the Military and Political University of Resistance Against Japan Ode to Joy Hymne Monégasque Anthem of the Kazakh Soviet Socialist Republic Ser Benfiquista Das Lied der Deutschen Heil dir im Siegerkranz Copa Santa China Heroically Stands in the Universe Bro Gozh ma Zadoù National Anthem of Peru Saint Vincent Land so Beautiful Marche Henri IV God Save the South Partant pour la Syrie La Parisienne (song) Tiến Quân Ca Ode to Newfoundland Deutschösterreich, du herrliches Land Moya Moskva Trăiască Regele Flower of Scotland Waar wij steden doen verrijzen...
The Internationale My Belarusy Das Lied der Deutschen
action approx
action union
action find_reverse_tuple_counts
relation anthem
type literary work
type regime
action find_reverse_tuple_counts
relation anthem
type literary work
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity ’Ia ora ’o Tahiti Nui
relation anthem
type regime
type political territorial entity
[[{'concept': 'regime'}, {'concept': 'political territorial entity'}], 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?o ) WHERE { { ?c rdf:type ontology:literary_work . ?h rdf:type ontology:regime . ?h property:anthem ?c } UNION { ?h property:anthem ?c . ?c rdf:type ontology:literary_work . ?h rdf:type ontology:political_territorial_entity } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:anthem resource:’Ia_ora_’o_Tahiti_Nui . { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:regime } } } } . FILTER ( ?o = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11020923 Q6260581
P19
Q56061
USER
Which administrative territories are the birthplace of John Thomas Idlet or Isabel Llull ?
OR((Q6260581,P19,c(Q56061)), (Q11020923,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6260581
relation P19
action find
entity Q11020923
relation P19
type Q56061
{'OR': [['Q6260581', 'P19', {'concept': 'Q56061'}], ['Q11020923', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . { ?f property:P19 ?j . VALUES ( ?f ) { ( resource:Q6260581 ) ( resource:Q11020923 ) } } }
Isabel Llull John Thomas Idlet
action filter_type
action union
action find
entity John Thomas Idlet
relation place of birth
action find
entity Isabel Llull
relation place of birth
type administrative territorial entity
{'OR': [['John Thomas Idlet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Isabel Llull', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . { ?f property:place_of_birth ?j . VALUES ( ?f ) { ( resource:John_Thomas_Idlet ) ( resource:Isabel_Llull ) } } }
[]
administrative territorial entity
Q8826 Q5092
SYSTEM
Palma, Baltimore
Q8826 Q5092
OR((Q6260581,P19,c(Q56061)), (Q11020923,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6260581
relation P19
action find
entity Q11020923
relation P19
type Q56061
[ANSWERS] are the birthplace of John Thomas Idlet or Isabel Llull
{'OR': [['Q6260581', 'P19', {'concept': 'Q56061'}], ['Q11020923', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . { ?f property:P19 ?j . VALUES ( ?f ) { ( resource:Q6260581 ) ( resource:Q11020923 ) } } }
Palma Baltimore
Palma and Baltimore are the birthplace of John Thomas Idlet or Isabel Llull
Palma Baltimore
action filter_type
action union
action find
entity John Thomas Idlet
relation place of birth
action find
entity Isabel Llull
relation place of birth
type administrative territorial entity
{'OR': [['John Thomas Idlet', 'place of birth', {'concept': 'administrative territorial entity'}], ['Isabel Llull', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . { ?f property:place_of_birth ?j . VALUES ( ?f ) { ( resource:John_Thomas_Idlet ) ( resource:Isabel_Llull ) } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q186363 Q80513
P149 P417
Q16970
USER
Which churches have adopted Saint Cecilia as patron saint or uses architectural style of Gothic Revival architecture ?
OR((c(Q16970),P417,Q80513), (c(Q16970),P149,Q186363))
action filter_type
action union
action find_reverse
entity Q80513
relation P417
action find_reverse
entity Q186363
relation P149
type Q16970
{'OR': [[{'concept': 'Q16970'}, 'P417', 'Q80513'], [{'concept': 'Q16970'}, 'P149', 'Q186363']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P417 resource:Q80513 } UNION { ?h property:P149 resource:Q186363 } } . ?h rdf:type ontology:Q16970 }
Gothic Revival architecture Saint Cecilia
action filter_type
action union
action find_reverse
entity Saint Cecilia
relation patron saint
action find_reverse
entity Gothic Revival architecture
relation architectural style
type church
{'OR': [[{'concept': 'church'}, 'patron saint', 'Saint Cecilia'], [{'concept': 'church'}, 'architectural style', 'Gothic Revival architecture']]}
SELECT DISTINCT ?h WHERE { { { ?h property:patron_saint resource:Saint_Cecilia } UNION { ?h property:architectural_style resource:Gothic_Revival_architecture } } . ?h rdf:type ontology:church }
[]
church
Q766138 Q1357850 Q2942873 Q810123 Q18696459 Q1356821 Q2942424 Q624556 Q1436463 Q18666216
SYSTEM
Some of them are Sacred Heart Cathedral, Lancaster Cathedral, Cathedral Basilica of the Immaculate Conception, Basilica of Saints Peter and Paul, Saint Anthony the Great Church (Tenholt), Cathedral of Evangelismos, Cathedral of Saint Paul, St. Patrick's Cathedral, St. Philomena's Church, Mysore, St Mary's Cathedral, Wellington
Q15848431 Q474226 Q17592509 Q16540597 Q2094950 Q810123 Q1907145 Q7592338 Q45033 Q16857047 Q18028083 Q2942424 Q1050890 Q624556 Q18695631 Q1380409 Q17326289 Q2886889 Q17592514 Q1357895 Q2942288 Q1356821 Q971514 Q63602 Q1736191 Q17106632 Q1892155 Q668710 Q1195445 Q1736164 Q312220 Q21584210 Q1671011 Q17326354 Q1138066 Q176018 Q2453562 Q1403751 Q1437098 Q1138670 Q18666216 Q1267112 Q2942863 Q733577 Q2942358 Q7590991 Q1350966 Q940137 Q7592952 Q1436463 Q2942709 Q152936 Q2316031 Q2942932 Q1195474 Q2002811 Q1451262 Q2942919 Q637460 Q1514655 Q2942911 Q2942916 Q2942873 Q257481 Q2942877 Q1736231 Q17461578 Q1897809 Q2374300 Q49633 Q15726637 Q2339141 Q2942613 Q652073 Q17488072 Q1350999 Q3919090 Q15637520 Q15920567 Q2942904 Q2942901 Q3585184 Q18288454 Q94744 Q1432395 Q1595232 Q1848887 Q4348256 Q2324015 Q1789274 Q1236619 Q2296475 Q786163 Q73260 Q17127492 Q2118647 Q1606496 Q20710649 Q2942490 Q657306 Q2942308 Q941763 Q1754571 Q5052431 Q1077975 Q31204 Q18286751 Q568385 Q519072 Q2942363 Q2942479 Q1566208 Q2407257 Q21683153 Q1236597 Q846825 Q2942889 Q17614265 Q3082361 Q18048891 Q970068 Q1638891 Q2942483 Q766138 Q2317878 Q1349741 Q2317392 Q880381 Q773443 Q18028064 Q1866506 Q2942486 Q1050668 Q1236674 Q1660621 Q2407691 Q1552134 Q2942897 Q1357850 Q321403 Q2942890 Q794242 Q2268666 Q1636756 Q23009385 Q1736143 Q977409 Q2942399 Q18028079 Q2942930 Q1923783 Q15411449 Q17592474 Q2942305 Q1051168 Q17127509 Q2942494 Q723359 Q934908 Q3100 Q908976 Q2363343 Q2942419 Q2942418 Q18696459 Q1137872 Q1239043 Q17592489 Q2942415 Q7397114 Q1453342 Q15115745 Q1545350 Q156427 Q1548801
OR((c(Q16970),P417,Q80513), (c(Q16970),P149,Q186363))
action filter_type
action union
action find_reverse
entity Q80513
relation P417
action find_reverse
entity Q186363
relation P149
type Q16970
[ANSWERS]
{'OR': [[{'concept': 'Q16970'}, 'P417', 'Q80513'], [{'concept': 'Q16970'}, 'P149', 'Q186363']]}
SELECT DISTINCT ?h WHERE { { { ?h property:P417 resource:Q80513 } UNION { ?h property:P149 resource:Q186363 } } . ?h rdf:type ontology:Q16970 }
St. Antonius Herz-Jesu-Kirche St. Martin Church of Saint Christina Bulgarian St. Stephen Church Basilica of Saints Peter and Paul St. Nicholas Roman Catholic Cathedral, Kiev St Andrew's Church, Cranford Cathedral of St. Peter and Paul St. Jakobus St. Nikolaus Cathedral of Saint Paul Cathedral of the Assumption of the Blessed Virgin Mary, Tuam St. Patrick's Cathedral Liebfrauenkirche (Bottrop) evangelical Church St. Georg (Rottenburg an der Laaber) St. Peter's Cathedral Basilica, London St. Nikolaus Northampton Cathedral Cathedral of Our Lady of Lourdes Cathedral of Evangelismos St Mary's Cathedral, Sydney Church of Saint Alex (Ivenets) Leeds Cathedral St. Otto (Pasewalk) St Paul's Cathedral Washington National Cathedral Sacred Heart Cathedral Belley Cathedral Zagreb Cathedral St. Lucia und Ottilie Lille Cathedral St. Vitus St. Aidan's Cathedral New St. John's Church Trinity Episcopal Cathedral St. Clara Church St. Othmar unter den Weißgerbern St Patrick's Cathedral St Mary's Cathedral, Wellington Cathedral of Jesus' Heart Cathedral of the Immaculate Conception San Thome Basilica Cathedral of St. John the Baptist St. Patrick Cathedral in Fort Worth Plymouth Cathedral Fort-de-France Cathedral St Denys' Church, Little Barford St. Philomena's Church, Mysore Cathedral of María Inmaculada of Vitoria Cathedral Basilica of the Assumption St. Boniface's Church, Bergen Cathedral of the Most Blessed Sacrament Cathedral of the Immaculate Conception St Andrew's Cathedral St George's Cathedral, Southwark Sacred Heart Cathedral Truro Cathedral Holy Rosary Cathedral Rēzekne Sacred Heart of Jesus Roman Catholic Cathedral Sacred Heart Cathedral, Tashkent Cathedral Basilica of the Immaculate Conception New Cathedral, Linz Cathedral of the Epiphany Sacred Heart Cathedral St. Johannes Baptist St Mary's Cathedral, Killarney St. Theresa's Cathedral of Changchun Saint Ignatius Cathedral, Shanghai Our Lady of the Rosary Church (Straeten) Saint Fin Barre's Cathedral Cathedral of the Assumption of Blessed Virgin Mary Christ Church Cathedral St. Michael (Kelz) Cardiff Metropolitan Cathedral Sarja Church St. Josef (Horst) St. Martin (Oberzier) Good Shepherd Cathedral of San Sebastián Christ the King Cathedral, Nha Trang St. Mary – St. Catherine of Siena Parish St. Johannes Baptist Albi Cathedral St. Mark's Episcopal Cathedral Heiligenstadt Parish Church St. Michael St. Joseph Cathedral, Groningen Umeå City Church St Mary's Cathedral, Edinburgh Kristiansand Cathedral Savonlinna Cathedral Tromsø Cathedral Cathedral Church of St. James St Patrick's Cathedral St. Margareta Tønsberg Cathedral St. Stephan St John the Evangelist's Church, Yealand Conyers Cathedral of Saint Mary Cathedral of the Immaculate Conception Cathedral of Saint Augustine St. Patrick's Old Cathedral Ludwigskirche Cathedral of the Blessed Sacrament Christ Church Cathedral St. Henry's Cathedral St. Ursula Saint-Étienne Cathedral St Mary's Cathedral, Edinburgh St. Joseph Cathedral in Buffalo Cathedral of Saint Helena St John's Cathedral Cathedral of Petrópolis St. Wolfgang Mikkeli Cathedral St. Mary's Cathedral Blackburn Cathedral St. Stephanus (Selgersdorf) Grace Cathedral, San Francisco Holy Cross Church (Keyenberg) St John's Cathedral St Mary's Cathedral, Newcastle upon Tyne Cathedral of the Madeleine Sacred Heart Cathedral St. Cosmas and Damian Arundel Cathedral St. Augustin, Coburg Sacred Heart Church Manila Cathedral St. Mariä Himmelfahrt Liverpool Cathedral Cathedral of Saint Mary of the Immaculate Conception São Paulo Cathedral Luleå Cathedral St Macartin's Cathedral American Cathedral in Paris St. Olav's Cathedral Cathedral of The Isles Lancaster Cathedral St. Jakobus Trinity Episcopal Cathedral Landakotskirkja Saint Wenceslas Cathedral Chesme Church St Josephs Cathedral, Rockhampton St John the Baptist Cathedral Cathedral Church of St Marie St. Michael's Cathedral St. Nikolaus Holy Name Cathedral, Chicago Saint Joseph Cathedral Myllykoski Church St. Dionysius Cathedral of Saint Andrew Notre-Dame Cathedral Basilica, Ottawa St. Oswald St. Mary's Cathedral and Rectory St Columba's Cathedral St Patrick's Cathedral Shrewsbury Cathedral St. Mary's Basilica Wakefield Cathedral Cathedral of Saint Paul St. Paul's Cathedral Saint Anthony the Great Church (Tenholt) Cathedral Church of St. John the Evangelist St. Bonifatius Church St. Johann Baptist Cathedral of Saint Paul Sacred Heart Cathedral Fredrikstad Cathedral St. John the Baptist Church Nottingham Cathedral Vaduz Cathedral St Colman's Cathedral
Sacred Heart Cathedral, Lancaster Cathedral, Cathedral Basilica of the Immaculate Conception, Basilica of Saints Peter and Paul, Saint Anthony the Great Church (Tenholt), Cathedral of Evangelismos, Cathedral of Saint Paul, St. Patrick's Cathedral, St. Philomena's Church, Mysore and St Mary's Cathedral, Wellington have adopted Saint Cecilia as patron saint or uses architectural style of Gothic Revival architecture
Sacred Heart Cathedral Lancaster Cathedral Cathedral Basilica of the Immaculate Conception Basilica of Saints Peter and Paul Saint Anthony the Great Church (Tenholt) Cathedral of Evangelismos Cathedral of Saint Paul St. Patrick's Cathedral St. Philomena's Church, Mysore St Mary's Cathedral, Wellington
action filter_type
action union
action find_reverse
entity Saint Cecilia
relation patron saint
action find_reverse
entity Gothic Revival architecture
relation architectural style
type church
{'OR': [[{'concept': 'church'}, 'patron saint', 'Saint Cecilia'], [{'concept': 'church'}, 'architectural style', 'Gothic Revival architecture']]}
SELECT DISTINCT ?h WHERE { { { ?h property:patron_saint resource:Saint_Cecilia } UNION { ?h property:architectural_style resource:Gothic_Revival_architecture } } . ?h rdf:type ontology:church }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3113523
P658
Q7725634 Q482994 Q2031291
USER
Which literary works were contained in greater number of albums or releases than Spanish Harlem Incident ?
(c(Q482994)|c(Q2031291),P658,c(Q7725634))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q7725634
type Q482994
action find_reverse_tuple_counts
relation P658
type Q7725634
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q3113523
relation P658
type Q482994
type Q2031291
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P658 ?c . ?c rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q2031291 } UNION { ?x property:P658 ?c . ?c rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q482994 } } GROUP BY ?c } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P658 resource:Q3113523 . { { ?y rdf:type ontology:Q482994 } UNION { ?y rdf:type ontology:Q2031291 } } } } }
Spanish Harlem Incident
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type literary work
type album
action find_reverse_tuple_counts
relation tracklist
type literary work
type release
action count
action filter_multi_types
action find_reverse
entity Spanish Harlem Incident
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:tracklist ?c . ?c rdf:type ontology:literary_work . ?x rdf:type ontology:release } UNION { ?x property:tracklist ?c . ?c rdf:type ontology:literary_work . ?x rdf:type ontology:album } } GROUP BY ?c } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:tracklist resource:Spanish_Harlem_Incident . { { ?y rdf:type ontology:album } UNION { ?y rdf:type ontology:release } } } } }
[]
literary work album release
Q380825 Q21203631 Q1526765
SYSTEM
Thriller, Wild, Girl from the North Country
Q3504132 Q754877 Q3043177 Q6136655 Q3504156 Q21203631 Q184259 Q32503 Q20448508 Q2419685 Q1526765 Q1437266 Q380825 Q7388106 Q2706172 Q1426279 Q2910568 Q210218 Q3039318 Q1298754 Q3878822
(c(Q482994)|c(Q2031291),P658,c(Q7725634))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q7725634
type Q482994
action find_reverse_tuple_counts
relation P658
type Q7725634
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q3113523
relation P658
type Q482994
type Q2031291
[ANSWERS] were contained in greater number of albums or releases than Spanish Harlem Incident
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P658 ?c . ?c rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q2031291 } UNION { ?x property:P658 ?c . ?c rdf:type ontology:Q7725634 . ?x rdf:type ontology:Q482994 } } GROUP BY ?c } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P658 resource:Q3113523 . { { ?y rdf:type ontology:Q482994 } UNION { ?y rdf:type ontology:Q2031291 } } } } }
Love Minus Zero/No Limit Love Me Do Restless Farewell Sweetheart Like You She Belongs to Me Wild Let It Be Waterloo Ramutara Pledging My Time Girl from the North Country Forever Young Thriller Mizuiro Melody It Ain't Me Babe Get Back Boots of Spanish Leather Beat It With God on Our Side Thank You for the Music Notorious
Thriller, Wild and Girl from the North Country were contained in greater number of albums or releases than Spanish Harlem Incident
Thriller Wild Girl from the North Country
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type literary work
type album
action find_reverse_tuple_counts
relation tracklist
type literary work
type release
action count
action filter_multi_types
action find_reverse
entity Spanish Harlem Incident
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:tracklist ?c . ?c rdf:type ontology:literary_work . ?x rdf:type ontology:release } UNION { ?x property:tracklist ?c . ?c rdf:type ontology:literary_work . ?x rdf:type ontology:album } } GROUP BY ?c } . FILTER ( ?t > ?k ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:tracklist resource:Spanish_Harlem_Incident . { { ?y rdf:type ontology:album } UNION { ?y rdf:type ontology:release } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q640788 Q18696459
P17
Q1048835
USER
Which political territories are Saint Anthony the Great Church (Tenholt) or Nuguria situated in ?
OR((Q18696459,P17,c(Q1048835)), (Q640788,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18696459
relation P17
action find
entity Q640788
relation P17
type Q1048835
{'OR': [['Q18696459', 'P17', {'concept': 'Q1048835'}], ['Q640788', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q18696459 property:P17 ?d } UNION { resource:Q640788 property:P17 ?d } } . ?d rdf:type ontology:Q1048835 }
Nuguria Saint Anthony the Great Church (Tenholt)
action filter_type
action union
action find
entity Saint Anthony the Great Church (Tenholt)
relation country
action find
entity Nuguria
relation country
type political territorial entity
{'OR': [['Saint Anthony the Great Church (Tenholt)', 'country', {'concept': 'political territorial entity'}], ['Nuguria', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Saint_Anthony_the_Great_Church_(Tenholt) property:country ?d } UNION { resource:Nuguria property:country ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q691
SYSTEM
Germany, Papua New Guinea
Q183 Q691
OR((Q18696459,P17,c(Q1048835)), (Q640788,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18696459
relation P17
action find
entity Q640788
relation P17
type Q1048835
[ANSWERS] are Saint Anthony the Great Church (Tenholt) or Nuguria situated in
{'OR': [['Q18696459', 'P17', {'concept': 'Q1048835'}], ['Q640788', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q18696459 property:P17 ?d } UNION { resource:Q640788 property:P17 ?d } } . ?d rdf:type ontology:Q1048835 }
Germany Papua New Guinea
Germany and Papua New Guinea are Saint Anthony the Great Church (Tenholt) or Nuguria situated in
Germany Papua New Guinea
action filter_type
action union
action find
entity Saint Anthony the Great Church (Tenholt)
relation country
action find
entity Nuguria
relation country
type political territorial entity
{'OR': [['Saint Anthony the Great Church (Tenholt)', 'country', {'concept': 'political territorial entity'}], ['Nuguria', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Saint_Anthony_the_Great_Church_(Tenholt) property:country ?d } UNION { resource:Nuguria property:country ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]