Simple Question (Direct)
Simple Question
Q2144896
P106
Q12737077
USER
Which occupation is the profession of René de Borst ?
(Q2144896,P106,c(Q12737077))
action filter_type
action find
entity Q2144896
relation P106
type Q12737077
['Q2144896', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2144896 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
René de Borst
action filter_type
action find
entity René de Borst
relation occupation
type occupation
['René de Borst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:René_de_Borst property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q2144896,P106,c(Q12737077))
action filter_type
action find
entity Q2144896
relation P106
type Q12737077
The [ANSWER] is the profession of René de Borst
['Q2144896', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q2144896 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
university teacher
The university teacher is the profession of René de Borst
university teacher
action filter_type
action find
entity René de Borst
relation occupation
type occupation
['René de Borst', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:René_de_Borst property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1622272
P425
Q2385804
USER
Who has that one as the associated field of occupation ?
(Q1622272,P425,c(Q2385804))
action filter_type
action find
entity Q1622272
relation P425
type Q2385804
['Q1622272', 'P425', {'concept': 'Q2385804'}]
SELECT DISTINCT ?c WHERE { resource:Q1622272 property:P425 ?c . ?c rdf:type ontology:Q2385804 }
university teacher
action filter_type
action find
entity university teacher
relation field of this occupation
type educational institution
['university teacher', 'field of this occupation', {'concept': 'educational institution'}]
SELECT DISTINCT ?c WHERE { resource:university_teacher property:field_of_this_occupation ?c . ?c rdf:type ontology:educational_institution }
[]
educational institution
Q3918
SYSTEM
university
Q3918
(Q1622272,P425,c(Q2385804))
action filter_type
action find
entity Q1622272
relation P425
type Q2385804
[ANSWER] has that one as the associated field of occupation
['Q1622272', 'P425', {'concept': 'Q2385804'}]
SELECT DISTINCT ?c WHERE { resource:Q1622272 property:P425 ?c . ?c rdf:type ontology:Q2385804 }
university
University has that one as the associated field of occupation
university
action filter_type
action find
entity university teacher
relation field of this occupation
type educational institution
['university teacher', 'field of this occupation', {'concept': 'educational institution'}]
SELECT DISTINCT ?c WHERE { resource:university_teacher property:field_of_this_occupation ?c . ?c rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q1209283 Q11204 Q502895
USER
Which people have been stated in max number of electronic medias and legislatures ?
(c(Q502895),P248,c(Q1209283)|c(Q11204))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q11204
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1209283 ) ( ontology:Q11204 ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?l ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { { ?b property:P248 ?k . ?k rdf:type ontology:Q1209283 . ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11204 . ?b property:P248 ?k } } GROUP BY ?b } } }
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type legislature
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:electronic_media ) ( ontology:legislature ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?l ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { { ?b property:stated_in ?k . ?k rdf:type ontology:electronic_media . ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:common_name . ?k rdf:type ontology:legislature . ?b property:stated_in ?k } } GROUP BY ?b } } }
[]
electronic media legislature common name
Q5144961 Q6255184 Q6228764
SYSTEM
Colin Campbell, John Roberts, John Davies
Q6255164 Q5144961 Q8017696 Q6255184 Q6244753 Q6236108 Q5240345 Q16065533 Q1626914 Q5606263 Q6258326 Q16106932 Q8019373 Q6260653 Q6249871 Q6228764 Q6246935 Q5232854 Q5537308 Q6239285 Q5606270 Q6221420 Q17423413 Q8019900 Q16859222 Q4096102 Q5241194 Q6262978 Q5537317 Q6242859 Q6242044 Q16105467 Q5239888 Q14951093 Q16857661 Q1101329 Q17364116 Q6145001 Q8019368
(c(Q502895),P248,c(Q1209283)|c(Q11204))
action argmax
action union
action find_tuple_counts
relation P248
type Q502895
type Q1209283
action find_tuple_counts
relation P248
type Q502895
type Q11204
[ANSWERS] have been stated in max number of electronic medias and legislatures
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q1209283'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1209283 ) ( ontology:Q11204 ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?l ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { { ?b property:P248 ?k . ?k rdf:type ontology:Q1209283 . ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11204 . ?b property:P248 ?k } } GROUP BY ?b } } }
John Roberts Colin Campbell William Robinson John Roberts John Lewis John Gray David Thomas John Gray Greg Smith Greg Smith John Smith David Evans William Thompson John Thompson John Murphy John Davies John Martin David Davies George Brown John Hill Greg Smith John Bell James Brown William Walker Robert Williams James Brown David Wilson John Ward George Brown John Kennedy John Jones John Rogers David Smith John Jackson John Hall John Rogers John Davies James Walker William Thompson
Colin Campbell, John Roberts and John Davies have been stated in max number of electronic medias and legislatures
Colin Campbell John Roberts John Davies
action argmax
action union
action find_tuple_counts
relation stated in
type common name
type electronic media
action find_tuple_counts
relation stated in
type common name
type legislature
[{'concept': 'common name'}, 'stated in', [{'concept': 'electronic media'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?c WHERE { FILTER ( ?s = ?e ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?s ) WHERE { ?n rdf:type ?a . VALUES ( ?a ) { ( ontology:electronic_media ) ( ontology:legislature ) } } GROUP BY ?c } . { SELECT DISTINCT ( MAX ( ?l ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?l ) WHERE { { ?b property:stated_in ?k . ?k rdf:type ontology:electronic_media . ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:common_name . ?k rdf:type ontology:legislature . ?b property:stated_in ?k } } GROUP BY ?b } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5144961 Q6255184 Q6228764
P21
Q290
USER
What are the sex of those people ?
(Q5144961,P21,c(Q290)) (Q6255184,P21,c(Q290)) (Q6228764,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q5144961', 'P21', {'concept': 'Q290'}] ['Q6255184', 'P21', {'concept': 'Q290'}] ['Q6228764', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?r ) { ( resource:Q6255164 ) ( resource:Q5144961 ) ( resource:Q8017696 ) } . ?e rdf:type ontology:Q290 . ?r property:P21 ?e }
Colin Campbell John Roberts John Davies
action filter_type
action find
entity prev_answer
relation gender
type sex
['Colin Campbell', 'gender', {'concept': 'sex'}] ['John Roberts', 'gender', {'concept': 'sex'}] ['John Davies', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?r ) { ( resource:John_Roberts ) ( resource:Colin_Campbell ) ( resource:William_Robinson ) } . ?e rdf:type ontology:sex . ?r property:gender ?e }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q5144961,P21,c(Q290)) (Q6255184,P21,c(Q290)) (Q6228764,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q5144961', 'P21', {'concept': 'Q290'}] ['Q6255184', 'P21', {'concept': 'Q290'}] ['Q6228764', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?r ) { ( resource:Q6255164 ) ( resource:Q5144961 ) ( resource:Q8017696 ) } . ?e rdf:type ontology:Q290 . ?r property:P21 ?e }
male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Colin Campbell', 'gender', {'concept': 'sex'}] ['John Roberts', 'gender', {'concept': 'sex'}] ['John Davies', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { VALUES ( ?r ) { ( resource:John_Roberts ) ( resource:Colin_Campbell ) ( resource:William_Robinson ) } . ?e rdf:type ontology:sex . ?r property:gender ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5144961
P54
Q12973014
USER
Which sports teams are Colin Campbell a member of ?
(Q5144961,P54,c(Q12973014))
action filter_type
action find
entity Q5144961
relation P54
type Q12973014
['Q5144961', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q5144961 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
Colin Campbell
action filter_type
action find
entity Colin Campbell
relation member of sports team
type sports team
['Colin Campbell', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:Colin_Campbell property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
sports team
Q205973 Q194116 Q193643
SYSTEM
Edmonton Oilers, Detroit Red Wings, Pittsburgh Penguins
Q868358 Q192890 Q1508876 Q193643 Q205973 Q194116
(Q5144961,P54,c(Q12973014))
action filter_type
action find
entity Q5144961
relation P54
type Q12973014
The [ANSWERS] are Colin Campbell a member of
['Q5144961', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q5144961 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
NHL Colorado Rockies Vancouver Canucks Peterborough Petes Pittsburgh Penguins Edmonton Oilers Detroit Red Wings
The Edmonton Oilers, Detroit Red Wings and Pittsburgh Penguins are Colin Campbell a member of
Edmonton Oilers Detroit Red Wings Pittsburgh Penguins
action filter_type
action find
entity Colin Campbell
relation member of sports team
type sports team
['Colin Campbell', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:Colin_Campbell property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
Which people utilize min number of horse breeds or people as steed ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?d ) WHERE { { ?x property:P3091 ?w . ?x rdf:type ontology:Q502895 . ?w rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?w . ?x rdf:type ontology:Q502895 . ?w rdf:type ontology:Q3745054 } } GROUP BY ?x } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { { ?u property:P3091 ?j . ?u rdf:type ontology:Q502895 . ?j rdf:type ontology:Q3745054 } UNION { ?u property:P3091 ?j . ?j rdf:type ontology:Q502895 . ?u rdf:type ontology:Q502895 } } GROUP BY ?u } }
action argmin
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?d ) WHERE { { ?x property:mount ?w . ?x rdf:type ontology:common_name . ?w rdf:type ontology:common_name } UNION { ?x property:mount ?w . ?x rdf:type ontology:common_name . ?w rdf:type ontology:horse_breed } } GROUP BY ?x } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { { ?u property:mount ?j . ?u rdf:type ontology:common_name . ?j rdf:type ontology:horse_breed } UNION { ?u property:mount ?j . ?j rdf:type ontology:common_name . ?u rdf:type ontology:common_name } } GROUP BY ?u } }
[]
horse breed common name common name
Q34479 Q312391 Q151754
SYSTEM
Hirohito, Philippe Leclerc de Hauteclocque, Anne, Princess Royal
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action argmin
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?d ) WHERE { { ?x property:P3091 ?w . ?x rdf:type ontology:Q502895 . ?w rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?w . ?x rdf:type ontology:Q502895 . ?w rdf:type ontology:Q3745054 } } GROUP BY ?x } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { { ?u property:P3091 ?j . ?u rdf:type ontology:Q502895 . ?j rdf:type ontology:Q3745054 } UNION { ?u property:P3091 ?j . ?j rdf:type ontology:Q502895 . ?u rdf:type ontology:Q502895 } } GROUP BY ?u } }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
Hirohito, Philippe Leclerc de Hauteclocque and Anne, Princess Royal utilize min number of horse breeds or people as steed
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
action argmin
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?d ) WHERE { { ?x property:mount ?w . ?x rdf:type ontology:common_name . ?w rdf:type ontology:common_name } UNION { ?x property:mount ?w . ?x rdf:type ontology:common_name . ?w rdf:type ontology:horse_breed } } GROUP BY ?x } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?g ) WHERE { { ?u property:mount ?j . ?u rdf:type ontology:common_name . ?j rdf:type ontology:horse_breed } UNION { ?u property:mount ?j . ?j rdf:type ontology:common_name . ?u rdf:type ontology:common_name } } GROUP BY ?u } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q312391
P1038
Q502895
USER
Which person is related to that one ?
(c(Q502895),P1038,Q312391)
action filter_type
action find
entity Q312391
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q312391']
SELECT DISTINCT ?e WHERE { resource:Q312391 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
Philippe Leclerc de Hauteclocque
action filter_type
action find
entity Philippe Leclerc de Hauteclocque
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Philippe Leclerc de Hauteclocque']
SELECT DISTINCT ?e WHERE { resource:Philippe_Leclerc_de_Hauteclocque property:relative ?e . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q312391
SYSTEM
Did you mean Philippe Leclerc de Hauteclocque ?
Q34479 Q312391 Q151754
(c(Q502895),P1038,Q34479) (c(Q502895),P1038,Q312391) (c(Q502895),P1038,Q151754)
[ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q34479'] [{'concept': 'Q502895'}, 'P1038', 'Q312391'] [{'concept': 'Q502895'}, 'P1038', 'Q151754']
SELECT DISTINCT ?e WHERE { resource:Q312391 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
Hirohito Philippe Leclerc de Hauteclocque Anne, Princess Royal
Did you mean Philippe Leclerc de Hauteclocque ?
Philippe Leclerc de Hauteclocque
[{'concept': 'common name'}, 'relative', 'Hirohito'] [{'concept': 'common name'}, 'relative', 'Philippe Leclerc de Hauteclocque'] [{'concept': 'common name'}, 'relative', 'Anne, Princess Royal']
SELECT DISTINCT ?e WHERE { resource:Philippe_Leclerc_de_Hauteclocque property:relative ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P1038,Q312391)
[{'concept': 'Q502895'}, 'P1038', 'Q312391']
[{'concept': 'common name'}, 'relative', 'Philippe Leclerc de Hauteclocque']
[]
Q25534571
SYSTEM
Renauld de Chaumont-Quitry
Q25534571
(c(Q502895),P1038,Q312391)
action filter_type
action find
entity Q312391
relation P1038
type Q502895
[ANSWER] is related to that one
[{'concept': 'Q502895'}, 'P1038', 'Q312391']
SELECT DISTINCT ?e WHERE { resource:Q312391 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
Renauld de Chaumont-Quitry
Renauld de Chaumont-Quitry is related to that one
Renauld de Chaumont-Quitry
action filter_type
action find
entity Philippe Leclerc de Hauteclocque
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Philippe Leclerc de Hauteclocque']
SELECT DISTINCT ?e WHERE { resource:Philippe_Leclerc_de_Hauteclocque property:relative ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q25534571 Q90
P19
Q56061
USER
Is Paris the place of birth of Renauld de Chaumont-Quitry ?
(Q25534571,P19,Q90)
action is_in
entity Q90
action find
entity Q25534571
relation P19
['Q25534571', 'P19', 'Q90']
ASK WHERE { resource:Q25534571 property:P19 resource:Q90 }
Renauld de Chaumont-Quitry Paris
action is_in
entity Paris
action find
entity Renauld de Chaumont-Quitry
relation place of birth
['Renauld de Chaumont-Quitry', 'place of birth', 'Paris']
ASK WHERE { resource:Renauld_de_Chaumont-Quitry property:place_of_birth resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q25534571,P19,Q90)
action is_in
entity Q90
action find
entity Q25534571
relation P19
[ANSWER]
['Q25534571', 'P19', 'Q90']
ASK WHERE { resource:Q25534571 property:P19 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Renauld de Chaumont-Quitry
relation place of birth
['Renauld de Chaumont-Quitry', 'place of birth', 'Paris']
ASK WHERE { resource:Renauld_de_Chaumont-Quitry property:place_of_birth resource:Paris }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2513258
P17
Q15617994
USER
Which administrative territory does Karaishak belong to ?
(Q2513258,P17,c(Q15617994))
action filter_type
action find
entity Q2513258
relation P17
type Q15617994
['Q2513258', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2513258 property:P17 ?f }
Karaishak
action filter_type
action find
entity Karaishak
relation country
type designation for an administrative territorial entity
['Karaishak', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Karaishak property:country ?f }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q2513258,P17,c(Q15617994))
action filter_type
action find
entity Q2513258
relation P17
type Q15617994
Karaishak belongs to [ANSWER]
['Q2513258', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2513258 property:P17 ?f }
Turkey
Karaishak belongs to Turkey
Turkey
action filter_type
action find
entity Karaishak
relation country
type designation for an administrative territorial entity
['Karaishak', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Karaishak property:country ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34479
P26
Q502895
USER
Which person is the spouse of Hirohito ?
(Q34479,P26,c(Q502895))
action filter_type
action find
entity Q34479
relation P26
type Q502895
['Q34479', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q34479 property:P26 ?w }
Hirohito
action filter_type
action find
entity Hirohito
relation spouse
type common name
['Hirohito', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Hirohito property:spouse ?w }
[]
common name
Q230697
SYSTEM
Kōjun
Q230697
(Q34479,P26,c(Q502895))
action filter_type
action find
entity Q34479
relation P26
type Q502895
[ANSWER] is the spouse of Hirohito
['Q34479', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q34479 property:P26 ?w }
Kōjun
Kōjun is the spouse of Hirohito
Kōjun
action filter_type
action find
entity Hirohito
relation spouse
type common name
['Hirohito', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Hirohito property:spouse ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230697
P25
Q502895
USER
Who have that one as a mother ?
(c(Q502895),P25,Q230697)
action filter_type
action find_reverse
entity Q230697
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q230697']
SELECT DISTINCT ?w WHERE { ?w property:P25 resource:Q230697 . ?w rdf:type ontology:Q502895 }
Kōjun
action filter_type
action find_reverse
entity Kōjun
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Kōjun']
SELECT DISTINCT ?w WHERE { ?w property:mother resource:Kōjun . ?w rdf:type ontology:common_name }
[]
common name
Q37979 Q1030337 Q1030373
SYSTEM
Akihito, Shigeko Higashikuni, Kazuko Takatsukasa
Q467874 Q3077388 Q1030337 Q725680 Q1030373 Q37979 Q1030348
(c(Q502895),P25,Q230697)
action filter_type
action find_reverse
entity Q230697
relation P25
type Q502895
[ANSWERS] have that one as a mother
[{'concept': 'Q502895'}, 'P25', 'Q230697']
SELECT DISTINCT ?w WHERE { ?w property:P25 resource:Q230697 . ?w rdf:type ontology:Q502895 }
Takako Shimazu Sachiko, Princess Hisa Shigeko Higashikuni Prince Hitachi Kazuko Takatsukasa Akihito Atsuko Ikeda
Akihito, Shigeko Higashikuni and Kazuko Takatsukasa have that one as a mother
Akihito Shigeko Higashikuni Kazuko Takatsukasa
action filter_type
action find_reverse
entity Kōjun
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Kōjun']
SELECT DISTINCT ?w WHERE { ?w property:mother resource:Kōjun . ?w rdf:type ontology:common_name }
[]