Simple Question (Direct)
Simple Question
Q2736516
P166
Q618779
USER
Which awards were Josef Werner Bauer awarded with ?
(Q2736516,P166,c(Q618779))
action filter_type
action find
entity Q2736516
relation P166
type Q618779
['Q2736516', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q618779 . resource:Q2736516 property:P166 ?h }
Josef Werner Bauer
action filter_type
action find
entity Josef Werner Bauer
relation award received
type award
['Josef Werner Bauer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:award . resource:Josef_Werner_Bauer property:award_received ?h }
[]
award
Q672787 Q10905334
SYSTEM
Bavarian Order of Merit, Officer's Cross of the Order of Merit of the Federal Republic of Germany
Q672787 Q10905334
(Q2736516,P166,c(Q618779))
action filter_type
action find
entity Q2736516
relation P166
type Q618779
Josef Werner Bauer were awarded the [ANSWERS]
['Q2736516', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q618779 . resource:Q2736516 property:P166 ?h }
Bavarian Order of Merit Officer's Cross of the Order of Merit of the Federal Republic of Germany
Josef Werner Bauer were awarded the Bavarian Order of Merit and Officer's Cross of the Order of Merit of the Federal Republic of Germany
Bavarian Order of Merit Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Josef Werner Bauer
relation award received
type award
['Josef Werner Bauer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:award . resource:Josef_Werner_Bauer property:award_received ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736516
P102
Q7210356
USER
Which party does that person belong to ?
(Q672787,P102,c(Q7210356)) (Q10905334,P102,c(Q7210356))
action filter_type
action find
entity Q2736516
relation P102
type Q7210356
['Q672787', 'P102', {'concept': 'Q7210356'}] ['Q10905334', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . resource:Q2736516 property:P102 ?t }
Josef Werner Bauer
action filter_type
action find
entity Josef Werner Bauer
relation member of political party
type political organization
['Bavarian Order of Merit', 'member of political party', {'concept': 'political organization'}] ["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . resource:Josef_Werner_Bauer property:member_of_political_party ?t }
[]
political organization
Q49763
SYSTEM
Christian Social Union of Bavaria
Q49763
(Q672787,P102,c(Q7210356)) (Q10905334,P102,c(Q7210356))
action filter_type
action find
entity Q2736516
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q672787', 'P102', {'concept': 'Q7210356'}] ['Q10905334', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q7210356 . resource:Q2736516 property:P102 ?t }
Christian Social Union of Bavaria
That person belongs to Christian Social Union of Bavaria
Christian Social Union of Bavaria
action filter_type
action find
entity Josef Werner Bauer
relation member of political party
type political organization
['Bavarian Order of Merit', 'member of political party', {'concept': 'political organization'}] ["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_organization . resource:Josef_Werner_Bauer property:member_of_political_party ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49763
P1142
Q7257
USER
Which ideology does that political organization believe in ?
(Q49763,P1142,c(Q7257))
action filter_type
action find
entity Q49763
relation P1142
type Q7257
['Q49763', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7257 . resource:Q49763 property:P1142 ?u }
Christian Social Union of Bavaria
action filter_type
action find
entity Christian Social Union of Bavaria
relation political ideology
type ideology
['Christian Social Union of Bavaria', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:ideology . resource:Christian_Social_Union_of_Bavaria property:political_ideology ?u }
[]
ideology
Q209158
SYSTEM
Christian democracy
Q209158
(Q49763,P1142,c(Q7257))
action filter_type
action find
entity Q49763
relation P1142
type Q7257
That political organization believes in [ANSWER]
['Q49763', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7257 . resource:Q49763 property:P1142 ?u }
Christian democracy
That political organization believes in Christian democracy
Christian democracy
action filter_type
action find
entity Christian Social Union of Bavaria
relation political ideology
type ideology
['Christian Social Union of Bavaria', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:ideology . resource:Christian_Social_Union_of_Bavaria property:political_ideology ?u }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1348513
Q7257
USER
And what about China Democratic League?
(Q1348513,P1142,c(Q7257))
action filter_type
action find
entity Q1348513
relation P1142
type Q7257
['Q1348513', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?p WHERE { resource:Q1348513 property:P1142 ?p . ?p rdf:type ontology:Q7257 }
China Democratic League
action filter_type
action find
entity China Democratic League
relation political ideology
type ideology
['China Democratic League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?p WHERE { resource:China_Democratic_League property:political_ideology ?p . ?p rdf:type ontology:ideology }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
(Q1348513,P1142,c(Q7257))
action filter_type
action find
entity Q1348513
relation P1142
type Q7257
[ANSWER]
['Q1348513', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?p WHERE { resource:Q1348513 property:P1142 ?p . ?p rdf:type ontology:Q7257 }
social democracy
social democracy
action filter_type
action find
entity China Democratic League
relation political ideology
type ideology
['China Democratic League', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?p WHERE { resource:China_Democratic_League property:political_ideology ?p . ?p rdf:type ontology:ideology }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6952555
P1027
Q502895 Q3918 Q618779
USER
How many awards are granted by more number of people and universities than NAS Award for Initiatives in Research ?
(c(Q618779),P1027,c(Q502895)|c(Q3918))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action find_tuple_counts
relation P1027
type Q618779
type Q3918
action count
action filter_multi_types
action find
entity Q6952555
relation P1027
type Q502895
type Q3918
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q502895'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q3918 ) ( ontology:Q502895 ) } . ?c rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q3918 ) } } . resource:Q6952555 property:P1027 ?y } } . FILTER ( ?i > ?s ) }
NAS Award for Initiatives in Research
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type common name
action find_tuple_counts
relation conferred by
type award
type university
action count
action filter_multi_types
action find
entity NAS Award for Initiatives in Research
relation conferred by
type common name
type university
[{'concept': 'award'}, 'conferred by', [{'concept': 'common name'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?z WHERE { VALUES ( ?b ) { ( ontology:university ) ( ontology:common_name ) } . ?c rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:common_name ) ( ontology:university ) } } . resource:NAS_Award_for_Initiatives_in_Research property:conferred_by ?y } } . FILTER ( ?i > ?s ) }
[]
common name university award
SYSTEM
4
Q15843622 Q4679816 Q16209317 Q699538
(c(Q618779),P1027,c(Q502895)|c(Q3918))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action find_tuple_counts
relation P1027
type Q618779
type Q3918
action count
action filter_multi_types
action find
entity Q6952555
relation P1027
type Q502895
type Q3918
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q502895'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?z WHERE { VALUES ( ?b ) { ( ontology:Q3918 ) ( ontology:Q502895 ) } . ?c rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q3918 ) } } . resource:Q6952555 property:P1027 ?y } } . FILTER ( ?i > ?s ) }
SS Honor Dagger Adam Smith Prize Courage Award for the Arts SS-Ehrenring
4
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type common name
action find_tuple_counts
relation conferred by
type award
type university
action count
action filter_multi_types
action find
entity NAS Award for Initiatives in Research
relation conferred by
type common name
type university
[{'concept': 'award'}, 'conferred by', [{'concept': 'common name'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) ?z WHERE { VALUES ( ?b ) { ( ontology:university ) ( ontology:common_name ) } . ?c rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:common_name ) ( ontology:university ) } } . resource:NAS_Award_for_Initiatives_in_Research property:conferred_by ?y } } . FILTER ( ?i > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q4286925
P1027
Q502895 Q3918 Q618779
USER
And how about Medal for Long Marital Life?
(c(Q618779),P1027,c(Q502895)|c(Q3918))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action find_tuple_counts
relation P1027
type Q618779
type Q3918
action count
action filter_multi_types
action find
entity Q4286925
relation P1027
type Q502895
type Q3918
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q502895'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q3918 ) } } . resource:Q4286925 property:P1027 ?z } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { { ?s property:P1027 ?f . ?s rdf:type ontology:Q618779 . ?f rdf:type ontology:Q502895 } UNION { ?s property:P1027 ?f . ?s rdf:type ontology:Q618779 . ?f rdf:type ontology:Q3918 } } GROUP BY ?s } }
Medal for Long Marital Life
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type common name
action find_tuple_counts
relation conferred by
type award
type university
action count
action filter_multi_types
action find
entity Medal for Long Marital Life
relation conferred by
type common name
type university
[{'concept': 'award'}, 'conferred by', [{'concept': 'common name'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:common_name ) ( ontology:university ) } } . resource:Medal_for_Long_Marital_Life property:conferred_by ?z } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { { ?s property:conferred_by ?f . ?s rdf:type ontology:award . ?f rdf:type ontology:common_name } UNION { ?s property:conferred_by ?f . ?s rdf:type ontology:award . ?f rdf:type ontology:university } } GROUP BY ?s } }
[]
common name university award
SYSTEM
4
Q15843622 Q4679816 Q16209317 Q699538
(c(Q618779),P1027,c(Q502895)|c(Q3918))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q502895
action find_tuple_counts
relation P1027
type Q618779
type Q3918
action count
action filter_multi_types
action find
entity Q4286925
relation P1027
type Q502895
type Q3918
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q502895'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q3918 ) } } . resource:Q4286925 property:P1027 ?z } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { { ?s property:P1027 ?f . ?s rdf:type ontology:Q618779 . ?f rdf:type ontology:Q502895 } UNION { ?s property:P1027 ?f . ?s rdf:type ontology:Q618779 . ?f rdf:type ontology:Q3918 } } GROUP BY ?s } }
SS Honor Dagger Adam Smith Prize Courage Award for the Arts SS-Ehrenring
4
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type common name
action find_tuple_counts
relation conferred by
type award
type university
action count
action filter_multi_types
action find
entity Medal for Long Marital Life
relation conferred by
type common name
type university
[{'concept': 'award'}, 'conferred by', [{'concept': 'common name'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { FILTER ( ?t > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:common_name ) ( ontology:university ) } } . resource:Medal_for_Long_Marital_Life property:conferred_by ?z } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { { ?s property:conferred_by ?f . ?s rdf:type ontology:award . ?f rdf:type ontology:common_name } UNION { ?s property:conferred_by ?f . ?s rdf:type ontology:award . ?f rdf:type ontology:university } } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10905334
P17
Q1048835
USER
Which political territory is Officer's Cross of the Order of Merit of the Federal Republic of Germany a part of ?
(Q10905334,P17,c(Q1048835))
action filter_type
action find
entity Q10905334
relation P17
type Q1048835
['Q10905334', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q10905334 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Officer's Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
relation country
type political territorial entity
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q10905334,P17,c(Q1048835))
action filter_type
action find
entity Q10905334
relation P17
type Q1048835
[ANSWER] is Officer's Cross of the Order of Merit of the Federal Republic of [ANSWER] a part of
['Q10905334', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q10905334 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Germany
Germany is Officer's Cross of the Order of Merit of the Federal Republic of Germany a part of
Germany
action filter_type
action find
entity Officer's Cross of the Order of Merit of the Federal Republic of Germany
relation country
type political territorial entity
["Officer's Cross of the Order of Merit of the Federal Republic of Germany", 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Officer's_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5067915
Q1048835
USER
And how about Chain Valley Colliery?
(Q5067915,P17,c(Q1048835))
action filter_type
action find
entity Q5067915
relation P17
type Q1048835
['Q5067915', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q5067915 property:P17 ?h }
Chain Valley Colliery
action filter_type
action find
entity Chain Valley Colliery
relation country
type political territorial entity
['Chain Valley Colliery', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Chain_Valley_Colliery property:country ?h }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q5067915,P17,c(Q1048835))
action filter_type
action find
entity Q5067915
relation P17
type Q1048835
[ANSWER]
['Q5067915', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q5067915 property:P17 ?h }
Australia
Australia
action filter_type
action find
entity Chain Valley Colliery
relation country
type political territorial entity
['Chain Valley Colliery', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Chain_Valley_Colliery property:country ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2712657
P1142
Q7257 Q7210356 Q7278
USER
Which ideologies are the political ideologies of lesser number of political organizations and political parties than Anti-Revisionism ?
(c(Q7210356)|c(Q7278),P1142,c(Q7257))
action less
action union
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7210356
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7278
action count
action filter_multi_types
action find_reverse
entity Q2712657
relation P1142
type Q7210356
type Q7278
[[{'concept': 'Q7210356'}, {'concept': 'Q7278'}], 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P1142 resource:Q2712657 . { VALUES ( ?g ) { ( ontology:Q7210356 ) ( ontology:Q7278 ) } . ?x rdf:type ?g } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7278 ) ( ontology:Q7210356 ) } } GROUP BY ?m } }
Anti-Revisionism
action less
action union
action find_reverse_tuple_counts
relation political ideology
type ideology
type political organization
action find_reverse_tuple_counts
relation political ideology
type ideology
type political party
action count
action filter_multi_types
action find_reverse
entity Anti-Revisionism
relation political ideology
type political organization
type political party
[[{'concept': 'political organization'}, {'concept': 'political party'}], 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:political_ideology resource:Anti-Revisionism . { VALUES ( ?g ) { ( ontology:political_organization ) ( ontology:political_party ) } . ?x rdf:type ?g } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:political_party ) ( ontology:political_organization ) } } GROUP BY ?m } }
[]
ideology political organization political party
Q505605 Q747081 Q58848
SYSTEM
Open society, Italian Fascism, pacifism
Q2556608 Q2252089 Q1074954 Q7522219 Q2394819 Q1989705 Q831126 Q250598 Q1206403 Q1143021 Q6540896 Q3301382 Q834554 Q1728959 Q14850797 Q188958 Q6068152 Q729080 Q11900614 Q3516910 Q7843904 Q592832 Q747081 Q2019152 Q24276376 Q2420666 Q766499 Q1331440 Q381255 Q698752 Q1066224 Q7248834 Q1086839 Q15136979 Q4969961 Q2670915 Q571627 Q6375174 Q3085239 Q10335829 Q15986535 Q3571507 Q611217 Q83280 Q4390210 Q7785048 Q3336971 Q5968650 Q564999 Q210890 Q679189 Q5974750 Q58848 Q4852443 Q979616 Q24579442 Q322294 Q1921434 Q192139 Q231915 Q127393 Q607708 Q190656 Q179121 Q7664526 Q1399359 Q3336993 Q188993 Q2096772 Q5326684 Q831192 Q2361860 Q1994374 Q810220 Q430032 Q3380905 Q212983 Q1150339 Q7229732 Q8813 Q716341 Q505605 Q4855479 Q624284 Q191442 Q166807 Q118365
(c(Q7210356)|c(Q7278),P1142,c(Q7257))
action less
action union
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7210356
action find_reverse_tuple_counts
relation P1142
type Q7257
type Q7278
action count
action filter_multi_types
action find_reverse
entity Q2712657
relation P1142
type Q7210356
type Q7278
[ANSWERS] are the political ideologies of lesser number of political organizations and political parties than Anti-Revisionism
[[{'concept': 'Q7210356'}, {'concept': 'Q7278'}], 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:P1142 resource:Q2712657 . { VALUES ( ?g ) { ( ontology:Q7210356 ) ( ontology:Q7278 ) } . ?x rdf:type ?g } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7278 ) ( ontology:Q7210356 ) } } GROUP BY ?m } }
Blaverism Sandinismo Paleoconservatism Sindhi nationalism Ulster loyalism Agorism Democratic capitalism Right-libertarianism German nationalism in Austria developmentalism Liberalism in Cuba Pakistani nationalism Political catholicism one-nation conservatism political radicalism egalitarianism Iraqi nationalism Democratic liberalism left-wing populism techno-progressivism Tripuri nationalism Integralism Italian Fascism Religious nationalism German minority politics Socialist feminism Cantonalism Japanese nationalism American nationalism White supremacy Left communism Progressive conservatism Popolarismo Hungarian nationalism British Fascism Welsh nationalism National Bolshevism Katarismo Federal republicanism Navarrism National Democracy Cantabrism degrowth Pan-Turkism Liberalism in South Korea Third camp English nationalism Labourism Andalusian nationalism Francoism Carlism Liberalismo social pacifism Baloch nationalism Melanesian socialism Anti-particracy statism Chinese New Left neoconservatism Two-nation theory autonomism Valencian nationalism multiculturalism Stalinism Szeged Idea Neo-Zionism Scottish nationalism anarcho-syndicalism National Catholicism Early Malay nationalism Left libertarianism Aragonese nationalism Egyptian nationalism grassroots democracy Pan-Islamism Salafi jihadism Jacobitism Islamic socialism popular socialism Bolivarianism Korean nationalism Open society Bangladeshi nationalism Arab socialism Antiglobalization Kirchnerism dictatorship of the proletariat
Open society, Italian Fascism and pacifism are the political ideologies of lesser number of political organizations and political parties than Anti-Revisionism
Open society Italian Fascism pacifism
action less
action union
action find_reverse_tuple_counts
relation political ideology
type ideology
type political organization
action find_reverse_tuple_counts
relation political ideology
type ideology
type political party
action count
action filter_multi_types
action find_reverse
entity Anti-Revisionism
relation political ideology
type political organization
type political party
[[{'concept': 'political organization'}, {'concept': 'political party'}], 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { ?x property:political_ideology resource:Anti-Revisionism . { VALUES ( ?g ) { ( ontology:political_organization ) ( ontology:political_party ) } . ?x rdf:type ?g } } } . FILTER ( ?v < ?c ) . { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?v ) WHERE { ?i rdf:type ?p . VALUES ( ?p ) { ( ontology:political_party ) ( ontology:political_organization ) } } GROUP BY ?m } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3528082 Q1348513
P159
Q56061
USER
Which administrative territories are the HQ of China Democratic League or Saravana Bhavan ?
OR((Q1348513,P159,c(Q56061)), (Q3528082,P159,c(Q56061)))
action filter_type
action union
action find
entity Q1348513
relation P159
action find
entity Q3528082
relation P159
type Q56061
{'OR': [['Q1348513', 'P159', {'concept': 'Q56061'}], ['Q3528082', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q1348513 property:P159 ?w } UNION { resource:Q3528082 property:P159 ?w } } }
Saravana Bhavan China Democratic League
action filter_type
action union
action find
entity China Democratic League
relation headquarters location
action find
entity Saravana Bhavan
relation headquarters location
type administrative territorial entity
{'OR': [['China Democratic League', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Saravana Bhavan', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:China_Democratic_League property:headquarters_location ?w } UNION { resource:Saravana_Bhavan property:headquarters_location ?w } } }
[]
administrative territorial entity
Q1352 Q956
SYSTEM
Chennai, Beijing
Q1352 Q956
OR((Q1348513,P159,c(Q56061)), (Q3528082,P159,c(Q56061)))
action filter_type
action union
action find
entity Q1348513
relation P159
action find
entity Q3528082
relation P159
type Q56061
[ANSWERS] are the HQ of China Democratic League or Saravana Bhavan
{'OR': [['Q1348513', 'P159', {'concept': 'Q56061'}], ['Q3528082', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q1348513 property:P159 ?w } UNION { resource:Q3528082 property:P159 ?w } } }
Chennai Beijing
Chennai and Beijing are the HQ of China Democratic League or Saravana Bhavan
Chennai Beijing
action filter_type
action union
action find
entity China Democratic League
relation headquarters location
action find
entity Saravana Bhavan
relation headquarters location
type administrative territorial entity
{'OR': [['China Democratic League', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Saravana Bhavan', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:China_Democratic_League property:headquarters_location ?w } UNION { resource:Saravana_Bhavan property:headquarters_location ?w } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1352 Q956
P159
Q7210356
USER
Which political organizations have the principal seat at those administrative territories ?
(c(Q7210356),P159,Q1352) (c(Q7210356),P159,Q956)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q1352'] [{'concept': 'Q7210356'}, 'P159', 'Q956']
SELECT DISTINCT ?l WHERE { ?l property:P159 ?h . VALUES ( ?h ) { ( resource:Q1352 ) ( resource:Q956 ) } . ?l rdf:type ontology:Q7210356 }
Chennai Beijing
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Chennai'] [{'concept': 'political organization'}, 'headquarters location', 'Beijing']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location ?h . VALUES ( ?h ) { ( resource:Chennai ) ( resource:Beijing ) } . ?l rdf:type ontology:political_organization }
[]
political organization
Q1255973 Q1202612 Q651141
SYSTEM
Dravida Munnetra Kazhagam, Revolutionary Committee of the Kuomintang, All India Anna Dravida Munnetra Kazhagam
Q1887353 Q651141 Q1255973 Q11160354 Q1133626 Q1133577 Q197765 Q1185348 Q1185330 Q1202612 Q1348513 Q1133583
(c(Q7210356),P159,Q1352) (c(Q7210356),P159,Q956)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q7210356
[ANSWERS] have the principal seat at those administrative territories
[{'concept': 'Q7210356'}, 'P159', 'Q1352'] [{'concept': 'Q7210356'}, 'P159', 'Q956']
SELECT DISTINCT ?l WHERE { ?l property:P159 ?h . VALUES ( ?h ) { ( resource:Q1352 ) ( resource:Q956 ) } . ?l rdf:type ontology:Q7210356 }
Pattali Makkal Katchi All India Anna Dravida Munnetra Kazhagam Dravida Munnetra Kazhagam Justice Party (India) Chinese Peasants' and Workers' Democratic Party China Democratic National Construction Association China Zhi Gong Party Jiusan Society Taiwan Democratic Self-Government League Revolutionary Committee of the Kuomintang China Democratic League China Association for Promoting Democracy
Dravida Munnetra Kazhagam, Revolutionary Committee of the Kuomintang and All India Anna Dravida Munnetra Kazhagam have the principal seat at those administrative territories
Dravida Munnetra Kazhagam Revolutionary Committee of the Kuomintang All India Anna Dravida Munnetra Kazhagam
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Chennai'] [{'concept': 'political organization'}, 'headquarters location', 'Beijing']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location ?h . VALUES ( ?h ) { ( resource:Chennai ) ( resource:Beijing ) } . ?l rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1255973 Q1202612 Q651141
P17
Q15617994
USER
Which administrative territories are Dravida Munnetra Kazhagam, Revolutionary Committee of the Kuomintang and All India Anna Dravida Munnetra Kazhagam located in ?
(Q1255973,P17,c(Q15617994)) (Q1202612,P17,c(Q15617994)) (Q651141,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1255973
relation P17
type Q15617994
action filter_type
action find
entity Q1202612
relation P17
type Q15617994
action filter_type
action find
entity Q651141
relation P17
type Q15617994
['Q1255973', 'P17', {'concept': 'Q15617994'}] ['Q1202612', 'P17', {'concept': 'Q15617994'}] ['Q651141', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?t ) { ( resource:Q1255973 ) ( resource:Q1202612 ) } . ?t property:P17 ?b }
Dravida Munnetra Kazhagam Revolutionary Committee of the Kuomintang All India Anna Dravida Munnetra Kazhagam
action union
action filter_type
action find
entity Dravida Munnetra Kazhagam
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Revolutionary Committee of the Kuomintang
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity All India Anna Dravida Munnetra Kazhagam
relation country
type designation for an administrative territorial entity
['Dravida Munnetra Kazhagam', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Revolutionary Committee of the Kuomintang', 'country', {'concept': 'designation for an administrative territorial entity'}] ['All India Anna Dravida Munnetra Kazhagam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?t ) { ( resource:Dravida_Munnetra_Kazhagam ) ( resource:Revolutionary_Committee_of_the_Kuomintang ) } . ?t property:country ?b }
[]
designation for an administrative territorial entity
Q668 Q148 Q668
SYSTEM
People's Republic of China for 2nd, India for 1st, 3rd
Q668 Q148 Q668
(Q1255973,P17,c(Q15617994)) (Q1202612,P17,c(Q15617994)) (Q651141,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1255973
relation P17
type Q15617994
action filter_type
action find
entity Q1202612
relation P17
type Q15617994
action filter_type
action find
entity Q651141
relation P17
type Q15617994
[ANSWERS]
['Q1255973', 'P17', {'concept': 'Q15617994'}] ['Q1202612', 'P17', {'concept': 'Q15617994'}] ['Q651141', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?t ) { ( resource:Q1255973 ) ( resource:Q1202612 ) } . ?t property:P17 ?b }
India People's Republic of China India
India, People's Republic of China and India are Dravida Munnetra Kazhagam, Revolutionary Committee of the Kuomintang and All India Anna Dravida Munnetra Kazhagam located in
India People's Republic of China India
action union
action filter_type
action find
entity Dravida Munnetra Kazhagam
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Revolutionary Committee of the Kuomintang
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity All India Anna Dravida Munnetra Kazhagam
relation country
type designation for an administrative territorial entity
['Dravida Munnetra Kazhagam', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Revolutionary Committee of the Kuomintang', 'country', {'concept': 'designation for an administrative territorial entity'}] ['All India Anna Dravida Munnetra Kazhagam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?t ) { ( resource:Dravida_Munnetra_Kazhagam ) ( resource:Revolutionary_Committee_of_the_Kuomintang ) } . ?t property:country ?b }
[]