Simple Question (Direct)
Simple Question
Q284567
P20
Q515
USER
Where did Al-Mu'tadid die ?
(Q284567,P20,c(Q515))
action filter_type
action find
entity Q284567
relation P20
type Q515
['Q284567', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q284567 property:P20 ?m . ?m rdf:type ontology:Q515 }
Al-Mu'tadid
action filter_type
action find
entity Al-Mu'tadid
relation place of death
type city
["Al-Mu'tadid", 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Al-Mu'tadid property:place_of_death ?m . ?m rdf:type ontology:city }
[]
city
Q1530
SYSTEM
Baghdad
Q1530
(Q284567,P20,c(Q515))
action filter_type
action find
entity Q284567
relation P20
type Q515
Al-Mu'tadid died in [ANSWER]
['Q284567', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?m WHERE { resource:Q284567 property:P20 ?m . ?m rdf:type ontology:Q515 }
Baghdad
Al-Mu'tadid died in Baghdad
Baghdad
action filter_type
action find
entity Al-Mu'tadid
relation place of death
type city
["Al-Mu'tadid", 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?m WHERE { resource:Al-Mu'tadid property:place_of_death ?m . ?m rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q284567
P22
Q502895
USER
Which male person has a child named Al-Mu'tadid ?
(Q284567,P22,c(Q502895))
action filter_type
action find
entity Q284567
relation P22
type Q502895
['Q284567', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q284567 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Al-Mu'tadid
action filter_type
action find
entity Al-Mu'tadid
relation father
type common name
["Al-Mu'tadid", 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Al-Mu'tadid property:father ?q . ?q rdf:type ontology:common_name }
[]
common name
Q291410
SYSTEM
Al-Muwaffaq
Q291410
(Q284567,P22,c(Q502895))
action filter_type
action find
entity Q284567
relation P22
type Q502895
[ANSWER] has a child named Al-Mu'tadid
['Q284567', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q284567 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Al-Muwaffaq
Al-Muwaffaq has a child named Al-Mu'tadid
Al-Muwaffaq
action filter_type
action find
entity Al-Mu'tadid
relation father
type common name
["Al-Mu'tadid", 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Al-Mu'tadid property:father ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16557128
Q502895
USER
And how about Francesco Carlo Gonzaga?
(Q16557128,P22,c(Q502895))
action filter_type
action find
entity Q16557128
relation P22
type Q502895
['Q16557128', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16557128 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Francesco Carlo Gonzaga
action filter_type
action find
entity Francesco Carlo Gonzaga
relation father
type common name
['Francesco Carlo Gonzaga', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Francesco_Carlo_Gonzaga property:father ?h . ?h rdf:type ontology:common_name }
[]
common name
Q16557351
SYSTEM
Francesco Niccolò Gonzaga
Q16557351
(Q16557128,P22,c(Q502895))
action filter_type
action find
entity Q16557128
relation P22
type Q502895
[ANSWER]
['Q16557128', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16557128 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Francesco Niccolò Gonzaga
Francesco Niccolò Gonzaga
action filter_type
action find
entity Francesco Carlo Gonzaga
relation father
type common name
['Francesco Carlo Gonzaga', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Francesco_Carlo_Gonzaga property:father ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q208355 Q284567
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Al-Mu'tadid or Joaquim Chissano ?
OR((Q284567,P27,c(Q15617994)), (Q208355,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q284567
relation P27
action find
entity Q208355
relation P27
type Q15617994
{'OR': [['Q284567', 'P27', {'concept': 'Q15617994'}], ['Q208355', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:P27 ?a . VALUES ( ?r ) { ( resource:Q284567 ) ( resource:Q208355 ) } } . ?a rdf:type ontology:Q15617994 }
Joaquim Chissano Al-Mu'tadid
action filter_type
action union
action find
entity Al-Mu'tadid
relation country of citizenship
action find
entity Joaquim Chissano
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Al-Mu'tadid", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Joaquim Chissano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:country_of_citizenship ?a . VALUES ( ?r ) { ( resource:Al-Mu'tadid ) ( resource:Joaquim_Chissano ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1029 Q796
SYSTEM
Mozambique, Iraq
Q1029 Q796
OR((Q284567,P27,c(Q15617994)), (Q208355,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q284567
relation P27
action find
entity Q208355
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Al-Mu'tadid or Joaquim Chissano
{'OR': [['Q284567', 'P27', {'concept': 'Q15617994'}], ['Q208355', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:P27 ?a . VALUES ( ?r ) { ( resource:Q284567 ) ( resource:Q208355 ) } } . ?a rdf:type ontology:Q15617994 }
Mozambique Iraq
Mozambique and Iraq are the countries of citizenship of Al-Mu'tadid or Joaquim Chissano
Mozambique Iraq
action filter_type
action union
action find
entity Al-Mu'tadid
relation country of citizenship
action find
entity Joaquim Chissano
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [["Al-Mu'tadid", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Joaquim Chissano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?r property:country_of_citizenship ?a . VALUES ( ?r ) { ( resource:Al-Mu'tadid ) ( resource:Joaquim_Chissano ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1029
P495
Q838948
USER
Which works of art originate at that administrative territory ?
(c(Q838948),P495,Q1029)
action filter_type
action find_reverse
entity Q1029
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q1029']
SELECT DISTINCT ?w WHERE { ?w property:P495 resource:Q1029 . ?w rdf:type ontology:Q838948 }
Mozambique
action filter_type
action find_reverse
entity Mozambique
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Mozambique']
SELECT DISTINCT ?w WHERE { ?w property:country_of_origin resource:Mozambique . ?w rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q1029
SYSTEM
Did you mean Mozambique ?
Q1029 Q796
(c(Q838948),P495,Q1029) (c(Q838948),P495,Q796)
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q1029'] [{'concept': 'Q838948'}, 'P495', 'Q796']
SELECT DISTINCT ?w WHERE { ?w property:P495 resource:Q1029 . ?w rdf:type ontology:Q838948 }
Mozambique Iraq
Did you mean Mozambique ?
Mozambique
[{'concept': 'work of art'}, 'country of origin', 'Mozambique'] [{'concept': 'work of art'}, 'country of origin', 'Iraq']
SELECT DISTINCT ?w WHERE { ?w property:country_of_origin resource:Mozambique . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P495,Q1029)
[{'concept': 'Q838948'}, 'P495', 'Q1029']
[{'concept': 'work of art'}, 'country of origin', 'Mozambique']
[]
Q3045223 Q7729699 Q7773719
SYSTEM
Disobedience, The Demining Camp, The Water War
Q3045223 Q2895272 Q9026971 Q2842470 Q7729699 Q7737660 Q5399228 Q7773719 Q541489 Q3020321 Q3539194
(c(Q838948),P495,Q1029)
action filter_type
action find_reverse
entity Q1029
relation P495
type Q838948
[ANSWERS] originate at that administrative territory
[{'concept': 'Q838948'}, 'P495', 'Q1029']
SELECT DISTINCT ?w WHERE { ?w property:P495 resource:Q1029 . ?w rdf:type ontology:Q838948 }
Disobedience Kuxa kanema, capítulos 1, 63, 262 Mahla A mãe dos netos The Demining Camp The Great Bazaar I Love You The Water War Estas são as armas De Corpo e Alma Trilogia das novas familias
Disobedience, The Demining Camp and The Water War originate at that administrative territory
Disobedience The Demining Camp The Water War
action filter_type
action find_reverse
entity Mozambique
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Mozambique']
SELECT DISTINCT ?w WHERE { ?w property:country_of_origin resource:Mozambique . ?w rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7773719
P462
Q1075
USER
Which color is associated with that work of art ?
(Q7773719,P462,c(Q1075))
action filter_type
action find
entity Q7773719
relation P462
type Q1075
['Q7773719', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1075 . resource:Q7773719 property:P462 ?b }
The Water War
action filter_type
action find
entity The Water War
relation color
type color
['The Water War', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:color . resource:The_Water_War property:color ?b }
[]
color
Clarification for simple ques.
Q7773719
SYSTEM
Did you mean The Water War ?
Q3045223 Q7729699 Q7773719
(Q3045223,P462,c(Q1075)) (Q7729699,P462,c(Q1075)) (Q7773719,P462,c(Q1075))
[ANSWER]
['Q3045223', 'P462', {'concept': 'Q1075'}] ['Q7729699', 'P462', {'concept': 'Q1075'}] ['Q7773719', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1075 . resource:Q7773719 property:P462 ?b }
Disobedience The Demining Camp The Water War
Did you mean The Water War ?
The Water War
['Disobedience', 'color', {'concept': 'color'}] ['The Demining Camp', 'color', {'concept': 'color'}] ['The Water War', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:color . resource:The_Water_War property:color ?b }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7773719,P462,c(Q1075))
['Q7773719', 'P462', {'concept': 'Q1075'}]
['The Water War', 'color', {'concept': 'color'}]
[]
Q22006653
SYSTEM
color
Q22006653
(Q7773719,P462,c(Q1075))
action filter_type
action find
entity Q7773719
relation P462
type Q1075
The [ANSWER] is associated with that work of art
['Q7773719', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1075 . resource:Q7773719 property:P462 ?b }
color
The color is associated with that work of art
color
action filter_type
action find
entity The Water War
relation color
type color
['The Water War', 'color', {'concept': 'color'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:color . resource:The_Water_War property:color ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P462
Q1075 Q201658 Q15416
USER
Which colors are the colors that more number of film genres or television programs are associated with than that color ?
(c(Q201658)|c(Q15416),P462,c(Q1075))
action greater
action union
action find_reverse_tuple_counts
relation P462
type Q1075
type Q201658
action find_reverse_tuple_counts
relation P462
type Q1075
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q22006653
relation P462
type Q201658
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:Q201658 } UNION { ?j rdf:type ontology:Q15416 } } . ?j property:P462 resource:Q22006653 } } . FILTER ( ?l > ?t ) }
action greater
action union
action find_reverse_tuple_counts
relation color
type color
type film genre
action find_reverse_tuple_counts
relation color
type color
type television program
action count
action filter_multi_types
action find_reverse
entity color
relation color
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:film_genre } UNION { ?j rdf:type ontology:television_program } } . ?j property:color resource:color } } . FILTER ( ?l > ?t ) }
[]
color film genre television program
Q2254548
SYSTEM
black-and-white film
Q2254548
(c(Q201658)|c(Q15416),P462,c(Q1075))
action greater
action union
action find_reverse_tuple_counts
relation P462
type Q1075
type Q201658
action find_reverse_tuple_counts
relation P462
type Q1075
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q22006653
relation P462
type Q201658
type Q15416
[ANSWER] is the colors that more number of film genres or television programs is associated with than that color
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:Q201658 } UNION { ?j rdf:type ontology:Q15416 } } . ?j property:P462 resource:Q22006653 } } . FILTER ( ?l > ?t ) }
black-and-white film
Black-and-white film is the colors that more number of film genres or television programs is associated with than that color
black-and-white film
action greater
action union
action find_reverse_tuple_counts
relation color
type color
type film genre
action find_reverse_tuple_counts
relation color
type color
type television program
action count
action filter_multi_types
action find_reverse
entity color
relation color
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?c WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { { ?j rdf:type ontology:film_genre } UNION { ?j rdf:type ontology:television_program } } . ?j property:color resource:color } } . FILTER ( ?l > ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q7725634 Q95074
USER
Which works of art were exactly 1 literary works or fictional characters inspired by ?
(c(Q7725634)|c(Q95074),P941,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q95074
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?o ) WHERE { { ?r property:P941 ?n . ?n rdf:type ontology:Q838948 . ?r rdf:type ontology:Q7725634 } UNION { ?r property:P941 ?n . ?n rdf:type ontology:Q838948 . ?r rdf:type ontology:Q95074 } } GROUP BY ?n } . FILTER ( ?o = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type fictional character
value 1
[[{'concept': 'literary work'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?o ) WHERE { { ?r property:inspired_by ?n . ?n rdf:type ontology:work_of_art . ?r rdf:type ontology:literary_work } UNION { ?r property:inspired_by ?n . ?n rdf:type ontology:work_of_art . ?r rdf:type ontology:fictional_character } } GROUP BY ?n } . FILTER ( ?o = 1 ) }
[]
work of art literary work fictional character
Q379873 Q1345920 Q1856846
SYSTEM
Who Framed Roger Rabbit, Song of the South, The Ballad of Cable Hogue
Q1856846 Q1345920 Q5968141 Q379873 Q214619
(c(Q7725634)|c(Q95074),P941,c(Q838948))
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q95074
value 1
Who framed Roger Rabbit, Song of the South and The Ballad of Cable Hogue were exactly 1 literary works or fictional characters inspired by
[[{'concept': 'Q7725634'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?o ) WHERE { { ?r property:P941 ?n . ?n rdf:type ontology:Q838948 . ?r rdf:type ontology:Q7725634 } UNION { ?r property:P941 ?n . ?n rdf:type ontology:Q838948 . ?r rdf:type ontology:Q95074 } } GROUP BY ?n } . FILTER ( ?o = 1 ) }
The Ballad of Cable Hogue Song of the South La sirena varada Who Framed Roger Rabbit The Little Mermaid
Who framed Roger Rabbit, Song of the South and The Ballad of Cable Hogue were exactly 1 literary works or fictional characters inspired by
Who Framed Roger Rabbit Song of the South The Ballad of Cable Hogue
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type fictional character
value 1
[[{'concept': 'literary work'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?o ) WHERE { { ?r property:inspired_by ?n . ?n rdf:type ontology:work_of_art . ?r rdf:type ontology:literary_work } UNION { ?r property:inspired_by ?n . ?n rdf:type ontology:work_of_art . ?r rdf:type ontology:fictional_character } } GROUP BY ?n } . FILTER ( ?o = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6314586 Q16557128
P40
Q502895
USER
Which people have Francesco Carlo Gonzaga or Maria of Pomerania as a child ?
OR((c(Q502895),P40,Q16557128), (c(Q502895),P40,Q6314586))
action filter_type
action union
action find_reverse
entity Q16557128
relation P40
action find_reverse
entity Q6314586
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q16557128'], [{'concept': 'Q502895'}, 'P40', 'Q6314586']]}
SELECT DISTINCT ?a WHERE { { { ?a property:P40 resource:Q16557128 } UNION { ?a property:P40 resource:Q6314586 } } . ?a rdf:type ontology:Q502895 }
Maria of Pomerania Francesco Carlo Gonzaga
action filter_type
action union
action find_reverse
entity Francesco Carlo Gonzaga
relation child
action find_reverse
entity Maria of Pomerania
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Francesco Carlo Gonzaga'], [{'concept': 'common name'}, 'child', 'Maria of Pomerania']]}
SELECT DISTINCT ?a WHERE { { { ?a property:child resource:Francesco_Carlo_Gonzaga } UNION { ?a property:child resource:Maria_of_Pomerania } } . ?a rdf:type ontology:common_name }
[]
common name
Q519179 Q107722 Q16557351
SYSTEM
Barnim XI, Duke of Pomerania, Anna of Brunswick-Lüneburg, Francesco Niccolò Gonzaga
Q519179 Q107722 Q16557351
OR((c(Q502895),P40,Q16557128), (c(Q502895),P40,Q6314586))
action filter_type
action union
action find_reverse
entity Q16557128
relation P40
action find_reverse
entity Q6314586
relation P40
type Q502895
[ANSWERS] have Francesco Carlo Gonzaga or Maria of Pomerania as a child
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q16557128'], [{'concept': 'Q502895'}, 'P40', 'Q6314586']]}
SELECT DISTINCT ?a WHERE { { { ?a property:P40 resource:Q16557128 } UNION { ?a property:P40 resource:Q6314586 } } . ?a rdf:type ontology:Q502895 }
Barnim XI, Duke of Pomerania Anna of Brunswick-Lüneburg Francesco Niccolò Gonzaga
Barnim XI, Duke of Pomerania, Anna of Brunswick-Lüneburg and Francesco Niccolò Gonzaga have Francesco Carlo Gonzaga or Maria of Pomerania as a child
Barnim XI, Duke of Pomerania Anna of Brunswick-Lüneburg Francesco Niccolò Gonzaga
action filter_type
action union
action find_reverse
entity Francesco Carlo Gonzaga
relation child
action find_reverse
entity Maria of Pomerania
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Francesco Carlo Gonzaga'], [{'concept': 'common name'}, 'child', 'Maria of Pomerania']]}
SELECT DISTINCT ?a WHERE { { { ?a property:child resource:Francesco_Carlo_Gonzaga } UNION { ?a property:child resource:Maria_of_Pomerania } } . ?a rdf:type ontology:common_name }
[]