Simple Question (Direct)
Simple Question
Q2415346
P102
Q7210356
USER
Which party does Peter Vanvelthoven belong to ?
(Q2415346,P102,c(Q7210356))
action filter_type
action find
entity Q2415346
relation P102
type Q7210356
['Q2415346', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q2415346 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Peter Vanvelthoven
action filter_type
action find
entity Peter Vanvelthoven
relation member of political party
type political organization
['Peter Vanvelthoven', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Peter_Vanvelthoven property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q939354
SYSTEM
Socialist Party Different
Q939354
(Q2415346,P102,c(Q7210356))
action filter_type
action find
entity Q2415346
relation P102
type Q7210356
Peter Vanvelthoven belongs to [ANSWER]
['Q2415346', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q2415346 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Socialist Party Different
Peter Vanvelthoven belongs to Socialist Party Different
Socialist Party Different
action filter_type
action find
entity Peter Vanvelthoven
relation member of political party
type political organization
['Peter Vanvelthoven', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Peter_Vanvelthoven property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q939354
P463
Q7278
USER
What was that political organization a member of ?
(Q939354,P463,c(Q7278))
action filter_type
action find
entity Q939354
relation P463
type Q7278
['Q939354', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q939354 property:P463 ?f . ?f rdf:type ontology:Q7278 }
Socialist Party Different
action filter_type
action find
entity Socialist Party Different
relation member of
type political party
['Socialist Party Different', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Socialist_Party_Different property:member_of ?f . ?f rdf:type ontology:political_party }
[]
political party
Q220945
SYSTEM
Party of European Socialists
Q220945
(Q939354,P463,c(Q7278))
action filter_type
action find
entity Q939354
relation P463
type Q7278
That political organization a member of was the [ANSWER]
['Q939354', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?f WHERE { resource:Q939354 property:P463 ?f . ?f rdf:type ontology:Q7278 }
Party of European Socialists
That political organization a member of was the Party of European Socialists
Party of European Socialists
action filter_type
action find
entity Socialist Party Different
relation member of
type political party
['Socialist Party Different', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?f WHERE { resource:Socialist_Party_Different property:member_of ?f . ?f rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220945
P1142
Q7257
USER
Which ideology does that political party believe in ?
(Q220945,P1142,c(Q7257))
action filter_type
action find
entity Q220945
relation P1142
type Q7257
['Q220945', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { resource:Q220945 property:P1142 ?d . ?d rdf:type ontology:Q7257 }
Party of European Socialists
action filter_type
action find
entity Party of European Socialists
relation political ideology
type ideology
['Party of European Socialists', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { resource:Party_of_European_Socialists property:political_ideology ?d . ?d rdf:type ontology:ideology }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
(Q220945,P1142,c(Q7257))
action filter_type
action find
entity Q220945
relation P1142
type Q7257
That political party believes in [ANSWER]
['Q220945', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { resource:Q220945 property:P1142 ?d . ?d rdf:type ontology:Q7257 }
social democracy
That political party believes in social democracy
social democracy
action filter_type
action find
entity Party of European Socialists
relation political ideology
type ideology
['Party of European Socialists', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { resource:Party_of_European_Socialists property:political_ideology ?d . ?d rdf:type ontology:ideology }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4245186
Q7257
USER
And how about Lega Nord Piemont?
(Q4245186,P1142,c(Q7257))
action filter_type
action find
entity Q4245186
relation P1142
type Q7257
['Q4245186', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { resource:Q4245186 property:P1142 ?d . ?d rdf:type ontology:Q7257 }
Lega Nord Piemont
action filter_type
action find
entity Lega Nord Piemont
relation political ideology
type ideology
['Lega Nord Piemont', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { resource:Lega_Nord_Piemont property:political_ideology ?d . ?d rdf:type ontology:ideology }
[]
ideology
Q204886
SYSTEM
federalism
Q204886
(Q4245186,P1142,c(Q7257))
action filter_type
action find
entity Q4245186
relation P1142
type Q7257
[ANSWER]
['Q4245186', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?d WHERE { resource:Q4245186 property:P1142 ?d . ?d rdf:type ontology:Q7257 }
federalism
federalism
action filter_type
action find
entity Lega Nord Piemont
relation political ideology
type ideology
['Lega Nord Piemont', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?d WHERE { resource:Lega_Nord_Piemont property:political_ideology ?d . ?d rdf:type ontology:ideology }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q939354
P488
Q502895
USER
Who chaired Socialist Party Different ?
(Q939354,P488,c(Q502895))
action filter_type
action find
entity Q939354
relation P488
type Q502895
['Q939354', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q939354 property:P488 ?z }
Socialist Party Different
action filter_type
action find
entity Socialist Party Different
relation chairperson
type common name
['Socialist Party Different', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Socialist_Party_Different property:chairperson ?z }
[]
common name
Q2234719
SYSTEM
John Crombez
Q2234719
(Q939354,P488,c(Q502895))
action filter_type
action find
entity Q939354
relation P488
type Q502895
[ANSWER] chaired Socialist Party Different
['Q939354', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q939354 property:P488 ?z }
John Crombez
John Crombez chaired Socialist Party Different
John Crombez
action filter_type
action find
entity Socialist Party Different
relation chairperson
type common name
['Socialist Party Different', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Socialist_Party_Different property:chairperson ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q939354
P159
Q56061
USER
Where is the headquarter of Socialist Party Different located ?
(Q939354,P159,c(Q56061))
action filter_type
action find
entity Q939354
relation P159
type Q56061
['Q939354', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q939354 property:P159 ?w . ?w rdf:type ontology:Q56061 }
Socialist Party Different
action filter_type
action find
entity Socialist Party Different
relation headquarters location
type administrative territorial entity
['Socialist Party Different', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Socialist_Party_Different property:headquarters_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q939354,P159,c(Q56061))
action filter_type
action find
entity Q939354
relation P159
type Q56061
The headquarter of Socialist Party Different is located in [ANSWER]
['Q939354', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q939354 property:P159 ?w . ?w rdf:type ontology:Q56061 }
Brussels
The headquarter of Socialist Party Different is located in Brussels
Brussels
action filter_type
action find
entity Socialist Party Different
relation headquarters location
type administrative territorial entity
['Socialist Party Different', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Socialist_Party_Different property:headquarters_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q239
P17
Q15617994
USER
Which administrative territory is that administrative territory a part of ?
(Q239,P17,c(Q15617994))
action filter_type
action find
entity Q239
relation P17
type Q15617994
['Q239', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q239 property:P17 ?z }
Brussels
action filter_type
action find
entity Brussels
relation country
type designation for an administrative territorial entity
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brussels property:country ?z }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q239,P17,c(Q15617994))
action filter_type
action find
entity Q239
relation P17
type Q15617994
[ANSWER] is that administrative territory a part of
['Q239', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q239 property:P17 ?z }
Belgium
Belgium is that administrative territory a part of
Belgium
action filter_type
action find
entity Brussels
relation country
type designation for an administrative territorial entity
['Brussels', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brussels property:country ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q1048835
USER
How many administrative territories and political territories share the border with that administrative territory ?
(Q31,P47,c(Q15617994)) (Q31,P47,c(Q1048835)) (Q31,P47,c(Q15617994)) (Q31,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q31
relation P47
type Q15617994
action filter_type
action find
entity Q31
relation P47
type Q1048835
['Q31', 'P47', {'concept': 'Q15617994'}] ['Q31', 'P47', {'concept': 'Q1048835'}] ['Q31', 'P47', {'concept': 'Q15617994'}] ['Q31', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { resource:Q31 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q31 property:P47 ?f . ?f rdf:type ontology:Q1048835 } }
action count
action union
action filter_type
action find
entity Belgium
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Belgium
relation shares border with
type political territorial entity
['Belgium', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'shares border with', {'concept': 'political territorial entity'}] ['Belgium', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { resource:Belgium property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Belgium property:shares_border_with ?f . ?f rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3 administrative territories and 1 political territories
Q142 Q32 Q29999 Q183
(Q31,P47,c(Q15617994)) (Q31,P47,c(Q1048835)) (Q31,P47,c(Q15617994)) (Q31,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q31
relation P47
type Q15617994
action filter_type
action find
entity Q31
relation P47
type Q1048835
[ANSWER]
['Q31', 'P47', {'concept': 'Q15617994'}] ['Q31', 'P47', {'concept': 'Q1048835'}] ['Q31', 'P47', {'concept': 'Q15617994'}] ['Q31', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { resource:Q31 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q31 property:P47 ?f . ?f rdf:type ontology:Q1048835 } }
France Luxembourg Kingdom of the Netherlands Germany
3 administrative territories and 1 political territories
action count
action union
action filter_type
action find
entity Belgium
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Belgium
relation shares border with
type political territorial entity
['Belgium', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'shares border with', {'concept': 'political territorial entity'}] ['Belgium', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { resource:Belgium property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Belgium property:shares_border_with ?f . ?f rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239
P551
Q502895
USER
Which people live in Brussels ?
(c(Q502895),P551,Q239)
action filter_type
action find_reverse
entity Q239
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q239']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q239 }
Brussels
action filter_type
action find_reverse
entity Brussels
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Brussels']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:residence resource:Brussels }
[]
common name
Q3112766 Q11682 Q15873898
SYSTEM
Isaac Vossius, Justine Henin, Chrisje van der Willigen
Q15873898 Q1083734 Q27048007 Q2824679 Q4056514 Q20507645 Q11905231 Q20203255 Q11682 Q430430 Q15713521 Q3112766 Q5478989
(c(Q502895),P551,Q239)
action filter_type
action find_reverse
entity Q239
relation P551
type Q502895
[ANSWERS] live in Brussels
[{'concept': 'Q502895'}, 'P551', 'Q239']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q239 }
Chrisje van der Willigen Jaume Duch Guillot Jan van Troyen Adolphe Pelsener Georges Agabekov Vahan Malezian Amadeu Altafaj Henri Jacobs Justine Henin Mayken Verhulst Rachel van Dantzig Isaac Vossius Frances Vane, Viscountess Vane
Isaac Vossius, Justine Henin and Chrisje van der Willigen live in Brussels
Isaac Vossius Justine Henin Chrisje van der Willigen
action filter_type
action find_reverse
entity Brussels
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Brussels']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:residence resource:Brussels }
[]