Simple Question (Direct)
Simple Question
Q9342960
P410
Q4189293
USER
Which is the title held by Stanisław Rudnicki ?
(Q9342960,P410,c(Q4189293))
action filter_type
action find
entity Q9342960
relation P410
type Q4189293
['Q9342960', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?h WHERE { resource:Q9342960 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
Stanisław Rudnicki
action filter_type
action find
entity Stanisław Rudnicki
relation military rank
type title
['Stanisław Rudnicki', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?h WHERE { resource:Stanisław_Rudnicki property:military_rank ?h . ?h rdf:type ontology:title }
[]
title
Q2397385
SYSTEM
Podporucznik
Q2397385
(Q9342960,P410,c(Q4189293))
action filter_type
action find
entity Q9342960
relation P410
type Q4189293
The podporucznik the title held by Stanisław Rudnicki
['Q9342960', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?h WHERE { resource:Q9342960 property:P410 ?h . ?h rdf:type ontology:Q4189293 }
Podporucznik
The podporucznik the title held by Stanisław Rudnicki
Podporucznik
action filter_type
action find
entity Stanisław Rudnicki
relation military rank
type title
['Stanisław Rudnicki', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?h WHERE { resource:Stanisław_Rudnicki property:military_rank ?h . ?h rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2397385
P17
Q15617994
USER
Which administrative territory is that title a part of ?
(Q2397385,P17,c(Q15617994))
action filter_type
action find
entity Q2397385
relation P17
type Q15617994
['Q2397385', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2397385 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Podporucznik
action filter_type
action find
entity Podporucznik
relation country
type designation for an administrative territorial entity
['Podporucznik', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Podporucznik property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q2397385,P17,c(Q15617994))
action filter_type
action find
entity Q2397385
relation P17
type Q15617994
The [ANSWER] is that title a part of
['Q2397385', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2397385 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Serbia
The Serbia is that title a part of
Serbia
action filter_type
action find
entity Podporucznik
relation country
type designation for an administrative territorial entity
['Podporucznik', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Podporucznik property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q403 Q55896 Q30
P530
Q15617994
USER
Does Serbia have tactful political relations with Colle Sannita and United States of America ?
(Q403,P530,Q55896) (Q403,P530,Q30)
action is_in
entity Q403
action intersection
action find_reverse
entity Q55896
relation P530
action find_reverse
entity Q30
relation P530
['Q403', 'P530', 'Q55896'] ['Q403', 'P530', 'Q30']
ASK WHERE { resource:Q403 property:P530 resource:Q55896 . resource:Q403 property:P530 resource:Q30 }
Serbia Colle Sannita United States of America
action is_in
entity Serbia
action intersection
action find_reverse
entity Colle Sannita
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Colle Sannita'] ['Serbia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Colle_Sannita . resource:Serbia property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q403,P530,Q55896) (Q403,P530,Q30)
action is_in
entity Q403
action intersection
action find_reverse
entity Q55896
relation P530
action find_reverse
entity Q30
relation P530
[ANSWER]
['Q403', 'P530', 'Q55896'] ['Q403', 'P530', 'Q30']
ASK WHERE { resource:Q403 property:P530 resource:Q55896 . resource:Q403 property:P530 resource:Q30 }
NO and YES respectively
action is_in
entity Serbia
action intersection
action find_reverse
entity Colle Sannita
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Colle Sannita'] ['Serbia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Colle_Sannita . resource:Serbia property:diplomatic_relation resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1082310 Q55896
P17
Q15617994
USER
Which administrative territories are Colle Sannita or Popgrigorovo a part of ?
OR((Q55896,P17,c(Q15617994)), (Q1082310,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q55896
relation P17
action find
entity Q1082310
relation P17
type Q15617994
{'OR': [['Q55896', 'P17', {'concept': 'Q15617994'}], ['Q1082310', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q55896 property:P17 ?r } UNION { resource:Q1082310 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Popgrigorovo Colle Sannita
action filter_type
action union
action find
entity Colle Sannita
relation country
action find
entity Popgrigorovo
relation country
type designation for an administrative territorial entity
{'OR': [['Colle Sannita', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Popgrigorovo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Colle_Sannita property:country ?r } UNION { resource:Popgrigorovo property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219 Q38
SYSTEM
Bulgaria, Italy
Q219 Q38
OR((Q55896,P17,c(Q15617994)), (Q1082310,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q55896
relation P17
action find
entity Q1082310
relation P17
type Q15617994
[ANSWERS] are Colle Sannita or Popgrigorovo a part of
{'OR': [['Q55896', 'P17', {'concept': 'Q15617994'}], ['Q1082310', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q55896 property:P17 ?r } UNION { resource:Q1082310 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Bulgaria Italy
Bulgaria and Italy are Colle Sannita or Popgrigorovo a part of
Bulgaria Italy
action filter_type
action union
action find
entity Colle Sannita
relation country
action find
entity Popgrigorovo
relation country
type designation for an administrative territorial entity
{'OR': [['Colle Sannita', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Popgrigorovo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Colle_Sannita property:country ?r } UNION { resource:Popgrigorovo property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P85
Q484692
USER
Which is the national anthem of Serbia ?
(Q403,P85,c(Q484692))
action filter_type
action find
entity Q403
relation P85
type Q484692
['Q403', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q403 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Serbia
action filter_type
action find
entity Serbia
relation anthem
type hymn
['Serbia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Serbia property:anthem ?p . ?p rdf:type ontology:hymn }
[]
hymn
Q185190
SYSTEM
Bože Pravde
Q185190
(Q403,P85,c(Q484692))
action filter_type
action find
entity Q403
relation P85
type Q484692
The national anthem of Serbia is Serbian [ANSWER]
['Q403', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q403 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Bože Pravde
The national anthem of Serbia is Serbian Bože Pravde
Bože Pravde
action filter_type
action find
entity Serbia
relation anthem
type hymn
['Serbia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Serbia property:anthem ?p . ?p rdf:type ontology:hymn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q403
P840
Q166142
USER
Which application has a setting location of that administrative territory ?
(c(Q166142),P840,Q185190)
action filter_type
action find_reverse
entity Q403
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q185190']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q166142 . ?s property:P840 resource:Q403 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Bože Pravde']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:application . ?s property:narrative_location resource:Serbia }
[]
application
Q811024
SYSTEM
Battlefield 2142
Q811024
(c(Q166142),P840,Q185190)
action filter_type
action find_reverse
entity Q403
relation P840
type Q166142
[ANSWER] has a setting location of that administrative territory
[{'concept': 'Q166142'}, 'P840', 'Q185190']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q166142 . ?s property:P840 resource:Q403 }
Battlefield 2142
Battlefield 2142 has a setting location of that administrative territory
Battlefield 2142
action filter_type
action find_reverse
entity Serbia
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Bože Pravde']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:application . ?s property:narrative_location resource:Serbia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q403
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(c(Q15617994),P47,Q811024)
action filter_type
action find
entity Q403
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q811024']
SELECT DISTINCT ?k WHERE { resource:Q403 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Serbia
action filter_type
action find
entity Serbia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Battlefield 2142']
SELECT DISTINCT ?k WHERE { resource:Serbia property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q225 Q28
SYSTEM
Romania, Bosnia and Herzegovina, Hungary
Q236 Q224 Q222 Q221 Q218 Q219 Q225 Q28
(c(Q15617994),P47,Q811024)
action filter_type
action find
entity Q403
relation P47
type Q15617994
[ANSWERS] are bordered by that one
[{'concept': 'Q15617994'}, 'P47', 'Q811024']
SELECT DISTINCT ?k WHERE { resource:Q403 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Montenegro Croatia Albania Republic of Macedonia Romania Bulgaria Bosnia and Herzegovina Hungary
Romania, Bosnia and Herzegovina and Hungary are bordered by that one
Romania Bosnia and Herzegovina Hungary
action filter_type
action find
entity Serbia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Battlefield 2142']
SELECT DISTINCT ?k WHERE { resource:Serbia property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q56061
USER
How many international organizations or administrative territories were that administrative territory a member of ?
(Q218,P463,c(Q484652)) (Q218,P463,c(Q56061)) (Q218,P463,c(Q484652)) (Q218,P463,c(Q56061)) (Q225,P463,c(Q484652)) (Q225,P463,c(Q56061)) (Q28,P463,c(Q484652)) (Q28,P463,c(Q56061))
['Q218', 'P463', {'concept': 'Q484652'}] ['Q218', 'P463', {'concept': 'Q56061'}] ['Q218', 'P463', {'concept': 'Q484652'}] ['Q218', 'P463', {'concept': 'Q56061'}] ['Q225', 'P463', {'concept': 'Q484652'}] ['Q225', 'P463', {'concept': 'Q56061'}] ['Q28', 'P463', {'concept': 'Q484652'}] ['Q28', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2175798 property:P463 ?z } UNION { resource:Q2175798 property:P463 ?y } UNION { resource:Q2175798 property:P463 ?z } UNION { resource:Q2175798 property:P463 ?y } UNION { resource:Q225 property:P463 ?z } UNION { resource:Q225 property:P463 ?y } UNION { resource:Q5943060 property:P463 ?z } UNION { resource:Q5943060 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q56061 }
['Romania', 'member of', {'concept': 'international organization'}] ['Romania', 'member of', {'concept': 'administrative territorial entity'}] ['Romania', 'member of', {'concept': 'international organization'}] ['Romania', 'member of', {'concept': 'administrative territorial entity'}] ['Bosnia and Herzegovina', 'member of', {'concept': 'international organization'}] ['Bosnia and Herzegovina', 'member of', {'concept': 'administrative territorial entity'}] ['Hungary', 'member of', {'concept': 'international organization'}] ['Hungary', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Romania property:member_of ?z } UNION { resource:Romania property:member_of ?y } UNION { resource:Romania property:member_of ?z } UNION { resource:Romania property:member_of ?y } UNION { resource:Bosnia_and_Herzegovina property:member_of ?z } UNION { resource:Bosnia_and_Herzegovina property:member_of ?y } UNION { resource:Hungary property:member_of ?z } UNION { resource:Hungary property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:administrative_territorial_entity }
[]
international organization administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q28
SYSTEM
Did you mean Hungary ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2175798 property:P463 ?z } UNION { resource:Q2175798 property:P463 ?y } UNION { resource:Q2175798 property:P463 ?z } UNION { resource:Q2175798 property:P463 ?y } UNION { resource:Q225 property:P463 ?z } UNION { resource:Q225 property:P463 ?y } UNION { resource:Q5943060 property:P463 ?z } UNION { resource:Q5943060 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q56061 }
Did you mean Hungary ?
Hungary
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Romania property:member_of ?z } UNION { resource:Romania property:member_of ?y } UNION { resource:Romania property:member_of ?z } UNION { resource:Romania property:member_of ?y } UNION { resource:Bosnia_and_Herzegovina property:member_of ?z } UNION { resource:Bosnia_and_Herzegovina property:member_of ?y } UNION { resource:Hungary property:member_of ?z } UNION { resource:Hungary property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Romania. Could you tell me the answer for that?
(Q218,P463,c(Q484652)) (Q218,P463,c(Q56061)) (Q218,P463,c(Q484652)) (Q218,P463,c(Q56061)) (Q225,P463,c(Q484652)) (Q225,P463,c(Q56061)) (Q28,P463,c(Q484652)) (Q28,P463,c(Q56061))
Q218
['Q218', 'P463', {'concept': 'Q484652'}] ['Q218', 'P463', {'concept': 'Q56061'}] ['Q218', 'P463', {'concept': 'Q484652'}] ['Q218', 'P463', {'concept': 'Q56061'}] ['Q225', 'P463', {'concept': 'Q484652'}] ['Q225', 'P463', {'concept': 'Q56061'}] ['Q28', 'P463', {'concept': 'Q484652'}] ['Q28', 'P463', {'concept': 'Q56061'}]
['Romania', 'member of', {'concept': 'international organization'}] ['Romania', 'member of', {'concept': 'administrative territorial entity'}] ['Romania', 'member of', {'concept': 'international organization'}] ['Romania', 'member of', {'concept': 'administrative territorial entity'}] ['Bosnia and Herzegovina', 'member of', {'concept': 'international organization'}] ['Bosnia and Herzegovina', 'member of', {'concept': 'administrative territorial entity'}] ['Hungary', 'member of', {'concept': 'international organization'}] ['Hungary', 'member of', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
6
Q81299 Q458 Q1065 Q7184 Q42262 Q1043527
(Q218,P463,c(Q484652)) (Q218,P463,c(Q56061)) (Q218,P463,c(Q484652)) (Q218,P463,c(Q56061)) (Q225,P463,c(Q484652)) (Q225,P463,c(Q56061)) (Q28,P463,c(Q484652)) (Q28,P463,c(Q56061))
[ANSWER]
['Q218', 'P463', {'concept': 'Q484652'}] ['Q218', 'P463', {'concept': 'Q56061'}] ['Q218', 'P463', {'concept': 'Q484652'}] ['Q218', 'P463', {'concept': 'Q56061'}] ['Q225', 'P463', {'concept': 'Q484652'}] ['Q225', 'P463', {'concept': 'Q56061'}] ['Q28', 'P463', {'concept': 'Q484652'}] ['Q28', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q2175798 property:P463 ?z } UNION { resource:Q2175798 property:P463 ?y } UNION { resource:Q2175798 property:P463 ?z } UNION { resource:Q2175798 property:P463 ?y } UNION { resource:Q225 property:P463 ?z } UNION { resource:Q225 property:P463 ?y } UNION { resource:Q5943060 property:P463 ?z } UNION { resource:Q5943060 property:P463 ?y } } . ?z rdf:type ontology:Q484652 . ?y rdf:type ontology:Q56061 }
Organization for Security and Co-operation in Europe European Union United Nations North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
6
['Romania', 'member of', {'concept': 'international organization'}] ['Romania', 'member of', {'concept': 'administrative territorial entity'}] ['Romania', 'member of', {'concept': 'international organization'}] ['Romania', 'member of', {'concept': 'administrative territorial entity'}] ['Bosnia and Herzegovina', 'member of', {'concept': 'international organization'}] ['Bosnia and Herzegovina', 'member of', {'concept': 'administrative territorial entity'}] ['Hungary', 'member of', {'concept': 'international organization'}] ['Hungary', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Romania property:member_of ?z } UNION { resource:Romania property:member_of ?y } UNION { resource:Romania property:member_of ?z } UNION { resource:Romania property:member_of ?y } UNION { resource:Bosnia_and_Herzegovina property:member_of ?z } UNION { resource:Bosnia_and_Herzegovina property:member_of ?y } UNION { resource:Hungary property:member_of ?z } UNION { resource:Hungary property:member_of ?y } } . ?z rdf:type ontology:international_organization . ?y rdf:type ontology:administrative_territorial_entity }
[]