Simple Question (Direct)
Simple Question
Q4332232
P19
Q515
USER
Which city is the place of birth of Leopolds Ozoliņš ?
(Q4332232,P19,c(Q515))
action filter_type
action find
entity Q4332232
relation P19
type Q515
['Q4332232', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q4332232 property:P19 ?y . ?y rdf:type ontology:Q515 }
Leopolds Ozoliņš
action filter_type
action find
entity Leopolds Ozoliņš
relation place of birth
type city
['Leopolds Ozoliņš', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Leopolds_Ozoliņš property:place_of_birth ?y . ?y rdf:type ontology:city }
[]
city
Q1773
SYSTEM
Riga
Q1773
(Q4332232,P19,c(Q515))
action filter_type
action find
entity Q4332232
relation P19
type Q515
[ANSWER] is the place of birth of Leopolds Ozoliņš
['Q4332232', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?y WHERE { resource:Q4332232 property:P19 ?y . ?y rdf:type ontology:Q515 }
Riga
Riga is the place of birth of Leopolds Ozoliņš
Riga
action filter_type
action find
entity Leopolds Ozoliņš
relation place of birth
type city
['Leopolds Ozoliņš', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?y WHERE { resource:Leopolds_Ozoliņš property:place_of_birth ?y . ?y rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4332232
P463
Q186081
USER
Which organizations were that person a member of ?
(Q1773,P463,c(Q186081))
action filter_type
action find
entity Q4332232
relation P463
type Q186081
['Q1773', 'P463', {'concept': 'Q186081'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q186081 . resource:Q4332232 property:P463 ?y }
Leopolds Ozoliņš
action filter_type
action find
entity Leopolds Ozoliņš
relation member of
type time interval
['Riga', 'member of', {'concept': 'time interval'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:time_interval . resource:Leopolds_Ozoliņš property:member_of ?y }
[]
time interval
Q16350138 Q16350102
SYSTEM
9th Saeima, 8th Saeima
Q16350138 Q16350102
(Q1773,P463,c(Q186081))
action filter_type
action find
entity Q4332232
relation P463
type Q186081
[ANSWERS]
['Q1773', 'P463', {'concept': 'Q186081'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q186081 . resource:Q4332232 property:P463 ?y }
9th Saeima 8th Saeima
Which organizations were that person a member of
9th Saeima 8th Saeima
action filter_type
action find
entity Leopolds Ozoliņš
relation member of
type time interval
['Riga', 'member of', {'concept': 'time interval'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:time_interval . resource:Leopolds_Ozoliņš property:member_of ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9347372
P361
Q9332 Q186081
USER
Which behaviors are lesser number of time intervals a part of than studies ?
(c(Q186081),P361,c(Q9332))
action less
action find_reverse_tuple_counts
relation P361
type Q9332
type Q186081
action count
action filter_type
action find
entity Q9347372
relation P361
type Q9332
[{'concept': 'Q186081'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:P361 ?g . ?g rdf:type ontology:Q9332 . ?z rdf:type ontology:Q186081 } GROUP BY ?g } . FILTER ( ?e < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q9347372 property:P361 ?i . ?i rdf:type ontology:Q9332 } } }
studies
action less
action find_reverse_tuple_counts
relation part of
type behavior
type time interval
action count
action filter_type
action find
entity studies
relation part of
type behavior
[{'concept': 'time interval'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:part_of ?g . ?g rdf:type ontology:behavior . ?z rdf:type ontology:time_interval } GROUP BY ?g } . FILTER ( ?e < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:studies property:part_of ?i . ?i rdf:type ontology:behavior } } }
[]
behavior time interval
Q765633 Q794803 Q648877
SYSTEM
aviation, Innovation management, post-production
Q832237 Q127213 Q22294743 Q627335 Q11030 Q8434 Q2538907 Q192803 Q218537 Q133080 Q192043 Q148836 Q352842 Q877729 Q349 Q765633 Q648877 Q27939 Q218719 Q14865855 Q816425 Q794803 Q16947618 Q2695280 Q2029911 Q193057 Q9640723 Q213753 Q1574099 Q2314618 Q915073 Q735 Q1362246 Q1043452 Q11042 Q839399 Q36633 Q921513 Q1087786 Q177719 Q171141 Q1043197 Q82604 Q336 Q186361 Q773521 Q4116214 Q17305180 Q3769299 Q14373 Q188494 Q629329
(c(Q186081),P361,c(Q9332))
action less
action find_reverse_tuple_counts
relation P361
type Q9332
type Q186081
action count
action filter_type
action find
entity Q9347372
relation P361
type Q9332
[ANSWERS] are lesser number of time intervals a part of than studies
[{'concept': 'Q186081'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:P361 ?g . ?g rdf:type ontology:Q9332 . ?z rdf:type ontology:Q186081 } GROUP BY ?g } . FILTER ( ?e < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q9347372 property:P361 ?i . ?i rdf:type ontology:Q9332 } } }
environmental protection arboriculture circadian sleep/wake cycle, sleep Workflow journalism education arms trade double-entry bookkeeping system customs clearance public relations electrical wiring monasticism teaching handicraft sport aviation post-production singing border control mating behavior surveying Innovation management Strategy (general) technics professional services forging commercial aviation harvest Radiation protection forensic identification letter delivery art Security of train rides maintenance, repair, and operations culture Emissions trading prostitution social behavior standardization diagnostic procedure gastronomy divination design science punishment user administration accounting urban development human behaviour fishing witch hunt work scheduling
Aviation, Innovation management and post-production are lesser number of time intervals a part of than studies
aviation Innovation management post-production
action less
action find_reverse_tuple_counts
relation part of
type behavior
type time interval
action count
action filter_type
action find
entity studies
relation part of
type behavior
[{'concept': 'time interval'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?e ) WHERE { ?z property:part_of ?g . ?g rdf:type ontology:behavior . ?z rdf:type ontology:time_interval } GROUP BY ?g } . FILTER ( ?e < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:studies property:part_of ?i . ?i rdf:type ontology:behavior } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3145013
P841
Q186081 Q502895
USER
Which people have greater number of time intervals as their principal feast day than Héribald ?
(c(Q502895),P841,c(Q186081))
action greater
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_type
action find
entity Q3145013
relation P841
type Q502895
[{'concept': 'Q502895'}, 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?l ) WHERE { ?d rdf:type ontology:Q502895 . ?b rdf:type ontology:Q186081 . ?d property:P841 ?b } GROUP BY ?d } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:Q502895 . resource:Q3145013 property:P841 ?a } } }
Héribald
action greater
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_type
action find
entity Héribald
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?l ) WHERE { ?d rdf:type ontology:common_name . ?b rdf:type ontology:time_interval . ?d property:feast_day ?b } GROUP BY ?d } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:common_name . resource:Héribald property:feast_day ?a } } }
[]
time interval common name
Q2332287 Q158504 Q170164
SYSTEM
Ingegerd Olofsdotter of Sweden, Clement of Ohrid, Helena of Constantinople
Q770633 Q724454 Q161775 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287
(c(Q502895),P841,c(Q186081))
action greater
action find_tuple_counts
relation P841
type Q502895
type Q186081
action count
action filter_type
action find
entity Q3145013
relation P841
type Q502895
[ANSWERS] have greater number of time intervals as their principal feast day than Héribald
[{'concept': 'Q502895'}, 'P841', {'concept': 'Q186081'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?l ) WHERE { ?d rdf:type ontology:Q502895 . ?b rdf:type ontology:Q186081 . ?d property:P841 ?b } GROUP BY ?d } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:Q502895 . resource:Q3145013 property:P841 ?a } } }
Padarn Julian of Antioch Stephen Abercius of Hieropolis Theodore of Amasea Julienne de Vyazma Helena of Constantinople Clement of Ohrid Ingegerd Olofsdotter of Sweden
Ingegerd Olofsdotter of Sweden, Clement of Ohrid and Helena of Constantinople have greater number of time intervals as their principal feast day than Héribald
Ingegerd Olofsdotter of Sweden Clement of Ohrid Helena of Constantinople
action greater
action find_tuple_counts
relation feast day
type common name
type time interval
action count
action filter_type
action find
entity Héribald
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', {'concept': 'time interval'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?l ) WHERE { ?d rdf:type ontology:common_name . ?b rdf:type ontology:time_interval . ?d property:feast_day ?b } GROUP BY ?d } . FILTER ( ?l > ?r ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ontology:common_name . resource:Héribald property:feast_day ?a } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2332287
P40
Q502895
USER
How many people are the children of Ingegerd Olofsdotter of Sweden ?
(Q2332287,P40,c(Q502895))
action count
action filter_type
action find
entity Q2332287
relation P40
type Q502895
['Q2332287', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q2332287 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Ingegerd Olofsdotter of Sweden
action count
action filter_type
action find
entity Ingegerd Olofsdotter of Sweden
relation child
type common name
['Ingegerd Olofsdotter of Sweden', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Ingegerd_Olofsdotter_of_Sweden property:child ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q230073 Q2284422 Q469731 Q332516 Q318434 Q4197646 Q234724
(Q2332287,P40,c(Q502895))
action count
action filter_type
action find
entity Q2332287
relation P40
type Q502895
[ANSWER]
['Q2332287', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q2332287 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Anne of Kiev Elisiv of Kiev Sviatoslav II of Kiev Iziaslav I of Kiev Vsevolod I of Kiev Igor Yaroslavich Anastasia of Kiev
7
action count
action filter_type
action find
entity Ingegerd Olofsdotter of Sweden
relation child
type common name
['Ingegerd Olofsdotter of Sweden', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Ingegerd_Olofsdotter_of_Sweden property:child ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1773
P17
Q7275
USER
Which states are Riga situated in ?
(Q1773,P17,c(Q7275))
action filter_type
action find
entity Q1773
relation P17
type Q7275
['Q1773', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q1773 property:P17 ?w . ?w rdf:type ontology:Q7275 }
Riga
action filter_type
action find
entity Riga
relation country
type state
['Riga', 'country', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Riga property:country ?w . ?w rdf:type ontology:state }
[]
state
Q172107 Q139319 Q2184
SYSTEM
Polish–Lithuanian Commonwealth, Russian Republic, Russian Soviet Federative Socialist Republic
Q172107 Q2458532 Q376778 Q139319 Q12548 Q2184 Q215443 Q186096
(Q1773,P17,c(Q7275))
action filter_type
action find
entity Q1773
relation P17
type Q7275
Riga are situated in [ANSWERS]
['Q1773', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { resource:Q1773 property:P17 ?w . ?w rdf:type ontology:Q7275 }
Polish–Lithuanian Commonwealth Terra Mariana United Baltic Duchy Russian Republic Holy Roman Empire Russian Soviet Federative Socialist Republic Swedish Empire Tsardom of Russia
Riga are situated in Polish–Lithuanian Commonwealth, Russian Republic and Russian Soviet Federative Socialist Republic
Polish–Lithuanian Commonwealth Russian Republic Russian Soviet Federative Socialist Republic
action filter_type
action find
entity Riga
relation country
type state
['Riga', 'country', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { resource:Riga property:country ?w . ?w rdf:type ontology:state }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1773
Q161243
USER
And which dependent territory?
(Q1773,P17,c(Q161243))
action filter_type
action find
entity Q1773
relation P17
type Q161243
['Q1773', 'P17', {'concept': 'Q161243'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q161243 . resource:Q1773 property:P17 ?v }
Riga
action filter_type
action find
entity Riga
relation country
type dependent territory
['Riga', 'country', {'concept': 'dependent territory'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:dependent_territory . resource:Riga property:country ?v }
[]
dependent territory
Q156031
SYSTEM
Reichskommissariat Ostland
Q156031
(Q1773,P17,c(Q161243))
action filter_type
action find
entity Q1773
relation P17
type Q161243
[ANSWER]
['Q1773', 'P17', {'concept': 'Q161243'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q161243 . resource:Q1773 property:P17 ?v }
Reichskommissariat Ostland
Reichskommissariat Ostland
action filter_type
action find
entity Riga
relation country
type dependent territory
['Riga', 'country', {'concept': 'dependent territory'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:dependent_territory . resource:Riga property:country ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q156031 Q216
P17
Q56061
USER
Is Vilnius situated in that dependent territory ?
(Q216,P17,Q156031)
action is_in
entity Q156031
action find
entity Q216
relation P17
['Q216', 'P17', 'Q156031']
ASK WHERE { resource:Q216 property:P17 resource:Q156031 }
Reichskommissariat Ostland Vilnius
action is_in
entity Reichskommissariat Ostland
action find
entity Vilnius
relation country
['Vilnius', 'country', 'Reichskommissariat Ostland']
ASK WHERE { resource:Vilnius property:country resource:Reichskommissariat_Ostland }
[]
administrative territorial entity
SYSTEM
YES
(Q216,P17,Q156031)
action is_in
entity Q156031
action find
entity Q216
relation P17
[ANSWER]
['Q216', 'P17', 'Q156031']
ASK WHERE { resource:Q216 property:P17 resource:Q156031 }
Yes
action is_in
entity Reichskommissariat Ostland
action find
entity Vilnius
relation country
['Vilnius', 'country', 'Reichskommissariat Ostland']
ASK WHERE { resource:Vilnius property:country resource:Reichskommissariat_Ostland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2332287
P21
Q290
USER
What is the sex of Ingegerd Olofsdotter of Sweden ?
(Q2332287,P21,c(Q290))
action filter_type
action find
entity Q2332287
relation P21
type Q290
['Q2332287', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q2332287 property:P21 ?d }
Ingegerd Olofsdotter of Sweden
action filter_type
action find
entity Ingegerd Olofsdotter of Sweden
relation gender
type sex
['Ingegerd Olofsdotter of Sweden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Ingegerd_Olofsdotter_of_Sweden property:gender ?d }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2332287,P21,c(Q290))
action filter_type
action find
entity Q2332287
relation P21
type Q290
The sex of Ingegerd Olofsdotter of Sweden is the [ANSWER]
['Q2332287', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q290 . resource:Q2332287 property:P21 ?d }
female
The sex of Ingegerd Olofsdotter of Sweden is the female
female
action filter_type
action find
entity Ingegerd Olofsdotter of Sweden
relation gender
type sex
['Ingegerd Olofsdotter of Sweden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sex . resource:Ingegerd_Olofsdotter_of_Sweden property:gender ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2184
P710
Q198
USER
Which war has Russian Soviet Federative Socialist Republic as its participant ?
(c(Q198),P710,Q2184)
action filter_type
action find_reverse
entity Q2184
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q2184']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q2184 . ?n rdf:type ontology:Q198 }
Russian Soviet Federative Socialist Republic
action filter_type
action find_reverse
entity Russian Soviet Federative Socialist Republic
relation participant
type war
[{'concept': 'war'}, 'participant', 'Russian Soviet Federative Socialist Republic']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Russian_Soviet_Federative_Socialist_Republic . ?n rdf:type ontology:war }
[]
war
Q79911
SYSTEM
Russian Civil War
Q79911
(c(Q198),P710,Q2184)
action filter_type
action find_reverse
entity Q2184
relation P710
type Q198
[ANSWER] has Russian Soviet Federative Socialist Republic as its participant
[{'concept': 'Q198'}, 'P710', 'Q2184']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q2184 . ?n rdf:type ontology:Q198 }
Russian Civil War
Russian Civil War has Russian Soviet Federative Socialist Republic as its participant
Russian Civil War
action filter_type
action find_reverse
entity Russian Soviet Federative Socialist Republic
relation participant
type war
[{'concept': 'war'}, 'participant', 'Russian Soviet Federative Socialist Republic']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Russian_Soviet_Federative_Socialist_Republic . ?n rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2184
P112
Q43229
USER
Which organization was founded by Russian Soviet Federative Socialist Republic ?
(c(Q43229),P112,Q2184)
action filter_type
action find_reverse
entity Q2184
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q2184']
SELECT DISTINCT ?p WHERE { ?p property:P112 resource:Q2184 . ?p rdf:type ontology:Q43229 }
Russian Soviet Federative Socialist Republic
action filter_type
action find_reverse
entity Russian Soviet Federative Socialist Republic
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Russian Soviet Federative Socialist Republic']
SELECT DISTINCT ?p WHERE { ?p property:founder resource:Russian_Soviet_Federative_Socialist_Republic . ?p rdf:type ontology:organization }
[]
organization
Q7779
SYSTEM
Commonwealth of Independent States
Q7779
(c(Q43229),P112,Q2184)
action filter_type
action find_reverse
entity Q2184
relation P112
type Q43229
[ANSWER] was founded by Russian Soviet Federative Socialist Republic
[{'concept': 'Q43229'}, 'P112', 'Q2184']
SELECT DISTINCT ?p WHERE { ?p property:P112 resource:Q2184 . ?p rdf:type ontology:Q43229 }
Commonwealth of Independent States
Commonwealth of Independent States was founded by Russian Soviet Federative Socialist Republic
Commonwealth of Independent States
action filter_type
action find_reverse
entity Russian Soviet Federative Socialist Republic
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Russian Soviet Federative Socialist Republic']
SELECT DISTINCT ?p WHERE { ?p property:founder resource:Russian_Soviet_Federative_Socialist_Republic . ?p rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7779
P159
Q56061
USER
Which administrative territories are the head offices of that organization ?
(Q7779,P159,c(Q56061))
action filter_type
action find
entity Q7779
relation P159
type Q56061
['Q7779', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7779 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Commonwealth of Independent States
action filter_type
action find
entity Commonwealth of Independent States
relation headquarters location
type administrative territorial entity
['Commonwealth of Independent States', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Commonwealth_of_Independent_States property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2280 Q649
SYSTEM
Minsk, Moscow
Q2280 Q649
(Q7779,P159,c(Q56061))
action filter_type
action find
entity Q7779
relation P159
type Q56061
[ANSWERS] are the head offices of that organization
['Q7779', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q7779 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Minsk Moscow
Minsk and Moscow are the head offices of that organization
Minsk Moscow
action filter_type
action find
entity Commonwealth of Independent States
relation headquarters location
type administrative territorial entity
['Commonwealth of Independent States', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Commonwealth_of_Independent_States property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2280 Q649
P36
Q15617994
USER
Which administrative territories consists of those administrative territories as their capital ?
(c(Q15617994),P36,Q2280) (c(Q15617994),P36,Q649)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q2280'] [{'concept': 'Q15617994'}, 'P36', 'Q649']
SELECT DISTINCT ?d WHERE { ?d property:P36 ?l . VALUES ( ?l ) { ( resource:Q2280 ) ( resource:Q649 ) } . ?d rdf:type ontology:Q15617994 }
Minsk Moscow
action filter_type
action find_reverse
entity prev_answer
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Minsk'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Moscow']
SELECT DISTINCT ?d WHERE { ?d property:capital ?l . VALUES ( ?l ) { ( resource:Minsk ) ( resource:Moscow ) } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2662372 Q184 Q159
SYSTEM
Principality of Minsk, Belarus, Russia
Q2662372 Q184 Q159
(c(Q15617994),P36,Q2280) (c(Q15617994),P36,Q649)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q15617994
[ANSWERS] consist of those administrative territories as their capital
[{'concept': 'Q15617994'}, 'P36', 'Q2280'] [{'concept': 'Q15617994'}, 'P36', 'Q649']
SELECT DISTINCT ?d WHERE { ?d property:P36 ?l . VALUES ( ?l ) { ( resource:Q2280 ) ( resource:Q649 ) } . ?d rdf:type ontology:Q15617994 }
Principality of Minsk Belarus Russia
Principality of Minsk, Belarus and Russia consist of those administrative territories as their capital
Principality of Minsk Belarus Russia
action filter_type
action find_reverse
entity prev_answer
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Minsk'] [{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Moscow']
SELECT DISTINCT ?d WHERE { ?d property:capital ?l . VALUES ( ?l ) { ( resource:Minsk ) ( resource:Moscow ) } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2662372 Q184 Q159
P36
Q56061
USER
Which administrative territories are known as the capital of those administrative territories ?
(Q2662372,P36,c(Q56061)) (Q184,P36,c(Q56061)) (Q159,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
['Q2662372', 'P36', {'concept': 'Q56061'}] ['Q184', 'P36', {'concept': 'Q56061'}] ['Q159', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . ?x property:P36 ?y . VALUES ( ?x ) { ( resource:Q2662372 ) ( resource:Q184 ) ( resource:Q159 ) } }
Principality of Minsk Belarus Russia
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['Principality of Minsk', 'capital', {'concept': 'administrative territorial entity'}] ['Belarus', 'capital', {'concept': 'administrative territorial entity'}] ['Russia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . ?x property:capital ?y . VALUES ( ?x ) { ( resource:Principality_of_Minsk ) ( resource:Belarus ) ( resource:Russia ) } }
[]
administrative territorial entity
Q2280 Q2280 Q649
SYSTEM
Moscow for 3rd, Minsk for 1st, 2nd
Q2280 Q2280 Q649
(Q2662372,P36,c(Q56061)) (Q184,P36,c(Q56061)) (Q159,P36,c(Q56061))
action filter_type
action find
entity prev_answer
relation P36
type Q56061
[ANSWERS]
['Q2662372', 'P36', {'concept': 'Q56061'}] ['Q184', 'P36', {'concept': 'Q56061'}] ['Q159', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . ?x property:P36 ?y . VALUES ( ?x ) { ( resource:Q2662372 ) ( resource:Q184 ) ( resource:Q159 ) } }
Minsk Minsk Moscow
Minsk, Minsk and Moscow are known as the capital of those administrative territories
Minsk Minsk Moscow
action filter_type
action find
entity prev_answer
relation capital
type administrative territorial entity
['Principality of Minsk', 'capital', {'concept': 'administrative territorial entity'}] ['Belarus', 'capital', {'concept': 'administrative territorial entity'}] ['Russia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . ?x property:capital ?y . VALUES ( ?x ) { ( resource:Principality_of_Minsk ) ( resource:Belarus ) ( resource:Russia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2280
P6
Q502895
USER
Which people have that administrative territory as their heads of government ?
(Q2280,P6,c(Q502895))
action filter_type
action find
entity Q2280
relation P6
type Q502895
['Q2280', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q2280 property:P6 ?p }
Minsk
action filter_type
action find
entity Minsk
relation head of government
type common name
['Minsk', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Minsk property:head_of_government ?p }
[]
common name
Clarification for simple ques.
Q649
SYSTEM
Did you mean Moscow ?
Q2280 Q2280 Q649
(Q2280,P6,c(Q502895)) (Q2280,P6,c(Q502895)) (Q649,P6,c(Q502895))
[ANSWER]
['Q2280', 'P6', {'concept': 'Q502895'}] ['Q2280', 'P6', {'concept': 'Q502895'}] ['Q649', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q2280 property:P6 ?p }
Minsk Minsk Moscow
Did you mean Moscow ?
Moscow
['Minsk', 'head of government', {'concept': 'common name'}] ['Minsk', 'head of government', {'concept': 'common name'}] ['Moscow', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Minsk property:head_of_government ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Minsk. Could you tell me the answer for that?
(Q2280,P6,c(Q502895))
Q2280
['Q2280', 'P6', {'concept': 'Q502895'}]
['Minsk', 'head of government', {'concept': 'common name'}]
[]
Q36813 Q712434 Q3919280
SYSTEM
Mikhail Pavlov, Vladimir Yermoshin, Mikalai Ladutska
Q36813 Q3917698 Q13132833 Q712434 Q3919280
(Q2280,P6,c(Q502895))
action filter_type
action find
entity Q2280
relation P6
type Q502895
[ANSWERS] have that administrative territory as their heads of government
['Q2280', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q2280 property:P6 ?p }
Mikhail Pavlov Aleksandr Gerasimenko Andrei Shorets Vladimir Yermoshin Mikalai Ladutska
Mikhail Pavlov, Vladimir Yermoshin and Mikalai Ladutska have that administrative territory as their heads of government
Mikhail Pavlov Vladimir Yermoshin Mikalai Ladutska
action filter_type
action find
entity Minsk
relation head of government
type common name
['Minsk', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Minsk property:head_of_government ?p }
[]