Simple Question (Direct)
Simple Question
Q4075081
P166
Q838948
USER
What was received by Evgeny Bazhanov ?
(Q4075081,P166,c(Q838948))
action filter_type
action find
entity Q4075081
relation P166
type Q838948
['Q4075081', 'P166', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { resource:Q4075081 property:P166 ?l . ?l rdf:type ontology:Q838948 }
Evgeny Bazhanov
action filter_type
action find
entity Evgeny Bazhanov
relation award received
type work of art
['Evgeny Bazhanov', 'award received', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { resource:Evgeny_Bazhanov property:award_received ?l . ?l rdf:type ontology:work_of_art }
[]
work of art
Q19030089
SYSTEM
Medal of the Order of Merit for the Fatherland II degree
Q19030089
(Q4075081,P166,c(Q838948))
action filter_type
action find
entity Q4075081
relation P166
type Q838948
The [ANSWER] was received by Evgeny Bazhanov
['Q4075081', 'P166', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { resource:Q4075081 property:P166 ?l . ?l rdf:type ontology:Q838948 }
Medal of the Order of Merit for the Fatherland II degree
The Medal of the Order of Merit for the Fatherland II degree was received by Evgeny Bazhanov
Medal of the Order of Merit for the Fatherland II degree
action filter_type
action find
entity Evgeny Bazhanov
relation award received
type work of art
['Evgeny Bazhanov', 'award received', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { resource:Evgeny_Bazhanov property:award_received ?l . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4075081
P106
Q12737077
USER
What are the job of that person ?
(Q19030089,P106,c(Q12737077))
action filter_type
action find
entity Q4075081
relation P106
type Q12737077
['Q19030089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q4075081 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Evgeny Bazhanov
action filter_type
action find
entity Evgeny Bazhanov
relation occupation
type occupation
['Medal of the Order of Merit for the Fatherland II degree', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Evgeny_Bazhanov property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q201788 Q193391
SYSTEM
historian, diplomat
Q201788 Q193391
(Q19030089,P106,c(Q12737077))
action filter_type
action find
entity Q4075081
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q19030089', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q4075081 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
historian diplomat
The job of that person are the historian and diplomat
historian diplomat
action filter_type
action find
entity Evgeny Bazhanov
relation occupation
type occupation
['Medal of the Order of Merit for the Fatherland II degree', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Evgeny_Bazhanov property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4075081
P19
Q56061
USER
Which administrative territory was Evgeny Bazhanov born in ?
(Q4075081,P19,c(Q56061))
action filter_type
action find
entity Q4075081
relation P19
type Q56061
['Q4075081', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4075081 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Evgeny Bazhanov
action filter_type
action find
entity Evgeny Bazhanov
relation place of birth
type administrative territorial entity
['Evgeny Bazhanov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Evgeny_Bazhanov property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36036
SYSTEM
Lviv
Q36036
(Q4075081,P19,c(Q56061))
action filter_type
action find
entity Q4075081
relation P19
type Q56061
Evgeny Bazhanov was born in [ANSWER]
['Q4075081', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4075081 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Lviv
Evgeny Bazhanov was born in Lviv
Lviv
action filter_type
action find
entity Evgeny Bazhanov
relation place of birth
type administrative territorial entity
['Evgeny Bazhanov', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Evgeny_Bazhanov property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5984601
Q56061
USER
And also tell me about Luis del Porto Seguro Ovalle?
(Q5984601,P19,c(Q56061))
action filter_type
action find
entity Q5984601
relation P19
type Q56061
['Q5984601', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q5984601 property:P19 ?m }
Luis del Porto Seguro Ovalle
action filter_type
action find
entity Luis del Porto Seguro Ovalle
relation place of birth
type administrative territorial entity
['Luis del Porto Seguro Ovalle', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Luis_del_Porto_Seguro_Ovalle property:place_of_birth ?m }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q5984601,P19,c(Q56061))
action filter_type
action find
entity Q5984601
relation P19
type Q56061
[ANSWER]
['Q5984601', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q5984601 property:P19 ?m }
Vienna
Vienna
action filter_type
action find
entity Luis del Porto Seguro Ovalle
relation place of birth
type administrative territorial entity
['Luis del Porto Seguro Ovalle', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Luis_del_Porto_Seguro_Ovalle property:place_of_birth ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1741 Q93980
P19
Q502895
USER
Was Friedrich Wührer born at that administrative territory ?
(Q93980,P19,Q1741)
action is_in
entity Q1741
action find
entity Q93980
relation P19
['Q93980', 'P19', 'Q1741']
ASK WHERE { resource:Q93980 property:P19 resource:Q1741 }
Vienna Friedrich Wührer
action is_in
entity Vienna
action find
entity Friedrich Wührer
relation place of birth
['Friedrich Wührer', 'place of birth', 'Vienna']
ASK WHERE { resource:Friedrich_Wührer property:place_of_birth resource:Vienna }
[]
common name
SYSTEM
YES
(Q93980,P19,Q1741)
action is_in
entity Q1741
action find
entity Q93980
relation P19
[ANSWER]
['Q93980', 'P19', 'Q1741']
ASK WHERE { resource:Q93980 property:P19 resource:Q1741 }
Yes
action is_in
entity Vienna
action find
entity Friedrich Wührer
relation place of birth
['Friedrich Wührer', 'place of birth', 'Vienna']
ASK WHERE { resource:Friedrich_Wührer property:place_of_birth resource:Vienna }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19030089 Q159
P17
Q15617994
USER
Is that work of art located in Russia ?
(Q19030089,P17,Q159)
action is_in
entity Q159
action find
entity Q19030089
relation P17
['Q19030089', 'P17', 'Q159']
ASK WHERE { resource:Q19030089 property:P17 resource:Q159 }
Medal of the Order of Merit for the Fatherland II degree Russia
action is_in
entity Russia
action find
entity Medal of the Order of Merit for the Fatherland II degree
relation country
['Medal of the Order of Merit for the Fatherland II degree', 'country', 'Russia']
ASK WHERE { resource:Medal_of_the_Order_of_Merit_for_the_Fatherland_II_degree property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q19030089,P17,Q159)
action is_in
entity Q159
action find
entity Q19030089
relation P17
[ANSWER]
['Q19030089', 'P17', 'Q159']
ASK WHERE { resource:Q19030089 property:P17 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Medal of the Order of Merit for the Fatherland II degree
relation country
['Medal of the Order of Merit for the Fatherland II degree', 'country', 'Russia']
ASK WHERE { resource:Medal_of_the_Order_of_Merit_for_the_Fatherland_II_degree property:country resource:Russia }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q538676 Q36036
P190 P20
Q56061
USER
Which administrative territories are twin towns of Lviv or did the demise of Lou Monte occur ?
OR((Q36036,P190,c(Q56061)), (Q538676,P20,c(Q56061)))
action filter_type
action union
action find
entity Q36036
relation P190
action find
entity Q538676
relation P20
type Q56061
{'OR': [['Q36036', 'P190', {'concept': 'Q56061'}], ['Q538676', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q36036 property:P190 ?j } UNION { resource:Q538676 property:P20 ?j } } . ?j rdf:type ontology:Q56061 }
Lou Monte Lviv
action filter_type
action union
action find
entity Lviv
relation sister city
action find
entity Lou Monte
relation place of death
type administrative territorial entity
{'OR': [['Lviv', 'sister city', {'concept': 'administrative territorial entity'}], ['Lou Monte', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Lviv property:sister_city ?j } UNION { resource:Lou_Monte property:place_of_death ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q55630 Q671458 Q172415 Q964785 Q26498 Q201051 Q598 Q580 Q216 Q474605
SYSTEM
Some of them are Novi Sad, Pompano Beach, Kutaisi, Whitstable, Eskilstuna, Rishon LeZion, Rzeszów, Łódź, Vilnius, Rochdale
Q474605 Q216 Q671458 Q270 Q580 Q172415 Q201051 Q1781 Q26498 Q55630 Q598 Q964785
OR((Q36036,P190,c(Q56061)), (Q538676,P20,c(Q56061)))
action filter_type
action union
action find
entity Q36036
relation P190
action find
entity Q538676
relation P20
type Q56061
[ANSWERS] are twin towns of Lviv or did the demise of Lou Monte occur
{'OR': [['Q36036', 'P190', {'concept': 'Q56061'}], ['Q538676', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q36036 property:P190 ?j } UNION { resource:Q538676 property:P20 ?j } } . ?j rdf:type ontology:Q56061 }
Rochdale Vilnius Pompano Beach Warsaw Łódź Kutaisi Rishon LeZion Budapest Eskilstuna Novi Sad Rzeszów Whitstable
Novi Sad, Pompano Beach, Kutaisi, Whitstable, Eskilstuna, Rishon LeZion, Rzeszów, Łódź, Vilnius and Rochdale are twin towns of Lviv or did the demise of Lou Monte occur
Novi Sad Pompano Beach Kutaisi Whitstable Eskilstuna Rishon LeZion Rzeszów Łódź Vilnius Rochdale
action filter_type
action union
action find
entity Lviv
relation sister city
action find
entity Lou Monte
relation place of death
type administrative territorial entity
{'OR': [['Lviv', 'sister city', {'concept': 'administrative territorial entity'}], ['Lou Monte', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Lviv property:sister_city ?j } UNION { resource:Lou_Monte property:place_of_death ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P740
Q43229 Q2088357
USER
How many organizations or musical ensembles were formed at that administrative territory ?
(c(Q43229),P740,Q55630) (c(Q2088357),P740,Q55630) (c(Q43229),P740,Q55630) (c(Q2088357),P740,Q55630) (c(Q43229),P740,Q671458) (c(Q2088357),P740,Q671458) (c(Q43229),P740,Q172415) (c(Q2088357),P740,Q172415) (c(Q43229),P740,Q964785) (c(Q2088357),P740,Q964785) (c(Q43229),P740,Q26498) (c(Q2088357),P740,Q26498) (c(Q43229),P740,Q201051) (c(Q2088357),P740,Q201051) (c(Q43229),P740,Q598) (c(Q2088357),P740,Q598) (c(Q43229),P740,Q580) (c(Q2088357),P740,Q580) (c(Q43229),P740,Q216) (c(Q2088357),P740,Q216) (c(Q43229),P740,Q474605) (c(Q2088357),P740,Q474605)
[{'concept': 'Q43229'}, 'P740', 'Q55630'] [{'concept': 'Q2088357'}, 'P740', 'Q55630'] [{'concept': 'Q43229'}, 'P740', 'Q55630'] [{'concept': 'Q2088357'}, 'P740', 'Q55630'] [{'concept': 'Q43229'}, 'P740', 'Q671458'] [{'concept': 'Q2088357'}, 'P740', 'Q671458'] [{'concept': 'Q43229'}, 'P740', 'Q172415'] [{'concept': 'Q2088357'}, 'P740', 'Q172415'] [{'concept': 'Q43229'}, 'P740', 'Q964785'] [{'concept': 'Q2088357'}, 'P740', 'Q964785'] [{'concept': 'Q43229'}, 'P740', 'Q26498'] [{'concept': 'Q2088357'}, 'P740', 'Q26498'] [{'concept': 'Q43229'}, 'P740', 'Q201051'] [{'concept': 'Q2088357'}, 'P740', 'Q201051'] [{'concept': 'Q43229'}, 'P740', 'Q598'] [{'concept': 'Q2088357'}, 'P740', 'Q598'] [{'concept': 'Q43229'}, 'P740', 'Q580'] [{'concept': 'Q2088357'}, 'P740', 'Q580'] [{'concept': 'Q43229'}, 'P740', 'Q216'] [{'concept': 'Q2088357'}, 'P740', 'Q216'] [{'concept': 'Q43229'}, 'P740', 'Q474605'] [{'concept': 'Q2088357'}, 'P740', 'Q474605']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P740 resource:Q4322591 } UNION { ?y property:P740 resource:Q4322591 } UNION { ?z property:P740 resource:Q4322591 } UNION { ?y property:P740 resource:Q4322591 } UNION { ?z property:P740 resource:Q4420058 } UNION { ?y property:P740 resource:Q4420058 } UNION { ?z property:P740 resource:Q172415 } UNION { ?y property:P740 resource:Q172415 } UNION { ?z property:P740 resource:Q964785 } UNION { ?y property:P740 resource:Q964785 } UNION { ?z property:P740 resource:Q2184819 } UNION { ?y property:P740 resource:Q2184819 } UNION { ?z property:P740 resource:Q201051 } UNION { ?y property:P740 resource:Q201051 } UNION { ?z property:P740 resource:Q598 } UNION { ?y property:P740 resource:Q598 } UNION { ?z property:P740 resource:Q580 } UNION { ?y property:P740 resource:Q580 } UNION { ?z property:P740 resource:Q16476450 } UNION { ?y property:P740 resource:Q16476450 } UNION { ?z property:P740 resource:Q1032004 } UNION { ?y property:P740 resource:Q1032004 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q2088357 }
[{'concept': 'organization'}, 'location of formation', 'Novi Sad'] [{'concept': 'musical ensemble'}, 'location of formation', 'Novi Sad'] [{'concept': 'organization'}, 'location of formation', 'Novi Sad'] [{'concept': 'musical ensemble'}, 'location of formation', 'Novi Sad'] [{'concept': 'organization'}, 'location of formation', 'Pompano Beach'] [{'concept': 'musical ensemble'}, 'location of formation', 'Pompano Beach'] [{'concept': 'organization'}, 'location of formation', 'Kutaisi'] [{'concept': 'musical ensemble'}, 'location of formation', 'Kutaisi'] [{'concept': 'organization'}, 'location of formation', 'Whitstable'] [{'concept': 'musical ensemble'}, 'location of formation', 'Whitstable'] [{'concept': 'organization'}, 'location of formation', 'Eskilstuna'] [{'concept': 'musical ensemble'}, 'location of formation', 'Eskilstuna'] [{'concept': 'organization'}, 'location of formation', 'Rishon LeZion'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rishon LeZion'] [{'concept': 'organization'}, 'location of formation', 'Rzeszów'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rzeszów'] [{'concept': 'organization'}, 'location of formation', 'Łódź'] [{'concept': 'musical ensemble'}, 'location of formation', 'Łódź'] [{'concept': 'organization'}, 'location of formation', 'Vilnius'] [{'concept': 'musical ensemble'}, 'location of formation', 'Vilnius'] [{'concept': 'organization'}, 'location of formation', 'Rochdale'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rochdale']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_formation resource:Novi_Sad } UNION { ?y property:location_of_formation resource:Novi_Sad } UNION { ?z property:location_of_formation resource:Novi_Sad } UNION { ?y property:location_of_formation resource:Novi_Sad } UNION { ?z property:location_of_formation resource:Pompano_Beach } UNION { ?y property:location_of_formation resource:Pompano_Beach } UNION { ?z property:location_of_formation resource:Kutaisi } UNION { ?y property:location_of_formation resource:Kutaisi } UNION { ?z property:location_of_formation resource:Whitstable } UNION { ?y property:location_of_formation resource:Whitstable } UNION { ?z property:location_of_formation resource:Eskilstuna } UNION { ?y property:location_of_formation resource:Eskilstuna } UNION { ?z property:location_of_formation resource:Rishon_LeZion } UNION { ?y property:location_of_formation resource:Rishon_LeZion } UNION { ?z property:location_of_formation resource:Rzeszów } UNION { ?y property:location_of_formation resource:Rzeszów } UNION { ?z property:location_of_formation resource:Łódź } UNION { ?y property:location_of_formation resource:Łódź } UNION { ?z property:location_of_formation resource:Vilnius } UNION { ?y property:location_of_formation resource:Vilnius } UNION { ?z property:location_of_formation resource:Rochdale } UNION { ?y property:location_of_formation resource:Rochdale } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:musical_ensemble }
[]
organization musical ensemble
Quantitative|Count|Mult. entity type|Clarification
Q964785
SYSTEM
Did you mean Whitstable ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P740 resource:Q4322591 } UNION { ?y property:P740 resource:Q4322591 } UNION { ?z property:P740 resource:Q4322591 } UNION { ?y property:P740 resource:Q4322591 } UNION { ?z property:P740 resource:Q4420058 } UNION { ?y property:P740 resource:Q4420058 } UNION { ?z property:P740 resource:Q172415 } UNION { ?y property:P740 resource:Q172415 } UNION { ?z property:P740 resource:Q964785 } UNION { ?y property:P740 resource:Q964785 } UNION { ?z property:P740 resource:Q2184819 } UNION { ?y property:P740 resource:Q2184819 } UNION { ?z property:P740 resource:Q201051 } UNION { ?y property:P740 resource:Q201051 } UNION { ?z property:P740 resource:Q598 } UNION { ?y property:P740 resource:Q598 } UNION { ?z property:P740 resource:Q580 } UNION { ?y property:P740 resource:Q580 } UNION { ?z property:P740 resource:Q16476450 } UNION { ?y property:P740 resource:Q16476450 } UNION { ?z property:P740 resource:Q1032004 } UNION { ?y property:P740 resource:Q1032004 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q2088357 }
Did you mean Whitstable ?
Whitstable
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_formation resource:Novi_Sad } UNION { ?y property:location_of_formation resource:Novi_Sad } UNION { ?z property:location_of_formation resource:Novi_Sad } UNION { ?y property:location_of_formation resource:Novi_Sad } UNION { ?z property:location_of_formation resource:Pompano_Beach } UNION { ?y property:location_of_formation resource:Pompano_Beach } UNION { ?z property:location_of_formation resource:Kutaisi } UNION { ?y property:location_of_formation resource:Kutaisi } UNION { ?z property:location_of_formation resource:Whitstable } UNION { ?y property:location_of_formation resource:Whitstable } UNION { ?z property:location_of_formation resource:Eskilstuna } UNION { ?y property:location_of_formation resource:Eskilstuna } UNION { ?z property:location_of_formation resource:Rishon_LeZion } UNION { ?y property:location_of_formation resource:Rishon_LeZion } UNION { ?z property:location_of_formation resource:Rzeszów } UNION { ?y property:location_of_formation resource:Rzeszów } UNION { ?z property:location_of_formation resource:Łódź } UNION { ?y property:location_of_formation resource:Łódź } UNION { ?z property:location_of_formation resource:Vilnius } UNION { ?y property:location_of_formation resource:Vilnius } UNION { ?z property:location_of_formation resource:Rochdale } UNION { ?y property:location_of_formation resource:Rochdale } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Novi Sad. Could you tell me the answer for that?
(c(Q43229),P740,Q55630) (c(Q2088357),P740,Q55630) (c(Q43229),P740,Q55630) (c(Q2088357),P740,Q55630) (c(Q43229),P740,Q671458) (c(Q2088357),P740,Q671458) (c(Q43229),P740,Q172415) (c(Q2088357),P740,Q172415) (c(Q43229),P740,Q964785) (c(Q2088357),P740,Q964785) (c(Q43229),P740,Q26498) (c(Q2088357),P740,Q26498) (c(Q43229),P740,Q201051) (c(Q2088357),P740,Q201051) (c(Q43229),P740,Q598) (c(Q2088357),P740,Q598) (c(Q43229),P740,Q580) (c(Q2088357),P740,Q580) (c(Q43229),P740,Q216) (c(Q2088357),P740,Q216) (c(Q43229),P740,Q474605) (c(Q2088357),P740,Q474605)
Q55630
[{'concept': 'Q43229'}, 'P740', 'Q55630'] [{'concept': 'Q2088357'}, 'P740', 'Q55630'] [{'concept': 'Q43229'}, 'P740', 'Q55630'] [{'concept': 'Q2088357'}, 'P740', 'Q55630'] [{'concept': 'Q43229'}, 'P740', 'Q671458'] [{'concept': 'Q2088357'}, 'P740', 'Q671458'] [{'concept': 'Q43229'}, 'P740', 'Q172415'] [{'concept': 'Q2088357'}, 'P740', 'Q172415'] [{'concept': 'Q43229'}, 'P740', 'Q964785'] [{'concept': 'Q2088357'}, 'P740', 'Q964785'] [{'concept': 'Q43229'}, 'P740', 'Q26498'] [{'concept': 'Q2088357'}, 'P740', 'Q26498'] [{'concept': 'Q43229'}, 'P740', 'Q201051'] [{'concept': 'Q2088357'}, 'P740', 'Q201051'] [{'concept': 'Q43229'}, 'P740', 'Q598'] [{'concept': 'Q2088357'}, 'P740', 'Q598'] [{'concept': 'Q43229'}, 'P740', 'Q580'] [{'concept': 'Q2088357'}, 'P740', 'Q580'] [{'concept': 'Q43229'}, 'P740', 'Q216'] [{'concept': 'Q2088357'}, 'P740', 'Q216'] [{'concept': 'Q43229'}, 'P740', 'Q474605'] [{'concept': 'Q2088357'}, 'P740', 'Q474605']
[{'concept': 'organization'}, 'location of formation', 'Novi Sad'] [{'concept': 'musical ensemble'}, 'location of formation', 'Novi Sad'] [{'concept': 'organization'}, 'location of formation', 'Novi Sad'] [{'concept': 'musical ensemble'}, 'location of formation', 'Novi Sad'] [{'concept': 'organization'}, 'location of formation', 'Pompano Beach'] [{'concept': 'musical ensemble'}, 'location of formation', 'Pompano Beach'] [{'concept': 'organization'}, 'location of formation', 'Kutaisi'] [{'concept': 'musical ensemble'}, 'location of formation', 'Kutaisi'] [{'concept': 'organization'}, 'location of formation', 'Whitstable'] [{'concept': 'musical ensemble'}, 'location of formation', 'Whitstable'] [{'concept': 'organization'}, 'location of formation', 'Eskilstuna'] [{'concept': 'musical ensemble'}, 'location of formation', 'Eskilstuna'] [{'concept': 'organization'}, 'location of formation', 'Rishon LeZion'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rishon LeZion'] [{'concept': 'organization'}, 'location of formation', 'Rzeszów'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rzeszów'] [{'concept': 'organization'}, 'location of formation', 'Łódź'] [{'concept': 'musical ensemble'}, 'location of formation', 'Łódź'] [{'concept': 'organization'}, 'location of formation', 'Vilnius'] [{'concept': 'musical ensemble'}, 'location of formation', 'Vilnius'] [{'concept': 'organization'}, 'location of formation', 'Rochdale'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rochdale']
[]
SYSTEM
3
Q7659039 Q7205231 Q16827683
(c(Q43229),P740,Q55630) (c(Q2088357),P740,Q55630) (c(Q43229),P740,Q55630) (c(Q2088357),P740,Q55630) (c(Q43229),P740,Q671458) (c(Q2088357),P740,Q671458) (c(Q43229),P740,Q172415) (c(Q2088357),P740,Q172415) (c(Q43229),P740,Q964785) (c(Q2088357),P740,Q964785) (c(Q43229),P740,Q26498) (c(Q2088357),P740,Q26498) (c(Q43229),P740,Q201051) (c(Q2088357),P740,Q201051) (c(Q43229),P740,Q598) (c(Q2088357),P740,Q598) (c(Q43229),P740,Q580) (c(Q2088357),P740,Q580) (c(Q43229),P740,Q216) (c(Q2088357),P740,Q216) (c(Q43229),P740,Q474605) (c(Q2088357),P740,Q474605)
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q55630'] [{'concept': 'Q2088357'}, 'P740', 'Q55630'] [{'concept': 'Q43229'}, 'P740', 'Q55630'] [{'concept': 'Q2088357'}, 'P740', 'Q55630'] [{'concept': 'Q43229'}, 'P740', 'Q671458'] [{'concept': 'Q2088357'}, 'P740', 'Q671458'] [{'concept': 'Q43229'}, 'P740', 'Q172415'] [{'concept': 'Q2088357'}, 'P740', 'Q172415'] [{'concept': 'Q43229'}, 'P740', 'Q964785'] [{'concept': 'Q2088357'}, 'P740', 'Q964785'] [{'concept': 'Q43229'}, 'P740', 'Q26498'] [{'concept': 'Q2088357'}, 'P740', 'Q26498'] [{'concept': 'Q43229'}, 'P740', 'Q201051'] [{'concept': 'Q2088357'}, 'P740', 'Q201051'] [{'concept': 'Q43229'}, 'P740', 'Q598'] [{'concept': 'Q2088357'}, 'P740', 'Q598'] [{'concept': 'Q43229'}, 'P740', 'Q580'] [{'concept': 'Q2088357'}, 'P740', 'Q580'] [{'concept': 'Q43229'}, 'P740', 'Q216'] [{'concept': 'Q2088357'}, 'P740', 'Q216'] [{'concept': 'Q43229'}, 'P740', 'Q474605'] [{'concept': 'Q2088357'}, 'P740', 'Q474605']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P740 resource:Q4322591 } UNION { ?y property:P740 resource:Q4322591 } UNION { ?z property:P740 resource:Q4322591 } UNION { ?y property:P740 resource:Q4322591 } UNION { ?z property:P740 resource:Q4420058 } UNION { ?y property:P740 resource:Q4420058 } UNION { ?z property:P740 resource:Q172415 } UNION { ?y property:P740 resource:Q172415 } UNION { ?z property:P740 resource:Q964785 } UNION { ?y property:P740 resource:Q964785 } UNION { ?z property:P740 resource:Q2184819 } UNION { ?y property:P740 resource:Q2184819 } UNION { ?z property:P740 resource:Q201051 } UNION { ?y property:P740 resource:Q201051 } UNION { ?z property:P740 resource:Q598 } UNION { ?y property:P740 resource:Q598 } UNION { ?z property:P740 resource:Q580 } UNION { ?y property:P740 resource:Q580 } UNION { ?z property:P740 resource:Q16476450 } UNION { ?y property:P740 resource:Q16476450 } UNION { ?z property:P740 resource:Q1032004 } UNION { ?y property:P740 resource:Q1032004 } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q2088357 }
Swisslion Takovo Plug'n'play Concrete Sun
3
[{'concept': 'organization'}, 'location of formation', 'Novi Sad'] [{'concept': 'musical ensemble'}, 'location of formation', 'Novi Sad'] [{'concept': 'organization'}, 'location of formation', 'Novi Sad'] [{'concept': 'musical ensemble'}, 'location of formation', 'Novi Sad'] [{'concept': 'organization'}, 'location of formation', 'Pompano Beach'] [{'concept': 'musical ensemble'}, 'location of formation', 'Pompano Beach'] [{'concept': 'organization'}, 'location of formation', 'Kutaisi'] [{'concept': 'musical ensemble'}, 'location of formation', 'Kutaisi'] [{'concept': 'organization'}, 'location of formation', 'Whitstable'] [{'concept': 'musical ensemble'}, 'location of formation', 'Whitstable'] [{'concept': 'organization'}, 'location of formation', 'Eskilstuna'] [{'concept': 'musical ensemble'}, 'location of formation', 'Eskilstuna'] [{'concept': 'organization'}, 'location of formation', 'Rishon LeZion'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rishon LeZion'] [{'concept': 'organization'}, 'location of formation', 'Rzeszów'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rzeszów'] [{'concept': 'organization'}, 'location of formation', 'Łódź'] [{'concept': 'musical ensemble'}, 'location of formation', 'Łódź'] [{'concept': 'organization'}, 'location of formation', 'Vilnius'] [{'concept': 'musical ensemble'}, 'location of formation', 'Vilnius'] [{'concept': 'organization'}, 'location of formation', 'Rochdale'] [{'concept': 'musical ensemble'}, 'location of formation', 'Rochdale']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_formation resource:Novi_Sad } UNION { ?y property:location_of_formation resource:Novi_Sad } UNION { ?z property:location_of_formation resource:Novi_Sad } UNION { ?y property:location_of_formation resource:Novi_Sad } UNION { ?z property:location_of_formation resource:Pompano_Beach } UNION { ?y property:location_of_formation resource:Pompano_Beach } UNION { ?z property:location_of_formation resource:Kutaisi } UNION { ?y property:location_of_formation resource:Kutaisi } UNION { ?z property:location_of_formation resource:Whitstable } UNION { ?y property:location_of_formation resource:Whitstable } UNION { ?z property:location_of_formation resource:Eskilstuna } UNION { ?y property:location_of_formation resource:Eskilstuna } UNION { ?z property:location_of_formation resource:Rishon_LeZion } UNION { ?y property:location_of_formation resource:Rishon_LeZion } UNION { ?z property:location_of_formation resource:Rzeszów } UNION { ?y property:location_of_formation resource:Rzeszów } UNION { ?z property:location_of_formation resource:Łódź } UNION { ?y property:location_of_formation resource:Łódź } UNION { ?z property:location_of_formation resource:Vilnius } UNION { ?y property:location_of_formation resource:Vilnius } UNION { ?z property:location_of_formation resource:Rochdale } UNION { ?y property:location_of_formation resource:Rochdale } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q216
P190
Q56061
USER
How many administrative territories are sister towns of Vilnius ?
(Q216,P190,c(Q56061))
action count
action filter_type
action find
entity Q216
relation P190
type Q56061
['Q216', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:Q56061 . resource:Q216 property:P190 ?l }
Vilnius
action count
action filter_type
action find
entity Vilnius
relation sister city
type administrative territorial entity
['Vilnius', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Vilnius property:sister_city ?l }
[]
administrative territorial entity
SYSTEM
34
Q437 Q1754 Q1867 Q649 Q1770 Q43788 Q1297 Q994 Q186237 Q3856 Q23436 Q23800 Q1780 Q1781 Q1520 Q172 Q34713 Q580 Q2656 Q585 Q21197 Q58976 Q1829 Q406 Q1764 Q1729 Q43070 Q270 Q239 Q25410 Q2280 Q6576 Q1085 Q36036
(Q216,P190,c(Q56061))
action count
action filter_type
action find
entity Q216
relation P190
type Q56061
[ANSWER]
['Q216', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:Q56061 . resource:Q216 property:P190 ?l }
Ljubljana Stockholm Taipei Moscow Tallinn Madison Chicago Tbilisi Joensuu Nicosia Edinburgh Valletta Bratislava Budapest Astana Toronto Salzburg Łódź Palermo Oslo Chișinău Piraeus Kaliningrad Istanbul Reykjavík Erfurt Donetsk Warsaw Brussels Aalborg Minsk Irkutsk Prague Lviv
34
action count
action filter_type
action find
entity Vilnius
relation sister city
type administrative territorial entity
['Vilnius', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Vilnius property:sister_city ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q580
P1376
Q855451
USER
Which Polish administrative territory has Łódź has its center of administration ?
(Q580,P1376,c(Q855451))
action filter_type
action find
entity Q580
relation P1376
type Q855451
['Q580', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?t WHERE { resource:Q580 property:P1376 ?t . ?t rdf:type ontology:Q855451 }
Łódź
action filter_type
action find
entity Łódź
relation capital of
type administrative territorial entity of Poland
['Łódź', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?t WHERE { resource:Łódź property:capital_of ?t . ?t rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
administrative territorial entity of Poland
Q54158
SYSTEM
Łódź Voivodeship
Q54158
(Q580,P1376,c(Q855451))
action filter_type
action find
entity Q580
relation P1376
type Q855451
[ANSWER] has Łódź has its center of administration
['Q580', 'P1376', {'concept': 'Q855451'}]
SELECT DISTINCT ?t WHERE { resource:Q580 property:P1376 ?t . ?t rdf:type ontology:Q855451 }
Łódź Voivodeship
Łódź Voivodeship has Łódź has its center of administration
Łódź Voivodeship
action filter_type
action find
entity Łódź
relation capital of
type administrative territorial entity of Poland
['Łódź', 'capital of', {'concept': 'administrative territorial entity of Poland'}]
SELECT DISTINCT ?t WHERE { resource:Łódź property:capital_of ?t . ?t rdf:type ontology:administrative_territorial_entity_of_Poland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54158
P237
Q17335294
USER
What is the ensign for that Polish administrative territory ?
(Q54158,P237,c(Q17335294))
action filter_type
action find
entity Q54158
relation P237
type Q17335294
['Q54158', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { resource:Q54158 property:P237 ?m . ?m rdf:type ontology:Q17335294 }
Łódź Voivodeship
action filter_type
action find
entity Łódź Voivodeship
relation coat of arms
type flag or coat of arms
['Łódź Voivodeship', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { resource:Łódź_Voivodeship property:coat_of_arms ?m . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q8237026
SYSTEM
Coat of arms of Łódź Voivodeship
Q8237026
(Q54158,P237,c(Q17335294))
action filter_type
action find
entity Q54158
relation P237
type Q17335294
The ensign for that Polish administrative territory is the [ANSWER]
['Q54158', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { resource:Q54158 property:P237 ?m . ?m rdf:type ontology:Q17335294 }
Coat of arms of Łódź Voivodeship
The ensign for that Polish administrative territory is the Coat of arms of Łódź Voivodeship
Coat of arms of Łódź Voivodeship
action filter_type
action find
entity Łódź Voivodeship
relation coat of arms
type flag or coat of arms
['Łódź Voivodeship', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { resource:Łódź_Voivodeship property:coat_of_arms ?m . ?m rdf:type ontology:flag_or_coat_of_arms }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q49683
P237
Q17335294 Q7275
USER
Which states have approximately the same number of coats of arms as their ensign as Grand Duchy of Lithuania ?
(c(Q7275),P237,c(Q17335294))
action approx
action find_tuple_counts
relation P237
type Q7275
type Q17335294
action count
action filter_type
action find
entity Q49683
relation P237
type Q7275
[{'concept': 'Q7275'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q49683 property:P237 ?y . ?y rdf:type ontology:Q7275 } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?v ) WHERE { ?m property:P237 ?k . ?m rdf:type ontology:Q7275 . ?k rdf:type ontology:Q17335294 } GROUP BY ?m } }
Grand Duchy of Lithuania
action approx
action find_tuple_counts
relation coat of arms
type state
type flag or coat of arms
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation coat of arms
type state
[{'concept': 'state'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Grand_Duchy_of_Lithuania property:coat_of_arms ?y . ?y rdf:type ontology:state } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?v ) WHERE { ?m property:coat_of_arms ?k . ?m rdf:type ontology:state . ?k rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?m } }
[]
flag or coat of arms state
Q980 Q25279 Q49683
SYSTEM
Bavaria, Curaçao, Grand Duchy of Lithuania
Q133356 Q161885 Q25279 Q980 Q210036 Q173761 Q49683
(c(Q7275),P237,c(Q17335294))
action approx
action find_tuple_counts
relation P237
type Q7275
type Q17335294
action count
action filter_type
action find
entity Q49683
relation P237
type Q7275
[ANSWERS] have approximately the same number of coats of arms as their ensign as Grand Duchy of Lithuania
[{'concept': 'Q7275'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q49683 property:P237 ?y . ?y rdf:type ontology:Q7275 } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?v ) WHERE { ?m property:P237 ?k . ?m rdf:type ontology:Q7275 . ?k rdf:type ontology:Q17335294 } GROUP BY ?m } }
Ukrainian Soviet Socialist Republic Kingdom of Great Britain Curaçao Bavaria Chechen Republic of Ichkeria Lithuanian Soviet Socialist Republic Grand Duchy of Lithuania
Bavaria, Curaçao and Grand Duchy of Lithuania have approximately the same number of coats of arms as their ensign as Grand Duchy of Lithuania
Bavaria Curaçao Grand Duchy of Lithuania
action approx
action find_tuple_counts
relation coat of arms
type state
type flag or coat of arms
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation coat of arms
type state
[{'concept': 'state'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Grand_Duchy_of_Lithuania property:coat_of_arms ?y . ?y rdf:type ontology:state } } . FILTER ( ?v = ?w ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?v ) WHERE { ?m property:coat_of_arms ?k . ?m rdf:type ontology:state . ?k rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?m } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q15180
P237
Q17335294 Q7275
USER
And what about Soviet Union?
(c(Q7275),P237,c(Q17335294))
action approx
action find_tuple_counts
relation P237
type Q7275
type Q17335294
action count
action filter_type
action find
entity Q15180
relation P237
type Q7275
[{'concept': 'Q7275'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?w ) WHERE { ?m property:P237 ?n . ?m rdf:type ontology:Q7275 . ?n rdf:type ontology:Q17335294 } GROUP BY ?m } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q15180 property:P237 ?i . ?i rdf:type ontology:Q7275 } } }
Soviet Union
action approx
action find_tuple_counts
relation coat of arms
type state
type flag or coat of arms
action count
action filter_type
action find
entity Soviet Union
relation coat of arms
type state
[{'concept': 'state'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?w ) WHERE { ?m property:coat_of_arms ?n . ?m rdf:type ontology:state . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?m } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Soviet_Union property:coat_of_arms ?i . ?i rdf:type ontology:state } } }
[]
flag or coat of arms state
Q33946 Q15180 Q26273
SYSTEM
Czechoslovakia, Soviet Union, Sint Maarten
Q230791 Q33946 Q15864 Q11196 Q179876 Q13706 Q174193 Q15180 Q853348 Q696908 Q330988 Q212056 Q26988 Q26273 Q551798 Q30623 Q19901436 Q2184
(c(Q7275),P237,c(Q17335294))
action approx
action find_tuple_counts
relation P237
type Q7275
type Q17335294
action count
action filter_type
action find
entity Q15180
relation P237
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?w ) WHERE { ?m property:P237 ?n . ?m rdf:type ontology:Q7275 . ?n rdf:type ontology:Q17335294 } GROUP BY ?m } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Q15180 property:P237 ?i . ?i rdf:type ontology:Q7275 } } }
Kingdom of Scotland Czechoslovakia United Kingdom of the Netherlands Republika Srpska Kingdom of England Principality of Sealand United Kingdom of Great Britain and Ireland Soviet Union Czechoslovak Socialist Republic Kingdom of Poland Democratic Kampuchea Mongolian People's Republic Cook Islands Sint Maarten Grand Duchy of Flandrensis Manchukuo Suriname Russian Soviet Federative Socialist Republic
Czechoslovakia Soviet Union Sint Maarten
action approx
action find_tuple_counts
relation coat of arms
type state
type flag or coat of arms
action count
action filter_type
action find
entity Soviet Union
relation coat of arms
type state
[{'concept': 'state'}, 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?w ) WHERE { ?m property:coat_of_arms ?n . ?m rdf:type ontology:state . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?m } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { resource:Soviet_Union property:coat_of_arms ?i . ?i rdf:type ontology:state } } }
[]