Simple Question (Direct)
Simple Question
Q1505458
P27
Q1048835
USER
Which political territory is the country of citizenship of Georg Neemann ?
(Q1505458,P27,c(Q1048835))
action filter_type
action find
entity Q1505458
relation P27
type Q1048835
['Q1505458', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q1505458 property:P27 ?n }
Georg Neemann
action filter_type
action find
entity Georg Neemann
relation country of citizenship
type political territorial entity
['Georg Neemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Georg_Neemann property:country_of_citizenship ?n }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1505458,P27,c(Q1048835))
action filter_type
action find
entity Q1505458
relation P27
type Q1048835
Of [ANSWER] is the country of citizenship of Georg Neemann
['Q1505458', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q1505458 property:P27 ?n }
Germany
Of Germany is the country of citizenship of Georg Neemann
Germany
action filter_type
action find
entity Georg Neemann
relation country of citizenship
type political territorial entity
['Georg Neemann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Georg_Neemann property:country_of_citizenship ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1505458
P166
Q618779
USER
What was won by that person ?
(Q183,P166,c(Q618779))
action filter_type
action find
entity Q1505458
relation P166
type Q618779
['Q183', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q1505458 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Georg Neemann
action filter_type
action find
entity Georg Neemann
relation award received
type award
['Germany', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Georg_Neemann property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q10905334
SYSTEM
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q10905334
(Q183,P166,c(Q618779))
action filter_type
action find
entity Q1505458
relation P166
type Q618779
Germany [ANSWER] was won by that person
['Q183', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q1505458 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany
Germany Officer's Cross of the Order of Merit of the Federal Republic of Germany was won by that person
Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Georg Neemann
relation award received
type award
['Germany', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Georg_Neemann property:award_received ?z . ?z rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1505458
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q10905334,P39,c(Q12737077))
action filter_type
action find
entity Q1505458
relation P39
type Q12737077
['Q10905334', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1505458 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Georg Neemann
action filter_type
action find
entity Georg Neemann
relation position held
type occupation
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Georg_Neemann property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q1939555
SYSTEM
member of the German Bundestag
Q1939555
(Q10905334,P39,c(Q12737077))
action filter_type
action find
entity Q1505458
relation P39
type Q12737077
A [ANSWER] was a position occupied by that person
['Q10905334', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1505458 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
member of the German Bundestag
A member of the German Bundestag was a position occupied by that person
member of the German Bundestag
action filter_type
action find
entity Georg Neemann
relation position held
type occupation
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Georg_Neemann property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2020528 Q10905334
P27 P17
Q1048835
USER
Which political territories do Officer's Cross of the Order of Merit of the Federal Republic of Germany belong to or do Oliver Schawe belong to ?
OR((Q10905334,P17,c(Q1048835)), (Q2020528,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q10905334
relation P17
action find
entity Q2020528
relation P27
type Q1048835
{'OR': [['Q10905334', 'P17', {'concept': 'Q1048835'}], ['Q2020528', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q10905334 property:P17 ?m } UNION { resource:Q2020528 property:P27 ?m } } . ?m rdf:type ontology:Q1048835 }
Oliver Schawe Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action union
action find
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
relation country
action find
entity Oliver Schawe
relation country of citizenship
type political territorial entity
{'OR': [["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', {'concept': 'political territorial entity'}], ['Oliver Schawe', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country ?m } UNION { resource:Oliver_Schawe property:country_of_citizenship ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q10905334,P17,c(Q1048835)), (Q2020528,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q10905334
relation P17
action find
entity Q2020528
relation P27
type Q1048835
[ANSWER] Officer's Cross of the Order of Merit of the Federal Republic of [ANSWER] belong to or Oliver Schawe belong to
{'OR': [['Q10905334', 'P17', {'concept': 'Q1048835'}], ['Q2020528', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q10905334 property:P17 ?m } UNION { resource:Q2020528 property:P27 ?m } } . ?m rdf:type ontology:Q1048835 }
Germany
Germany Officer's Cross of the Order of Merit of the Federal Republic of Germany belong to or Oliver Schawe belong to
Germany
action filter_type
action union
action find
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
relation country
action find
entity Oliver Schawe
relation country of citizenship
type political territorial entity
{'OR': [["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', {'concept': 'political territorial entity'}], ['Oliver Schawe', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country ?m } UNION { resource:Oliver_Schawe property:country_of_citizenship ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q567145 Q138777
P530
Q15617994
USER
Does that political territory have ambassadorial relations with Breitenheim and Zehna ?
(Q183,P530,Q567145) (Q183,P530,Q138777)
action is_in
entity Q183
action intersection
action find_reverse
entity Q567145
relation P530
action find_reverse
entity Q138777
relation P530
['Q183', 'P530', 'Q567145'] ['Q183', 'P530', 'Q138777']
ASK WHERE { resource:Q183 property:P530 resource:Q567145 . resource:Q183 property:P530 resource:Q138777 }
Germany Breitenheim Zehna
action is_in
entity Germany
action intersection
action find_reverse
entity Breitenheim
relation diplomatic relation
action find_reverse
entity Zehna
relation diplomatic relation
['Germany', 'diplomatic relation', 'Breitenheim'] ['Germany', 'diplomatic relation', 'Zehna']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Breitenheim . resource:Germany property:diplomatic_relation resource:Zehna }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q567145) (Q183,P530,Q138777)
action is_in
entity Q183
action intersection
action find_reverse
entity Q567145
relation P530
action find_reverse
entity Q138777
relation P530
[ANSWER]
['Q183', 'P530', 'Q567145'] ['Q183', 'P530', 'Q138777']
ASK WHERE { resource:Q183 property:P530 resource:Q567145 . resource:Q183 property:P530 resource:Q138777 }
No
action is_in
entity Germany
action intersection
action find_reverse
entity Breitenheim
relation diplomatic relation
action find_reverse
entity Zehna
relation diplomatic relation
['Germany', 'diplomatic relation', 'Breitenheim'] ['Germany', 'diplomatic relation', 'Zehna']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Breitenheim . resource:Germany property:diplomatic_relation resource:Zehna }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q13189810 Q183
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany and are not Q'iruni present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q13189810,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q13189810
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q13189810', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Q183 property:P530 ?o . MINUS { resource:Q13189810 property:P17 ?o } . ?o rdf:type ontology:Q15617994 }
Q'iruni Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Q'iruni
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [["Q'iruni", 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Germany property:diplomatic_relation ?o . MINUS { resource:Q'iruni property:country ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224 Q148 Q232 Q800 Q878 Q833 Q142 Q801 Q1045 Q958
SYSTEM
Some of them are Croatia, People's Republic of China, Kazakhstan, Costa Rica, United Arab Emirates, Malaysia, France, Israel, Somalia, South Sudan
Q804 Q801 Q800 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q13189810,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q13189810
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany and are not Q'iruni present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q13189810', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Q183 property:P530 ?o . MINUS { resource:Q13189810 property:P17 ?o } . ?o rdf:type ontology:Q15617994 }
Panama Israel Costa Rica India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Croatia, People's Republic of China, Kazakhstan, Costa Rica, United Arab Emirates, Malaysia, France, Israel, Somalia and South Sudan have a diplomatic relationship with Germany and are not Q'iruni present in
Croatia People's Republic of China Kazakhstan Costa Rica United Arab Emirates Malaysia France Israel Somalia South Sudan
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Q'iruni
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [["Q'iruni", 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?o WHERE { resource:Germany property:diplomatic_relation ?o . MINUS { resource:Q'iruni property:country ?o } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with approximately 107 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 107
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { FILTER ( ?a = 107 ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 . ?l property:P530 ?r } GROUP BY ?l } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 107
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { FILTER ( ?a = 107 ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?r } GROUP BY ?l } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 107
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { FILTER ( ?a = 107 ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 . ?l property:P530 ?r } GROUP BY ?l } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 107
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { FILTER ( ?a = 107 ) . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?r } GROUP BY ?l } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q801
P740
Q43229
USER
What were formed at that administrative territory ?
action filter_type
action find_reverse
entity Q801
relation P740
type Q43229
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q801 . ?z rdf:type ontology:Q43229 }
Israel
action filter_type
action find_reverse
entity Israel
relation location of formation
type organization
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Israel . ?z rdf:type ontology:organization }
[]
organization
Q2573130 Q5644134 Q6810355
SYSTEM
Walla!, Hamashbir Lazarchan, Meitar Liquornik Geva & Leshem Brandwein
Q18153138 Q18207478 Q18208057 Q5644134 Q16985671 Q6810355 Q2903718 Q18347886 Q18156866 Q2909872 Q18349855 Q18344752 Q18149433 Q2573130
action filter_type
action find_reverse
entity Q801
relation P740
type Q43229
[ANSWERS] were formed at that administrative territory
SELECT DISTINCT ?z WHERE { ?z property:P740 resource:Q801 . ?z rdf:type ontology:Q43229 }
KFC Israel Black Bar 'n' Burger Dunkin' Donuts Israel Hamashbir Lazarchan Burger King Israel Meitar Liquornik Geva & Leshem Brandwein Tiv Ta'am HaShamen Pizza Hut Israel Aroma Espresso Bar Holy Bagel Mike's Place Domino's Pizza Israel Walla!
Walla!, Hamashbir Lazarchan and Meitar Liquornik Geva & Leshem Brandwein were formed at that administrative territory
Walla! Hamashbir Lazarchan Meitar Liquornik Geva & Leshem Brandwein
action filter_type
action find_reverse
entity Israel
relation location of formation
type organization
SELECT DISTINCT ?z WHERE { ?z property:location_of_formation resource:Israel . ?z rdf:type ontology:organization }
[]