Simple Question (Direct)
Simple Question
Q3380313
P21
Q290
USER
Which sex does Philippe Marchand have ?
(Q3380313,P21,c(Q290))
action filter_type
action find
entity Q3380313
relation P21
type Q290
['Q3380313', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3380313 property:P21 ?e . ?e rdf:type ontology:Q290 }
Philippe Marchand
action filter_type
action find
entity Philippe Marchand
relation gender
type sex
['Philippe Marchand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Philippe_Marchand property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3380313,P21,c(Q290))
action filter_type
action find
entity Q3380313
relation P21
type Q290
Philippe Marchand has a [ANSWER]
['Q3380313', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3380313 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Philippe Marchand has a male
male
action filter_type
action find
entity Philippe Marchand
relation gender
type sex
['Philippe Marchand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Philippe_Marchand property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3380313
P734
Q82799
USER
Who is associated with Philippe Marchand ?
(Q3380313,P734,c(Q82799))
action filter_type
action find
entity Q3380313
relation P734
type Q82799
['Q3380313', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3380313 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Philippe Marchand
action filter_type
action find
entity Philippe Marchand
relation family name
type name
['Philippe Marchand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Philippe_Marchand property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q18549497
SYSTEM
Marchand
Q18549497
(Q3380313,P734,c(Q82799))
action filter_type
action find
entity Q3380313
relation P734
type Q82799
Philippe [ANSWER] is associated with Philippe [ANSWER]
['Q3380313', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q3380313 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Marchand
Philippe Marchand is associated with Philippe Marchand
Marchand
action filter_type
action find
entity Philippe Marchand
relation family name
type name
['Philippe Marchand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Philippe_Marchand property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3066484
Q82799
USER
And how about Fanny Roy?
(Q3066484,P734,c(Q82799))
action filter_type
action find
entity Q3066484
relation P734
type Q82799
['Q3066484', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q3066484 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Fanny Roy
action filter_type
action find
entity Fanny Roy
relation family name
type name
['Fanny Roy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Fanny_Roy property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q2170749
SYSTEM
Roy
Q2170749
(Q3066484,P734,c(Q82799))
action filter_type
action find
entity Q3066484
relation P734
type Q82799
[ANSWER]
['Q3066484', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q3066484 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Roy
Roy
action filter_type
action find
entity Fanny Roy
relation family name
type name
['Fanny Roy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Fanny_Roy property:family_name ?d . ?d rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2170749 Q1603728
P734
Q502895
USER
Does Helmut Kahlhöfer have that one as their family name ?
(Q1603728,P734,Q2170749)
action is_in
entity Q1603728
action find
entity Q2170749
relation P734
['Q1603728', 'P734', 'Q2170749']
ASK WHERE { resource:Q2170749 property:P734 resource:Q1603728 }
Roy Helmut Kahlhöfer
action is_in
entity Helmut Kahlhöfer
action find
entity Roy
relation family name
['Helmut Kahlhöfer', 'family name', 'Roy']
ASK WHERE { resource:Roy property:family_name resource:Helmut_Kahlhöfer }
[]
common name
SYSTEM
NO
(Q1603728,P734,Q2170749)
action is_in
entity Q1603728
action find
entity Q2170749
relation P734
[ANSWER]
['Q1603728', 'P734', 'Q2170749']
ASK WHERE { resource:Q2170749 property:P734 resource:Q1603728 }
No
action is_in
entity Helmut Kahlhöfer
action find
entity Roy
relation family name
['Helmut Kahlhöfer', 'family name', 'Roy']
ASK WHERE { resource:Roy property:family_name resource:Helmut_Kahlhöfer }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2170749
P734
Q502895
USER
How many people have Roy as last name ?
(c(Q502895),P734,Q2170749)
action count
action filter_type
action find_reverse
entity Q2170749
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q2170749']
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P734 resource:Q2170749 . ?v rdf:type ontology:Q502895 }
Roy
action count
action filter_type
action find_reverse
entity Roy
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Roy']
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:family_name resource:Roy . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
55
Q18744955 Q3165209 Q3167258 Q3564361 Q3351345 Q2407880 Q479213 Q21015000 Q3165370 Q2410614 Q21427900 Q3369828 Q3121177 Q3386885 Q3386884 Q20739538 Q954838 Q2580420 Q1116827 Q347289 Q3174469 Q3185592 Q3479520 Q2856703 Q699393 Q3134638 Q2377313 Q7313789 Q705331 Q3010187 Q2057943 Q3085760 Q3060160 Q867852 Q3131955 Q3933118 Q3301362 Q3301361 Q3066484 Q3301359 Q24251373 Q3218933 Q21115192 Q3263059 Q3573383 Q3472017 Q3168680 Q21502589 Q2925474 Q16663834 Q1347013 Q22936920 Q17350900 Q635747 Q3383296
(c(Q502895),P734,Q2170749)
action count
action filter_type
action find_reverse
entity Q2170749
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q2170749']
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P734 resource:Q2170749 . ?v rdf:type ontology:Q502895 }
Benoît Roy Jean-Claude Roy Jean-Luc Roy Véronique Roy Olivier Roy Bernard Roy Lindsay Roy Just-Jean-Étienne Roy Jean-Emmanuel Roy Éric Roy Marine Roy Patrick Roy Gustave Emmanuel Roy Pierre Roy Pierre Roy Louis George Eléonor Roy Ludovic Roy William Roy Marie-Françoise Roy Pierre-Charles Roy Jean Roy Joseph Roy Serge Roy Antoine Roy Jules Roy Hervé Roy Jean Roy René Roy Jérémy Roy Céline Roy Patrick Roy François Roy Eugène Roy Claude Roy Henri Roy René Roy Maurice Roy Maurice Roy Fanny Roy Maurice Roy Jean-Yves Roy Laurence Roy Alexandrine Roy Louis Roy Yvan Roy Sandrine Roy Jean-Paul Roy Roger Roy Brigitte Roy Maurice Roy Pierre Roy Rémy Roy Sylvain Roy Olivier Roy Pierre-Louis Roy
55
action count
action filter_type
action find_reverse
entity Roy
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Roy']
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:family_name resource:Roy . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q27022433
P138
Q79529 Q486972 Q82799
USER
Which names are the eponym of less number of chemical substances or human settlements than Danziger ?
(c(Q82799),P138,c(Q79529)|c(Q486972))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q27022433
relation P138
type Q79529
type Q486972
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?m WHERE { { ?m property:P138 ?g . ?m rdf:type ontology:Q82799 . ?g rdf:type ontology:Q486972 } UNION { ?m property:P138 ?g . ?m rdf:type ontology:Q82799 . ?g rdf:type ontology:Q79529 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q79529 ) ( ontology:Q486972 ) } } . resource:Q27022433 property:P138 ?z } } . FILTER ( ?q < ?l ) }
Danziger
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Danziger
relation named after
type chemical substance
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?m WHERE { { ?m property:named_after ?g . ?m rdf:type ontology:name . ?g rdf:type ontology:human_settlement } UNION { ?m property:named_after ?g . ?m rdf:type ontology:name . ?g rdf:type ontology:chemical_substance } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:chemical_substance ) ( ontology:human_settlement ) } } . resource:Danziger property:named_after ?z } } . FILTER ( ?q < ?l ) }
[]
chemical substance human settlement name
Q318363 Q1069827 Q1746111
SYSTEM
Abel, Rosario, Michael Gregorio
Q18335877 Q25212228 Q6501864 Q18198499 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q79529)|c(Q486972))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q27022433
relation P138
type Q79529
type Q486972
[ANSWERS] are the eponym of less number of chemical substances or human settlements than Danziger
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?m WHERE { { ?m property:P138 ?g . ?m rdf:type ontology:Q82799 . ?g rdf:type ontology:Q486972 } UNION { ?m property:P138 ?g . ?m rdf:type ontology:Q82799 . ?g rdf:type ontology:Q79529 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q79529 ) ( ontology:Q486972 ) } } . resource:Q27022433 property:P138 ?z } } . FILTER ( ?q < ?l ) }
Prévot Émile-Louis Kaplan Elizur Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Pseudo-Lucian Louarn Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Mouton Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel, Rosario and Michael Gregorio are the eponym of less number of chemical substances or human settlements than Danziger
Abel Rosario Michael Gregorio
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Danziger
relation named after
type chemical substance
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?m WHERE { { ?m property:named_after ?g . ?m rdf:type ontology:name . ?g rdf:type ontology:human_settlement } UNION { ?m property:named_after ?g . ?m rdf:type ontology:name . ?g rdf:type ontology:chemical_substance } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:chemical_substance ) ( ontology:human_settlement ) } } . resource:Danziger property:named_after ?z } } . FILTER ( ?q < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13553585
P138
Q79529 Q486972 Q82799
USER
And what about Gold?
(c(Q82799),P138,c(Q79529)|c(Q486972))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q13553585
relation P138
type Q79529
type Q486972
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?h WHERE { VALUES ( ?l ) { ( ontology:Q79529 ) ( ontology:Q486972 ) } . ?i rdf:type ?l } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q13553585 property:P138 ?a . { { ?a rdf:type ontology:Q79529 } UNION { ?a rdf:type ontology:Q486972 } } } } . FILTER ( ?r < ?p ) }
Gold
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Gold
relation named after
type chemical substance
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?h WHERE { VALUES ( ?l ) { ( ontology:chemical_substance ) ( ontology:human_settlement ) } . ?i rdf:type ?l } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Gold property:named_after ?a . { { ?a rdf:type ontology:chemical_substance } UNION { ?a rdf:type ontology:human_settlement } } } } . FILTER ( ?r < ?p ) }
[]
chemical substance human settlement name
Q318363 Q1069827 Q1746111
SYSTEM
Abel, Rosario, Michael Gregorio
Q18335877 Q25212228 Q6501864 Q18198499 Q16281329 Q25368020 Q23727105 Q18043344 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q25115046 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q17747435 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q21507928 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q79529)|c(Q486972))
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q79529
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q13553585
relation P138
type Q79529
type Q486972
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q79529'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?h WHERE { VALUES ( ?l ) { ( ontology:Q79529 ) ( ontology:Q486972 ) } . ?i rdf:type ?l } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q13553585 property:P138 ?a . { { ?a rdf:type ontology:Q79529 } UNION { ?a rdf:type ontology:Q486972 } } } } . FILTER ( ?r < ?p ) }
Prévot Émile-Louis Kaplan Elizur Sha'aban Racine Poisson Renard Súla Rosario Meyer Ruby Pseudo-Lucian Louarn Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Ruzena Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Mouton Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
Abel Rosario Michael Gregorio
action less
action union
action find_tuple_counts
relation named after
type name
type chemical substance
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Gold
relation named after
type chemical substance
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'chemical substance'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?h WHERE { VALUES ( ?l ) { ( ontology:chemical_substance ) ( ontology:human_settlement ) } . ?i rdf:type ?l } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Gold property:named_after ?a . { { ?a rdf:type ontology:chemical_substance } UNION { ?a rdf:type ontology:human_settlement } } } } . FILTER ( ?r < ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q214301 Q1603728
P27
Q1048835
USER
Which political territories are the native countriesof Helmut Kahlhöfer or Prince August of Saxe-Gotha-Altenburg ?
OR((Q1603728,P27,c(Q1048835)), (Q214301,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1603728
relation P27
action find
entity Q214301
relation P27
type Q1048835
{'OR': [['Q1603728', 'P27', {'concept': 'Q1048835'}], ['Q214301', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q214301 property:P27 ?l } UNION { resource:Q1603728 property:P27 ?l } } . ?l rdf:type ontology:Q1048835 }
Prince August of Saxe-Gotha-Altenburg Helmut Kahlhöfer
action filter_type
action union
action find
entity Helmut Kahlhöfer
relation country of citizenship
action find
entity Prince August of Saxe-Gotha-Altenburg
relation country of citizenship
type political territorial entity
{'OR': [['Helmut Kahlhöfer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Prince August of Saxe-Gotha-Altenburg', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Prince_August_of_Saxe-Gotha-Altenburg property:country_of_citizenship ?l } UNION { resource:Helmut_Kahlhöfer property:country_of_citizenship ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q1603728,P27,c(Q1048835)), (Q214301,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1603728
relation P27
action find
entity Q214301
relation P27
type Q1048835
[ANSWER] is the native countriesof Helmut Kahlhöfer or Prince August of Saxe-Gotha-Altenburg
{'OR': [['Q1603728', 'P27', {'concept': 'Q1048835'}], ['Q214301', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q214301 property:P27 ?l } UNION { resource:Q1603728 property:P27 ?l } } . ?l rdf:type ontology:Q1048835 }
Germany
Germany is the native countriesof Helmut Kahlhöfer or Prince August of Saxe-Gotha-Altenburg
Germany
action filter_type
action union
action find
entity Helmut Kahlhöfer
relation country of citizenship
action find
entity Prince August of Saxe-Gotha-Altenburg
relation country of citizenship
type political territorial entity
{'OR': [['Helmut Kahlhöfer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Prince August of Saxe-Gotha-Altenburg', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Prince_August_of_Saxe-Gotha-Altenburg property:country_of_citizenship ?l } UNION { resource:Helmut_Kahlhöfer property:country_of_citizenship ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]