Simple Question (Direct)
Simple Question
Q1302762
P106
Q12737077
USER
What is the job of Georg Schulte ?
(Q1302762,P106,c(Q12737077))
action filter_type
action find
entity Q1302762
relation P106
type Q12737077
['Q1302762', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1302762 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Georg Schulte
action filter_type
action find
entity Georg Schulte
relation occupation
type occupation
['Georg Schulte', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Georg_Schulte property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1302762,P106,c(Q12737077))
action filter_type
action find
entity Q1302762
relation P106
type Q12737077
The job of Georg Schulte is a [ANSWER]
['Q1302762', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1302762 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
politician
The job of Georg Schulte is a politician
politician
action filter_type
action find
entity Georg Schulte
relation occupation
type occupation
['Georg Schulte', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Georg_Schulte property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1302762
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1302762
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1302762 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Georg Schulte
action filter_type
action find
entity Georg Schulte
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Georg_Schulte property:position_held ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q18130478
SYSTEM
Member of the Landtag of Saarland
Q18130478
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q1302762
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1302762 property:P39 ?e . ?e rdf:type ontology:Q12737077 }
Member of the Landtag of Saarland
The Member of the Landtag of Saarland was a position for which that person was appointed
Member of the Landtag of Saarland
action filter_type
action find
entity Georg Schulte
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Georg_Schulte property:position_held ?e . ?e rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1302762
P102
Q7278 Q7210356
USER
How many political parties or political organizations are Georg Schulte affiliated with ?
(Q1302762,P102,c(Q7278)) (Q1302762,P102,c(Q7210356))
action count
action union
action filter_type
action find
entity Q1302762
relation P102
type Q7278
action filter_type
action find
entity Q1302762
relation P102
type Q7210356
['Q1302762', 'P102', {'concept': 'Q7278'}] ['Q1302762', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { resource:Q1302762 property:P102 ?f . ?f rdf:type ontology:Q7210356 } UNION { ?f rdf:type ontology:Q7278 . resource:Q1302762 property:P102 ?f } }
Georg Schulte
action count
action union
action filter_type
action find
entity Georg Schulte
relation member of political party
type political party
action filter_type
action find
entity Georg Schulte
relation member of political party
type political organization
['Georg Schulte', 'member of political party', {'concept': 'political party'}] ['Georg Schulte', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { resource:Georg_Schulte property:member_of_political_party ?f . ?f rdf:type ontology:political_organization } UNION { ?f rdf:type ontology:political_party . resource:Georg_Schulte property:member_of_political_party ?f } }
[]
political party political organization
SYSTEM
2
Q876465 Q49768
(Q1302762,P102,c(Q7278)) (Q1302762,P102,c(Q7210356))
action count
action union
action filter_type
action find
entity Q1302762
relation P102
type Q7278
action filter_type
action find
entity Q1302762
relation P102
type Q7210356
[ANSWER]
['Q1302762', 'P102', {'concept': 'Q7278'}] ['Q1302762', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { resource:Q1302762 property:P102 ?f . ?f rdf:type ontology:Q7210356 } UNION { ?f rdf:type ontology:Q7278 . resource:Q1302762 property:P102 ?f } }
Social Democratic Party of Saarland Social Democratic Party of Germany
2
action count
action union
action filter_type
action find
entity Georg Schulte
relation member of political party
type political party
action filter_type
action find
entity Georg Schulte
relation member of political party
type political organization
['Georg Schulte', 'member of political party', {'concept': 'political party'}] ['Georg Schulte', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { resource:Georg_Schulte property:member_of_political_party ?f . ?f rdf:type ontology:political_organization } UNION { ?f rdf:type ontology:political_party . resource:Georg_Schulte property:member_of_political_party ?f } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1302762
P27
Q1048835
USER
Which political territory does that person belong to ?
action filter_type
action find
entity Q1302762
relation P27
type Q1048835
SELECT DISTINCT ?s WHERE { resource:Q1302762 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Georg Schulte
action filter_type
action find
entity Georg Schulte
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?s WHERE { resource:Georg_Schulte property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
action filter_type
action find
entity Q1302762
relation P27
type Q1048835
That person belongs to the [ANSWER]
SELECT DISTINCT ?s WHERE { resource:Q1302762 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Germany
That person belongs to the Germany
Germany
action filter_type
action find
entity Georg Schulte
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?s WHERE { resource:Georg_Schulte property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q229
P530
Q15617994 Q1048835
USER
How many administrative territories have a diplomatic relationship with less number of political territories than Cyprus ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q229
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Q229 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?d ) }
Cyprus
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cyprus
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Cyprus property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?d ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
132
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q229
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Q229 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?d ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Cyprus
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { resource:Cyprus property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18130478
P361
Q1752346
USER
What is Member of the Landtag of Saarland a component of ?
(Q18130478,P361,c(Q1752346))
action filter_type
action find
entity Q18130478
relation P361
type Q1752346
['Q18130478', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { resource:Q18130478 property:P361 ?r . ?r rdf:type ontology:Q1752346 }
Member of the Landtag of Saarland
action filter_type
action find
entity Member of the Landtag of Saarland
relation part of
type assembly
['Member of the Landtag of Saarland', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { resource:Member_of_the_Landtag_of_Saarland property:part_of ?r . ?r rdf:type ontology:assembly }
[]
assembly
Q260372
SYSTEM
Landtag of Saarland
Q260372
(Q18130478,P361,c(Q1752346))
action filter_type
action find
entity Q18130478
relation P361
type Q1752346
The [ANSWER] is Member of the [ANSWER] a component of
['Q18130478', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?r WHERE { resource:Q18130478 property:P361 ?r . ?r rdf:type ontology:Q1752346 }
Landtag of Saarland
The Landtag of Saarland is Member of the Landtag of Saarland a component of
Landtag of Saarland
action filter_type
action find
entity Member of the Landtag of Saarland
relation part of
type assembly
['Member of the Landtag of Saarland', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?r WHERE { resource:Member_of_the_Landtag_of_Saarland property:part_of ?r . ?r rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q260372
P937
Q56061
USER
What is the location where that assembly worked ?
(Q260372,P937,c(Q56061))
action filter_type
action find
entity Q260372
relation P937
type Q56061
['Q260372', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q260372 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Landtag of Saarland
action filter_type
action find
entity Landtag of Saarland
relation work location
type administrative territorial entity
['Landtag of Saarland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Landtag_of_Saarland property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q260372,P937,c(Q56061))
action filter_type
action find
entity Q260372
relation P937
type Q56061
The location that assembly worked is in [ANSWER]
['Q260372', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q260372 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Bonn
The location that assembly worked is in Bonn
Bonn
action filter_type
action find
entity Landtag of Saarland
relation work location
type administrative territorial entity
['Landtag of Saarland', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Landtag_of_Saarland property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q16598324 Q183
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Germany and are not the countries of citizenship of Manuel García Collao ?
AND((Q183,P530,c(Q15617994)), NOT((Q16598324,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q16598324
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q16598324', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q183 property:P530 ?a . MINUS { resource:Q16598324 property:P27 ?a } . ?a rdf:type ontology:Q15617994 }
Manuel García Collao Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Manuel García Collao
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Manuel García Collao', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Germany property:diplomatic_relation ?a . MINUS { resource:Manuel_García_Collao property:country_of_citizenship ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q958 Q414 Q971 Q184 Q889 Q733 Q833 Q881 Q1045 Q32
SYSTEM
Some of them are South Sudan, Argentina, Republic of the Congo, Belarus, Afghanistan, Paraguay, Malaysia, Vietnam, Somalia, Luxembourg
Q804 Q801 Q800 Q419 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 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((Q16598324,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q16598324
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Germany and are not the countries of citizenship of Manuel García Collao
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q16598324', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Q183 property:P530 ?a . MINUS { resource:Q16598324 property:P27 ?a } . ?a rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru 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 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
South Sudan, Argentina, Republic of the Congo, Belarus, Afghanistan, Paraguay, Malaysia, Vietnam, Somalia and Luxembourg have diplomatic relations with Germany and are not the countries of citizenship of Manuel García Collao
South Sudan Argentina Republic of the Congo Belarus Afghanistan Paraguay Malaysia Vietnam Somalia Luxembourg
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Manuel García Collao
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Manuel García Collao', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?a WHERE { resource:Germany property:diplomatic_relation ?a . MINUS { resource:Manuel_García_Collao property:country_of_citizenship ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]