Simple Question (Direct)
Simple Question
Q12880715
P800
Q15416
USER
What were notable works done by Maria Lekaki ?
(Q12880715,P800,c(Q15416))
action filter_type
action find
entity Q12880715
relation P800
type Q15416
['Q12880715', 'P800', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { resource:Q12880715 property:P800 ?z . ?z rdf:type ontology:Q15416 }
Maria Lekaki
action filter_type
action find
entity Maria Lekaki
relation notable work
type television program
['Maria Lekaki', 'notable work', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { resource:Maria_Lekaki property:notable_work ?z . ?z rdf:type ontology:television_program }
[]
television program
Q12882135 Q6430206
SYSTEM
Oi stavloi tis Erietas Zaimi, Konstantinou kai Elenis
Q12882135 Q6430206
(Q12880715,P800,c(Q15416))
action filter_type
action find
entity Q12880715
relation P800
type Q15416
Notable works done by Maria Lekaki were [ANSWERS]
['Q12880715', 'P800', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { resource:Q12880715 property:P800 ?z . ?z rdf:type ontology:Q15416 }
Oi stavloi tis Erietas Zaimi Konstantinou kai Elenis
Notable works done by Maria Lekaki were Oi stavloi tis Erietas Zaimi and Konstantinou kai Elenis
Oi stavloi tis Erietas Zaimi Konstantinou kai Elenis
action filter_type
action find
entity Maria Lekaki
relation notable work
type television program
['Maria Lekaki', 'notable work', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { resource:Maria_Lekaki property:notable_work ?z . ?z rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12880715
P172
Q2472587
USER
What is the race of Maria Lekaki ?
(Q12880715,P172,c(Q2472587))
action filter_type
action find
entity Q12880715
relation P172
type Q2472587
['Q12880715', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q12880715 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Maria Lekaki
action filter_type
action find
entity Maria Lekaki
relation ethnic group
type people
['Maria Lekaki', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Maria_Lekaki property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q12880715,P172,c(Q2472587))
action filter_type
action find
entity Q12880715
relation P172
type Q2472587
The race of Maria Lekaki is about [ANSWER]
['Q12880715', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q12880715 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Greeks
The race of Maria Lekaki is about Greeks
Greeks
action filter_type
action find
entity Maria Lekaki
relation ethnic group
type people
['Maria Lekaki', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Maria_Lekaki property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6101249 Q12880715
P172
Q2472587
USER
Or Iyanla Vanzant?
OR((Q12880715,P172,c(Q2472587)), (Q6101249,P172,c(Q2472587)))
action filter_type
action union
action find
entity Q12880715
relation P172
action find
entity Q6101249
relation P172
type Q2472587
{'OR': [['Q12880715', 'P172', {'concept': 'Q2472587'}], ['Q6101249', 'P172', {'concept': 'Q2472587'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q12880715 property:P172 ?p } UNION { resource:Q6101249 property:P172 ?p } } . ?p rdf:type ontology:Q2472587 }
Iyanla Vanzant Maria Lekaki
action filter_type
action union
action find
entity Maria Lekaki
relation ethnic group
action find
entity Iyanla Vanzant
relation ethnic group
type people
{'OR': [['Maria Lekaki', 'ethnic group', {'concept': 'people'}], ['Iyanla Vanzant', 'ethnic group', {'concept': 'people'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Maria_Lekaki property:ethnic_group ?p } UNION { resource:Iyanla_Vanzant property:ethnic_group ?p } } . ?p rdf:type ontology:people }
[]
people
Q539051 Q49085
SYSTEM
Greeks, African Americans
Q539051 Q49085
OR((Q12880715,P172,c(Q2472587)), (Q6101249,P172,c(Q2472587)))
action filter_type
action union
action find
entity Q12880715
relation P172
action find
entity Q6101249
relation P172
type Q2472587
[ANSWERS]
{'OR': [['Q12880715', 'P172', {'concept': 'Q2472587'}], ['Q6101249', 'P172', {'concept': 'Q2472587'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q12880715 property:P172 ?p } UNION { resource:Q6101249 property:P172 ?p } } . ?p rdf:type ontology:Q2472587 }
Greeks African Americans
Greeks African Americans
action filter_type
action union
action find
entity Maria Lekaki
relation ethnic group
action find
entity Iyanla Vanzant
relation ethnic group
type people
{'OR': [['Maria Lekaki', 'ethnic group', {'concept': 'people'}], ['Iyanla Vanzant', 'ethnic group', {'concept': 'people'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Maria_Lekaki property:ethnic_group ?p } UNION { resource:Iyanla_Vanzant property:ethnic_group ?p } } . ?p rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q210987 Q6101249
P19 P190
Q56061
USER
Which administrative territories were Iyanla Vanzant born in or are twin cities of Salo ?
OR((Q6101249,P19,c(Q56061)), (Q210987,P190,c(Q56061)))
action filter_type
action union
action find
entity Q6101249
relation P19
action find
entity Q210987
relation P190
type Q56061
{'OR': [['Q6101249', 'P19', {'concept': 'Q56061'}], ['Q210987', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q210987 property:P190 ?n } UNION { resource:Q6101249 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Salo Iyanla Vanzant
action filter_type
action union
action find
entity Iyanla Vanzant
relation place of birth
action find
entity Salo
relation sister city
type administrative territorial entity
{'OR': [['Iyanla Vanzant', 'place of birth', {'concept': 'administrative territorial entity'}], ['Salo', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Salo property:sister_city ?n } UNION { resource:Iyanla_Vanzant property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q191465 Q213071 Q925736 Q18419 Q54758 Q956 Q282822
SYSTEM
Rzhev, Elva, Odder, Brooklyn, Katrineholm, Beijing, St. Anthony
Q191465 Q213071 Q925736 Q18419 Q54758 Q956 Q282822
OR((Q6101249,P19,c(Q56061)), (Q210987,P190,c(Q56061)))
action filter_type
action union
action find
entity Q6101249
relation P19
action find
entity Q210987
relation P190
type Q56061
[ANSWERS] Iyanla Vanzant were born or are twin cities of Salo
{'OR': [['Q6101249', 'P19', {'concept': 'Q56061'}], ['Q210987', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q210987 property:P190 ?n } UNION { resource:Q6101249 property:P19 ?n } } . ?n rdf:type ontology:Q56061 }
Rzhev Elva Odder Brooklyn Katrineholm Beijing St. Anthony
Rzhev, Elva, Odder, Brooklyn, Katrineholm, Beijing and St. Anthony Iyanla Vanzant were born or are twin cities of Salo
Rzhev Elva Odder Brooklyn Katrineholm Beijing St. Anthony
action filter_type
action union
action find
entity Iyanla Vanzant
relation place of birth
action find
entity Salo
relation sister city
type administrative territorial entity
{'OR': [['Iyanla Vanzant', 'place of birth', {'concept': 'administrative territorial entity'}], ['Salo', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Salo property:sister_city ?n } UNION { resource:Iyanla_Vanzant property:place_of_birth ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q210987
P190
Q15617994 Q13220204
USER
How many administrative territories or administrative country subdivisions are twin town of Salo ?
(c(Q15617994),P190,Q210987) (c(Q13220204),P190,Q210987)
action count
action union
action filter_type
action find_reverse
entity Q210987
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q210987
relation P190
type Q13220204
[{'concept': 'Q15617994'}, 'P190', 'Q210987'] [{'concept': 'Q13220204'}, 'P190', 'Q210987']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } }
Salo
action count
action union
action filter_type
action find_reverse
entity Salo
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Salo
relation sister city
type second-level administrative country subdivision
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Salo'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Salo']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity second-level administrative country subdivision
SYSTEM
4
Q731915 Q26581 Q500227 Q254778
(c(Q15617994),P190,Q210987) (c(Q13220204),P190,Q210987)
action count
action union
action filter_type
action find_reverse
entity Q210987
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q210987
relation P190
type Q13220204
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q210987'] [{'concept': 'Q13220204'}, 'P190', 'Q210987']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13220204 ) ( ontology:Q15617994 ) } }
Ogre Thái Nguyên Vennesla Puchheim
4
action count
action union
action filter_type
action find_reverse
entity Salo
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Salo
relation sister city
type second-level administrative country subdivision
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Salo'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Salo']
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q925736
P1376
Q3976655
USER
Which Dutch administrative territory has Odder as its capital ?
(Q925736,P1376,c(Q3976655))
action filter_type
action find
entity Q925736
relation P1376
type Q3976655
['Q925736', 'P1376', {'concept': 'Q3976655'}]
SELECT DISTINCT ?g WHERE { resource:Q925736 property:P1376 ?g . ?g rdf:type ontology:Q3976655 }
Odder
action filter_type
action find
entity Odder
relation capital of
type administrative territorial entity of Denmark
['Odder', 'capital of', {'concept': 'administrative territorial entity of Denmark'}]
SELECT DISTINCT ?g WHERE { resource:Odder property:capital_of ?g . ?g rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
administrative territorial entity of Denmark
Q500058
SYSTEM
Odder Municipality
Q500058
(Q925736,P1376,c(Q3976655))
action filter_type
action find
entity Q925736
relation P1376
type Q3976655
[ANSWER] has Odder as its capital
['Q925736', 'P1376', {'concept': 'Q3976655'}]
SELECT DISTINCT ?g WHERE { resource:Q925736 property:P1376 ?g . ?g rdf:type ontology:Q3976655 }
Odder Municipality
Odder Municipality has Odder as its capital
Odder Municipality
action filter_type
action find
entity Odder
relation capital of
type administrative territorial entity of Denmark
['Odder', 'capital of', {'concept': 'administrative territorial entity of Denmark'}]
SELECT DISTINCT ?g WHERE { resource:Odder property:capital_of ?g . ?g rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q956
P30
Q2221906
USER
Which geographic location is Beijing situated in ?
(Q956,P30,c(Q2221906))
action filter_type
action find
entity Q956
relation P30
type Q2221906
['Q956', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { resource:Q956 property:P30 ?g . ?g rdf:type ontology:Q2221906 }
Beijing
action filter_type
action find
entity Beijing
relation continent
type geographic location
['Beijing', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { resource:Beijing property:continent ?g . ?g rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q956,P30,c(Q2221906))
action filter_type
action find
entity Q956
relation P30
type Q2221906
Beijing is situated in [ANSWER]
['Q956', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { resource:Q956 property:P30 ?g . ?g rdf:type ontology:Q2221906 }
Asia
Beijing is situated in Asia
Asia
action filter_type
action find
entity Beijing
relation continent
type geographic location
['Beijing', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { resource:Beijing property:continent ?g . ?g rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7536855
Q2221906
USER
And also tell me about Skua Terrace?
(Q7536855,P30,c(Q2221906))
action filter_type
action find
entity Q7536855
relation P30
type Q2221906
['Q7536855', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q7536855 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Skua Terrace
action filter_type
action find
entity Skua Terrace
relation continent
type geographic location
['Skua Terrace', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Skua_Terrace property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q7536855,P30,c(Q2221906))
action filter_type
action find
entity Q7536855
relation P30
type Q2221906
[ANSWER]
['Q7536855', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q7536855 property:P30 ?i . ?i rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Skua Terrace
relation continent
type geographic location
['Skua Terrace', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:Skua_Terrace property:continent ?i . ?i rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q51 Q76754 Q186203
P61
Q502895
USER
Was that geographic location invented or discovered by Fabian Gottlieb von Bellingshausen and Mikhail Lazarev ?
(Q51,P61,Q76754) (Q51,P61,Q186203)
action is_in
entity Q51
action intersection
action find_reverse
entity Q76754
relation P61
action find_reverse
entity Q186203
relation P61
['Q51', 'P61', 'Q76754'] ['Q51', 'P61', 'Q186203']
ASK WHERE { resource:Q51 property:P61 resource:Q76754 . resource:Q51 property:P61 resource:Q186203 }
Antarctica Fabian Gottlieb von Bellingshausen Mikhail Lazarev
action is_in
entity Antarctica
action intersection
action find_reverse
entity Fabian Gottlieb von Bellingshausen
relation discoverer or inventor
action find_reverse
entity Mikhail Lazarev
relation discoverer or inventor
['Antarctica', 'discoverer or inventor', 'Fabian Gottlieb von Bellingshausen'] ['Antarctica', 'discoverer or inventor', 'Mikhail Lazarev']
ASK WHERE { resource:Antarctica property:discoverer_or_inventor resource:Fabian_Gottlieb_von_Bellingshausen . resource:Antarctica property:discoverer_or_inventor resource:Mikhail_Lazarev }
[]
common name
SYSTEM
YES
(Q51,P61,Q76754) (Q51,P61,Q186203)
action is_in
entity Q51
action intersection
action find_reverse
entity Q76754
relation P61
action find_reverse
entity Q186203
relation P61
[ANSWER]
['Q51', 'P61', 'Q76754'] ['Q51', 'P61', 'Q186203']
ASK WHERE { resource:Q51 property:P61 resource:Q76754 . resource:Q51 property:P61 resource:Q186203 }
Yes
action is_in
entity Antarctica
action intersection
action find_reverse
entity Fabian Gottlieb von Bellingshausen
relation discoverer or inventor
action find_reverse
entity Mikhail Lazarev
relation discoverer or inventor
['Antarctica', 'discoverer or inventor', 'Fabian Gottlieb von Bellingshausen'] ['Antarctica', 'discoverer or inventor', 'Mikhail Lazarev']
ASK WHERE { resource:Antarctica property:discoverer_or_inventor resource:Fabian_Gottlieb_von_Bellingshausen . resource:Antarctica property:discoverer_or_inventor resource:Mikhail_Lazarev }
[]