Simple Question (Direct)
Simple Question
Q484459
P734
Q82799
USER
Which name is associated with Lee Beom-seok ?
(Q484459,P734,c(Q82799))
action filter_type
action find
entity Q484459
relation P734
type Q82799
['Q484459', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q484459 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Lee Beom-seok
action filter_type
action find
entity Lee Beom-seok
relation family name
type name
['Lee Beom-seok', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Lee_Beom-seok property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q11983535
SYSTEM
Lee
Q11983535
(Q484459,P734,c(Q82799))
action filter_type
action find
entity Q484459
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Beom-seok
['Q484459', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q484459 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Lee
Lee is associated with Lee Beom-seok
Lee
action filter_type
action find
entity Lee Beom-seok
relation family name
type name
['Lee Beom-seok', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Lee_Beom-seok property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484459
P410
Q4189293
USER
What is the title conferred upon Lee Beom-seok ?
(Q484459,P410,c(Q4189293))
action filter_type
action find
entity Q484459
relation P410
type Q4189293
['Q484459', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?n WHERE { resource:Q484459 property:P410 ?n . ?n rdf:type ontology:Q4189293 }
Lee Beom-seok
action filter_type
action find
entity Lee Beom-seok
relation military rank
type title
['Lee Beom-seok', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?n WHERE { resource:Lee_Beom-seok property:military_rank ?n . ?n rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q484459,P410,c(Q4189293))
action filter_type
action find
entity Q484459
relation P410
type Q4189293
The title conferred upon Lee Beom-seok is a [ANSWER]
['Q484459', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?n WHERE { resource:Q484459 property:P410 ?n . ?n rdf:type ontology:Q4189293 }
general officer
The title conferred upon Lee Beom-seok is a general officer
general officer
action filter_type
action find
entity Lee Beom-seok
relation military rank
type title
['Lee Beom-seok', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?n WHERE { resource:Lee_Beom-seok property:military_rank ?n . ?n rdf:type ontology:title }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3262391
Q4189293
USER
And also tell me about Louis Justin Marie de Talaru?
(Q3262391,P410,c(Q4189293))
action filter_type
action find
entity Q3262391
relation P410
type Q4189293
['Q3262391', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q3262391 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
Louis Justin Marie de Talaru
action filter_type
action find
entity Louis Justin Marie de Talaru
relation military rank
type title
['Louis Justin Marie de Talaru', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:Louis_Justin_Marie_de_Talaru property:military_rank ?w . ?w rdf:type ontology:title }
[]
title
Q2579265
SYSTEM
maréchal de camp
Q2579265
(Q3262391,P410,c(Q4189293))
action filter_type
action find
entity Q3262391
relation P410
type Q4189293
[ANSWER]
['Q3262391', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?w WHERE { resource:Q3262391 property:P410 ?w . ?w rdf:type ontology:Q4189293 }
maréchal de camp
maréchal de camp
action filter_type
action find
entity Louis Justin Marie de Talaru
relation military rank
type title
['Louis Justin Marie de Talaru', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?w WHERE { resource:Louis_Justin_Marie_de_Talaru property:military_rank ?w . ?w rdf:type ontology:title }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are exactly 1 name composed in ?
(c(Q82799),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P407 ?y . ?y rdf:type ontology:Q34770 . ?e rdf:type ontology:Q82799 } GROUP BY ?y } . FILTER ( ?o = 1 ) }
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?e rdf:type ontology:name } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
language name
Q56982 Q35308
SYSTEM
Judaeo-Portuguese, Old Irish
Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P407 ?y . ?y rdf:type ontology:Q34770 . ?e rdf:type ontology:Q82799 } GROUP BY ?y } . FILTER ( ?o = 1 ) }
Judaeo-Portuguese Old Irish
Which languages are exactly 1 name composed in
Judaeo-Portuguese Old Irish
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:language_of_work_or_name ?y . ?y rdf:type ontology:language . ?e rdf:type ontology:name } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484459
P19
Q515
USER
Which city was Lee Beom-seok born in ?
(Q484459,P19,c(Q515))
action filter_type
action find
entity Q484459
relation P19
type Q515
['Q484459', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q484459 property:P19 ?q . ?q rdf:type ontology:Q515 }
Lee Beom-seok
action filter_type
action find
entity Lee Beom-seok
relation place of birth
type city
['Lee Beom-seok', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Lee_Beom-seok property:place_of_birth ?q . ?q rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(Q484459,P19,c(Q515))
action filter_type
action find
entity Q484459
relation P19
type Q515
Lee Beom-seok was born in [ANSWER]
['Q484459', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q484459 property:P19 ?q . ?q rdf:type ontology:Q515 }
Seoul
Lee Beom-seok was born in Seoul
Seoul
action filter_type
action find
entity Lee Beom-seok
relation place of birth
type city
['Lee Beom-seok', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Lee_Beom-seok property:place_of_birth ?q . ?q rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484459
P27
Q15617994
USER
Which administrative territory is the native country of Lee Beom-seok ?
(Q484459,P27,c(Q15617994))
action filter_type
action find
entity Q484459
relation P27
type Q15617994
['Q484459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q484459 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Lee Beom-seok
action filter_type
action find
entity Lee Beom-seok
relation country of citizenship
type designation for an administrative territorial entity
['Lee Beom-seok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lee_Beom-seok property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q484459,P27,c(Q15617994))
action filter_type
action find
entity Q484459
relation P27
type Q15617994
[ANSWER] is the native country of Lee Beom-seok
['Q484459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q484459 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
South Korea
South Korea is the native country of Lee Beom-seok
South Korea
action filter_type
action find
entity Lee Beom-seok
relation country of citizenship
type designation for an administrative territorial entity
['Lee Beom-seok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lee_Beom-seok property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484459
P106
Q151885
USER
Which concept is the profession of Lee Beom-seok ?
(Q484459,P106,c(Q151885))
action filter_type
action find
entity Q484459
relation P106
type Q151885
['Q484459', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q151885 . resource:Q484459 property:P106 ?u }
Lee Beom-seok
action filter_type
action find
entity Lee Beom-seok
relation occupation
type concept
['Lee Beom-seok', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:concept . resource:Lee_Beom-seok property:occupation ?u }
[]
concept
Q1397808
SYSTEM
resistance fighter
Q1397808
(Q484459,P106,c(Q151885))
action filter_type
action find
entity Q484459
relation P106
type Q151885
The [ANSWER] is the profession of Lee Beom-seok
['Q484459', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q151885 . resource:Q484459 property:P106 ?u }
resistance fighter
The resistance fighter is the profession of Lee Beom-seok
resistance fighter
action filter_type
action find
entity Lee Beom-seok
relation occupation
type concept
['Lee Beom-seok', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:concept . resource:Lee_Beom-seok property:occupation ?u }
[]