Simple Question (Direct)
Simple Question
Q4130860
P21
Q290
USER
What is the sex of Stella Gabdrakhmanova ?
(Q4130860,P21,c(Q290))
action filter_type
action find
entity Q4130860
relation P21
type Q290
['Q4130860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q4130860 property:P21 ?d . ?d rdf:type ontology:Q290 }
Stella Gabdrakhmanova
action filter_type
action find
entity Stella Gabdrakhmanova
relation gender
type sex
['Stella Gabdrakhmanova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Stella_Gabdrakhmanova property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4130860,P21,c(Q290))
action filter_type
action find
entity Q4130860
relation P21
type Q290
The sex of Stella Gabdrakhmanova is the [ANSWER]
['Q4130860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q4130860 property:P21 ?d . ?d rdf:type ontology:Q290 }
female
The sex of Stella Gabdrakhmanova is the female
female
action filter_type
action find
entity Stella Gabdrakhmanova
relation gender
type sex
['Stella Gabdrakhmanova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Stella_Gabdrakhmanova property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4130860
P166
Q618779
USER
What were received by Stella Gabdrakhmanova ?
(Q4130860,P166,c(Q618779))
action filter_type
action find
entity Q4130860
relation P166
type Q618779
['Q4130860', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q4130860 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Stella Gabdrakhmanova
action filter_type
action find
entity Stella Gabdrakhmanova
relation award received
type award
['Stella Gabdrakhmanova', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Stella_Gabdrakhmanova property:award_received ?q . ?q rdf:type ontology:award }
[]
award
Q208167 Q185493
SYSTEM
Hero of Socialist Labour, Order of Lenin
Q208167 Q185493
(Q4130860,P166,c(Q618779))
action filter_type
action find
entity Q4130860
relation P166
type Q618779
[ANSWERS] were received by Stella Gabdrakhmanova
['Q4130860', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q4130860 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Hero of Socialist Labour Order of Lenin
Hero of Socialist Labour and Order of Lenin were received by Stella Gabdrakhmanova
Hero of Socialist Labour Order of Lenin
action filter_type
action find
entity Stella Gabdrakhmanova
relation award received
type award
['Stella Gabdrakhmanova', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Stella_Gabdrakhmanova property:award_received ?q . ?q rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4130860
P19
Q56061
USER
Where was that person born ?
(Q208167,P19,c(Q56061)) (Q185493,P19,c(Q56061))
action filter_type
action find
entity Q4130860
relation P19
type Q56061
['Q208167', 'P19', {'concept': 'Q56061'}] ['Q185493', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q4130860 property:P19 ?z }
Stella Gabdrakhmanova
action filter_type
action find
entity Stella Gabdrakhmanova
relation place of birth
type administrative territorial entity
['Hero of Socialist Labour', 'place of birth', {'concept': 'administrative territorial entity'}] ['Order of Lenin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Stella_Gabdrakhmanova property:place_of_birth ?z }
[]
administrative territorial entity
Q900
SYSTEM
Kazan
Q900
(Q208167,P19,c(Q56061)) (Q185493,P19,c(Q56061))
action filter_type
action find
entity Q4130860
relation P19
type Q56061
That person was born in [ANSWER]
['Q208167', 'P19', {'concept': 'Q56061'}] ['Q185493', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . resource:Q4130860 property:P19 ?z }
Kazan
That person was born in Kazan
Kazan
action filter_type
action find
entity Stella Gabdrakhmanova
relation place of birth
type administrative territorial entity
['Hero of Socialist Labour', 'place of birth', {'concept': 'administrative territorial entity'}] ['Order of Lenin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Stella_Gabdrakhmanova property:place_of_birth ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q900
P190
Q56061
USER
Which administrative territories are twin cities of that one ?
(Q900,P190,c(Q56061))
action filter_type
action find
entity Q900
relation P190
type Q56061
['Q900', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q900 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Kazan
action filter_type
action find
entity Kazan
relation sister city
type administrative territorial entity
['Kazan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kazan property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q406 Q1520 Q2759
SYSTEM
Istanbul, Astana, Urbino
Q2759 Q6487 Q1520 Q695511 Q406 Q695556
(Q900,P190,c(Q56061))
action filter_type
action find
entity Q900
relation P190
type Q56061
[ANSWERS] are twin cities of that one
['Q900', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q900 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Urbino Antalya Astana College Station Istanbul Bryan
Istanbul, Astana and Urbino are twin cities of that one
Istanbul Astana Urbino
action filter_type
action find
entity Kazan
relation sister city
type administrative territorial entity
['Kazan', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Kazan property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1520
P1376
Q15617994
USER
Which administrative territory has that administrative territory has its center of administration ?
(Q1520,P1376,c(Q15617994))
action filter_type
action find
entity Q1520
relation P1376
type Q15617994
['Q1520', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1520 property:P1376 ?d }
Astana
action filter_type
action find
entity Astana
relation capital of
type designation for an administrative territorial entity
['Astana', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Astana property:capital_of ?d }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q2759
SYSTEM
Did you mean Urbino ?
Q406 Q1520 Q2759
(Q406,P1376,c(Q15617994)) (Q1520,P1376,c(Q15617994)) (Q2759,P1376,c(Q15617994))
[ANSWER]
['Q406', 'P1376', {'concept': 'Q15617994'}] ['Q1520', 'P1376', {'concept': 'Q15617994'}] ['Q2759', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1520 property:P1376 ?d }
Istanbul Astana Urbino
Did you mean Urbino ?
Urbino
['Istanbul', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Astana', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Urbino', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Astana property:capital_of ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Astana. Could you tell me the answer for that?
(Q1520,P1376,c(Q15617994))
Q1520
['Q1520', 'P1376', {'concept': 'Q15617994'}]
['Astana', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
[]
Q232
SYSTEM
Kazakhstan
Q232
(Q1520,P1376,c(Q15617994))
action filter_type
action find
entity Q1520
relation P1376
type Q15617994
[ANSWER] has that administrative territory has its center of administration
['Q1520', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1520 property:P1376 ?d }
Kazakhstan
Kazakhstan has that administrative territory has its center of administration
Kazakhstan
action filter_type
action find
entity Astana
relation capital of
type designation for an administrative territorial entity
['Astana', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Astana property:capital_of ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232
P159
Q874405
USER
Which social groups have their head office location at that administrative territory ?
(c(Q874405),P159,Q232)
action filter_type
action find_reverse
entity Q232
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q232']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q232 . ?h rdf:type ontology:Q874405 }
Kazakhstan
action filter_type
action find_reverse
entity Kazakhstan
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Kazakhstan']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Kazakhstan . ?h rdf:type ontology:social_group }
[]
social group
Q2814626 Q6380777
SYSTEM
Youth Information Service of Kazakhstan, Kazakh Engineering Society
Q2814626 Q6380777
(c(Q874405),P159,Q232)
action filter_type
action find_reverse
entity Q232
relation P159
type Q874405
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q232']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q232 . ?h rdf:type ontology:Q874405 }
Youth Information Service of Kazakhstan Kazakh Engineering Society
Youth Information Service of Kazakhstan and Kazakh Engineering Society have their head office location at that administrative territory
Youth Information Service of Kazakhstan Kazakh Engineering Society
action filter_type
action find_reverse
entity Kazakhstan
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Kazakhstan']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Kazakhstan . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232
P915
Q15416
USER
Which television program was filmed in the location Kazakhstan ?
(c(Q15416),P915,Q232)
action filter_type
action find_reverse
entity Q232
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q232']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q232 . ?r rdf:type ontology:Q15416 }
Kazakhstan
action filter_type
action find_reverse
entity Kazakhstan
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Kazakhstan']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Kazakhstan . ?r rdf:type ontology:television_program }
[]
television program
Q20971282
SYSTEM
Grensland
Q20971282
(c(Q15416),P915,Q232)
action filter_type
action find_reverse
entity Q232
relation P915
type Q15416
[ANSWER] was filmed in the location Kazakhstan
[{'concept': 'Q15416'}, 'P915', 'Q232']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q232 . ?r rdf:type ontology:Q15416 }
Grensland
Grensland was filmed in the location Kazakhstan
Grensland
action filter_type
action find_reverse
entity Kazakhstan
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Kazakhstan']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Kazakhstan . ?r rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20971282
P136
Q5962346
USER
Which classification scheme is the genre for that television program ?
(Q20971282,P136,c(Q5962346))
action filter_type
action find
entity Q20971282
relation P136
type Q5962346
['Q20971282', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q20971282 property:P136 ?k . ?k rdf:type ontology:Q5962346 }
Grensland
action filter_type
action find
entity Grensland
relation genre
type classification scheme
['Grensland', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:Grensland property:genre ?k . ?k rdf:type ontology:classification_scheme }
[]
classification scheme
Q7603925
SYSTEM
television documentary
Q7603925
(Q20971282,P136,c(Q5962346))
action filter_type
action find
entity Q20971282
relation P136
type Q5962346
[ANSWER] is the genre for that television program
['Q20971282', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q20971282 property:P136 ?k . ?k rdf:type ontology:Q5962346 }
television documentary
Television documentary is the genre for that television program
television documentary
action filter_type
action find
entity Grensland
relation genre
type classification scheme
['Grensland', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:Grensland property:genre ?k . ?k rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P136
Q5962346 Q2031291
USER
Which classification schemes are the genre for approximately the same number of releases as that classification scheme ?
(c(Q2031291),P136,c(Q5962346))
action approx
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2031291
action count
action filter_type
action find
entity Q7603925
relation P136
type Q5962346
[{'concept': 'Q2031291'}, 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P136 ?x . ?e rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q5962346 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:Q5962346 . resource:Q7603925 property:P136 ?p } } . FILTER ( ?q = ?d ) }
action approx
action find_reverse_tuple_counts
relation genre
type classification scheme
type release
action count
action filter_type
action find
entity television documentary
relation genre
type classification scheme
[{'concept': 'release'}, 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:genre ?x . ?e rdf:type ontology:release . ?x rdf:type ontology:classification_scheme } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:classification_scheme . resource:television_documentary property:genre ?p } } . FILTER ( ?q = ?d ) }
[]
classification scheme release
Q380313 Q161272 Q349479
SYSTEM
archival science, social psychology, building industry
Q968679 Q5227671 Q18336 Q21188110 Q1153495 Q4949058 Q1107 Q581714 Q1273568 Q281111 Q338632 Q336181 Q216545 Q7724161 Q16894224 Q3546572 Q47307 Q5434357 Q3421644 Q1366112 Q861402 Q29197 Q23745 Q188504 Q380313 Q20267837 Q7696995 Q4382232 Q1407245 Q4922471 Q17113138 Q5465514 Q23739 Q204698 Q2290276 Q161272 Q20220309 Q6546170 Q4765080 Q349479 Q336059 Q179805 Q47555 Q288608 Q2091526 Q7603925 Q1457145 Q12322867 Q1962634 Q399811 Q775344 Q6022825 Q482612 Q21232614 Q3951815 Q20652466 Q1413406 Q178840 Q1924856 Q986699 Q5428822 Q7988576
(c(Q2031291),P136,c(Q5962346))
action approx
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2031291
action count
action filter_type
action find
entity Q7603925
relation P136
type Q5962346
The [ANSWERS] are the genre for approximately the same number of releases as that classification scheme
[{'concept': 'Q2031291'}, 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P136 ?x . ?e rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q5962346 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:Q5962346 . resource:Q7603925 property:P136 ?p } } . FILTER ( ?q = ?d ) }
Terza rima dating game show heraldry American television sitcom configuration management bottle episode anime animated series children's television series Ghazal documentary soap opera variety show Christian theology teleserial sports program tabloid talk show genealogy fantasy television reality show television drama educational television season premiere telenovela alternative medicine archival science historical television series television comedy procedural drama television show black sitcom teen sitcom food reality television soap opera limerick season finale social psychology horror television series light entertainment animated sitcom building industry science fiction political philosophy political economy Scripted Reality medical drama television documentary cooking show crime television news television series Japanese television drama teen drama Indian soap opera Korean drama reality television series sceneggiato black comedy television program technical documentation television series about families metal construction late-night talk show factual television television western
The archival science, social psychology and building industry are the genre for approximately the same number of releases as that classification scheme
archival science social psychology building industry
action approx
action find_reverse_tuple_counts
relation genre
type classification scheme
type release
action count
action filter_type
action find
entity television documentary
relation genre
type classification scheme
[{'concept': 'release'}, 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:genre ?x . ?e rdf:type ontology:release . ?x rdf:type ontology:classification_scheme } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p rdf:type ontology:classification_scheme . resource:television_documentary property:genre ?p } } . FILTER ( ?q = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q42141 Q1520
P190
Q515
USER
Which cities are sister town of Astana or Jeongeup ?
OR((c(Q515),P190,Q1520), (c(Q515),P190,Q42141))
action filter_type
action union
action find_reverse
entity Q1520
relation P190
action find_reverse
entity Q42141
relation P190
type Q515
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q1520'], [{'concept': 'Q515'}, 'P190', 'Q42141']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . { VALUES ( ?t ) { ( resource:Q1520 ) ( resource:Q42141 ) } . ?m property:P190 ?t } }
Jeongeup Astana
action filter_type
action union
action find_reverse
entity Astana
relation sister city
action find_reverse
entity Jeongeup
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Astana'], [{'concept': 'city'}, 'sister city', 'Jeongeup']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . { VALUES ( ?t ) { ( resource:Astana ) ( resource:Jeongeup ) } . ?m property:sister_city ?t } }
[]
city
Q8684 Q1858 Q57719 Q1899 Q1461 Q1773 Q11194
SYSTEM
Seoul, Hanoi, Xuzhou, Kyiv, Manila, Riga, Sarajevo
Q8684 Q1858 Q57719 Q1899 Q1461 Q1773 Q11194
OR((c(Q515),P190,Q1520), (c(Q515),P190,Q42141))
action filter_type
action union
action find_reverse
entity Q1520
relation P190
action find_reverse
entity Q42141
relation P190
type Q515
[ANSWERS] are sister town of Astana or Jeongeup
{'OR': [[{'concept': 'Q515'}, 'P190', 'Q1520'], [{'concept': 'Q515'}, 'P190', 'Q42141']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . { VALUES ( ?t ) { ( resource:Q1520 ) ( resource:Q42141 ) } . ?m property:P190 ?t } }
Seoul Hanoi Xuzhou Kyiv Manila Riga Sarajevo
Seoul, Hanoi, Xuzhou, Kyiv, Manila, Riga and Sarajevo are sister town of Astana or Jeongeup
Seoul Hanoi Xuzhou Kyiv Manila Riga Sarajevo
action filter_type
action union
action find_reverse
entity Astana
relation sister city
action find_reverse
entity Jeongeup
relation sister city
type city
{'OR': [[{'concept': 'city'}, 'sister city', 'Astana'], [{'concept': 'city'}, 'sister city', 'Jeongeup']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . { VALUES ( ?t ) { ( resource:Astana ) ( resource:Jeongeup ) } . ?m property:sister_city ?t } }
[]