Simple Question (Direct)
Simple Question
Q19358326
P102
Q7210356
USER
Which party is Laurent Bouvet affiliated with ?
(Q19358326,P102,c(Q7210356))
action filter_type
action find
entity Q19358326
relation P102
type Q7210356
['Q19358326', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q19358326 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Laurent Bouvet
action filter_type
action find
entity Laurent Bouvet
relation member of political party
type political organization
['Laurent Bouvet', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Laurent_Bouvet property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q19358326,P102,c(Q7210356))
action filter_type
action find
entity Q19358326
relation P102
type Q7210356
Laurent Bouvet is affiliated with [ANSWER]
['Q19358326', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q19358326 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Socialist Party
Laurent Bouvet is affiliated with Socialist Party
Socialist Party
action filter_type
action find
entity Laurent Bouvet
relation member of political party
type political organization
['Laurent Bouvet', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Laurent_Bouvet property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19358326
P106
Q12737077
USER
What are the professions of that person ?
(Q170972,P106,c(Q12737077))
action filter_type
action find
entity Q19358326
relation P106
type Q12737077
['Q170972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q19358326 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Laurent Bouvet
action filter_type
action find
entity Laurent Bouvet
relation occupation
type occupation
['Socialist Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Laurent_Bouvet property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q16631371 Q1238570 Q11774202
SYSTEM
academic, political scientist, essayist
Q16631371 Q1238570 Q11774202
(Q170972,P106,c(Q12737077))
action filter_type
action find
entity Q19358326
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q170972', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q19358326 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
academic political scientist essayist
The professions of that person are academic, political scientist and essayist
academic political scientist essayist
action filter_type
action find
entity Laurent Bouvet
relation occupation
type occupation
['Socialist Party', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Laurent_Bouvet property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19358326
P21
Q290
USER
What is the sex of Laurent Bouvet ?
(Q19358326,P21,c(Q290))
action filter_type
action find
entity Q19358326
relation P21
type Q290
['Q19358326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q19358326 property:P21 ?k }
Laurent Bouvet
action filter_type
action find
entity Laurent Bouvet
relation gender
type sex
['Laurent Bouvet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Laurent_Bouvet property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19358326,P21,c(Q290))
action filter_type
action find
entity Q19358326
relation P21
type Q290
The sex of Laurent Bouvet is the [ANSWER]
['Q19358326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q19358326 property:P21 ?k }
male
The sex of Laurent Bouvet is the male
male
action filter_type
action find
entity Laurent Bouvet
relation gender
type sex
['Laurent Bouvet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Laurent_Bouvet property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19358326
P27
Q15617994
USER
Which administrative territory is Laurent Bouvet a civilian of ?
(Q19358326,P27,c(Q15617994))
action filter_type
action find
entity Q19358326
relation P27
type Q15617994
['Q19358326', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q19358326 property:P27 ?z }
Laurent Bouvet
action filter_type
action find
entity Laurent Bouvet
relation country of citizenship
type designation for an administrative territorial entity
['Laurent Bouvet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laurent_Bouvet property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q19358326,P27,c(Q15617994))
action filter_type
action find
entity Q19358326
relation P27
type Q15617994
[ANSWER] is Laurent Bouvet a civilian of
['Q19358326', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q19358326 property:P27 ?z }
France
France is Laurent Bouvet a civilian of
France
action filter_type
action find
entity Laurent Bouvet
relation country of citizenship
type designation for an administrative territorial entity
['Laurent Bouvet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Laurent_Bouvet property:country_of_citizenship ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11716461
Q15617994
USER
And what about Jakub Jaworski?
(Q11716461,P27,c(Q15617994))
action filter_type
action find
entity Q11716461
relation P27
type Q15617994
['Q11716461', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q11716461 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Jakub Jaworski
action filter_type
action find
entity Jakub Jaworski
relation country of citizenship
type designation for an administrative territorial entity
['Jakub Jaworski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jakub_Jaworski property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q11716461,P27,c(Q15617994))
action filter_type
action find
entity Q11716461
relation P27
type Q15617994
[ANSWER]
['Q11716461', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q11716461 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Poland
Poland
action filter_type
action find
entity Jakub Jaworski
relation country of citizenship
type designation for an administrative territorial entity
['Jakub Jaworski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jakub_Jaworski property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q56061 Q486972 Q15617994
USER
Which administrative territories are the eponym of around 1 administrative territories and human settlements ?
(c(Q15617994),P138,c(Q56061)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q486972
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?r WHERE { VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } . ?q rdf:type ?y } GROUP BY ?r } }
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?r WHERE { VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } . ?q rdf:type ?y } GROUP BY ?r } }
[]
administrative territorial entity human settlement designation for an administrative territorial entity
Q32 Q1028 Q977
SYSTEM
Luxembourg, Morocco, Djibouti
Q158876 Q1098820 Q1028 Q1508919 Q10903 Q5015782 Q32 Q2304605 Q752 Q2136219 Q977 Q1019 Q775 Q776 Q480103 Q1558632
(c(Q15617994),P138,c(Q56061)|c(Q486972))
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q486972
value 1
[ANSWERS] are the eponym of around 1 administrative territories and human settlements
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?r WHERE { VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q486972 ) } . ?q rdf:type ?y } GROUP BY ?r } }
Reinickendorf Gênes Morocco Marengo Finnentrop Cabot Public Schools Luxembourg Spitsbergen Groningen Amsterdam, Saskatchewan Djibouti Madagascar Gelderland Utrecht Amt Volmarstein Rome
Luxembourg, Morocco and Djibouti are the eponym of around 1 administrative territories and human settlements
Luxembourg Morocco Djibouti
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?r WHERE { VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:human_settlement ) } . ?q rdf:type ?y } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q222
P194
Q701632 Q1752346 Q15617994
USER
How many administrative territories have approximately the same number of municipal councils or assemblies as their legislative body as Albania ?
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q222
relation P194
type Q701632
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q222 property:P194 ?w . { VALUES ( ?c ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?w rdf:type ?c } } } . FILTER ( ?l = ?s ) }
Albania
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Albania
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:municipal_council ) ( ontology:assembly ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Albania property:legislative_body ?w . { VALUES ( ?c ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?w rdf:type ?c } } } . FILTER ( ?l = ?s ) }
[]
municipal council assembly designation for an administrative territorial entity
SYSTEM
66
Q804 Q801 Q419 Q668 Q2806757 Q414 Q142 Q55 Q145 Q717 Q657 Q258 Q45 Q159 Q41 Q155 Q4628 Q1965 Q242 Q33 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q184 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q697 Q298 Q754 Q750 Q213 Q211 Q214 Q215 Q218 Q219 Q16110 Q79 Q77 Q811 Q1013 Q176 Q1952 Q869
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q222
relation P194
type Q701632
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q222 property:P194 ?w . { VALUES ( ?c ) { ( ontology:Q701632 ) ( ontology:Q1752346 ) } . ?w rdf:type ?c } } } . FILTER ( ?l = ?s ) }
Panama Israel Peru India 105 Mile Post Indian Reserve No. 2 Argentina France Netherlands United Kingdom Venezuela Chad South Africa Portugal Russia Greece Brazil Faroe Islands New Brunswick Belize Finland Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Belarus Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Nauru Chile Trinidad and Tobago Bolivia Czech Republic Latvia Slovakia Slovenia Romania Bulgaria region of Italy Egypt Uruguay Nicaragua Lesotho Quebec Nova Scotia Thailand
66
action count
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Albania
relation legislative body
type municipal council
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k rdf:type ?x . VALUES ( ?x ) { ( ontology:municipal_council ) ( ontology:assembly ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Albania property:legislative_body ?w . { VALUES ( ?c ) { ( ontology:municipal_council ) ( ontology:assembly ) } . ?w rdf:type ?c } } } . FILTER ( ?l = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P36
Q56061
USER
Which administrative territory is called the capital of Luxembourg ?
(Q32,P36,c(Q56061))
action filter_type
action find
entity Q32
relation P36
type Q56061
['Q32', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q32 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Luxembourg
action filter_type
action find
entity Luxembourg
relation capital
type administrative territorial entity
['Luxembourg', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Luxembourg property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1842
SYSTEM
Luxembourg
Q1842
(Q32,P36,c(Q56061))
action filter_type
action find
entity Q32
relation P36
type Q56061
[ANSWER] is called the capital of [ANSWER]
['Q32', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q32 property:P36 ?y . ?y rdf:type ontology:Q56061 }
Luxembourg
Luxembourg is called the capital of Luxembourg
Luxembourg
action filter_type
action find
entity Luxembourg
relation capital
type administrative territorial entity
['Luxembourg', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Luxembourg property:capital ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P127
Q43229
USER
Which organization is under posessision of Luxembourg ?
(c(Q43229),P127,Q32)
action filter_type
action find_reverse
entity Q32
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q32']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q32 . ?z rdf:type ontology:Q43229 }
Luxembourg
action filter_type
action find_reverse
entity Luxembourg
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Luxembourg']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Luxembourg . ?z rdf:type ontology:organization }
[]
organization
Q27893
SYSTEM
ArcelorMittal
Q27893
(c(Q43229),P127,Q32)
action filter_type
action find_reverse
entity Q32
relation P127
type Q43229
[ANSWER] is under posessision of Luxembourg
[{'concept': 'Q43229'}, 'P127', 'Q32']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q32 . ?z rdf:type ontology:Q43229 }
ArcelorMittal
ArcelorMittal is under posessision of Luxembourg
ArcelorMittal
action filter_type
action find_reverse
entity Luxembourg
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Luxembourg']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Luxembourg . ?z rdf:type ontology:organization }
[]