Simple Question (Direct)
Simple Question
Q823576
P21
Q290
USER
What is the sex of Jens Köppen ?
(Q823576,P21,c(Q290))
action filter_type
action find
entity Q823576
relation P21
type Q290
['Q823576', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q823576 property:P21 ?j . ?j rdf:type ontology:Q290 }
Jens Köppen
action filter_type
action find
entity Jens Köppen
relation gender
type sex
['Jens Köppen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Jens_Köppen property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q823576,P21,c(Q290))
action filter_type
action find
entity Q823576
relation P21
type Q290
The sex of Jens Köppen is a [ANSWER]
['Q823576', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q823576 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of Jens Köppen is a male
male
action filter_type
action find
entity Jens Köppen
relation gender
type sex
['Jens Köppen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Jens_Köppen property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q823576
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q823576
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q823576 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Jens Köppen
action filter_type
action find
entity Jens Köppen
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jens_Köppen property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q505160
SYSTEM
Kyritz
Q505160
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q823576
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q823576 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Kyritz
That person was born in Kyritz
Kyritz
action filter_type
action find
entity Jens Köppen
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jens_Köppen property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q837301 Q823576
P47 P27
Q1048835
USER
Which political territories are the native countriesof Jens Köppen or are adjacent to La Riba de Escalote ?
OR((Q823576,P27,c(Q1048835)), (Q837301,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q823576
relation P27
action find
entity Q837301
relation P47
type Q1048835
{'OR': [['Q823576', 'P27', {'concept': 'Q1048835'}], ['Q837301', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q823576 property:P27 ?e } UNION { resource:Q837301 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
La Riba de Escalote Jens Köppen
action filter_type
action union
action find
entity Jens Köppen
relation country of citizenship
action find
entity La Riba de Escalote
relation shares border with
type political territorial entity
{'OR': [['Jens Köppen', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Riba de Escalote', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Jens_Köppen property:country_of_citizenship ?e } UNION { resource:La_Riba_de_Escalote property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q178684 Q177501 Q829608 Q1046930 Q183 Q830318
SYSTEM
Berlanga de Duero, Caltojar, Arenillas, Rello, Germany, Barcones
Q178684 Q177501 Q829608 Q1046930 Q183 Q830318
OR((Q823576,P27,c(Q1048835)), (Q837301,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q823576
relation P27
action find
entity Q837301
relation P47
type Q1048835
[ANSWERS] are the native countriesof Jens Köppen or are adjacent to La Riba de Escalote
{'OR': [['Q823576', 'P27', {'concept': 'Q1048835'}], ['Q837301', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q823576 property:P27 ?e } UNION { resource:Q837301 property:P47 ?e } } . ?e rdf:type ontology:Q1048835 }
Berlanga de Duero Caltojar Arenillas Rello Germany Barcones
Berlanga de Duero, Caltojar, Arenillas, Rello, Germany and Barcones are the native countriesof Jens Köppen or are adjacent to La Riba de Escalote
Berlanga de Duero Caltojar Arenillas Rello Germany Barcones
action filter_type
action union
action find
entity Jens Köppen
relation country of citizenship
action find
entity La Riba de Escalote
relation shares border with
type political territorial entity
{'OR': [['Jens Köppen', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Riba de Escalote', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Jens_Köppen property:country_of_citizenship ?e } UNION { resource:La_Riba_de_Escalote property:shares_border_with ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q1048835
USER
How many political territories share the border with that political territory ?
(Q178684,P47,c(Q1048835))
['Q178684', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21153447 property:P47 ?z . ?z rdf:type ontology:Q1048835 }
['Berlanga de Duero', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlanga_de_Duero property:shares_border_with ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q178684
SYSTEM
Did you mean Berlanga de Duero ?
(Q178684,P47,c(Q1048835)) (Q177501,P47,c(Q1048835)) (Q829608,P47,c(Q1048835)) (Q1046930,P47,c(Q1048835)) (Q183,P47,c(Q1048835)) (Q830318,P47,c(Q1048835))
[ANSWER]
['Q178684', 'P47', {'concept': 'Q1048835'}] ['Q177501', 'P47', {'concept': 'Q1048835'}] ['Q829608', 'P47', {'concept': 'Q1048835'}] ['Q1046930', 'P47', {'concept': 'Q1048835'}] ['Q183', 'P47', {'concept': 'Q1048835'}] ['Q830318', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21153447 property:P47 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Berlanga de Duero ?
Berlanga de Duero
['Berlanga de Duero', 'shares border with', {'concept': 'political territorial entity'}] ['Caltojar', 'shares border with', {'concept': 'political territorial entity'}] ['Arenillas', 'shares border with', {'concept': 'political territorial entity'}] ['Rello', 'shares border with', {'concept': 'political territorial entity'}] ['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Barcones', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlanga_de_Duero property:shares_border_with ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q178684,P47,c(Q1048835))
['Q178684', 'P47', {'concept': 'Q1048835'}]
['Berlanga de Duero', 'shares border with', {'concept': 'political territorial entity'}]
[]
SYSTEM
13
Q834027 Q672878 Q177501 Q829608 Q837567 Q832876 Q837631 Q1655094 Q837301 Q834423 Q836511 Q837197 Q832324
(Q178684,P47,c(Q1048835))
[ANSWER]
['Q178684', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21153447 property:P47 ?z . ?z rdf:type ontology:Q1048835 }
Valderrodilla Centenera de Andaluz Caltojar Arenillas Recuerda Velamazán Fuentepinilla Bañuelos La Riba de Escalote Tajueco Quintanas de Gormaz Retortillo de Soria Bayubas de Abajo
13
['Berlanga de Duero', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlanga_de_Duero property:shares_border_with ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q715970
P706
Q271669 Q1267889 Q1048835
USER
Which political territories are located in less number of landforms or waterways than Artà ?
(c(Q1048835),P706,c(Q271669)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q715970
relation P706
type Q271669
type Q1267889
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:Q271669 } UNION { ?o rdf:type ontology:Q1267889 } } . resource:Q715970 property:P706 ?o } } . FILTER ( ?k < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?k ) WHERE { { ?u property:P706 ?i . ?u rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1267889 } UNION { ?u rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q271669 . ?u property:P706 ?i } } GROUP BY ?u } }
Artà
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Artà
relation located on terrain feature
type landform
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:landform } UNION { ?o rdf:type ontology:waterway } } . resource:Artà property:located_on_terrain_feature ?o } } . FILTER ( ?k < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?k ) WHERE { { ?u property:located_on_terrain_feature ?i . ?u rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:waterway } UNION { ?u rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:landform . ?u property:located_on_terrain_feature ?i } } GROUP BY ?u } }
[]
landform waterway political territorial entity
Q769 Q766 Q778
SYSTEM
Grenada, Jamaica, The Bahamas
Q6661154 Q1747689 Q52626 Q13353 Q6139 Q168856 Q5785 Q13751 Q25228 Q8583 Q769 Q170213 Q766 Q9676 Q168159 Q8593 Q18221 Q778 Q9337 Q5700 Q25305
(c(Q1048835),P706,c(Q271669)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q715970
relation P706
type Q271669
type Q1267889
[ANSWERS] are located in less number of landforms or waterways than Artà
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:Q271669 } UNION { ?o rdf:type ontology:Q1267889 } } . resource:Q715970 property:P706 ?o } } . FILTER ( ?k < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?k ) WHERE { { ?u property:P706 ?i . ?u rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1267889 } UNION { ?u rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q271669 . ?u property:P706 ?i } } GROUP BY ?u } }
Llanddeusant, Carmarthenshire Ancient Rome Formentera Montserrat Havelland Chernivtsi Oblast Cayman Islands Biliran Anguilla Vulkaneifel Grenada Zakarpattia Oblast Jamaica Isle of Man Anglesey Mayen-Koblenz Turks and Caicos Islands The Bahamas Flemish Region Lapland British Virgin Islands
Grenada, Jamaica and The Bahamas are located in less number of landforms or waterways than Artà
Grenada Jamaica The Bahamas
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Artà
relation located on terrain feature
type landform
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:landform } UNION { ?o rdf:type ontology:waterway } } . resource:Artà property:located_on_terrain_feature ?o } } . FILTER ( ?k < ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?k ) WHERE { { ?u property:located_on_terrain_feature ?i . ?u rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:waterway } UNION { ?u rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:landform . ?u property:located_on_terrain_feature ?i } } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q988688
P706
Q271669 Q1267889 Q1048835
USER
And also tell me about Inca?
(c(Q1048835),P706,c(Q271669)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q988688
relation P706
type Q271669
type Q1267889
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q988688 property:P706 ?b . { { ?b rdf:type ontology:Q271669 } UNION { ?b rdf:type ontology:Q1267889 } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:P706 ?i . ?e rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1267889 } UNION { ?e property:P706 ?i . ?e rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q271669 } } GROUP BY ?e } }
Inca
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Inca
relation located on terrain feature
type landform
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Inca property:located_on_terrain_feature ?b . { { ?b rdf:type ontology:landform } UNION { ?b rdf:type ontology:waterway } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:located_on_terrain_feature ?i . ?e rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:waterway } UNION { ?e property:located_on_terrain_feature ?i . ?e rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:landform } } GROUP BY ?e } }
[]
landform waterway political territorial entity
Q769 Q766 Q778
SYSTEM
Grenada, Jamaica, The Bahamas
Q6661154 Q1747689 Q52626 Q13353 Q6139 Q168856 Q5785 Q13751 Q25228 Q8583 Q769 Q170213 Q766 Q9676 Q168159 Q8593 Q18221 Q778 Q9337 Q5700 Q25305
(c(Q1048835),P706,c(Q271669)|c(Q1267889))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q271669
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q988688
relation P706
type Q271669
type Q1267889
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q988688 property:P706 ?b . { { ?b rdf:type ontology:Q271669 } UNION { ?b rdf:type ontology:Q1267889 } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:P706 ?i . ?e rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1267889 } UNION { ?e property:P706 ?i . ?e rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q271669 } } GROUP BY ?e } }
Llanddeusant, Carmarthenshire Ancient Rome Formentera Montserrat Havelland Chernivtsi Oblast Cayman Islands Biliran Anguilla Vulkaneifel Grenada Zakarpattia Oblast Jamaica Isle of Man Anglesey Mayen-Koblenz Turks and Caicos Islands The Bahamas Flemish Region Lapland British Virgin Islands
Grenada Jamaica The Bahamas
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action count
action filter_multi_types
action find
entity Inca
relation located on terrain feature
type landform
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Inca property:located_on_terrain_feature ?b . { { ?b rdf:type ontology:landform } UNION { ?b rdf:type ontology:waterway } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?q ) WHERE { { ?e property:located_on_terrain_feature ?i . ?e rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:waterway } UNION { ?e property:located_on_terrain_feature ?i . ?e rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:landform } } GROUP BY ?e } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21063100 Q823576
P27
Q1048835
USER
Which political territories are the native countriesof Jens Köppen or John Maeke ?
OR((Q823576,P27,c(Q1048835)), (Q21063100,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q823576
relation P27
action find
entity Q21063100
relation P27
type Q1048835
{'OR': [['Q823576', 'P27', {'concept': 'Q1048835'}], ['Q21063100', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( resource:Q823576 ) ( resource:Q21063100 ) } . ?r property:P27 ?z } . ?z rdf:type ontology:Q1048835 }
John Maeke Jens Köppen
action filter_type
action union
action find
entity Jens Köppen
relation country of citizenship
action find
entity John Maeke
relation country of citizenship
type political territorial entity
{'OR': [['Jens Köppen', 'country of citizenship', {'concept': 'political territorial entity'}], ['John Maeke', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( resource:Jens_Köppen ) ( resource:John_Maeke ) } . ?r property:country_of_citizenship ?z } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q685 Q183
SYSTEM
Solomon Islands, Germany
Q685 Q183
OR((Q823576,P27,c(Q1048835)), (Q21063100,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q823576
relation P27
action find
entity Q21063100
relation P27
type Q1048835
[ANSWERS] are the native countriesof Jens Köppen or John Maeke
{'OR': [['Q823576', 'P27', {'concept': 'Q1048835'}], ['Q21063100', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( resource:Q823576 ) ( resource:Q21063100 ) } . ?r property:P27 ?z } . ?z rdf:type ontology:Q1048835 }
Solomon Islands Germany
Solomon Islands and Germany are the native countriesof Jens Köppen or John Maeke
Solomon Islands Germany
action filter_type
action union
action find
entity Jens Köppen
relation country of citizenship
action find
entity John Maeke
relation country of citizenship
type political territorial entity
{'OR': [['Jens Köppen', 'country of citizenship', {'concept': 'political territorial entity'}], ['John Maeke', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?r ) { ( resource:Jens_Köppen ) ( resource:John_Maeke ) } . ?r property:country_of_citizenship ?z } . ?z rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2083175
P530
Q1048835
USER
Do Santa Rosa de Lima, Sergipe have ambassadorial relations with those ones ?
(Q2083175,P530,Q685) (Q2083175,P530,Q183)
action is_in
entity prev_answer
action find
entity Q2083175
relation P530
['Q2083175', 'P530', 'Q685'] ['Q2083175', 'P530', 'Q183']
ASK WHERE { VALUES ( ?s ) { ( resource:Q685 ) ( resource:Q183 ) } . resource:Q2083175 property:P530 ?s }
Santa Rosa de Lima, Sergipe
action is_in
entity prev_answer
action find
entity Santa Rosa de Lima, Sergipe
relation diplomatic relation
['Santa Rosa de Lima, Sergipe', 'diplomatic relation', 'Solomon Islands'] ['Santa Rosa de Lima, Sergipe', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?s ) { ( resource:Solomon_Islands ) ( resource:Germany ) } . resource:Santa_Rosa_de_Lima,_Sergipe property:diplomatic_relation ?s }
[]
political territorial entity
SYSTEM
NO
(Q2083175,P530,Q685) (Q2083175,P530,Q183)
action is_in
entity prev_answer
action find
entity Q2083175
relation P530
[ANSWER]
['Q2083175', 'P530', 'Q685'] ['Q2083175', 'P530', 'Q183']
ASK WHERE { VALUES ( ?s ) { ( resource:Q685 ) ( resource:Q183 ) } . resource:Q2083175 property:P530 ?s }
No
action is_in
entity prev_answer
action find
entity Santa Rosa de Lima, Sergipe
relation diplomatic relation
['Santa Rosa de Lima, Sergipe', 'diplomatic relation', 'Solomon Islands'] ['Santa Rosa de Lima, Sergipe', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?s ) { ( resource:Solomon_Islands ) ( resource:Germany ) } . resource:Santa_Rosa_de_Lima,_Sergipe property:diplomatic_relation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q685
P85
Q484692
USER
Which is the national anthem of Solomon Islands ?
(Q685,P85,c(Q484692))
action filter_type
action find
entity Q685
relation P85
type Q484692
['Q685', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?b WHERE { resource:Q685 property:P85 ?b . ?b rdf:type ontology:Q484692 }
Solomon Islands
action filter_type
action find
entity Solomon Islands
relation anthem
type hymn
['Solomon Islands', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?b WHERE { resource:Solomon_Islands property:anthem ?b . ?b rdf:type ontology:hymn }
[]
hymn
Q857953
SYSTEM
God Save Our Solomon Islands
Q857953
(Q685,P85,c(Q484692))
action filter_type
action find
entity Q685
relation P85
type Q484692
The national anthem of Solomon Islands is [ANSWER]
['Q685', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?b WHERE { resource:Q685 property:P85 ?b . ?b rdf:type ontology:Q484692 }
God Save Our Solomon Islands
The national anthem of Solomon Islands is God Save Our Solomon Islands
God Save Our Solomon Islands
action filter_type
action find
entity Solomon Islands
relation anthem
type hymn
['Solomon Islands', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?b WHERE { resource:Solomon_Islands property:anthem ?b . ?b rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q924
Q484692
USER
And also tell me about Tanzania?
(Q924,P85,c(Q484692))
action filter_type
action find
entity Q924
relation P85
type Q484692
['Q924', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q484692 . resource:Q924 property:P85 ?o }
Tanzania
action filter_type
action find
entity Tanzania
relation anthem
type hymn
['Tanzania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:hymn . resource:Tanzania property:anthem ?o }
[]
hymn
Q154035
SYSTEM
Mungu ibariki Afrika
Q154035
(Q924,P85,c(Q484692))
action filter_type
action find
entity Q924
relation P85
type Q484692
[ANSWER]
['Q924', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q484692 . resource:Q924 property:P85 ?o }
Mungu ibariki Afrika
Mungu ibariki Afrika
action filter_type
action find
entity Tanzania
relation anthem
type hymn
['Tanzania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:hymn . resource:Tanzania property:anthem ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q154035 Q19662463
P86
Q502895
USER
Did Siddarth Gurung compose that hymn ?
(Q154035,P86,Q19662463)
action is_in
entity Q19662463
action find
entity Q154035
relation P86
['Q154035', 'P86', 'Q19662463']
ASK WHERE { resource:Q154035 property:P86 resource:Q19662463 }
Mungu ibariki Afrika Siddarth Gurung
action is_in
entity Siddarth Gurung
action find
entity Mungu ibariki Afrika
relation composer
['Mungu ibariki Afrika', 'composer', 'Siddarth Gurung']
ASK WHERE { resource:Mungu_ibariki_Afrika property:composer resource:Siddarth_Gurung }
[]
common name
SYSTEM
NO
(Q154035,P86,Q19662463)
action is_in
entity Q19662463
action find
entity Q154035
relation P86
[ANSWER]
['Q154035', 'P86', 'Q19662463']
ASK WHERE { resource:Q154035 property:P86 resource:Q19662463 }
No
action is_in
entity Siddarth Gurung
action find
entity Mungu ibariki Afrika
relation composer
['Mungu ibariki Afrika', 'composer', 'Siddarth Gurung']
ASK WHERE { resource:Mungu_ibariki_Afrika property:composer resource:Siddarth_Gurung }
[]