Simple Question (Direct)
Simple Question
Q1273284
P19
Q56061
USER
Which administrative territory was Friedrich von Schauss born at ?
(Q1273284,P19,c(Q56061))
action filter_type
action find
entity Q1273284
relation P19
type Q56061
['Q1273284', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1273284 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Friedrich von Schauss
action filter_type
action find
entity Friedrich von Schauss
relation place of birth
type administrative territorial entity
['Friedrich von Schauss', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich_von_Schauss property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1273284,P19,c(Q56061))
action filter_type
action find
entity Q1273284
relation P19
type Q56061
Friedrich von Schauss was born in [ANSWER]
['Q1273284', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1273284 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Munich
Friedrich von Schauss was born in Munich
Munich
action filter_type
action find
entity Friedrich von Schauss
relation place of birth
type administrative territorial entity
['Friedrich von Schauss', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich_von_Schauss property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1273284
P102
Q7210356
USER
Which party does that person belong to ?
(Q1726,P102,c(Q7210356))
action filter_type
action find
entity Q1273284
relation P102
type Q7210356
['Q1726', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q1273284 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Friedrich von Schauss
action filter_type
action find
entity Friedrich von Schauss
relation member of political party
type political organization
['Munich', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich_von_Schauss property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q694299
SYSTEM
National Liberal Party
Q694299
(Q1726,P102,c(Q7210356))
action filter_type
action find
entity Q1273284
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1726', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q1273284 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
National Liberal Party
That person belongs to National Liberal Party
National Liberal Party
action filter_type
action find
entity Friedrich von Schauss
relation member of political party
type political organization
['Munich', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Friedrich_von_Schauss property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1273284
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q694299,P39,c(Q12737077))
action filter_type
action find
entity Q1273284
relation P39
type Q12737077
['Q694299', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1273284 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Friedrich von Schauss
action filter_type
action find
entity Friedrich von Schauss
relation position held
type occupation
['National Liberal Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Friedrich_von_Schauss property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q17854096
SYSTEM
member of the Reichstag of the German Empire
Q17854096
(Q694299,P39,c(Q12737077))
action filter_type
action find
entity Q1273284
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
['Q694299', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1273284 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
member of the Reichstag of the German Empire
The member of the Reichstag of the German Empire was a position for which that person was appointed
member of the Reichstag of the German Empire
action filter_type
action find
entity Friedrich von Schauss
relation position held
type occupation
['National Liberal Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Friedrich_von_Schauss property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17854096 Q160208 Q649746
P361
Q1752346
USER
Is member of the Reichstag of the German Empire a part of Reichstag and Weimar National Assembly ?
(Q17854096,P361,Q160208) (Q17854096,P361,Q649746)
action is_in
entity Q17854096
action intersection
action find_reverse
entity Q160208
relation P361
action find_reverse
entity Q649746
relation P361
['Q17854096', 'P361', 'Q160208'] ['Q17854096', 'P361', 'Q649746']
ASK WHERE { resource:Q17854096 property:P361 resource:Q160208 . resource:Q17854096 property:P361 resource:Q649746 }
member of the Reichstag of the German Empire Reichstag Weimar National Assembly
action is_in
entity member of the Reichstag of the German Empire
action intersection
action find_reverse
entity Reichstag
relation part of
action find_reverse
entity Weimar National Assembly
relation part of
['member of the Reichstag of the German Empire', 'part of', 'Reichstag'] ['member of the Reichstag of the German Empire', 'part of', 'Weimar National Assembly']
ASK WHERE { resource:member_of_the_Reichstag_of_the_German_Empire property:part_of resource:Reichstag . resource:member_of_the_Reichstag_of_the_German_Empire property:part_of resource:Weimar_National_Assembly }
[]
assembly
SYSTEM
YES and NO respectively
(Q17854096,P361,Q160208) (Q17854096,P361,Q649746)
action is_in
entity Q17854096
action intersection
action find_reverse
entity Q160208
relation P361
action find_reverse
entity Q649746
relation P361
[ANSWER]
['Q17854096', 'P361', 'Q160208'] ['Q17854096', 'P361', 'Q649746']
ASK WHERE { resource:Q17854096 property:P361 resource:Q160208 . resource:Q17854096 property:P361 resource:Q649746 }
YES and NO respectively
action is_in
entity member of the Reichstag of the German Empire
action intersection
action find_reverse
entity Reichstag
relation part of
action find_reverse
entity Weimar National Assembly
relation part of
['member of the Reichstag of the German Empire', 'part of', 'Reichstag'] ['member of the Reichstag of the German Empire', 'part of', 'Weimar National Assembly']
ASK WHERE { resource:member_of_the_Reichstag_of_the_German_Empire property:part_of resource:Reichstag . resource:member_of_the_Reichstag_of_the_German_Empire property:part_of resource:Weimar_National_Assembly }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q694299 Q103955
P488
Q502895
USER
Was Gustav Stresemann the chairperson of National Liberal Party ?
(Q694299,P488,Q103955)
action is_in
entity Q103955
action find
entity Q694299
relation P488
['Q694299', 'P488', 'Q103955']
ASK WHERE { resource:Q694299 property:P488 resource:Q103955 }
National Liberal Party Gustav Stresemann
action is_in
entity Gustav Stresemann
action find
entity National Liberal Party
relation chairperson
['National Liberal Party', 'chairperson', 'Gustav Stresemann']
ASK WHERE { resource:National_Liberal_Party property:chairperson resource:Gustav_Stresemann }
[]
common name
SYSTEM
YES
(Q694299,P488,Q103955)
action is_in
entity Q103955
action find
entity Q694299
relation P488
[ANSWER]
['Q694299', 'P488', 'Q103955']
ASK WHERE { resource:Q694299 property:P488 resource:Q103955 }
Yes
action is_in
entity Gustav Stresemann
action find
entity National Liberal Party
relation chairperson
['National Liberal Party', 'chairperson', 'Gustav Stresemann']
ASK WHERE { resource:National_Liberal_Party property:chairperson resource:Gustav_Stresemann }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1273284
P937
Q56061
USER
What is the work location of Friedrich von Schauss ?
(Q1273284,P937,c(Q56061))
action filter_type
action find
entity Q1273284
relation P937
type Q56061
['Q1273284', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1273284 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Friedrich von Schauss
action filter_type
action find
entity Friedrich von Schauss
relation work location
type administrative territorial entity
['Friedrich von Schauss', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Friedrich_von_Schauss property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1273284,P937,c(Q56061))
action filter_type
action find
entity Q1273284
relation P937
type Q56061
The work location of Friedrich von Schauss is in [ANSWER]
['Q1273284', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1273284 property:P937 ?s . ?s rdf:type ontology:Q56061 }
Berlin
The work location of Friedrich von Schauss is in Berlin
Berlin
action filter_type
action find
entity Friedrich von Schauss
relation work location
type administrative territorial entity
['Friedrich von Schauss', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Friedrich_von_Schauss property:work_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1273284
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q64,P27,c(Q1048835))
action filter_type
action find
entity Q1273284
relation P27
type Q1048835
['Q64', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1273284 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Friedrich von Schauss
action filter_type
action find
entity Friedrich von Schauss
relation country of citizenship
type political territorial entity
['Berlin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Friedrich_von_Schauss property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q64,P27,c(Q1048835))
action filter_type
action find
entity Q1273284
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q64', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1273284 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity Friedrich von Schauss
relation country of citizenship
type political territorial entity
['Berlin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Friedrich_von_Schauss property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1049
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with less number of political territories than Sudan ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?u ) WHERE { ?c property:P530 ?k . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1049 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?e ) }
Sudan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?u ) WHERE { ?c property:diplomatic_relation ?k . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Sudan property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?e ) }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1049
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with less number of political territories than Sudan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?u ) WHERE { ?c property:P530 ?k . ?c rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1049 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?e ) }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen, Syria and Oman have diplomatic relations with less number of political territories than Sudan
Yemen Syria Oman
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?u ) WHERE { ?c property:diplomatic_relation ?k . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Sudan property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q881
P530
Q1048835 Q15617994
USER
And how about Vietnam?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?b ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Q881 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?a ) }
Vietnam
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Vietnam
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?b ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Vietnam property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?a ) }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?b ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Q881 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?b < ?a ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Vietnam
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?b ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Vietnam property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b < ?a ) }
[]