Simple Question (Direct)
Simple Question
Q96293
P102
Q7278
USER
Which political party is Bernd Althusmann a member of ?
(Q96293,P102,c(Q7278))
action filter_type
action find
entity Q96293
relation P102
type Q7278
['Q96293', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7278 . resource:Q96293 property:P102 ?s }
Bernd Althusmann
action filter_type
action find
entity Bernd Althusmann
relation member of political party
type political party
['Bernd Althusmann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_party . resource:Bernd_Althusmann property:member_of_political_party ?s }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q96293,P102,c(Q7278))
action filter_type
action find
entity Q96293
relation P102
type Q7278
Party [ANSWER] is Bernd Althusmann a member of
['Q96293', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7278 . resource:Q96293 property:P102 ?s }
Christian Democratic Union
Party Christian Democratic Union is Bernd Althusmann a member of
Christian Democratic Union
action filter_type
action find
entity Bernd Althusmann
relation member of political party
type political party
['Bernd Althusmann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_party . resource:Bernd_Althusmann property:member_of_political_party ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96293
P937
Q56061
USER
Which is the work location of that person ?
(Q49762,P937,c(Q56061))
action filter_type
action find
entity Q96293
relation P937
type Q56061
['Q49762', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q96293 property:P937 ?o }
Bernd Althusmann
action filter_type
action find
entity Bernd Althusmann
relation work location
type administrative territorial entity
['Christian Democratic Union', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Bernd_Althusmann property:work_location ?o }
[]
administrative territorial entity
Q1715
SYSTEM
Hanover
Q1715
(Q49762,P937,c(Q56061))
action filter_type
action find
entity Q96293
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q49762', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q96293 property:P937 ?o }
Hanover
The work location of that person is in Hanover
Hanover
action filter_type
action find
entity Bernd Althusmann
relation work location
type administrative territorial entity
['Christian Democratic Union', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Bernd_Althusmann property:work_location ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1715 Q5065422
P937
Q502895
USER
Does Cesar Catli work at that administrative territory ?
(Q5065422,P937,Q1715)
action is_in
entity Q5065422
action find
entity Q1715
relation P937
['Q5065422', 'P937', 'Q1715']
ASK WHERE { resource:Q1715 property:P937 resource:Q5065422 }
Hanover Cesar Catli
action is_in
entity Cesar Catli
action find
entity Hanover
relation work location
['Cesar Catli', 'work location', 'Hanover']
ASK WHERE { resource:Hanover property:work_location resource:Cesar_Catli }
[]
common name
SYSTEM
NO
(Q5065422,P937,Q1715)
action is_in
entity Q5065422
action find
entity Q1715
relation P937
[ANSWER]
['Q5065422', 'P937', 'Q1715']
ASK WHERE { resource:Q1715 property:P937 resource:Q5065422 }
No
action is_in
entity Cesar Catli
action find
entity Hanover
relation work location
['Cesar Catli', 'work location', 'Hanover']
ASK WHERE { resource:Hanover property:work_location resource:Cesar_Catli }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1715
P840
Q838948
USER
Which work of art has its setting located at that administrative territory ?
action filter_type
action find_reverse
entity Q1715
relation P840
type Q838948
SELECT DISTINCT ?b WHERE { ?b property:P840 resource:Q1715 . ?b rdf:type ontology:Q838948 }
Hanover
action filter_type
action find_reverse
entity Hanover
relation narrative location
type work of art
SELECT DISTINCT ?b WHERE { ?b property:narrative_location resource:Hanover . ?b rdf:type ontology:work_of_art }
[]
work of art
Q1372318
SYSTEM
Yella
Q1372318
action filter_type
action find_reverse
entity Q1715
relation P840
type Q838948
[ANSWER] has its setting located at that administrative territory
SELECT DISTINCT ?b WHERE { ?b property:P840 resource:Q1715 . ?b rdf:type ontology:Q838948 }
Yella
Yella has its setting located at that administrative territory
Yella
action filter_type
action find_reverse
entity Hanover
relation narrative location
type work of art
SELECT DISTINCT ?b WHERE { ?b property:narrative_location resource:Hanover . ?b rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1372318 Q1758966
P495
Q1048835
USER
Is Caibi the country of origin of that work of art ?
(Q1372318,P495,Q1758966)
action is_in
entity Q1758966
action find
entity Q1372318
relation P495
['Q1372318', 'P495', 'Q1758966']
ASK WHERE { resource:Q1372318 property:P495 resource:Q1758966 }
Yella Caibi
action is_in
entity Caibi
action find
entity Yella
relation country of origin
['Yella', 'country of origin', 'Caibi']
ASK WHERE { resource:Yella property:country_of_origin resource:Caibi }
[]
political territorial entity
SYSTEM
NO
(Q1372318,P495,Q1758966)
action is_in
entity Q1758966
action find
entity Q1372318
relation P495
[ANSWER]
['Q1372318', 'P495', 'Q1758966']
ASK WHERE { resource:Q1372318 property:P495 resource:Q1758966 }
No
action is_in
entity Caibi
action find
entity Yella
relation country of origin
['Yella', 'country of origin', 'Caibi']
ASK WHERE { resource:Yella property:country_of_origin resource:Caibi }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q7257 Q1047113 Q7278
USER
Which political parties promote around 1 ideologies or special fields ?
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
value 1
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?p WHERE { { ?p property:P1142 ?i . ?i rdf:type ontology:Q7257 . ?p rdf:type ontology:Q7278 } UNION { ?p property:P1142 ?i . ?i rdf:type ontology:Q1047113 . ?p rdf:type ontology:Q7278 } } GROUP BY ?p } . FILTER ( ?l = 1 ) }
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
value 1
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?p WHERE { { ?p property:political_ideology ?i . ?i rdf:type ontology:ideology . ?p rdf:type ontology:political_party } UNION { ?p property:political_ideology ?i . ?i rdf:type ontology:special_field . ?p rdf:type ontology:political_party } } GROUP BY ?p } . FILTER ( ?l = 1 ) }
[]
ideology special field political party
Q662502 Q17427 Q185088
SYSTEM
Federation of the Greens, Communist Party of China, People's Party
Q3395191 Q280906 Q3121556 Q950179 Q781486 Q3751152 Q5154286 Q852329 Q8960633 Q1778910 Q3499324 Q2576679 Q605468 Q3395560 Q1422942 Q438783 Q6063944 Q1445096 Q2531228 Q25079 Q2885750 Q587803 Q385543 Q3322686 Q43093 Q2031569 Q3366659 Q3133199 Q1104327 Q368067 Q980471 Q3573249 Q2395103 Q3306235 Q49758 Q2366462 Q3307042 Q2395467 Q155820 Q1278980 Q5033985 Q79854 Q1987660 Q3296785 Q3324157 Q2866675 Q371402 Q641600 Q3045391 Q1276239 Q49621 Q9056182 Q3327144 Q549209 Q4894568 Q3313706 Q713302 Q1437906 Q3306974 Q617603 Q537649 Q185088 Q325413 Q202649 Q584040 Q1737170 Q3328003 Q1125061 Q2257766 Q217009 Q2118395 Q3313721 Q1377195 Q2838243 Q9056254 Q1153753 Q3326408 Q3327113 Q7309255 Q2749535 Q2733414 Q1786349 Q2876738 Q9056440 Q1089640 Q3322790 Q1577483 Q6064176 Q4753534 Q662502 Q576518 Q794247 Q3751189 Q220945 Q777074 Q2165306 Q3750882 Q209546 Q659739 Q3320917 Q9669 Q5154414 Q883448 Q4345980 Q3306652 Q2054574 Q581186 Q2055003 Q634372 Q3322771 Q3028838 Q11698116 Q3328052 Q3327928 Q1029761 Q1359816 Q18761823 Q17427 Q3395147 Q611548 Q2099347 Q3366598 Q3125165 Q3089721 Q49756 Q965481 Q49754 Q49755 Q639383 Q3133156 Q625556 Q6063925 Q1412555 Q606955 Q788345 Q3306992 Q3780661 Q3134856 Q5604424 Q3328040 Q3047694 Q3327447 Q3571603 Q3181825 Q956240 Q1780610 Q2597196 Q937365 Q3175770 Q6063953 Q427325 Q8347650 Q3133165 Q8350511 Q885433
(c(Q7278),P1142,c(Q7257)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q7257
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
value 1
[ANSWERS] promote around 1 ideologies or special fields
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q7257'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?p WHERE { { ?p property:P1142 ?i . ?i rdf:type ontology:Q7257 . ?p rdf:type ontology:Q7278 } UNION { ?p property:P1142 ?i . ?i rdf:type ontology:Q1047113 . ?p rdf:type ontology:Q7278 } } GROUP BY ?p } . FILTER ( ?l = 1 ) }
Liberal Democratic Party (Spain) Socialist Party of Navarra-PSOE Syndicalist Party European Green Party Australian Greens Democrats Convergence of Navarre Communist Initiative Movement for a Europe of Liberties and Democracy Ezker Anitza Popular Socialist Party Green Party Communist Party of Greece (Marxist–Leninist) Communist Party of Poland Partido Galeguista Demócrata Radical Democratic Party Democratic Alternative Revolutionary Communist Party People's Party of Catalonia Euskadiko Ezkerra Alliance of Liberals and Democrats for Europe Party Socialist Party of National Liberation Communist Party of Norway Communist Party of the Netherlands Liberal Party Basque Nationalist Party People's Party of Galicia Russian Party Revolutionary Communist League Canarian Coalition Alliance of European National Movements Regional Action Communist Party of Aragon Pridnestrovie Communist Party Partido Galeguista National Democratic Party of Germany Regionalist Party of Cantabria Communist Party of National Liberation Communist Party of West Belarus Constitutional Democratic Party Andalusian Party Cantonal Party Communist Party of the Soviet Union Green Confederation Galician Socialist Party-Galician Left Galician Party of the Proletariat Askatasuna Communist Party of Cuba Japanese Communist Party Ezker Batua – Berdeak EUDemocrats Workers Party of South Korea Christian Democratic Party Liberal Democratic Centre Union of the Democratic Centre Communist Party of Asturias Assembleia do Povo Unido Green Party Taiwan Asturias Forum Galician Nationalist Party-Galicianist Party Communist Workers' Party of Germany Communist Party of Hungary People's Party Communist Party of Belarus Party of the European Left España 2000 Italian Pirate Party Nationalist Left Eusko Alkartasuna Spanish Communist Workers' Party Socialist Revolutionary Party Algerian Communist Party Catalunya Lliure European Alliance for Freedom People's Alliance People's Party of Cantabria Ecology Generation Communist Party of the Valencian Country Communist Party of Spain Regionalist Party of Guadalajara Galician Left Alternative Socialist Party of the Basque Country – Basque Country Left Spanish Communist Workers' Party Democratic Left Nationalist Party of the Valencian Country Chunta Aragonesista Euskal Ezkerra Alliance of European Conservatives and Reformists Nationalist Party of Cantabria Andalusian Social Liberal Party Federation of the Greens Communist Party of Aragon Partíu Asturianista Alternativa Popular Canaria Party of European Socialists Communist Party of Burma People's Alliance Communist Party of the Basque Country Batasuna Green Party of Switzerland Equo Green Party of England and Wales Communist Party of Madrid Association for Solidarity Perspectives Party of Democratic Reform Galician Coalition Aragonese Party Communist Party of Albania Socialists' Party of Catalonia Democratic Popular Party Euskal Iraultzarako Alderdia Social Democratic Party Unified Socialist Party of Andalusia Partido Galeguista Anova-Nationalist Brotherhood Euskal Herria Bildu Communist Party of Thailand The Greens Communist Party of China Democratic Reformist Party Bildu Azerbaijan Communist Party People's Party of Navarre Democratic Federal Republican Party Workers' Communist Party Democratic Farmers' Party of Germany Communist Party Christian Democratic Union Liberal Democratic Party of Germany European Free Alliance Unified Communist Party of Spain Aralar Party Castilian Party Communist League of West Germany Communist Party of South Ossetia Democratic and Social Centre Galician Workers Party Communist Party of the Canaries Communist Party of Spain (Marxist–Leninist) Greens New South Wales National Front of Catalonia Socialist Party of Galicia United Left Socialist Party of Aragon Revolutionary Communist Party Spanish Socialist Workers' Party of Andalusia Communist Party of Latvia Brazilian Communist Party PSM-Nationalist Agreement Communist Party of Spain (Reconstituted) Partido Comunista de Galicia Communist Party of Vietnam Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity Galician Convergence Galician Nationalist Bloc
Federation of the Greens, Communist Party of China and People's Party promote around 1 ideologies or special fields
Federation of the Greens Communist Party of China People's Party
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type ideology
action find_tuple_counts
relation political ideology
type political party
type special field
value 1
[{'concept': 'political party'}, 'political ideology', [{'concept': 'ideology'}, {'concept': 'special field'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) ?p WHERE { { ?p property:political_ideology ?i . ?i rdf:type ontology:ideology . ?p rdf:type ontology:political_party } UNION { ?p property:political_ideology ?i . ?i rdf:type ontology:special_field . ?p rdf:type ontology:political_party } } GROUP BY ?p } . FILTER ( ?l = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7960003 Q1715
P17
Q1048835
USER
Which political territories are Hanover or Waikato Museum a part of ?
OR((Q1715,P17,c(Q1048835)), (Q7960003,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1715
relation P17
action find
entity Q7960003
relation P17
type Q1048835
{'OR': [['Q1715', 'P17', {'concept': 'Q1048835'}], ['Q7960003', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . { ?r property:P17 ?l . VALUES ( ?r ) { ( resource:Q7960003 ) ( resource:Q1715 ) } } }
Waikato Museum Hanover
action filter_type
action union
action find
entity Hanover
relation country
action find
entity Waikato Museum
relation country
type political territorial entity
{'OR': [['Hanover', 'country', {'concept': 'political territorial entity'}], ['Waikato Museum', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . { ?r property:country ?l . VALUES ( ?r ) { ( resource:Waikato_Museum ) ( resource:Hanover ) } } }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q1715,P17,c(Q1048835)), (Q7960003,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1715
relation P17
action find
entity Q7960003
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q1715', 'P17', {'concept': 'Q1048835'}], ['Q7960003', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . { ?r property:P17 ?l . VALUES ( ?r ) { ( resource:Q7960003 ) ( resource:Q1715 ) } } }
New Zealand Germany
Which political territories are Hanover or Waikato Museum a part of
New Zealand Germany
action filter_type
action union
action find
entity Hanover
relation country
action find
entity Waikato Museum
relation country
type political territorial entity
{'OR': [['Hanover', 'country', {'concept': 'political territorial entity'}], ['Waikato Museum', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . { ?r property:country ?l . VALUES ( ?r ) { ( resource:Waikato_Museum ) ( resource:Hanover ) } } }
[]