Simple Question (Direct)
Simple Question
Q75763
P21
Q290
USER
Which sex does Karl Leonhard belong to ?
(Q75763,P21,c(Q290))
action filter_type
action find
entity Q75763
relation P21
type Q290
['Q75763', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q75763 property:P21 ?g . ?g rdf:type ontology:Q290 }
Karl Leonhard
action filter_type
action find
entity Karl Leonhard
relation gender
type sex
['Karl Leonhard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Karl_Leonhard property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q75763,P21,c(Q290))
action filter_type
action find
entity Q75763
relation P21
type Q290
Karl Leonhard belongs to [ANSWER]
['Q75763', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q75763 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
Karl Leonhard belongs to male
male
action filter_type
action find
entity Karl Leonhard
relation gender
type sex
['Karl Leonhard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Karl_Leonhard property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q75763
P20
Q486972
USER
Where did Karl Leonhard expire ?
(Q75763,P20,c(Q486972))
action filter_type
action find
entity Q75763
relation P20
type Q486972
['Q75763', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q486972 . resource:Q75763 property:P20 ?i }
Karl Leonhard
action filter_type
action find
entity Karl Leonhard
relation place of death
type human settlement
['Karl Leonhard', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_settlement . resource:Karl_Leonhard property:place_of_death ?i }
[]
human settlement
Q56037
SYSTEM
East Berlin
Q56037
(Q75763,P20,c(Q486972))
action filter_type
action find
entity Q75763
relation P20
type Q486972
Karl Leonhard expired in [ANSWER]
['Q75763', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q486972 . resource:Q75763 property:P20 ?i }
East Berlin
Karl Leonhard expired in East Berlin
East Berlin
action filter_type
action find
entity Karl Leonhard
relation place of death
type human settlement
['Karl Leonhard', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:human_settlement . resource:Karl_Leonhard property:place_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q56037
P551
Q502895
USER
Which people have residence at that human settlement ?
(c(Q502895),P551,Q56037)
action filter_type
action find_reverse
entity Q56037
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q56037']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q56037 . ?q rdf:type ontology:Q502895 }
East Berlin
action filter_type
action find_reverse
entity East Berlin
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'East Berlin']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:East_Berlin . ?q rdf:type ontology:common_name }
[]
common name
Q4521413 Q75151
SYSTEM
Thierry Guichoux, Ursula Kuczynski
Q4521413 Q75151
(c(Q502895),P551,Q56037)
action filter_type
action find_reverse
entity Q56037
relation P551
type Q502895
[ANSWERS] have residence at that human settlement
[{'concept': 'Q502895'}, 'P551', 'Q56037']
SELECT DISTINCT ?q WHERE { ?q property:P551 resource:Q56037 . ?q rdf:type ontology:Q502895 }
Thierry Guichoux Ursula Kuczynski
Thierry Guichoux and Ursula Kuczynski have residence at that human settlement
Thierry Guichoux Ursula Kuczynski
action filter_type
action find_reverse
entity East Berlin
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'East Berlin']
SELECT DISTINCT ?q WHERE { ?q property:residence resource:East_Berlin . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q916721 Q75763
P27
Q1048835
USER
Which political territories are the native countriesof Karl Leonhard or Brigitte Tegischer ?
OR((Q75763,P27,c(Q1048835)), (Q916721,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q75763
relation P27
action find
entity Q916721
relation P27
type Q1048835
{'OR': [['Q75763', 'P27', {'concept': 'Q1048835'}], ['Q916721', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:P27 ?q . VALUES ( ?a ) { ( resource:Q75763 ) ( resource:Q916721 ) } } . ?q rdf:type ontology:Q1048835 }
Brigitte Tegischer Karl Leonhard
action filter_type
action union
action find
entity Karl Leonhard
relation country of citizenship
action find
entity Brigitte Tegischer
relation country of citizenship
type political territorial entity
{'OR': [['Karl Leonhard', 'country of citizenship', {'concept': 'political territorial entity'}], ['Brigitte Tegischer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:country_of_citizenship ?q . VALUES ( ?a ) { ( resource:Karl_Leonhard ) ( resource:Brigitte_Tegischer ) } } . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q75763,P27,c(Q1048835)), (Q916721,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q75763
relation P27
action find
entity Q916721
relation P27
type Q1048835
[ANSWERS] are the native countriesof Karl Leonhard or Brigitte Tegischer
{'OR': [['Q75763', 'P27', {'concept': 'Q1048835'}], ['Q916721', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:P27 ?q . VALUES ( ?a ) { ( resource:Q75763 ) ( resource:Q916721 ) } } . ?q rdf:type ontology:Q1048835 }
Germany Austria
Germany and Austria are the native countriesof Karl Leonhard or Brigitte Tegischer
Germany Austria
action filter_type
action union
action find
entity Karl Leonhard
relation country of citizenship
action find
entity Brigitte Tegischer
relation country of citizenship
type political territorial entity
{'OR': [['Karl Leonhard', 'country of citizenship', {'concept': 'political territorial entity'}], ['Brigitte Tegischer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { ?a property:country_of_citizenship ?q . VALUES ( ?a ) { ( resource:Karl_Leonhard ) ( resource:Brigitte_Tegischer ) } } . ?q rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q25907385 Q916721
P291 P937
Q56061
USER
Which administrative territories are the work locations of Brigitte Tegischer or are the locations of publication of Ruins of Montgomery Castle, from the Severn ?
OR((Q916721,P937,c(Q56061)), (Q25907385,P291,c(Q56061)))
action filter_type
action union
action find
entity Q916721
relation P937
action find
entity Q25907385
relation P291
type Q56061
{'OR': [['Q916721', 'P937', {'concept': 'Q56061'}], ['Q25907385', 'P291', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q25907385 property:P291 ?i } UNION { resource:Q916721 property:P937 ?i } } . ?i rdf:type ontology:Q56061 }
Ruins of Montgomery Castle, from the Severn Brigitte Tegischer
action filter_type
action union
action find
entity Brigitte Tegischer
relation work location
action find
entity Ruins of Montgomery Castle, from the Severn
relation place of publication
type administrative territorial entity
{'OR': [['Brigitte Tegischer', 'work location', {'concept': 'administrative territorial entity'}], ['Ruins of Montgomery Castle, from the Severn', 'place of publication', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Ruins_of_Montgomery_Castle,_from_the_Severn property:place_of_publication ?i } UNION { resource:Brigitte_Tegischer property:work_location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q84
SYSTEM
Vienna, London
Q1741 Q84
OR((Q916721,P937,c(Q56061)), (Q25907385,P291,c(Q56061)))
action filter_type
action union
action find
entity Q916721
relation P937
action find
entity Q25907385
relation P291
type Q56061
[ANSWERS] are the work locations of Brigitte Tegischer or are the locations of publication of Ruins of Montgomery Castle, from the Severn
{'OR': [['Q916721', 'P937', {'concept': 'Q56061'}], ['Q25907385', 'P291', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q25907385 property:P291 ?i } UNION { resource:Q916721 property:P937 ?i } } . ?i rdf:type ontology:Q56061 }
Vienna London
Vienna and London are the work locations of Brigitte Tegischer or are the locations of publication of Ruins of Montgomery Castle, from the Severn
Vienna London
action filter_type
action union
action find
entity Brigitte Tegischer
relation work location
action find
entity Ruins of Montgomery Castle, from the Severn
relation place of publication
type administrative territorial entity
{'OR': [['Brigitte Tegischer', 'work location', {'concept': 'administrative territorial entity'}], ['Ruins of Montgomery Castle, from the Severn', 'place of publication', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Ruins_of_Montgomery_Castle,_from_the_Severn property:place_of_publication ?i } UNION { resource:Brigitte_Tegischer property:work_location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4666737
P915
Q838948
USER
Were Abendland filmed in the location those administrative territories ?
(Q4666737,P915,Q1741) (Q4666737,P915,Q84)
action is_in
entity prev_answer
action find
entity Q4666737
relation P915
['Q4666737', 'P915', 'Q1741'] ['Q4666737', 'P915', 'Q84']
ASK WHERE { resource:Q4666737 property:P915 ?c . VALUES ( ?c ) { ( resource:Q1741 ) ( resource:Q84 ) } }
Abendland
action is_in
entity prev_answer
action find
entity Abendland
relation filming location
['Abendland', 'filming location', 'Vienna'] ['Abendland', 'filming location', 'London']
ASK WHERE { resource:Abendland property:filming_location ?c . VALUES ( ?c ) { ( resource:Vienna ) ( resource:London ) } }
[]
work of art
SYSTEM
YES
(Q4666737,P915,Q1741) (Q4666737,P915,Q84)
action is_in
entity prev_answer
action find
entity Q4666737
relation P915
[ANSWER]
['Q4666737', 'P915', 'Q1741'] ['Q4666737', 'P915', 'Q84']
ASK WHERE { resource:Q4666737 property:P915 ?c . VALUES ( ?c ) { ( resource:Q1741 ) ( resource:Q84 ) } }
Yes
action is_in
entity prev_answer
action find
entity Abendland
relation filming location
['Abendland', 'filming location', 'Vienna'] ['Abendland', 'filming location', 'London']
ASK WHERE { resource:Abendland property:filming_location ?c . VALUES ( ?c ) { ( resource:Vienna ) ( resource:London ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16196031 Q75763
P27
Q1048835
USER
Which political territories do Karl Leonhard or Andrew Grainger belong to ?
OR((Q75763,P27,c(Q1048835)), (Q16196031,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q75763
relation P27
action find
entity Q16196031
relation P27
type Q1048835
{'OR': [['Q75763', 'P27', {'concept': 'Q1048835'}], ['Q16196031', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { ?b property:P27 ?a . VALUES ( ?b ) { ( resource:Q75763 ) ( resource:Q16196031 ) } } . ?a rdf:type ontology:Q1048835 }
Andrew Grainger Karl Leonhard
action filter_type
action union
action find
entity Karl Leonhard
relation country of citizenship
action find
entity Andrew Grainger
relation country of citizenship
type political territorial entity
{'OR': [['Karl Leonhard', 'country of citizenship', {'concept': 'political territorial entity'}], ['Andrew Grainger', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?b property:country_of_citizenship ?a . VALUES ( ?b ) { ( resource:Karl_Leonhard ) ( resource:Andrew_Grainger ) } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q75763,P27,c(Q1048835)), (Q16196031,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q75763
relation P27
action find
entity Q16196031
relation P27
type Q1048835
Karl Leonhard or Andrew Grainger belong to the [ANSWERS]
{'OR': [['Q75763', 'P27', {'concept': 'Q1048835'}], ['Q16196031', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { ?b property:P27 ?a . VALUES ( ?b ) { ( resource:Q75763 ) ( resource:Q16196031 ) } } . ?a rdf:type ontology:Q1048835 }
New Zealand Germany
Karl Leonhard or Andrew Grainger belong to the New Zealand and Germany
New Zealand Germany
action filter_type
action union
action find
entity Karl Leonhard
relation country of citizenship
action find
entity Andrew Grainger
relation country of citizenship
type political territorial entity
{'OR': [['Karl Leonhard', 'country of citizenship', {'concept': 'political territorial entity'}], ['Andrew Grainger', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?b property:country_of_citizenship ?a . VALUES ( ?b ) { ( resource:Karl_Leonhard ) ( resource:Andrew_Grainger ) } } . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10701282
P17
Q601401
USER
Are Atlantic slave trade present in those political territories ?
(Q10701282,P17,Q664) (Q10701282,P17,Q183)
action is_in
entity prev_answer
action find
entity Q10701282
relation P17
['Q10701282', 'P17', 'Q664'] ['Q10701282', 'P17', 'Q183']
ASK WHERE { VALUES ( ?b ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q10701282 property:P17 ?b }
Atlantic slave trade
action is_in
entity prev_answer
action find
entity Atlantic slave trade
relation country
['Atlantic slave trade', 'country', 'New Zealand'] ['Atlantic slave trade', 'country', 'Germany']
ASK WHERE { VALUES ( ?b ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Atlantic_slave_trade property:country ?b }
[]
trade
SYSTEM
NO
(Q10701282,P17,Q664) (Q10701282,P17,Q183)
action is_in
entity prev_answer
action find
entity Q10701282
relation P17
[ANSWER]
['Q10701282', 'P17', 'Q664'] ['Q10701282', 'P17', 'Q183']
ASK WHERE { VALUES ( ?b ) { ( resource:Q664 ) ( resource:Q183 ) } . resource:Q10701282 property:P17 ?b }
No
action is_in
entity prev_answer
action find
entity Atlantic slave trade
relation country
['Atlantic slave trade', 'country', 'New Zealand'] ['Atlantic slave trade', 'country', 'Germany']
ASK WHERE { VALUES ( ?b ) { ( resource:New_Zealand ) ( resource:Germany ) } . resource:Atlantic_slave_trade property:country ?b }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q407199
P495
Q1048835 Q2342494 Q2031291
USER
Which political territories are the origin of around the same number of collectables or releases as Palestinian territories ?
(c(Q2342494)|c(Q2031291),P495,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q407199
relation P495
type Q2342494
type Q2031291
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P495 ?j . ?j rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P495 ?j . ?l rdf:type ontology:Q2031291 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { { ?t rdf:type ontology:Q2342494 } UNION { ?t rdf:type ontology:Q2031291 } } . ?t property:P495 resource:Q407199 } } . FILTER ( ?z = ?q ) }
Palestinian territories
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Palestinian territories
relation country of origin
type collectable
type release
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:country_of_origin ?j . ?j rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collectable } UNION { ?l property:country_of_origin ?j . ?l rdf:type ontology:release . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { { ?t rdf:type ontology:collectable } UNION { ?t rdf:type ontology:release } } . ?t property:country_of_origin resource:Palestinian_territories } } . FILTER ( ?z = ?q ) }
[]
political territorial entity collectable release
Q35 Q40 Q5705
SYSTEM
Denmark, Austria, Catalonia
Q1000 Q1747689 Q838261 Q769 Q763 Q664 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q35 Q407199 Q778 Q691 Q234 Q2991382 Q40 Q9337 Q23635 Q31747 Q129286
(c(Q2342494)|c(Q2031291),P495,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q407199
relation P495
type Q2342494
type Q2031291
[ANSWERS] are the origin of around the same number of collectables or releases as Palestinian territories
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P495 ?j . ?j rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2342494 } UNION { ?l property:P495 ?j . ?l rdf:type ontology:Q2031291 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { { ?t rdf:type ontology:Q2342494 } UNION { ?t rdf:type ontology:Q2031291 } } . ?t property:P495 resource:Q407199 } } . FILTER ( ?z = ?q ) }
Gabon Ancient Rome Federal Republic of Yugoslavia Grenada Saint Kitts and Nevis New Zealand Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Denmark Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Austria Flemish Region Bermuda Irish Free State British Raj
Denmark, Austria and Catalonia are the origin of around the same number of collectables or releases as Palestinian territories
Denmark Austria Catalonia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Palestinian territories
relation country of origin
type collectable
type release
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:country_of_origin ?j . ?j rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collectable } UNION { ?l property:country_of_origin ?j . ?l rdf:type ontology:release . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { { ?t rdf:type ontology:collectable } UNION { ?t rdf:type ontology:release } } . ?t property:country_of_origin resource:Palestinian_territories } } . FILTER ( ?z = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q35
P495
Q1048835 Q2342494 Q2031291
USER
And how about Denmark?
(c(Q2342494)|c(Q2031291),P495,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q35
relation P495
type Q2342494
type Q2031291
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) ?a WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } . ?j rdf:type ?e } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P495 resource:Q35 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } . ?i rdf:type ?c } } } . FILTER ( ?f = ?w ) }
Denmark
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Denmark
relation country of origin
type collectable
type release
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) ?a WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:release ) } . ?j rdf:type ?e } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:country_of_origin resource:Denmark . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:release ) } . ?i rdf:type ?c } } } . FILTER ( ?f = ?w ) }
[]
political territorial entity collectable release
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q1000 Q1747689 Q838261 Q183 Q769 Q763 Q664 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q35 Q407199 Q778 Q691 Q234 Q2991382 Q40 Q9337 Q23635 Q31747 Q129286
(c(Q2342494)|c(Q2031291),P495,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q35
relation P495
type Q2342494
type Q2031291
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q2031291'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) ?a WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } . ?j rdf:type ?e } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P495 resource:Q35 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q2031291 ) } . ?i rdf:type ?c } } } . FILTER ( ?f = ?w ) }
Gabon Ancient Rome Federal Republic of Yugoslavia Germany Grenada Saint Kitts and Nevis New Zealand Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Denmark Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Austria Flemish Region Bermuda Irish Free State British Raj
Germany Denmark Austria
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type release
action count
action filter_multi_types
action find_reverse
entity Denmark
relation country of origin
type collectable
type release
[[{'concept': 'collectable'}, {'concept': 'release'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) ?a WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:release ) } . ?j rdf:type ?e } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:country_of_origin resource:Denmark . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:release ) } . ?i rdf:type ?c } } } . FILTER ( ?f = ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q1206012
P27
Q502895
USER
How many people are a native of Germany and German Empire ?
(c(Q502895),P27,Q183) (c(Q502895),P27,Q1206012)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P27
type Q502895
action filter_type
action find_reverse
entity Q1206012
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q183'] [{'concept': 'Q502895'}, 'P27', 'Q1206012']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P27 resource:Q183 . ?a property:P27 resource:Q1206012 . ?a rdf:type ontology:Q502895 }
Germany German Empire
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Germany'] [{'concept': 'common name'}, 'country of citizenship', 'German Empire']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:common_name . ?a property:country_of_citizenship resource:Germany . ?a property:country_of_citizenship resource:German_Empire . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
30
Q76893 Q1620568 Q26678424 Q15452662 Q1503204 Q5934302 Q1463847 Q1567497 Q1889895 Q70999 Q1782458 Q16065090 Q22668333 Q21064904 Q1600957 Q1405386 Q1272791 Q21073020 Q1577413 Q16320730 Q15444743 Q21027941 Q21061281 Q1721932 Q21032072 Q21064895 Q69661 Q1397556 Q1586677 Q1169413
(c(Q502895),P27,Q183) (c(Q502895),P27,Q1206012)
action count
action intersection
action filter_type
action find_reverse
entity Q183
relation P27
type Q502895
action filter_type
action find_reverse
entity Q1206012
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q183'] [{'concept': 'Q502895'}, 'P27', 'Q1206012']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:Q502895 . ?a property:P27 resource:Q183 . ?a property:P27 resource:Q1206012 . ?a rdf:type ontology:Q502895 }
Margot Honecker Lothar Lahn Louis Kühnhold Franz Josef Schöningh Johannes Hatzfeld Heinrich Lang Friedrich von Laer Heinrich Brand Manfred Schmidt Manfred von Ardenne Konrad von Rabenau Heinrich Simon Günther Schödel Friedrich Schmidtke Heinz Schulz-Falkenthal Ferdinand Henkemeyer Horst Bonnet Erich Sander Otto Pfeiffer Richard Sawade Hans von Aulock Renate Hochmuth Gerda Krüger Otto Mügge Lieselotte Blumenthal Hermann Schmitz Rolf Hoppe Manfred Feist Harry Ott Ferdinand Thun
30
action count
action intersection
action filter_type
action find_reverse
entity Germany
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'Germany'] [{'concept': 'common name'}, 'country of citizenship', 'German Empire']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:common_name . ?a property:country_of_citizenship resource:Germany . ?a property:country_of_citizenship resource:German_Empire . ?a rdf:type ontology:common_name }
[]