Simple Question (Direct)
Simple Question
Q3148785
P102
Q7210356
USER
Which political organization is Ilona Jurševska a member of ?
(Q3148785,P102,c(Q7210356))
action filter_type
action find
entity Q3148785
relation P102
type Q7210356
['Q3148785', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q3148785 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Ilona Jurševska
action filter_type
action find
entity Ilona Jurševska
relation member of political party
type political organization
['Ilona Jurševska', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Ilona_Jurševska property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q167928
SYSTEM
Union of Greens and Farmers
Q167928
(Q3148785,P102,c(Q7210356))
action filter_type
action find
entity Q3148785
relation P102
type Q7210356
Party [ANSWER] is Ilona Jurševska a member of
['Q3148785', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q3148785 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Union of Greens and Farmers
Party Union of Greens and Farmers is Ilona Jurševska a member of
Union of Greens and Farmers
action filter_type
action find
entity Ilona Jurševska
relation member of political party
type political organization
['Ilona Jurševska', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Ilona_Jurševska property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3148785
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q167928,P106,c(Q12737077))
action filter_type
action find
entity Q3148785
relation P106
type Q12737077
['Q167928', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3148785 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Ilona Jurševska
action filter_type
action find
entity Ilona Jurševska
relation occupation
type occupation
['Union of Greens and Farmers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ilona_Jurševska property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q167928,P106,c(Q12737077))
action filter_type
action find
entity Q3148785
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q167928', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3148785 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
politician
A politician has that person as his/her 's career
politician
action filter_type
action find
entity Ilona Jurševska
relation occupation
type occupation
['Union of Greens and Farmers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ilona_Jurševska property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P921
Q12737077 Q732577 Q2342494
USER
Which occupations were discussed in greater number of publications or collectables than that occupation ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q732577
type Q2342494
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P921 resource:Q82955 . { VALUES ( ?b ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } . ?n rdf:type ?b } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q732577 } UNION { ?h property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?u } }
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type publication
type collectable
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:main_subject resource:politician . { VALUES ( ?b ) { ( ontology:publication ) ( ontology:collectable ) } . ?n rdf:type ?b } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:main_subject ?u . ?u rdf:type ontology:occupation . ?h rdf:type ontology:publication } UNION { ?h property:main_subject ?u . ?u rdf:type ontology:occupation . ?h rdf:type ontology:collectable } } GROUP BY ?u } }
[]
occupation publication collectable
Q937857 Q16746569 Q39631
SYSTEM
association football player, high school student, physician
Q39631 Q11631 Q937857 Q16746569
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q732577
type Q2342494
Teams [ANSWERS] were discussed in greater number of publications or collectables than that occupation
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P921 resource:Q82955 . { VALUES ( ?b ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } . ?n rdf:type ?b } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q732577 } UNION { ?h property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?u } }
physician astronaut association football player high school student
Teams association football player, high school student and physician were discussed in greater number of publications or collectables than that occupation
association football player high school student physician
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type publication
type collectable
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:main_subject resource:politician . { VALUES ( ?b ) { ( ontology:publication ) ( ontology:collectable ) } . ?n rdf:type ?b } } } . FILTER ( ?c > ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?c ) WHERE { { ?h property:main_subject ?u . ?u rdf:type ontology:occupation . ?h rdf:type ontology:publication } UNION { ?h property:main_subject ?u . ?u rdf:type ontology:occupation . ?h rdf:type ontology:collectable } } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q838948
USER
Which occupations were the main subjects of exactly 1 collectables and works of art 's work ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?i WHERE { { ?p property:P921 ?i . ?p rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q12737077 } UNION { ?p property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q838948 } } GROUP BY ?i } . FILTER ( ?l = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?i WHERE { { ?p property:main_subject ?i . ?p rdf:type ontology:collectable . ?i rdf:type ontology:occupation } UNION { ?p property:main_subject ?i . ?i rdf:type ontology:occupation . ?p rdf:type ontology:work_of_art } } GROUP BY ?i } . FILTER ( ?l = 1 ) }
[]
occupation collectable work of art
Q42973 Q18145518 Q18220900
SYSTEM
architect, Member of the New Zealand House of Representatives, Member of the South Australian House of Assembly
Q15637082 Q911554 Q1124183 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q2961580 Q43845 Q29182 Q131524 Q205375 Q14373094 Q18220900 Q936969 Q245068 Q49757 Q2095549 Q1238570 Q2259532 Q1674312
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 1
[ANSWERS] were the main subjects of exactly 1 collectables and works of art 's work
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?i WHERE { { ?p property:P921 ?i . ?p rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q12737077 } UNION { ?p property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q838948 } } GROUP BY ?i } . FILTER ( ?l = 1 ) }
industrialist business magnate lumberjack writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect taxi driver businessperson bishop entrepreneur inventor rugby league player Member of the South Australian House of Assembly nanny comedian poet aviator political scientist cleric rag-and-bone man
Architect, Member of the New Zealand House of Representatives and Member of the South Australian House of Assembly were the main subjects of exactly 1 collectables and works of art 's work
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 1
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?i WHERE { { ?p property:main_subject ?i . ?p rdf:type ontology:collectable . ?i rdf:type ontology:occupation } UNION { ?p property:main_subject ?i . ?i rdf:type ontology:occupation . ?p rdf:type ontology:work_of_art } } GROUP BY ?i } . FILTER ( ?l = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q167928
P1142
Q7257
USER
Which ideology does Union of Greens and Farmers believe in ?
(Q167928,P1142,c(Q7257))
action filter_type
action find
entity Q167928
relation P1142
type Q7257
['Q167928', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?v WHERE { resource:Q167928 property:P1142 ?v . ?v rdf:type ontology:Q7257 }
Union of Greens and Farmers
action filter_type
action find
entity Union of Greens and Farmers
relation political ideology
type ideology
['Union of Greens and Farmers', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?v WHERE { resource:Union_of_Greens_and_Farmers property:political_ideology ?v . ?v rdf:type ontology:ideology }
[]
ideology
Q492050
SYSTEM
agrarianism
Q492050
(Q167928,P1142,c(Q7257))
action filter_type
action find
entity Q167928
relation P1142
type Q7257
Union of Greens and Farmers believes in [ANSWER]
['Q167928', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?v WHERE { resource:Q167928 property:P1142 ?v . ?v rdf:type ontology:Q7257 }
agrarianism
Union of Greens and Farmers believes in agrarianism
agrarianism
action filter_type
action find
entity Union of Greens and Farmers
relation political ideology
type ideology
['Union of Greens and Farmers', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?v WHERE { resource:Union_of_Greens_and_Farmers property:political_ideology ?v . ?v rdf:type ontology:ideology }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1142
Q7210356 Q766570
USER
How many political organizations and political party in Russias promote that ideology ?
(c(Q7210356),P1142,Q492050) (c(Q766570),P1142,Q492050) (c(Q7210356),P1142,Q492050) (c(Q766570),P1142,Q492050)
action count
action union
action filter_type
action find_reverse
entity Q492050
relation P1142
type Q7210356
action filter_type
action find_reverse
entity Q492050
relation P1142
type Q766570
[{'concept': 'Q7210356'}, 'P1142', 'Q492050'] [{'concept': 'Q766570'}, 'P1142', 'Q492050'] [{'concept': 'Q7210356'}, 'P1142', 'Q492050'] [{'concept': 'Q766570'}, 'P1142', 'Q492050']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:P1142 resource:Q492050 . ?g rdf:type ontology:Q7210356 } UNION { ?g property:P1142 resource:Q492050 . ?g rdf:type ontology:Q766570 } }
action count
action union
action filter_type
action find_reverse
entity agrarianism
relation political ideology
type political organization
action filter_type
action find_reverse
entity agrarianism
relation political ideology
type political party in Russia
[{'concept': 'political organization'}, 'political ideology', 'agrarianism'] [{'concept': 'political party in Russia'}, 'political ideology', 'agrarianism'] [{'concept': 'political organization'}, 'political ideology', 'agrarianism'] [{'concept': 'political party in Russia'}, 'political ideology', 'agrarianism']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:political_ideology resource:agrarianism . ?g rdf:type ontology:political_organization } UNION { ?g property:political_ideology resource:agrarianism . ?g rdf:type ontology:political_party_in_Russia } }
[]
political organization political party in Russia
SYSTEM
31 political organizations and 1 political party in Russias
Q4163584 Q834016 Q3776593 Q1154554 Q3111716 Q2537981 Q2026927 Q944018 Q3776744 Q3825660 Q804936 Q4693753 Q218477 Q2003166 Q4693749 Q396170 Q4693914 Q774470 Q5255541 Q285817 Q167928 Q4415027 Q7158424 Q1216666 Q1251816 Q396033 Q277915 Q396177 Q1470070 Q1474484 Q764717 Q1471199
(c(Q7210356),P1142,Q492050) (c(Q766570),P1142,Q492050) (c(Q7210356),P1142,Q492050) (c(Q766570),P1142,Q492050)
action count
action union
action filter_type
action find_reverse
entity Q492050
relation P1142
type Q7210356
action filter_type
action find_reverse
entity Q492050
relation P1142
type Q766570
[ANSWER]
[{'concept': 'Q7210356'}, 'P1142', 'Q492050'] [{'concept': 'Q766570'}, 'P1142', 'Q492050'] [{'concept': 'Q7210356'}, 'P1142', 'Q492050'] [{'concept': 'Q766570'}, 'P1142', 'Q492050']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:P1142 resource:Q492050 . ?g rdf:type ontology:Q7210356 } UNION { ?g property:P1142 resource:Q492050 . ?g rdf:type ontology:Q766570 } }
Cartago Agrarian Union Party Bulgarian Agrarian National Union Agrarian Party of Moldova Polish People's Party "Wyzwolenie" Party for European Future United People's Party Party of Regions Clann na Talmhan Farmers' Party Stronnictwo Chłopskie Agrarian People's Union Agrarian Party Polish People's Party People's Party Agrarian Labor Party Agrarian Party of Russia Agricultural Party of Greece People's Union of Estonia Democratic Agrarian Party Lithuanian Peasant and Greens Union Union of Greens and Farmers Peasant Party of Ukraine Peasants' Party National Peasant Party Croatian Democratic Peasant Party Environmentalist Agrarian Party Landbund Agrarian Party Ploughmen's Front Latvian Farmers' Union Agrarian Union "Aleksandar Stamboliyski" Polish People's Party "Piast"
31 political organizations and 1 political party in Russias
action count
action union
action filter_type
action find_reverse
entity agrarianism
relation political ideology
type political organization
action filter_type
action find_reverse
entity agrarianism
relation political ideology
type political party in Russia
[{'concept': 'political organization'}, 'political ideology', 'agrarianism'] [{'concept': 'political party in Russia'}, 'political ideology', 'agrarianism'] [{'concept': 'political organization'}, 'political ideology', 'agrarianism'] [{'concept': 'political party in Russia'}, 'political ideology', 'agrarianism']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { { ?g property:political_ideology resource:agrarianism . ?g rdf:type ontology:political_organization } UNION { ?g property:political_ideology resource:agrarianism . ?g rdf:type ontology:political_party_in_Russia } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q14750328 Q3148785
P27 P17
Q15617994
USER
Which administrative territories are Ilona Jurševska a civilian of or are Tambakan a part of ?
OR((Q3148785,P27,c(Q15617994)), (Q14750328,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3148785
relation P27
action find
entity Q14750328
relation P17
type Q15617994
{'OR': [['Q3148785', 'P27', {'concept': 'Q15617994'}], ['Q14750328', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q14750328 property:P17 ?k } UNION { resource:Q3148785 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Tambakan Ilona Jurševska
action filter_type
action union
action find
entity Ilona Jurševska
relation country of citizenship
action find
entity Tambakan
relation country
type designation for an administrative territorial entity
{'OR': [['Ilona Jurševska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tambakan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tambakan property:country ?k } UNION { resource:Ilona_Jurševska property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q252
SYSTEM
Latvia, Indonesia
Q211 Q252
OR((Q3148785,P27,c(Q15617994)), (Q14750328,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3148785
relation P27
action find
entity Q14750328
relation P17
type Q15617994
[ANSWERS] are Ilona Jurševska a civilian of or are Tambakan a part of
{'OR': [['Q3148785', 'P27', {'concept': 'Q15617994'}], ['Q14750328', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q14750328 property:P17 ?k } UNION { resource:Q3148785 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Latvia Indonesia
Latvia and Indonesia are Ilona Jurševska a civilian of or are Tambakan a part of
Latvia Indonesia
action filter_type
action union
action find
entity Ilona Jurševska
relation country of citizenship
action find
entity Tambakan
relation country
type designation for an administrative territorial entity
{'OR': [['Ilona Jurševska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tambakan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tambakan property:country ?k } UNION { resource:Ilona_Jurševska property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]