Simple Question (Direct)
Simple Question
Q1663239
P19
Q15617994
USER
Where was Ingolf Deubel born ?
(Q1663239,P19,c(Q15617994))
action filter_type
action find
entity Q1663239
relation P19
type Q15617994
['Q1663239', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1663239 property:P19 ?t . ?t rdf:type ontology:Q15617994 }
Ingolf Deubel
action filter_type
action find
entity Ingolf Deubel
relation place of birth
type designation for an administrative territorial entity
['Ingolf Deubel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ingolf_Deubel property:place_of_birth ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q552491
SYSTEM
Nastätten
Q552491
(Q1663239,P19,c(Q15617994))
action filter_type
action find
entity Q1663239
relation P19
type Q15617994
Ingolf Deubel was born in [ANSWER]
['Q1663239', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1663239 property:P19 ?t . ?t rdf:type ontology:Q15617994 }
Nastätten
Ingolf Deubel was born in Nastätten
Nastätten
action filter_type
action find
entity Ingolf Deubel
relation place of birth
type designation for an administrative territorial entity
['Ingolf Deubel', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ingolf_Deubel property:place_of_birth ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q552491
P1376
Q6501447
USER
Which local government has that administrative territory has its center of administration ?
(Q552491,P1376,c(Q6501447))
action filter_type
action find
entity Q552491
relation P1376
type Q6501447
['Q552491', 'P1376', {'concept': 'Q6501447'}]
SELECT DISTINCT ?p WHERE { resource:Q552491 property:P1376 ?p . ?p rdf:type ontology:Q6501447 }
Nastätten
action filter_type
action find
entity Nastätten
relation capital of
type local government
['Nastätten', 'capital of', {'concept': 'local government'}]
SELECT DISTINCT ?p WHERE { resource:Nastätten property:capital_of ?p . ?p rdf:type ontology:local_government }
[]
local government
Q562668
SYSTEM
Verbandsgemeinde Nastätten
Q562668
(Q552491,P1376,c(Q6501447))
action filter_type
action find
entity Q552491
relation P1376
type Q6501447
The [ANSWER] has that administrative territory has its center of administration
['Q552491', 'P1376', {'concept': 'Q6501447'}]
SELECT DISTINCT ?p WHERE { resource:Q552491 property:P1376 ?p . ?p rdf:type ontology:Q6501447 }
Verbandsgemeinde Nastätten
The Verbandsgemeinde Nastätten has that administrative territory has its center of administration
Verbandsgemeinde Nastätten
action filter_type
action find
entity Nastätten
relation capital of
type local government
['Nastätten', 'capital of', {'concept': 'local government'}]
SELECT DISTINCT ?p WHERE { resource:Nastätten property:capital_of ?p . ?p rdf:type ontology:local_government }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q552491 Q18013
P159
Q334453
USER
How many divisions have headquarters located at Nastätten or Sacramento ?
(c(Q334453),P159,Q552491) (c(Q334453),P159,Q18013)
action count
action union
action filter_type
action find_reverse
entity Q552491
relation P159
type Q334453
action filter_type
action find_reverse
entity Q18013
relation P159
type Q334453
[{'concept': 'Q334453'}, 'P159', 'Q552491'] [{'concept': 'Q334453'}, 'P159', 'Q18013']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P159 resource:Q552491 . ?b rdf:type ontology:Q334453 } UNION { ?b property:P159 resource:Q18013 . ?b rdf:type ontology:Q334453 } }
Nastätten Sacramento
action count
action union
action filter_type
action find_reverse
entity Nastätten
relation headquarters location
type division
action filter_type
action find_reverse
entity Sacramento
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Nastätten'] [{'concept': 'division'}, 'headquarters location', 'Sacramento']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:headquarters_location resource:Nastätten . ?b rdf:type ontology:division } UNION { ?b property:headquarters_location resource:Sacramento . ?b rdf:type ontology:division } }
[]
division
SYSTEM
2
Q5420398 Q3862861
(c(Q334453),P159,Q552491) (c(Q334453),P159,Q18013)
action count
action union
action filter_type
action find_reverse
entity Q552491
relation P159
type Q334453
action filter_type
action find_reverse
entity Q18013
relation P159
type Q334453
[ANSWER]
[{'concept': 'Q334453'}, 'P159', 'Q552491'] [{'concept': 'Q334453'}, 'P159', 'Q18013']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P159 resource:Q552491 . ?b rdf:type ontology:Q334453 } UNION { ?b property:P159 resource:Q18013 . ?b rdf:type ontology:Q334453 } }
Exit Records Mordam Records
2
action count
action union
action filter_type
action find_reverse
entity Nastätten
relation headquarters location
type division
action filter_type
action find_reverse
entity Sacramento
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Nastätten'] [{'concept': 'division'}, 'headquarters location', 'Sacramento']
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:headquarters_location resource:Nastätten . ?b rdf:type ontology:division } UNION { ?b property:headquarters_location resource:Sacramento . ?b rdf:type ontology:division } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q734
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with less number of administrative territories than Guyana ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q734
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ontology:Q15617994 . ?b property:P530 resource:Q734 } } . FILTER ( ?j < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P530 ?d . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Guyana
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Guyana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation resource:Guyana } } . FILTER ( ?j < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:diplomatic_relation ?d . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q734
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ontology:Q15617994 . ?b property:P530 resource:Q734 } } . FILTER ( ?j < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:P530 ?d . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Guyana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation resource:Guyana } } . FILTER ( ?j < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?j ) WHERE { ?c property:diplomatic_relation ?d . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q552491
P17
Q1048835
USER
Which political territory is Nastätten a part of ?
(Q552491,P17,c(Q1048835))
action filter_type
action find
entity Q552491
relation P17
type Q1048835
['Q552491', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q552491 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Nastätten
action filter_type
action find
entity Nastätten
relation country
type political territorial entity
['Nastätten', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Nastätten property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q552491,P17,c(Q1048835))
action filter_type
action find
entity Q552491
relation P17
type Q1048835
Which political territory is Nastätten a part of
['Q552491', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q552491 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Germany
Which political territory is Nastätten a part of
Germany
action filter_type
action find
entity Nastätten
relation country
type political territorial entity
['Nastätten', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Nastätten property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q55 Q217
P530
Q15617994
USER
Does Germany have diplomatic associations with Netherlands and Republic of Moldova ?
(Q183,P530,Q55) (Q183,P530,Q217)
action is_in
entity Q183
action intersection
action find_reverse
entity Q55
relation P530
action find_reverse
entity Q217
relation P530
['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q217']
ASK WHERE { resource:Q183 property:P530 resource:Q55 . resource:Q183 property:P530 resource:Q217 }
Germany Netherlands Republic of Moldova
action is_in
entity Germany
action intersection
action find_reverse
entity Netherlands
relation diplomatic relation
action find_reverse
entity Republic of Moldova
relation diplomatic relation
['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', 'Republic of Moldova']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Netherlands . resource:Germany property:diplomatic_relation resource:Republic_of_Moldova }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q55) (Q183,P530,Q217)
action is_in
entity Q183
action intersection
action find_reverse
entity Q55
relation P530
action find_reverse
entity Q217
relation P530
[ANSWER]
['Q183', 'P530', 'Q55'] ['Q183', 'P530', 'Q217']
ASK WHERE { resource:Q183 property:P530 resource:Q55 . resource:Q183 property:P530 resource:Q217 }
Yes
action is_in
entity Germany
action intersection
action find_reverse
entity Netherlands
relation diplomatic relation
action find_reverse
entity Republic of Moldova
relation diplomatic relation
['Germany', 'diplomatic relation', 'Netherlands'] ['Germany', 'diplomatic relation', 'Republic of Moldova']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Netherlands . resource:Germany property:diplomatic_relation resource:Republic_of_Moldova }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1663239
P27
Q1048835
USER
Which political territory is the native country of Ingolf Deubel ?
(Q1663239,P27,c(Q1048835))
action filter_type
action find
entity Q1663239
relation P27
type Q1048835
['Q1663239', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1663239 property:P27 ?j }
Ingolf Deubel
action filter_type
action find
entity Ingolf Deubel
relation country of citizenship
type political territorial entity
['Ingolf Deubel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Ingolf_Deubel property:country_of_citizenship ?j }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1663239,P27,c(Q1048835))
action filter_type
action find
entity Q1663239
relation P27
type Q1048835
The [ANSWER] is the native country of Ingolf Deubel
['Q1663239', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1663239 property:P27 ?j }
Germany
The Germany is the native country of Ingolf Deubel
Germany
action filter_type
action find
entity Ingolf Deubel
relation country of citizenship
type political territorial entity
['Ingolf Deubel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Ingolf_Deubel property:country_of_citizenship ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1663239
P21
Q290
USER
Which sex does Ingolf Deubel possess ?
(Q1663239,P21,c(Q290))
action filter_type
action find
entity Q1663239
relation P21
type Q290
['Q1663239', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1663239 property:P21 ?y . ?y rdf:type ontology:Q290 }
Ingolf Deubel
action filter_type
action find
entity Ingolf Deubel
relation gender
type sex
['Ingolf Deubel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Ingolf_Deubel property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1663239,P21,c(Q290))
action filter_type
action find
entity Q1663239
relation P21
type Q290
Ingolf Deubel possesses un [ANSWER]
['Q1663239', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1663239 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Ingolf Deubel possesses un male
male
action filter_type
action find
entity Ingolf Deubel
relation gender
type sex
['Ingolf Deubel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Ingolf_Deubel property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q1048835 Q838948 Q15416
USER
Which political territories did min number of works of art or television programs originate ?
(c(Q838948)|c(Q15416),P495,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?v WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?g WHERE { { ?z property:P495 ?g . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P495 ?g . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q838948 } } GROUP BY ?g } . FILTER ( ?k = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?v WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?g WHERE { { ?z property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:television_program } UNION { ?z property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:work_of_art } } GROUP BY ?g } . FILTER ( ?k = ?q ) }
[]
political territorial entity work of art television program
Q5705 Q763 Q781
SYSTEM
Catalonia, Saint Kitts and Nevis, Antigua and Barbuda
Q1747689 Q763 Q13353 Q781 Q5705 Q1823 Q234 Q2991382 Q9337 Q23635 Q31747
(c(Q838948)|c(Q15416),P495,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
Min number of works of art or television programs originated in [ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?v WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?g WHERE { { ?z property:P495 ?g . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P495 ?g . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q838948 } } GROUP BY ?g } . FILTER ( ?k = ?q ) }
Ancient Rome Saint Kitts and Nevis Montserrat Antigua and Barbuda Catalonia Aceh Flemish Region County of Provence Flemish Region Bermuda Irish Free State
Min number of works of art or television programs originated in Catalonia, Saint Kitts and Nevis and Antigua and Barbuda
Catalonia Saint Kitts and Nevis Antigua and Barbuda
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) ?v WHERE { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?g WHERE { { ?z property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:television_program } UNION { ?z property:country_of_origin ?g . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:work_of_art } } GROUP BY ?g } . FILTER ( ?k = ?q ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1744992 Q1663239
P102
Q7278
USER
Which political parties are Ingolf Deubel or Klaus Dieter Leister affiliated with ?
OR((Q1663239,P102,c(Q7278)), (Q1744992,P102,c(Q7278)))
action filter_type
action union
action find
entity Q1663239
relation P102
action find
entity Q1744992
relation P102
type Q7278
{'OR': [['Q1663239', 'P102', {'concept': 'Q7278'}], ['Q1744992', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?h WHERE { { ?w property:P102 ?h . VALUES ( ?w ) { ( resource:Q1663239 ) ( resource:Q1744992 ) } } . ?h rdf:type ontology:Q7278 }
Klaus Dieter Leister Ingolf Deubel
action filter_type
action union
action find
entity Ingolf Deubel
relation member of political party
action find
entity Klaus Dieter Leister
relation member of political party
type political party
{'OR': [['Ingolf Deubel', 'member of political party', {'concept': 'political party'}], ['Klaus Dieter Leister', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?h WHERE { { ?w property:member_of_political_party ?h . VALUES ( ?w ) { ( resource:Ingolf_Deubel ) ( resource:Klaus_Dieter_Leister ) } } . ?h rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
OR((Q1663239,P102,c(Q7278)), (Q1744992,P102,c(Q7278)))
action filter_type
action union
action find
entity Q1663239
relation P102
action find
entity Q1744992
relation P102
type Q7278
Ingolf Deubel or Klaus Dieter Leister are affiliated with [ANSWER]
{'OR': [['Q1663239', 'P102', {'concept': 'Q7278'}], ['Q1744992', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?h WHERE { { ?w property:P102 ?h . VALUES ( ?w ) { ( resource:Q1663239 ) ( resource:Q1744992 ) } } . ?h rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Ingolf Deubel or Klaus Dieter Leister are affiliated with Social Democratic Party of Germany
Social Democratic Party of Germany
action filter_type
action union
action find
entity Ingolf Deubel
relation member of political party
action find
entity Klaus Dieter Leister
relation member of political party
type political party
{'OR': [['Ingolf Deubel', 'member of political party', {'concept': 'political party'}], ['Klaus Dieter Leister', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?h WHERE { { ?w property:member_of_political_party ?h . VALUES ( ?w ) { ( resource:Ingolf_Deubel ) ( resource:Klaus_Dieter_Leister ) } } . ?h rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1744992
P166
Q618779
USER
What was awarded to Klaus Dieter Leister ?
(Q49768,P166,c(Q618779))
action filter_type
action find
entity Q1744992
relation P166
type Q618779
['Q49768', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q618779 . resource:Q1744992 property:P166 ?d }
Klaus Dieter Leister
action filter_type
action find
entity Klaus Dieter Leister
relation award received
type award
['Social Democratic Party of Germany', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:award . resource:Klaus_Dieter_Leister property:award_received ?d }
[]
award
Q10905276
SYSTEM
Commander's Cross of the Order of Merit of the Federal Republic of Germany
Q10905276
(Q49768,P166,c(Q618779))
action filter_type
action find
entity Q1744992
relation P166
type Q618779
Germany [ANSWER] was awarded to Klaus Dieter Leister
['Q49768', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q618779 . resource:Q1744992 property:P166 ?d }
Commander's Cross of the Order of Merit of the Federal Republic of Germany
Germany Commander's Cross of the Order of Merit of the Federal Republic of Germany was awarded to Klaus Dieter Leister
Commander's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Klaus Dieter Leister
relation award received
type award
['Social Democratic Party of Germany', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:award . resource:Klaus_Dieter_Leister property:award_received ?d }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1604439 Q1663239
P102
Q7278
USER
Which political parties are Ingolf Deubel and Helmuth Prieß affiliated with ?
AND((Q1663239,P102,c(Q7278)), (Q1604439,P102,c(Q7278)))
action filter_type
action intersection
action find
entity Q1663239
relation P102
action find
entity Q1604439
relation P102
type Q7278
{'AND': [['Q1663239', 'P102', {'concept': 'Q7278'}], ['Q1604439', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1663239 property:P102 ?k . resource:Q1604439 property:P102 ?k . ?k rdf:type ontology:Q7278 }
Helmuth Prieß Ingolf Deubel
action filter_type
action intersection
action find
entity Ingolf Deubel
relation member of political party
action find
entity Helmuth Prieß
relation member of political party
type political party
{'AND': [['Ingolf Deubel', 'member of political party', {'concept': 'political party'}], ['Helmuth Prieß', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?k WHERE { resource:Ingolf_Deubel property:member_of_political_party ?k . resource:Helmuth_Prieß property:member_of_political_party ?k . ?k rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
AND((Q1663239,P102,c(Q7278)), (Q1604439,P102,c(Q7278)))
action filter_type
action intersection
action find
entity Q1663239
relation P102
action find
entity Q1604439
relation P102
type Q7278
Ingolf Deubel and Helmuth Prieß are affiliated with [ANSWER]
{'AND': [['Q1663239', 'P102', {'concept': 'Q7278'}], ['Q1604439', 'P102', {'concept': 'Q7278'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1663239 property:P102 ?k . resource:Q1604439 property:P102 ?k . ?k rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Ingolf Deubel and Helmuth Prieß are affiliated with Social Democratic Party of Germany
Social Democratic Party of Germany
action filter_type
action intersection
action find
entity Ingolf Deubel
relation member of political party
action find
entity Helmuth Prieß
relation member of political party
type political party
{'AND': [['Ingolf Deubel', 'member of political party', {'concept': 'political party'}], ['Helmuth Prieß', 'member of political party', {'concept': 'political party'}]]}
SELECT DISTINCT ?k WHERE { resource:Ingolf_Deubel property:member_of_political_party ?k . resource:Helmuth_Prieß property:member_of_political_party ?k . ?k rdf:type ontology:political_party }
[]