Simple Question (Direct)
Simple Question
Q2285029
P21
Q290
USER
What is the sex of Sigmund von Gemmingen-Hornberg zu Treschklingen ?
(Q2285029,P21,c(Q290))
action filter_type
action find
entity Q2285029
relation P21
type Q290
['Q2285029', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2285029 property:P21 ?i . ?i rdf:type ontology:Q290 }
Sigmund von Gemmingen-Hornberg zu Treschklingen
action filter_type
action find
entity Sigmund von Gemmingen-Hornberg zu Treschklingen
relation gender
type sex
['Sigmund von Gemmingen-Hornberg zu Treschklingen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Sigmund_von_Gemmingen-Hornberg_zu_Treschklingen property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2285029,P21,c(Q290))
action filter_type
action find
entity Q2285029
relation P21
type Q290
The sex of Sigmund von Gemmingen-Hornberg zu Treschklingen is the [ANSWER]
['Q2285029', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2285029 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Sigmund von Gemmingen-Hornberg zu Treschklingen is the male
male
action filter_type
action find
entity Sigmund von Gemmingen-Hornberg zu Treschklingen
relation gender
type sex
['Sigmund von Gemmingen-Hornberg zu Treschklingen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Sigmund_von_Gemmingen-Hornberg_zu_Treschklingen property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2285029
P26
Q502895
USER
Who is the spouse of Sigmund von Gemmingen-Hornberg zu Treschklingen ?
(c(Q502895),P26,Q2285029)
action filter_type
action find
entity Q2285029
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2285029']
SELECT DISTINCT ?l WHERE { resource:Q2285029 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Sigmund von Gemmingen-Hornberg zu Treschklingen
action filter_type
action find
entity Sigmund von Gemmingen-Hornberg zu Treschklingen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sigmund von Gemmingen-Hornberg zu Treschklingen']
SELECT DISTINCT ?l WHERE { resource:Sigmund_von_Gemmingen-Hornberg_zu_Treschklingen property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q18198117
SYSTEM
Charlotte von Gemmingen-Hornberg
Q18198117
(c(Q502895),P26,Q2285029)
action filter_type
action find
entity Q2285029
relation P26
type Q502895
The spouse of Sigmund von Gemmingen-Hornberg zu Treschklingen is married [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2285029']
SELECT DISTINCT ?l WHERE { resource:Q2285029 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Charlotte von Gemmingen-Hornberg
The spouse of Sigmund von Gemmingen-Hornberg zu Treschklingen is married Charlotte von Gemmingen-Hornberg
Charlotte von Gemmingen-Hornberg
action filter_type
action find
entity Sigmund von Gemmingen-Hornberg zu Treschklingen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sigmund von Gemmingen-Hornberg zu Treschklingen']
SELECT DISTINCT ?l WHERE { resource:Sigmund_von_Gemmingen-Hornberg_zu_Treschklingen property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18198117
P22
Q502895
USER
Which person was the father of that one ?
(Q18198117,P22,c(Q502895))
action filter_type
action find
entity Q18198117
relation P22
type Q502895
['Q18198117', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q18198117 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Charlotte von Gemmingen-Hornberg
action filter_type
action find
entity Charlotte von Gemmingen-Hornberg
relation father
type common name
['Charlotte von Gemmingen-Hornberg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Charlotte_von_Gemmingen-Hornberg property:father ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1279007
SYSTEM
Eberhard Georg von Gemmingen
Q1279007
(Q18198117,P22,c(Q502895))
action filter_type
action find
entity Q18198117
relation P22
type Q502895
[ANSWER] was the father of that one
['Q18198117', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q18198117 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Eberhard Georg von Gemmingen
Eberhard Georg von Gemmingen was the father of that one
Eberhard Georg von Gemmingen
action filter_type
action find
entity Charlotte von Gemmingen-Hornberg
relation father
type common name
['Charlotte von Gemmingen-Hornberg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Charlotte_von_Gemmingen-Hornberg property:father ?u . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3177336 Q2285029
P27
Q1048835
USER
Which political territories are the countries of citizenship of Sigmund von Gemmingen-Hornberg zu Treschklingen or Jeremy Paul ?
OR((Q2285029,P27,c(Q1048835)), (Q3177336,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2285029
relation P27
action find
entity Q3177336
relation P27
type Q1048835
{'OR': [['Q2285029', 'P27', {'concept': 'Q1048835'}], ['Q3177336', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . { { resource:Q2285029 property:P27 ?v } UNION { resource:Q3177336 property:P27 ?v } } }
Jeremy Paul Sigmund von Gemmingen-Hornberg zu Treschklingen
action filter_type
action union
action find
entity Sigmund von Gemmingen-Hornberg zu Treschklingen
relation country of citizenship
action find
entity Jeremy Paul
relation country of citizenship
type political territorial entity
{'OR': [['Sigmund von Gemmingen-Hornberg zu Treschklingen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jeremy Paul', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . { { resource:Sigmund_von_Gemmingen-Hornberg_zu_Treschklingen property:country_of_citizenship ?v } UNION { resource:Jeremy_Paul property:country_of_citizenship ?v } } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q2285029,P27,c(Q1048835)), (Q3177336,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2285029
relation P27
action find
entity Q3177336
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Sigmund von Gemmingen-Hornberg zu Treschklingen or Jeremy Paul
{'OR': [['Q2285029', 'P27', {'concept': 'Q1048835'}], ['Q3177336', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . { { resource:Q2285029 property:P27 ?v } UNION { resource:Q3177336 property:P27 ?v } } }
Australia Germany
Australia and Germany are the countries of citizenship of Sigmund von Gemmingen-Hornberg zu Treschklingen or Jeremy Paul
Australia Germany
action filter_type
action union
action find
entity Sigmund von Gemmingen-Hornberg zu Treschklingen
relation country of citizenship
action find
entity Jeremy Paul
relation country of citizenship
type political territorial entity
{'OR': [['Sigmund von Gemmingen-Hornberg zu Treschklingen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jeremy Paul', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . { { resource:Sigmund_von_Gemmingen-Hornberg_zu_Treschklingen property:country_of_citizenship ?v } UNION { resource:Jeremy_Paul property:country_of_citizenship ?v } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with exactly 3 political territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l property:P530 ?v . ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?j = 3 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l property:diplomatic_relation ?v . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?j = 3 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
33
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l property:P530 ?v . ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1048835 } GROUP BY ?l } . FILTER ( ?j = 3 ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates
33
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l property:diplomatic_relation ?v . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:political_territorial_entity } GROUP BY ?l } . FILTER ( ?j = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P137
Q2668072
USER
Which collection was managed by Germany ?
(c(Q2668072),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q2668072
[{'concept': 'Q2668072'}, 'P137', 'Q183']
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q183 . ?c rdf:type ontology:Q2668072 }
Germany
action filter_type
action find_reverse
entity Germany
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Germany']
SELECT DISTINCT ?c WHERE { ?c property:operator resource:Germany . ?c rdf:type ontology:collection }
[]
collection
Q879960
SYSTEM
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
Q879960
(c(Q2668072),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q2668072
[ANSWER] was managed by Germany
[{'concept': 'Q2668072'}, 'P137', 'Q183']
SELECT DISTINCT ?c WHERE { ?c property:P137 resource:Q183 . ?c rdf:type ontology:Q2668072 }
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland was managed by Germany
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
action filter_type
action find_reverse
entity Germany
relation operator
type collection
[{'concept': 'collection'}, 'operator', 'Germany']
SELECT DISTINCT ?c WHERE { ?c property:operator resource:Germany . ?c rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q879960
P1037
Q502895
USER
Who manages that collection ?
(Q879960,P1037,c(Q502895))
action filter_type
action find
entity Q879960
relation P1037
type Q502895
['Q879960', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q879960 property:P1037 ?r . ?r rdf:type ontology:Q502895 }
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
action filter_type
action find
entity Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
relation manager/director
type common name
['Kunst- und Ausstellungshalle der Bundesrepublik Deutschland', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kunst-_und_Ausstellungshalle_der_Bundesrepublik_Deutschland property:manager/director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q15456077
SYSTEM
Rein Wolfs
Q15456077
(Q879960,P1037,c(Q502895))
action filter_type
action find
entity Q879960
relation P1037
type Q502895
[ANSWER] manages that collection
['Q879960', 'P1037', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q879960 property:P1037 ?r . ?r rdf:type ontology:Q502895 }
Rein Wolfs
Rein Wolfs manages that collection
Rein Wolfs
action filter_type
action find
entity Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
relation manager/director
type common name
['Kunst- und Ausstellungshalle der Bundesrepublik Deutschland', 'manager/director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kunst-_und_Ausstellungshalle_der_Bundesrepublik_Deutschland property:manager/director ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q879960
P800
Q502895
USER
Who is author of that collection ?
(c(Q502895),P800,Q15456077)
action filter_type
action find_reverse
entity Q879960
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q15456077']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P800 resource:Q879960 }
Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
action filter_type
action find_reverse
entity Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Rein Wolfs']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:notable_work resource:Kunst-_und_Ausstellungshalle_der_Bundesrepublik_Deutschland }
[]
common name
Q79166
SYSTEM
Gustav Peichl
Q79166
(c(Q502895),P800,Q15456077)
action filter_type
action find_reverse
entity Q879960
relation P800
type Q502895
[ANSWER] is author of that collection
[{'concept': 'Q502895'}, 'P800', 'Q15456077']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P800 resource:Q879960 }
Gustav Peichl
Gustav Peichl is author of that collection
Gustav Peichl
action filter_type
action find_reverse
entity Kunst- und Ausstellungshalle der Bundesrepublik Deutschland
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Rein Wolfs']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:notable_work resource:Kunst-_und_Ausstellungshalle_der_Bundesrepublik_Deutschland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79166
P166
Q618779
USER
What was won by that person ?
(Q79166,P166,c(Q618779))
action filter_type
action find
entity Q79166
relation P166
type Q618779
['Q79166', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q79166 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Gustav Peichl
action filter_type
action find
entity Gustav Peichl
relation award received
type award
['Gustav Peichl', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Gustav_Peichl property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q10905276
SYSTEM
Commander's Cross of the Order of Merit of the Federal Republic of Germany
Q10905276
(Q79166,P166,c(Q618779))
action filter_type
action find
entity Q79166
relation P166
type Q618779
Germany [ANSWER] was won by that person
['Q79166', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q79166 property:P166 ?s . ?s rdf:type ontology:Q618779 }
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 won by that person
Commander's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Gustav Peichl
relation award received
type award
['Gustav Peichl', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Gustav_Peichl property:award_received ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q10905276 Q183
P17
Q1048835
USER
Is that award present in Germany ?
(Q10905276,P17,Q183)
action is_in
entity Q183
action find
entity Q10905276
relation P17
['Q10905276', 'P17', 'Q183']
ASK WHERE { resource:Q10905276 property:P17 resource:Q183 }
Commander's Cross of the Order of Merit of the Federal Republic of Germany Germany
action is_in
entity Germany
action find
entity Commander's Cross of the Order of Merit of the Federal Republic of Germany
relation country
["Commander's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Germany']
ASK WHERE { resource:Commander's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q10905276,P17,Q183)
action is_in
entity Q183
action find
entity Q10905276
relation P17
[ANSWER]
['Q10905276', 'P17', 'Q183']
ASK WHERE { resource:Q10905276 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Commander's Cross of the Order of Merit of the Federal Republic of Germany
relation country
["Commander's Cross of the Order of Merit of the Federal Republic of Germany", 'country', 'Germany']
ASK WHERE { resource:Commander's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country resource:Germany }
[]