Simple Question (Direct)
Simple Question
Q7728088
P161
Q502895
USER
Who were casted in The Crimson Circle ?
(Q7728088,P161,c(Q502895))
action filter_type
action find
entity Q7728088
relation P161
type Q502895
['Q7728088', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7728088 property:P161 ?r . ?r rdf:type ontology:Q502895 }
The Crimson Circle
action filter_type
action find
entity The Crimson Circle
relation cast member
type common name
['The Crimson Circle', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Crimson_Circle property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q329577 Q7082960 Q382045
SYSTEM
Victor McLaglen, Olaf Hytten, Henry Victor
Q382045 Q1536063 Q3049434 Q7082960 Q329577
(Q7728088,P161,c(Q502895))
action filter_type
action find
entity Q7728088
relation P161
type Q502895
[ANSWERS] were casted in The Crimson Circle
['Q7728088', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7728088 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Henry Victor Mary Odette Eille Norwood Olaf Hytten Victor McLaglen
Victor McLaglen, Olaf Hytten and Henry Victor were casted in The Crimson Circle
Victor McLaglen Olaf Hytten Henry Victor
action filter_type
action find
entity The Crimson Circle
relation cast member
type common name
['The Crimson Circle', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Crimson_Circle property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q329577 Q7082960 Q382045
P161
Q838948
USER
Which works of art have Victor McLaglen, Olaf Hytten and Henry Victor as actor ?
(c(Q838948),P161,Q329577) (c(Q838948),P161,Q7082960) (c(Q838948),P161,Q382045)
action union
action filter_type
action find_reverse
entity Q329577
relation P161
type Q838948
action filter_type
action find_reverse
entity Q7082960
relation P161
type Q838948
action filter_type
action find_reverse
entity Q382045
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q329577'] [{'concept': 'Q838948'}, 'P161', 'Q7082960'] [{'concept': 'Q838948'}, 'P161', 'Q382045']
SELECT DISTINCT ?d WHERE { VALUES ( ?j ) { ( resource:Q7082960 ) ( resource:Q329577 ) } . ?d property:P161 ?j }
Victor McLaglen Olaf Hytten Henry Victor
action union
action filter_type
action find_reverse
entity Victor McLaglen
relation cast member
type work of art
action filter_type
action find_reverse
entity Olaf Hytten
relation cast member
type work of art
action filter_type
action find_reverse
entity Henry Victor
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Victor McLaglen'] [{'concept': 'work of art'}, 'cast member', 'Olaf Hytten'] [{'concept': 'work of art'}, 'cast member', 'Henry Victor']
SELECT DISTINCT ?d WHERE { VALUES ( ?j ) { ( resource:Olaf_Hytten ) ( resource:Victor_McLaglen ) } . ?d property:cast_member ?j }
[]
work of art
Q696057 Q470560 Q3489278
SYSTEM
Around the World in 80 Days, The Quiet Man, The Film Parade
Q3794329 Q5910717 Q4972468 Q1758622 Q3535887 Q960600 Q7977103 Q2045539 Q21527997 Q7761433 Q3742385 Q470560 Q432567 Q1218906 Q1304933 Q2576462 Q7712116 Q21527481 Q7439873 Q5508019 Q5021584 Q3489278 Q3940112 Q16248713 Q760012 Q21527521 Q2420727 Q3416313 Q25136529 Q7998261 Q849344 Q7248035 Q16029063 Q7990659 Q3536469 Q7728088 Q2850645 Q3521006 Q3492096 Q7721283 Q20649852 Q3460360 Q1631795 Q1344526 Q4887723 Q3701907 Q7681783 Q3208985 Q1605973 Q4656412 Q696057 Q1415798 Q2402885 Q5910215 Q1138393 Q3282624 Q3765965 Q2592150 Q463869 Q773276 Q1216506 Q1637967 Q4989319 Q4927434 Q1444710 Q7775669 Q4730224 Q4141438 Q16028602 Q954299 Q6899085 Q7760525 Q3156701 Q1169397 Q1215485 Q612540 Q7080390 Q1213755 Q7728088 Q820867 Q2155090 Q3203198 Q302695 Q7754940 Q7761712 Q7757057 Q1134390 Q7748972 Q7738531 Q3549266 Q255314 Q7728088 Q6937705 Q1857464 Q7819191 Q12125901 Q3339720 Q1133723 Q7726750 Q2052414 Q5271361
(c(Q838948),P161,Q329577) (c(Q838948),P161,Q7082960) (c(Q838948),P161,Q382045)
action union
action filter_type
action find_reverse
entity Q329577
relation P161
type Q838948
action filter_type
action find_reverse
entity Q7082960
relation P161
type Q838948
action filter_type
action find_reverse
entity Q382045
relation P161
type Q838948
[ANSWERS] have Victor McLaglen, Olaf Hytten and Henry Victor as actor
[{'concept': 'Q838948'}, 'P161', 'Q329577'] [{'concept': 'Q838948'}, 'P161', 'Q7082960'] [{'concept': 'Q838948'}, 'P161', 'Q382045']
SELECT DISTINCT ?d WHERE { VALUES ( ?j ) { ( resource:Q7082960 ) ( resource:Q329577 ) } . ?d property:P161 ?j }
Let Freedom Ring Hot for Paris Broadway Limited Klondike Annie Fair Wind to Java China Girl We're Going to Be Rich Pacific Liner The River Pirate The Romany Rough, Tough and Ready The Quiet Man The Princess and the Pirate The Lost Patrol Many Rivers to Cross The Black Watch The Abductors Battle of Broadway Sea Devils Full Confession Call Out the Marines The Film Parade Roger Touhy, Gangster The Big Guy Gunga Din The Call of the Road Lady Godiva of Coventry Rackety Rax In the Blood Wicked She Wore a Yellow Ribbon Professional Soldier Women of All Nations Wharf Angel Whistle Stop The Crimson Circle Annabelle's Affairs The Gay Caballero Under Two Flags The Captain Hates the Sea Nancy Steele Is Missing! This Is My Affair Wee Willie Winkie Dishonored Bengazi Magnificent Brute Tampico The Foxes of Harrow Prince Valiant A Devil with Women Around the World in 80 Days Captain Fury Forever and a Day Hot Pepper Rio Grande Murder at the Vanities Happy Days Under Pressure The Informer Fort Apache Sherlock Holmes and the Voice of Terror That Hamilton Woman Zaza Blond Cheat The Ghost of Frankenstein The Wonderful Story All the World's a Stooge Peach O'Reno The Knight Errant Confidential Agent Money The Reverse of the Medal Bedtime Story She-Wolf of London Anne of the Indies The Good Earth Oh, What a Night Camille The Crimson Circle Berkeley Square A Connecticut Yankee in King Arthur's Court Eagle Squadron L'Argent The Old Wives' Tale The Royal Oak The Picture of Dorian Gray Confessions of a Nazi Spy The Love Story of Aliette Brunton The Guns of Loos Underground Sherlock Holmes and the Secret Weapon The Crimson Circle Murder at Monte Carlo King of the Zombies Tommy Atkins The Luck of the Navy Nick Carter, Master Detective Freaks The Colleen Bawn Seas Beneath Diana of the Crossways
Around the World in 80 Days, The Quiet Man and The Film Parade have Victor McLaglen, Olaf Hytten and Henry Victor as actor
Around the World in 80 Days The Quiet Man The Film Parade
action union
action filter_type
action find_reverse
entity Victor McLaglen
relation cast member
type work of art
action filter_type
action find_reverse
entity Olaf Hytten
relation cast member
type work of art
action filter_type
action find_reverse
entity Henry Victor
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Victor McLaglen'] [{'concept': 'work of art'}, 'cast member', 'Olaf Hytten'] [{'concept': 'work of art'}, 'cast member', 'Henry Victor']
SELECT DISTINCT ?d WHERE { VALUES ( ?j ) { ( resource:Olaf_Hytten ) ( resource:Victor_McLaglen ) } . ?d property:cast_member ?j }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q696057 Q470560 Q3489278
P495
Q15617994
USER
What are the countries of origin of those works of art ?
(Q696057,P495,c(Q15617994)) (Q470560,P495,c(Q15617994)) (Q3489278,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q696057', 'P495', {'concept': 'Q15617994'}] ['Q470560', 'P495', {'concept': 'Q15617994'}] ['Q3489278', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?s property:P495 ?q . ?q rdf:type ontology:Q15617994 . VALUES ( ?s ) { ( resource:Q3794329 ) ( resource:Q5910717 ) ( resource:Q4972468 ) } }
Around the World in 80 Days The Quiet Man The Film Parade
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Around the World in 80 Days', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Quiet Man', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Film Parade', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?s property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?s ) { ( resource:Let_Freedom_Ring ) ( resource:Hot_for_Paris ) ( resource:Broadway_Limited ) } }
[]
designation for an administrative territorial entity
Q38 Q30 Q30
SYSTEM
Italy for 1st, United States of America for 2nd, 3rd
Q142 Q30 Q38 Q145 Q30 Q145
(Q696057,P495,c(Q15617994)) (Q470560,P495,c(Q15617994)) (Q3489278,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWERS]
['Q696057', 'P495', {'concept': 'Q15617994'}] ['Q470560', 'P495', {'concept': 'Q15617994'}] ['Q3489278', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?s property:P495 ?q . ?q rdf:type ontology:Q15617994 . VALUES ( ?s ) { ( resource:Q3794329 ) ( resource:Q5910717 ) ( resource:Q4972468 ) } }
France United States of America Italy United Kingdom United States of America United Kingdom
The countries of origin of those works of art are Italy, United States of America and United States of America
Italy United States of America United States of America
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Around the World in 80 Days', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Quiet Man', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Film Parade', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?s property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?s ) { ( resource:Let_Freedom_Ring ) ( resource:Hot_for_Paris ) ( resource:Broadway_Limited ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7728088
P57
Q502895
USER
Who was The Crimson Circle directed by ?
(Q7728088,P57,c(Q502895))
action filter_type
action find
entity Q7728088
relation P57
type Q502895
['Q7728088', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q7728088 property:P57 ?r }
The Crimson Circle
action filter_type
action find
entity The Crimson Circle
relation director
type common name
['The Crimson Circle', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:The_Crimson_Circle property:director ?r }
[]
common name
Q5543881
SYSTEM
George Ridgwell
Q5543881
(Q7728088,P57,c(Q502895))
action filter_type
action find
entity Q7728088
relation P57
type Q502895
By The Crimson Circle was directed by [ANSWER]
['Q7728088', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q7728088 property:P57 ?r }
George Ridgwell
By The Crimson Circle was directed by George Ridgwell
George Ridgwell
action filter_type
action find
entity The Crimson Circle
relation director
type common name
['The Crimson Circle', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:The_Crimson_Circle property:director ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2819823
Q502895
USER
And also tell me about A Morning Alarm?
(Q2819823,P57,c(Q502895))
action filter_type
action find
entity Q2819823
relation P57
type Q502895
['Q2819823', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q2819823 property:P57 ?t }
A Morning Alarm
action filter_type
action find
entity A Morning Alarm
relation director
type common name
['A Morning Alarm', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:A_Morning_Alarm property:director ?t }
[]
common name
Q3161128
SYSTEM
James H. White
Q3161128
(Q2819823,P57,c(Q502895))
action filter_type
action find
entity Q2819823
relation P57
type Q502895
[ANSWER]
['Q2819823', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q2819823 property:P57 ?t }
James H. White
James H. White
action filter_type
action find
entity A Morning Alarm
relation director
type common name
['A Morning Alarm', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:A_Morning_Alarm property:director ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3161128 Q16
P27
Q1048835
USER
Does James H. White belong to Canada ?
(Q3161128,P27,Q16)
action is_in
entity Q16
action find
entity Q3161128
relation P27
['Q3161128', 'P27', 'Q16']
ASK WHERE { resource:Q3161128 property:P27 resource:Q16 }
James H. White Canada
action is_in
entity Canada
action find
entity James H. White
relation country of citizenship
['James H. White', 'country of citizenship', 'Canada']
ASK WHERE { resource:James_H._White property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q3161128,P27,Q16)
action is_in
entity Q16
action find
entity Q3161128
relation P27
[ANSWER]
['Q3161128', 'P27', 'Q16']
ASK WHERE { resource:Q3161128 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity James H. White
relation country of citizenship
['James H. White', 'country of citizenship', 'Canada']
ASK WHERE { resource:James_H._White property:country_of_citizenship resource:Canada }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3489278 Q4893442
P161
Q502895
USER
Did Bernard Millant star in The Film Parade ?
(Q3489278,P161,Q4893442)
action is_in
entity Q4893442
action find
entity Q3489278
relation P161
['Q3489278', 'P161', 'Q4893442']
ASK WHERE { resource:Q3489278 property:P161 resource:Q4893442 }
The Film Parade Bernard Millant
action is_in
entity Bernard Millant
action find
entity The Film Parade
relation cast member
['The Film Parade', 'cast member', 'Bernard Millant']
ASK WHERE { resource:The_Film_Parade property:cast_member resource:Bernard_Millant }
[]
common name
SYSTEM
NO
(Q3489278,P161,Q4893442)
action is_in
entity Q4893442
action find
entity Q3489278
relation P161
[ANSWER]
['Q3489278', 'P161', 'Q4893442']
ASK WHERE { resource:Q3489278 property:P161 resource:Q4893442 }
No
action is_in
entity Bernard Millant
action find
entity The Film Parade
relation cast member
['The Film Parade', 'cast member', 'Bernard Millant']
ASK WHERE { resource:The_Film_Parade property:cast_member resource:Bernard_Millant }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q254591 Q7728088
P47 P495
Q15617994
USER
Which administrative territories are the countries of origin of The Crimson Circle or are bordered by Hüttschlag ?
OR((Q7728088,P495,c(Q15617994)), (Q254591,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q7728088
relation P495
action find
entity Q254591
relation P47
type Q15617994
{'OR': [['Q7728088', 'P495', {'concept': 'Q15617994'}], ['Q254591', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7728088 property:P495 ?u } UNION { resource:Q254591 property:P47 ?u } } . ?u rdf:type ontology:Q15617994 }
Hüttschlag The Crimson Circle
action filter_type
action union
action find
entity The Crimson Circle
relation country of origin
action find
entity Hüttschlag
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Crimson Circle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hüttschlag', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:The_Crimson_Circle property:country_of_origin ?u } UNION { resource:Hüttschlag property:shares_border_with ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q671445 Q145
SYSTEM
Bad Hofgastein, United Kingdom
Q671445 Q145
OR((Q7728088,P495,c(Q15617994)), (Q254591,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q7728088
relation P495
action find
entity Q254591
relation P47
type Q15617994
[ANSWERS] are the countries of origin of The Crimson Circle or are bordered by Hüttschlag
{'OR': [['Q7728088', 'P495', {'concept': 'Q15617994'}], ['Q254591', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q7728088 property:P495 ?u } UNION { resource:Q254591 property:P47 ?u } } . ?u rdf:type ontology:Q15617994 }
Bad Hofgastein United Kingdom
Bad Hofgastein and United Kingdom are the countries of origin of The Crimson Circle or are bordered by Hüttschlag
Bad Hofgastein United Kingdom
action filter_type
action union
action find
entity The Crimson Circle
relation country of origin
action find
entity Hüttschlag
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Crimson Circle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Hüttschlag', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:The_Crimson_Circle property:country_of_origin ?u } UNION { resource:Hüttschlag property:shares_border_with ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q470560 Q1164558
P136
Q151885
USER
How many concepts can be considered as genre of The Quiet Man or The Concert for Bangladesh ?
(Q470560,P136,c(Q151885)) (Q1164558,P136,c(Q151885))
action count
action union
action filter_type
action find
entity Q470560
relation P136
type Q151885
action filter_type
action find
entity Q1164558
relation P136
type Q151885
['Q470560', 'P136', {'concept': 'Q151885'}] ['Q1164558', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?s ) { ( resource:Q1164558 ) ( resource:Q470560 ) } . ?s property:P136 ?x }
The Quiet Man The Concert for Bangladesh
action count
action union
action filter_type
action find
entity The Quiet Man
relation genre
type concept
action filter_type
action find
entity The Concert for Bangladesh
relation genre
type concept
['The Quiet Man', 'genre', {'concept': 'concept'}] ['The Concert for Bangladesh', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?s ) { ( resource:The_Concert_for_Bangladesh ) ( resource:The_Quiet_Man ) } . ?s property:genre ?x }
[]
concept
SYSTEM
3
Q180268 Q7749 Q11399
(Q470560,P136,c(Q151885)) (Q1164558,P136,c(Q151885))
action count
action union
action filter_type
action find
entity Q470560
relation P136
type Q151885
action filter_type
action find
entity Q1164558
relation P136
type Q151885
[ANSWER]
['Q470560', 'P136', {'concept': 'Q151885'}] ['Q1164558', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?s ) { ( resource:Q1164558 ) ( resource:Q470560 ) } . ?s property:P136 ?x }
gospel music rock and roll rock music
3
action count
action union
action filter_type
action find
entity The Quiet Man
relation genre
type concept
action filter_type
action find
entity The Concert for Bangladesh
relation genre
type concept
['The Quiet Man', 'genre', {'concept': 'concept'}] ['The Concert for Bangladesh', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?s ) { ( resource:The_Concert_for_Bangladesh ) ( resource:The_Quiet_Man ) } . ?s property:genre ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329577
P22
Q502895
USER
Which person has Victor McLaglen as father ?
(c(Q502895),P22,Q329577)
action filter_type
action find_reverse
entity Q329577
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q329577']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P22 resource:Q329577 }
Victor McLaglen
action filter_type
action find_reverse
entity Victor McLaglen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Victor McLaglen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:father resource:Victor_McLaglen }
[]
common name
Q508248
SYSTEM
Andrew V. McLaglen
Q508248
(c(Q502895),P22,Q329577)
action filter_type
action find_reverse
entity Q329577
relation P22
type Q502895
[ANSWER] has Victor McLaglen as father
[{'concept': 'Q502895'}, 'P22', 'Q329577']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P22 resource:Q329577 }
Andrew V. McLaglen
Andrew V. McLaglen has Victor McLaglen as father
Andrew V. McLaglen
action filter_type
action find_reverse
entity Victor McLaglen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Victor McLaglen']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:father resource:Victor_McLaglen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q508248
P1412
Q34770
USER
Which language can that person understand ?
(Q508248,P1412,c(Q34770))
action filter_type
action find
entity Q508248
relation P1412
type Q34770
['Q508248', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q508248 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Andrew V. McLaglen
action filter_type
action find
entity Andrew V. McLaglen
relation languages spoken, written or signed
type language
['Andrew V. McLaglen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Andrew_V._McLaglen property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q508248,P1412,c(Q34770))
action filter_type
action find
entity Q508248
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q508248', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q508248 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Andrew V. McLaglen
relation languages spoken, written or signed
type language
['Andrew V. McLaglen', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Andrew_V._McLaglen property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q508248
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q1860)
action filter_type
action find
entity Q508248
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1860']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q508248 property:P26 ?i }
Andrew V. McLaglen
action filter_type
action find
entity Andrew V. McLaglen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'English']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Andrew_V._McLaglen property:spouse ?i }
[]
common name
Q3083008
SYSTEM
Veda Ann Borg
Q3083008
(c(Q502895),P26,Q1860)
action filter_type
action find
entity Q508248
relation P26
type Q502895
The spouse of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q1860']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q508248 property:P26 ?i }
Veda Ann Borg
The spouse of that one is the Veda Ann Borg
Veda Ann Borg
action filter_type
action find
entity Andrew V. McLaglen
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'English']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Andrew_V._McLaglen property:spouse ?i }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q508248
P27 P26
Q502895
USER
Which people are the spouse of Andrew V. McLaglen and are a citizen of United States of America ?
AND((c(Q502895),P26,Q508248), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q508248
relation P26
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q508248'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P26 resource:Q508248 . ?b property:P27 resource:Q30 }
United States of America Andrew V. McLaglen
action filter_type
action intersection
action find_reverse
entity Andrew V. McLaglen
relation spouse
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Andrew V. McLaglen'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:spouse resource:Andrew_V._McLaglen . ?b property:country_of_citizenship resource:United_States_of_America }
[]
common name
Q3083008
SYSTEM
Veda Ann Borg
Q3083008
AND((c(Q502895),P26,Q508248), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q508248
relation P26
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWER] is the spouse of Andrew V. McLaglen and is a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q508248'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P26 resource:Q508248 . ?b property:P27 resource:Q30 }
Veda Ann Borg
Veda Ann Borg is the spouse of Andrew V. McLaglen and is a citizen of United States of America
Veda Ann Borg
action filter_type
action intersection
action find_reverse
entity Andrew V. McLaglen
relation spouse
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Andrew V. McLaglen'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:spouse resource:Andrew_V._McLaglen . ?b property:country_of_citizenship resource:United_States_of_America }
[]