Simple Question (Direct)
Simple Question
Q3184489
P19
Q20667921
USER
Which french administrative division was Joseph Amy born in ?
(Q3184489,P19,c(Q20667921))
action filter_type
action find
entity Q3184489
relation P19
type Q20667921
['Q3184489', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q3184489 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Joseph Amy
action filter_type
action find
entity Joseph Amy
relation place of birth
type type of french administrative division
['Joseph Amy', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_Amy property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q24749
SYSTEM
Thors
Q24749
(Q3184489,P19,c(Q20667921))
action filter_type
action find
entity Q3184489
relation P19
type Q20667921
The [ANSWER] was Joseph Amy born in
['Q3184489', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { resource:Q3184489 property:P19 ?q . ?q rdf:type ontology:Q20667921 }
Thors
The Thors was Joseph Amy born in
Thors
action filter_type
action find
entity Joseph Amy
relation place of birth
type type of french administrative division
['Joseph Amy', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_Amy property:place_of_birth ?q . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3184489
P106
Q12737077
USER
Which occupation is the profession of Joseph Amy ?
(Q3184489,P106,c(Q12737077))
action filter_type
action find
entity Q3184489
relation P106
type Q12737077
['Q3184489', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3184489 property:P106 ?i }
Joseph Amy
action filter_type
action find
entity Joseph Amy
relation occupation
type occupation
['Joseph Amy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Joseph_Amy property:occupation ?i }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q3184489,P106,c(Q12737077))
action filter_type
action find
entity Q3184489
relation P106
type Q12737077
The [ANSWER] is the profession of Joseph Amy
['Q3184489', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3184489 property:P106 ?i }
military personnel
The military personnel is the profession of Joseph Amy
military personnel
action filter_type
action find
entity Joseph Amy
relation occupation
type occupation
['Joseph Amy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Joseph_Amy property:occupation ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q47064 Q11196413 Q8473
P425
Q43229
USER
Does DT Communications and military belong to Q47064 ?
(Q47064,P425,Q11196413) (Q47064,P425,Q8473)
action is_in
entity Q47064
action intersection
action find_reverse
entity Q11196413
relation P425
action find_reverse
entity Q8473
relation P425
['Q47064', 'P425', 'Q11196413'] ['Q47064', 'P425', 'Q8473']
ASK WHERE { resource:Q47064 property:P425 resource:Q11196413 . resource:Q47064 property:P425 resource:Q8473 }
military personnel DT Communications military
action is_in
entity military personnel
action intersection
action find_reverse
entity DT Communications
relation field of this occupation
action find_reverse
entity military
relation field of this occupation
['military personnel', 'field of this occupation', 'DT Communications'] ['military personnel', 'field of this occupation', 'military']
ASK WHERE { resource:military_personnel property:field_of_this_occupation resource:DT_Communications . resource:military_personnel property:field_of_this_occupation resource:military }
[]
organization
SYSTEM
NO and YES respectively
(Q47064,P425,Q11196413) (Q47064,P425,Q8473)
action is_in
entity Q47064
action intersection
action find_reverse
entity Q11196413
relation P425
action find_reverse
entity Q8473
relation P425
[ANSWER]
['Q47064', 'P425', 'Q11196413'] ['Q47064', 'P425', 'Q8473']
ASK WHERE { resource:Q47064 property:P425 resource:Q11196413 . resource:Q47064 property:P425 resource:Q8473 }
NO and YES respectively
action is_in
entity military personnel
action intersection
action find_reverse
entity DT Communications
relation field of this occupation
action find_reverse
entity military
relation field of this occupation
['military personnel', 'field of this occupation', 'DT Communications'] ['military personnel', 'field of this occupation', 'military']
ASK WHERE { resource:military_personnel property:field_of_this_occupation resource:DT_Communications . resource:military_personnel property:field_of_this_occupation resource:military }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q47064
P106
Q95074 Q636497
USER
How many fictional characters or stock characters have military personnel as his/her means of employment ?
(c(Q95074),P106,Q47064) (c(Q636497),P106,Q47064)
action count
action union
action filter_type
action find_reverse
entity Q47064
relation P106
type Q95074
action filter_type
action find_reverse
entity Q47064
relation P106
type Q636497
[{'concept': 'Q95074'}, 'P106', 'Q47064'] [{'concept': 'Q636497'}, 'P106', 'Q47064']
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q95074 ) ( ontology:Q636497 ) } }
military personnel
action count
action union
action filter_type
action find_reverse
entity military personnel
relation occupation
type fictional character
action filter_type
action find_reverse
entity military personnel
relation occupation
type stock character
[{'concept': 'fictional character'}, 'occupation', 'military personnel'] [{'concept': 'stock character'}, 'occupation', 'military personnel']
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:fictional_character ) ( ontology:stock_character ) } }
[]
fictional character stock character
SYSTEM
18
Q21972177 Q23024676 Q23301703 Q23900741 Q7167342 Q23047434 Q23012307 Q23053752 Q7181771 Q21971504 Q8003808 Q23777554 Q23014839 Q610519 Q6524042 Q23010238 Q24020978 Q23826628
(c(Q95074),P106,Q47064) (c(Q636497),P106,Q47064)
action count
action union
action filter_type
action find_reverse
entity Q47064
relation P106
type Q95074
action filter_type
action find_reverse
entity Q47064
relation P106
type Q636497
[ANSWER]
[{'concept': 'Q95074'}, 'P106', 'Q47064'] [{'concept': 'Q636497'}, 'P106', 'Q47064']
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q95074 ) ( ontology:Q636497 ) } }
Jean-Marie-François Morhange Robbie Mosley Officer Thomas Nicholas Alexander Percy Fitzwallace Sally Ken Shannon Alan Adamle Phil Cerreta André de Saint-Avit William "B.J." Blazkowicz Jack Reese Mark Chase Matt Santos Leo McGarry Gina Toscano Colonel Leahy Jimmy Wendall
18
action count
action union
action filter_type
action find_reverse
entity military personnel
relation occupation
type fictional character
action filter_type
action find_reverse
entity military personnel
relation occupation
type stock character
[{'concept': 'fictional character'}, 'occupation', 'military personnel'] [{'concept': 'stock character'}, 'occupation', 'military personnel']
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:fictional_character ) ( ontology:stock_character ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2095549
P180
Q12737077 Q340169 Q15709879
USER
Which occupations are depicted in more number of medias and artwork series than aviator ?
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q2095549
relation P180
type Q340169
type Q15709879
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q15709879 } UNION { ?c rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 . ?u property:P180 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P180 resource:Q2095549 . { VALUES ( ?a ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } . ?t rdf:type ?a } } } . FILTER ( ?m > ?e ) }
aviator
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity aviator
relation depicts
type media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:depicts ?c . ?c rdf:type ontology:occupation . ?u rdf:type ontology:artwork_series } UNION { ?c rdf:type ontology:occupation . ?u rdf:type ontology:media . ?u property:depicts ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:depicts resource:aviator . { VALUES ( ?a ) { ( ontology:media ) ( ontology:artwork_series ) } . ?t rdf:type ?a } } } . FILTER ( ?m > ?e ) }
[]
occupation media artwork series
Q186360 Q4991371 Q5716684
SYSTEM
nurse, soldier, dancer
Q177220 Q2995983 Q45199 Q47064 Q186360 Q733786 Q805221 Q12059906 Q622630 Q4991371 Q273108 Q589897 Q20489032 Q5716684 Q18575684 Q838811 Q639669 Q384593 Q1630100 Q39631
(c(Q340169)|c(Q15709879),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q2095549
relation P180
type Q340169
type Q15709879
[ANSWERS] are depicted in more number of medias and artwork series than aviator
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q15709879 } UNION { ?c rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 . ?u property:P180 ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P180 resource:Q2095549 . { VALUES ( ?a ) { ( ontology:Q340169 ) ( ontology:Q15709879 ) } . ?t rdf:type ?a } } } . FILTER ( ?m > ?e ) }
singer double-bassist sailor military personnel nurse monk ballet dancer herder odalisque soldier condottiero mahout salt pan worker dancer embroiderer peasant musician police officer art model physician
Nurse, soldier and dancer are depicted in more number of medias and artwork series than aviator
nurse soldier dancer
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action count
action filter_multi_types
action find_reverse
entity aviator
relation depicts
type media
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?m ) WHERE { { ?u property:depicts ?c . ?c rdf:type ontology:occupation . ?u rdf:type ontology:artwork_series } UNION { ?c rdf:type ontology:occupation . ?u rdf:type ontology:media . ?u property:depicts ?c } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:depicts resource:aviator . { VALUES ( ?a ) { ( ontology:media ) ( ontology:artwork_series ) } . ?t rdf:type ?a } } } . FILTER ( ?m > ?e ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q3516658
USER
Which occupations are depicted in approximately 1 paintings and heraldic symbols ?
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q3305213 } UNION { ?o property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q3516658 } } GROUP BY ?u } . FILTER ( ?v = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:depicts ?u . ?u rdf:type ontology:occupation . ?o rdf:type ontology:painting } UNION { ?o property:depicts ?u . ?u rdf:type ontology:occupation . ?o rdf:type ontology:heraldic_symbol } } GROUP BY ?u } . FILTER ( ?v = 1 ) }
[]
occupation painting heraldic symbol
Q131512 Q1401609 Q1139055
SYSTEM
farmer, vaquero, tax collector
Q131512 Q1401609 Q1124183 Q1250916 Q81710 Q1259917 Q4504549 Q842782 Q486748 Q483501 Q215536 Q1139055 Q1028181 Q12097 Q14009165 Q10833314 Q1318187 Q250867 Q10873124 Q2730732 Q103163 Q207651 Q5716684 Q833860 Q2191547 Q838811 Q331432 Q639669 Q49757 Q1281618 Q811122 Q1630100
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
value 1
The [ANSWERS] are depicted in approximately 1 paintings and heraldic symbols
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q3305213 } UNION { ?o property:P180 ?u . ?u rdf:type ontology:Q12737077 . ?o rdf:type ontology:Q3516658 } } GROUP BY ?u } . FILTER ( ?v = 1 ) }
farmer vaquero lumberjack warrior shepherd violinist religious servant detective pianist artist merchant tax collector painter king trapper tennis player scrivener Catholic priest chess player equestrian abbot executioner dancer maid picador peasant fisherman musician poet sculptor construction worker art model
The farmer, vaquero and tax collector are depicted in approximately 1 paintings and heraldic symbols
farmer vaquero tax collector
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
value 1
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?v ) WHERE { { ?o property:depicts ?u . ?u rdf:type ontology:occupation . ?o rdf:type ontology:painting } UNION { ?o property:depicts ?u . ?u rdf:type ontology:occupation . ?o rdf:type ontology:heraldic_symbol } } GROUP BY ?u } . FILTER ( ?v = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1401609
P495
Q15617994
USER
Which administrative territory is the origin of that occupation ?
(Q1401609,P495,c(Q15617994))
action filter_type
action find
entity Q1401609
relation P495
type Q15617994
['Q1401609', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1401609 property:P495 ?o }
vaquero
action filter_type
action find
entity vaquero
relation country of origin
type designation for an administrative territorial entity
['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:vaquero property:country_of_origin ?o }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q131512
SYSTEM
Did you mean farmer ?
Q131512 Q1401609 Q1139055
(Q131512,P495,c(Q15617994)) (Q1401609,P495,c(Q15617994)) (Q1139055,P495,c(Q15617994))
[ANSWER]
['Q131512', 'P495', {'concept': 'Q15617994'}] ['Q1401609', 'P495', {'concept': 'Q15617994'}] ['Q1139055', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1401609 property:P495 ?o }
farmer vaquero tax collector
Did you mean farmer ?
farmer
['farmer', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['tax collector', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:vaquero property:country_of_origin ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant vaquero. Could you tell me the answer for that?
(Q1401609,P495,c(Q15617994))
Q1401609
['Q1401609', 'P495', {'concept': 'Q15617994'}]
['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q29
SYSTEM
Spain
Q29
(Q1401609,P495,c(Q15617994))
action filter_type
action find
entity Q1401609
relation P495
type Q15617994
The [ANSWER] is the origin of that occupation
['Q1401609', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q1401609 property:P495 ?o }
Spain
The Spain is the origin of that occupation
Spain
action filter_type
action find
entity vaquero
relation country of origin
type designation for an administrative territorial entity
['vaquero', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:vaquero property:country_of_origin ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P463
Q43229
USER
Which organizations were that administrative territory a member of ?
(Q29,P463,c(Q43229))
action filter_type
action find
entity Q29
relation P463
type Q43229
['Q29', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q29 property:P463 ?y . ?y rdf:type ontology:Q43229 }
Spain
action filter_type
action find
entity Spain
relation member of
type organization
['Spain', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Spain property:member_of ?y . ?y rdf:type ontology:organization }
[]
organization
Q151991 Q7825 Q41550
SYSTEM
European Southern Observatory, World Trade Organization, Organisation for Economic Co-operation and Development
Q340195 Q191384 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525
(Q29,P463,c(Q43229))
action filter_type
action find
entity Q29
relation P463
type Q43229
[ANSWERS] were that administrative territory a member of
['Q29', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q29 property:P463 ?y . ?y rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association
European Southern Observatory, World Trade Organization and Organisation for Economic Co-operation and Development were that administrative territory a member of
European Southern Observatory World Trade Organization Organisation for Economic Co-operation and Development
action filter_type
action find
entity Spain
relation member of
type organization
['Spain', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Spain property:member_of ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P36
Q56061
USER
Which administrative territory is called the capital of Spain ?
(Q29,P36,c(Q56061))
action filter_type
action find
entity Q29
relation P36
type Q56061
['Q29', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q29 property:P36 ?s . ?s rdf:type ontology:Q56061 }
Spain
action filter_type
action find
entity Spain
relation capital
type administrative territorial entity
['Spain', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Spain property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q29,P36,c(Q56061))
action filter_type
action find
entity Q29
relation P36
type Q56061
[ANSWER] is called the capital of Spain
['Q29', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q29 property:P36 ?s . ?s rdf:type ontology:Q56061 }
Madrid
Madrid is called the capital of Spain
Madrid
action filter_type
action find
entity Spain
relation capital
type administrative territorial entity
['Spain', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Spain property:capital ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P47
Q56061
USER
Which administrative territories share border with Spain ?
(Q29,P47,c(Q56061))
action filter_type
action find
entity Q29
relation P47
type Q56061
['Q29', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q29 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Spain
action filter_type
action find
entity Spain
relation shares border with
type administrative territorial entity
['Spain', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Spain property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458 Q7172
SYSTEM
European Union, Arab League
Q458 Q7172
(Q29,P47,c(Q56061))
action filter_type
action find
entity Q29
relation P47
type Q56061
[ANSWERS] share border with Spain
['Q29', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q29 property:P47 ?j . ?j rdf:type ontology:Q56061 }
European Union Arab League
European Union and Arab League share border with Spain
European Union Arab League
action filter_type
action find
entity Spain
relation shares border with
type administrative territorial entity
['Spain', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Spain property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16012
Q56061
USER
And also tell me about Differdange?
(Q16012,P47,c(Q56061))
action filter_type
action find
entity Q16012
relation P47
type Q56061
['Q16012', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q16012 property:P47 ?a . ?a rdf:type ontology:Q56061 }
Differdange
action filter_type
action find
entity Differdange
relation shares border with
type administrative territorial entity
['Differdange', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Differdange property:shares_border_with ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q602441 Q677804
SYSTEM
Pétange, Sanem
Q602441 Q677804
(Q16012,P47,c(Q56061))
action filter_type
action find
entity Q16012
relation P47
type Q56061
[ANSWERS]
['Q16012', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q16012 property:P47 ?a . ?a rdf:type ontology:Q56061 }
Pétange Sanem
Pétange Sanem
action filter_type
action find
entity Differdange
relation shares border with
type administrative territorial entity
['Differdange', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Differdange property:shares_border_with ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16012
P19
Q502895
USER
How many people have location of birth at Differdange ?
(c(Q502895),P19,Q16012)
action count
action filter_type
action find_reverse
entity Q16012
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q16012']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P19 resource:Q16012 . ?v rdf:type ontology:Q502895 }
Differdange
action count
action filter_type
action find_reverse
entity Differdange
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Differdange']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:place_of_birth resource:Differdange . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
23
Q6268850 Q13104358 Q1508918 Q2622272 Q8078294 Q13103175 Q13102439 Q7377640 Q1708674 Q3121224 Q985107 Q799189 Q129796 Q1959762 Q15973514 Q1250313 Q2074727 Q1684759 Q520677 Q2698286 Q2834184 Q3725999 Q15275462
(c(Q502895),P19,Q16012)
action count
action filter_type
action find_reverse
entity Q16012
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q16012']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P19 resource:Q16012 . ?v rdf:type ontology:Q502895 }
Johny Léonard Nicolas Schmit Georg Gredt Marcel Di Domenico Émile Krieps Jean-Baptiste Servais Émile Kolb Rudy Kugeler Josiane Weber Gustave Kemp Enzo Mezzapesa Nicholas Muller Josiane Kartheiser Hubert Meunier Dario Battistella Torsten Fassian Peter Engel Jean-Claude Hollerich Josy Stoffel Jean Portante Alexandre de Gerlache de Waillimont Enrico Pocognoni Félix Braz
23
action count
action filter_type
action find_reverse
entity Differdange
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Differdange']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:place_of_birth resource:Differdange . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1354
P19
Q502895
USER
And also tell me about Dhaka?
(c(Q502895),P19,Q1354)
action count
action filter_type
action find_reverse
entity Q1354
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1354']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P19 resource:Q1354 . ?o rdf:type ontology:Q502895 }
Dhaka
action count
action filter_type
action find_reverse
entity Dhaka
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Dhaka']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:place_of_birth resource:Dhaka . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
196
Q15633511 Q21066016 Q55405 Q55404 Q7194537 Q15708554 Q579414 Q23762596 Q4818810 Q144391 Q6935936 Q5939749 Q5010538 Q15296099 Q3345618 Q6403418 Q6893209 Q6733938 Q25352602 Q17037925 Q17386583 Q4857559 Q7330455 Q5949429 Q15300228 Q22006955 Q965646 Q6787619 Q7971411 Q15539163 Q19663886 Q17070716 Q13057124 Q12985953 Q16145229 Q24398780 Q6435642 Q7649150 Q5686085 Q17715091 Q19867439 Q17041561 Q16215081 Q5210092 Q4306108 Q21228244 Q21898055 Q7462872 Q6809836 Q20985303 Q1791962 Q16150753 Q5435202 Q3630686 Q4682667 Q7282681 Q4746482 Q3348752 Q22005153 Q6381096 Q19662528 Q3347118 Q22276833 Q7461044 Q6891562 Q4802479 Q27825849 Q15401727 Q21284653 Q6795181 Q7364196 Q19961073 Q24005555 Q21872874 Q15720521 Q6698472 Q5155267 Q7462919 Q16223724 Q16200218 Q1890444 Q5649017 Q7633783 Q257835 Q16222046 Q6891358 Q7497046 Q17465564 Q20685220 Q20652533 Q15485253 Q13060298 Q19741088 Q15633746 Q7034225 Q6733636 Q15982714 Q15719370 Q4807036 Q16345074 Q4865906 Q16750160 Q961330 Q7508184 Q2914002 Q16211385 Q3246667 Q3350121 Q7683306 Q5939713 Q7402629 Q6967122 Q7339140 Q15816585 Q20202218 Q15730377 Q6916984 Q7631787 Q13060129 Q1522455 Q16346550 Q15868587 Q23303032 Q20685233 Q21598073 Q7637152 Q7640722 Q4917373 Q2565354 Q1658472 Q6864910 Q7461702 Q27031558 Q16231820 Q18390865 Q58264 Q16223862 Q16910067 Q1652774 Q1740608 Q20684984 Q7461748 Q18205178 Q21113365 Q1185321 Q5102377 Q5657861 Q62918 Q4901036 Q20090121 Q7828854 Q18707093 Q23772560 Q22280001 Q26827292 Q3348096 Q4655288 Q464960 Q18364301 Q20685696 Q20819733 Q4765469 Q3350219 Q7336510 Q15715333 Q21004955 Q7821848 Q13059314 Q7461416 Q16186862 Q19605363 Q16146866 Q5436509 Q13059560 Q4915419 Q734564 Q19664021 Q16231506 Q7460127 Q13060079 Q7675594 Q23304407 Q369988 Q7500295 Q13651328 Q7070311 Q17385555 Q15983244 Q6297352 Q26000241 Q7396131 Q3347370 Q5645307 Q5056171 Q17385535 Q6893969
(c(Q502895),P19,Q1354)
action count
action filter_type
action find_reverse
entity Q1354
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1354']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P19 resource:Q1354 . ?o rdf:type ontology:Q502895 }
Anika Kabir Shokh Kusum Sikder Bimal Roy Ritwik Ghatak Pilu Momtaz Aditi Mohsin Anwarul Karim Chowdhury Niranjan Goswami Atulprasad Sen Mahasweta Devi Munem Wasif Humayun Faridi Rabi Kinagi Sabrina Porshi Khaled Mahmud Khwaja Ahsanullah Mohammed Monwar Hossain Mahi B. Chowdhury Muhammad Shahjahan Ziaur Rahman Zia Sarker Protick Bappa Mazumder Richi Solaiman Husna Ahmad Nusrat Imroz Tisha Arnob Mitra Partha Dasgupta Matiur Rahman Wasfia Nazreen Mamnun Hasan Emon Shafiat Sobhan Sanvir Chowdhury Irad Ahmed Siddiky Alamgir Bobby Kaiser Haq Kazi Abdul Baset Shabnam Susobhan Sarkar Hayat Saif Andrew Biraj Bobby Hajjaj Tariq Fatemi Rajeeb Samdani Dakshinaranjan Mitra Majumder Subhas Chakraborty Alauddin Ali Tanjin Tisha Shakhawat Hossain Rony Mehreen Mahmud Lily Chakravarty Kumar Bhattacharyya, Baron Bhattacharyya Leepu Nizamuddin Awlia Faria Alam Suman Kalyanpur Adib Khan Rafiq Azam Aminul Hoque Santosh Dutta Enamul Hoque Kazi Salahuddin Iresh Zaker Samar Das Anjana Sultana Shafin Ahmed Mohamed Zahid Hossain Arvind Ghosh Shahnaz Munni Nafees Bin Zafar Mehbooba Mahnoor Chandni Max Robertson Ron Mustafaa Hasanuzzaman Khan Aziz Khan Ziaul Faruq Apurba Hridoy Khan Lucy Rahman Ghulam Azam Shakib Khan Korvi Rakshand Samata Das Manishi Dey Hannan Majid Sudhindra Bose Irene Khan Shishir Ahmed Mohamed Mintu Sheikh Shimul Yousuf Syed Neaz Ahmad Imran Rahman Topu Nabendu Ghosh Happy Akhand Farooque Rowshan Ershad Nihar Mukherjee Mahbub Jamal Zahedi Mahbuba Islam Rakhi Fazal Shahabuddin Asit Sen Utpala Sen Barun Chanda Radhu Karmakar Paritosh Sen Siddika Kabir Bulbul Ahmed Runa Islam Abdul Hamid Atin Bandyopadhyay Tanim Sufyani Humayra Abedin Sajeeb Wazed Nasir Ali Mamun Rizwana Hasan Fahim Mohammad Ramananda Sengupta Krishna Bose Mostofa Sarwar Farooki Suborna Mustafa Syed Mainul Hossain Shibdas Ghosh Lucky Akhand Misha Sawdagor Swapan K. Gayen Rj Raju Debendranath Bandyopadhyay Sumita Devi Sunny Sanwar Bishnu Prasad Rabha Niaz Murshed Mahfizur Rahman Sagor Minhazur Rahman Nayan Shahid Qadri Ayman Jaman Mozeza Ashraf Monalisa Mohammad Rakibul Hasan Dipu Moni Alvin Soura Pandey Sanjoy Shaheen Dill-Riaz Khwaja Shahabuddin Arfan Nisho Shahidul Zahir Fahd Ananta Emon Saha Dino Shafeek Chittabrata Majumdar Harish Chandra Mitra Fazlur Khan Bhanu Bandopadhyay Anila Tauquir Ahmed Kamala Sinha Shusmita Anis Amaan Reza Farid Ali Hamidur Rahman A A Mamun Monica Ali Tanzir Tuhin Sumaiya Zafar Suzana Arun Saha Anisur Rahman Milon Alauddin Al-Azad Rita Dutta Chakraborty Dilshad Nahar Kona Bapparaj Tony Bartley Sohel Rana Shahabuddin Ahmed Faridur Reza Sagar Khaleda Ekram Shila Ahmed Faruk Khan Raisul Islam Asad Bipasha Hayat Shamsur Rahman Ehtesham Raef al Hasan Rafa Shabnur Khaled 'Bassbaba' Sumon Tahmima Anam Fazle Kabir Khawaja Nazimuddin Shomi Patwary Mustapha Khalid Palash Nurul Islam Kazi Riasat Alve Perween Rahman Joya Ahsan Subodh Chandra Sengupta Sabina Yasmin Enamul Hossain Hamin Ahmed Cecil Kershaw GMB Akash Mohd Mamun Miah
196
action count
action filter_type
action find_reverse
entity Dhaka
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Dhaka']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:place_of_birth resource:Dhaka . ?o rdf:type ontology:common_name }
[]