Simple Question (Direct)
Simple Question
Q846209
P364
Q34770
USER
Which language was used originally for the creation of After Hours ?
(Q846209,P364,c(Q34770))
action filter_type
action find
entity Q846209
relation P364
type Q34770
['Q846209', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q846209 property:P364 ?f }
After Hours
action filter_type
action find
entity After Hours
relation original language of work
type language
['After Hours', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:After_Hours property:original_language_of_work ?f }
[]
language
Q1860
SYSTEM
English
Q1860
(Q846209,P364,c(Q34770))
action filter_type
action find
entity Q846209
relation P364
type Q34770
[ANSWER] was used originally for the creation of After Hours
['Q846209', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q846209 property:P364 ?f }
English
English was used originally for the creation of After Hours
English
action filter_type
action find
entity After Hours
relation original language of work
type language
['After Hours', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:After_Hours property:original_language_of_work ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q846209
P86
Q502895
USER
Who composed that work of art ?
(Q1860,P86,c(Q502895))
action filter_type
action find
entity Q846209
relation P86
type Q502895
['Q1860', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q846209 property:P86 ?m . ?m rdf:type ontology:Q502895 }
After Hours
action filter_type
action find
entity After Hours
relation composer
type common name
['English', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:After_Hours property:composer ?m . ?m rdf:type ontology:common_name }
[]
common name
Q207773
SYSTEM
Howard Shore
Q207773
(Q1860,P86,c(Q502895))
action filter_type
action find
entity Q846209
relation P86
type Q502895
[ANSWER] composed that work of art
['Q1860', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q846209 property:P86 ?m . ?m rdf:type ontology:Q502895 }
Howard Shore
Howard Shore composed that work of art
Howard Shore
action filter_type
action find
entity After Hours
relation composer
type common name
['English', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:After_Hours property:composer ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q846209
P1040
Q502895
USER
What is the name of person who editted After Hours ?
(Q846209,P1040,c(Q502895))
action filter_type
action find
entity Q846209
relation P1040
type Q502895
['Q846209', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q846209 property:P1040 ?m . ?m rdf:type ontology:Q502895 }
After Hours
action filter_type
action find
entity After Hours
relation film editor
type common name
['After Hours', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:After_Hours property:film_editor ?m . ?m rdf:type ontology:common_name }
[]
common name
Q166887
SYSTEM
Thelma Schoonmaker
Q166887
(Q846209,P1040,c(Q502895))
action filter_type
action find
entity Q846209
relation P1040
type Q502895
The name of person editted After Hours is named [ANSWER]
['Q846209', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q846209 property:P1040 ?m . ?m rdf:type ontology:Q502895 }
Thelma Schoonmaker
The name of person editted After Hours is named Thelma Schoonmaker
Thelma Schoonmaker
action filter_type
action find
entity After Hours
relation film editor
type common name
['After Hours', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:After_Hours property:film_editor ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16832060
Q502895
USER
And how about Liar's Dice?
(Q16832060,P1040,c(Q502895))
action filter_type
action find
entity Q16832060
relation P1040
type Q502895
['Q16832060', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q16832060 property:P1040 ?s . ?s rdf:type ontology:Q502895 }
Liar's Dice
action filter_type
action find
entity Liar's Dice
relation film editor
type common name
["Liar's Dice", 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Liar's_Dice property:film_editor ?s . ?s rdf:type ontology:common_name }
[]
common name
Q339896
SYSTEM
Ajith Kumar
Q339896
(Q16832060,P1040,c(Q502895))
action filter_type
action find
entity Q16832060
relation P1040
type Q502895
[ANSWER]
['Q16832060', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q16832060 property:P1040 ?s . ?s rdf:type ontology:Q502895 }
Ajith Kumar
Ajith Kumar
action filter_type
action find
entity Liar's Dice
relation film editor
type common name
["Liar's Dice", 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Liar's_Dice property:film_editor ?s . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8019232 Q846209
P161
Q502895
USER
Which people starred in After Hours or William Tell ?
OR((Q846209,P161,c(Q502895)), (Q8019232,P161,c(Q502895)))
action filter_type
action union
action find
entity Q846209
relation P161
action find
entity Q8019232
relation P161
type Q502895
{'OR': [['Q846209', 'P161', {'concept': 'Q502895'}], ['Q8019232', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:Q846209 ) ( resource:Q8019232 ) } . ?b property:P161 ?k } . ?k rdf:type ontology:Q502895 }
William Tell After Hours
action filter_type
action union
action find
entity After Hours
relation cast member
action find
entity William Tell
relation cast member
type common name
{'OR': [['After Hours', 'cast member', {'concept': 'common name'}], ['William Tell', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:After_Hours ) ( resource:William_Tell ) } . ?b property:cast_member ?k } . ?k rdf:type ontology:common_name }
[]
common name
Q233365 Q369174 Q90979 Q522933 Q470260 Q361400 Q73007 Q973065 Q95681 Q233873
SYSTEM
Some of them are Catherine O'Hara, Tommy Chong, Heinrich Schroth, Verna Bloom, Griffin Dunne, Will Patton, Cheech Marin, Victor Argo, Georg H. Schnell, Teri Garr
Q470260 Q110427 Q462327 Q104667 Q445337 Q58801 Q233365 Q87198 Q95681 Q1209753 Q1887965 Q96761 Q105102 Q361400 Q73007 Q233873 Q70289 Q120270 Q96469 Q119505 Q60763 Q87558 Q973065 Q204393 Q522933 Q90979 Q369174 Q109232
OR((Q846209,P161,c(Q502895)), (Q8019232,P161,c(Q502895)))
action filter_type
action union
action find
entity Q846209
relation P161
action find
entity Q8019232
relation P161
type Q502895
[ANSWERS] starred in After Hours or William Tell
{'OR': [['Q846209', 'P161', {'concept': 'Q502895'}], ['Q8019232', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:Q846209 ) ( resource:Q8019232 ) } . ?b property:P161 ?k } . ?k rdf:type ontology:Q502895 }
Griffin Dunne Hans Marr John Heard Eugen Klöpfer Bronson Pinchot Conrad Veidt Catherine O'Hara Franziska Kinz Georg H. Schnell Dick Miller Maly Delschaft Paul Bildt Josef Peterhans Will Patton Cheech Marin Teri Garr Käthe Haack Friedrich Ettel Theodor Loos Werner Schott Emmy Göring Carl de Vogt Victor Argo Linda Fiorentino Verna Bloom Heinrich Schroth Tommy Chong Rosanna Arquette
Catherine O'Hara, Tommy Chong, Heinrich Schroth, Verna Bloom, Griffin Dunne, Will Patton, Cheech Marin, Victor Argo, Georg H. Schnell and Teri Garr starred in After Hours or William Tell
Catherine O'Hara Tommy Chong Heinrich Schroth Verna Bloom Griffin Dunne Will Patton Cheech Marin Victor Argo Georg H. Schnell Teri Garr
action filter_type
action union
action find
entity After Hours
relation cast member
action find
entity William Tell
relation cast member
type common name
{'OR': [['After Hours', 'cast member', {'concept': 'common name'}], ['William Tell', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:After_Hours ) ( resource:William_Tell ) } . ?b property:cast_member ?k } . ?k rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q655133
P725
Q502895 Q1001378
USER
Which cinematic techniques had their voice dubbing done by less number of people than Treasure Island ?
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q655133
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { ?w property:P725 ?s . ?s rdf:type ontology:Q502895 . ?w rdf:type ontology:Q1001378 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q655133 property:P725 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?e < ?n ) }
Treasure Island
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Treasure Island
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { ?w property:voice_actor ?s . ?s rdf:type ontology:common_name . ?w rdf:type ontology:cinematic_technique } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Treasure_Island property:voice_actor ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?e < ?n ) }
[]
common name cinematic technique
Q104905 Q170035 Q2613318
SYSTEM
WALL•E, Ratatouille, Garfield's Fun Fest
Q562140 Q221679 Q908816 Q3623997 Q170035 Q2613318 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q104905
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q655133
relation P725
type Q502895
[ANSWERS] had their voice dubbing done by less number of people than Treasure Island
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { ?w property:P725 ?s . ?s rdf:type ontology:Q502895 . ?w rdf:type ontology:Q1001378 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q655133 property:P725 ?l . ?l rdf:type ontology:Q502895 } } . FILTER ( ?e < ?n ) }
Yobi, the Five Tailed Fox Meet the Robinsons The Secret of Kells FernGully 2: The Magical Rescue Ratatouille Garfield's Fun Fest The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 WALL•E
WALL•E, Ratatouille and Garfield's Fun Fest had their voice dubbing done by less number of people than Treasure Island
WALL•E Ratatouille Garfield's Fun Fest
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Treasure Island
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { ?w property:voice_actor ?s . ?s rdf:type ontology:common_name . ?w rdf:type ontology:cinematic_technique } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Treasure_Island property:voice_actor ?l . ?l rdf:type ontology:common_name } } . FILTER ( ?e < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2388260
P725
Q502895 Q1001378
USER
And how about The Humpbacked Horse?
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q2388260
relation P725
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q2388260 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?x ) WHERE { ?b property:P725 ?j . ?b rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?b } }
The Humpbacked Horse
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity The Humpbacked Horse
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:The_Humpbacked_Horse property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?x ) WHERE { ?b property:voice_actor ?j . ?b rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?b } }
[]
common name cinematic technique
Q104905 Q170035 Q655133
SYSTEM
WALL•E, Ratatouille, Treasure Island
Q562140 Q221679 Q908816 Q3623997 Q4096274 Q655133 Q170035 Q2613318 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q15975680 Q104905
(c(Q1001378),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q2388260
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q2388260 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?x ) WHERE { ?b property:P725 ?j . ?b rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?b } }
Yobi, the Five Tailed Fox Meet the Robinsons The Secret of Kells FernGully 2: The Magical Rescue The Bremen Town Musicians Treasure Island Ratatouille Garfield's Fun Fest The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story WALL•E
WALL•E Ratatouille Treasure Island
action less
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity The Humpbacked Horse
relation voice actor
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:The_Humpbacked_Horse property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?x < ?p ) . { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?x ) WHERE { ?b property:voice_actor ?j . ?b rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?b } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P144
Q502895 Q6619679 Q1001378
USER
How many cinematic techniques are based on more number of people or fictional humanoids than that cinematic technique ?
(c(Q1001378),P144,c(Q502895)|c(Q6619679))
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?z property:P144 ?x } } . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q6619679 }
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?z property:based_on ?x } } . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name . ?x rdf:type ontology:fictional_humanoid }
[]
common name fictional humanoid cinematic technique
Comparative|Count over More/Less|Mult. entity type|Clarification
Q170035
SYSTEM
Did you mean Ratatouille ?
(c(Q1001378),P144,c(Q502895)|c(Q6619679))
[ANSWER]
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?z property:P144 ?x } } . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q6619679 }
Did you mean Ratatouille ?
Ratatouille
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?z property:based_on ?x } } . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name . ?x rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Treasure Island. Could you tell me the answer for that?
(c(Q1001378),P144,c(Q502895)|c(Q6619679))
Q655133
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q6619679'}]]
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional humanoid'}]]
[]
SYSTEM
2
Q245366 Q2971575
(c(Q1001378),P144,c(Q502895)|c(Q6619679))
[ANSWER]
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q502895'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?z property:P144 ?x } } . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q6619679 }
Over the Hedge Pippi Longstocking
2
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'common name'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?z property:based_on ?x } } . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name . ?x rdf:type ontology:fictional_humanoid }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1391830 Q846209
P840 P19
Q56061
USER
Which administrative territories are After Hours set in or are the birthplace of Jaroslav Foglar ?
OR((Q846209,P840,c(Q56061)), (Q1391830,P19,c(Q56061)))
action filter_type
action union
action find
entity Q846209
relation P840
action find
entity Q1391830
relation P19
type Q56061
{'OR': [['Q846209', 'P840', {'concept': 'Q56061'}], ['Q1391830', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q846209 property:P840 ?k } UNION { resource:Q1391830 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
Jaroslav Foglar After Hours
action filter_type
action union
action find
entity After Hours
relation narrative location
action find
entity Jaroslav Foglar
relation place of birth
type administrative territorial entity
{'OR': [['After Hours', 'narrative location', {'concept': 'administrative territorial entity'}], ['Jaroslav Foglar', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:After_Hours property:narrative_location ?k } UNION { resource:Jaroslav_Foglar property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q1085
SYSTEM
New York City, Prague
Q60 Q1085
OR((Q846209,P840,c(Q56061)), (Q1391830,P19,c(Q56061)))
action filter_type
action union
action find
entity Q846209
relation P840
action find
entity Q1391830
relation P19
type Q56061
[ANSWERS] are After Hours set in or are the birthplace of Jaroslav Foglar
{'OR': [['Q846209', 'P840', {'concept': 'Q56061'}], ['Q1391830', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q846209 property:P840 ?k } UNION { resource:Q1391830 property:P19 ?k } } . ?k rdf:type ontology:Q56061 }
New York City Prague
New York City and Prague are After Hours set in or are the birthplace of Jaroslav Foglar
New York City Prague
action filter_type
action union
action find
entity After Hours
relation narrative location
action find
entity Jaroslav Foglar
relation place of birth
type administrative territorial entity
{'OR': [['After Hours', 'narrative location', {'concept': 'administrative territorial entity'}], ['Jaroslav Foglar', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:After_Hours property:narrative_location ?k } UNION { resource:Jaroslav_Foglar property:place_of_birth ?k } } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2807
P190
Q56061
USER
Are Madrid a sister city of those ones ?
(Q2807,P190,Q60) (Q2807,P190,Q1085)
action is_in
entity prev_answer
action find
entity Q2807
relation P190
['Q2807', 'P190', 'Q60'] ['Q2807', 'P190', 'Q1085']
ASK WHERE { VALUES ( ?y ) { ( resource:Q60 ) ( resource:Q1085 ) } . resource:Q2807 property:P190 ?y }
Madrid
action is_in
entity prev_answer
action find
entity Madrid
relation sister city
['Madrid', 'sister city', 'New York City'] ['Madrid', 'sister city', 'Prague']
ASK WHERE { VALUES ( ?y ) { ( resource:New_York_City ) ( resource:Prague ) } . resource:Madrid property:sister_city ?y }
[]
administrative territorial entity
SYSTEM
YES
(Q2807,P190,Q60) (Q2807,P190,Q1085)
action is_in
entity prev_answer
action find
entity Q2807
relation P190
[ANSWER]
['Q2807', 'P190', 'Q60'] ['Q2807', 'P190', 'Q1085']
ASK WHERE { VALUES ( ?y ) { ( resource:Q60 ) ( resource:Q1085 ) } . resource:Q2807 property:P190 ?y }
Yes
action is_in
entity prev_answer
action find
entity Madrid
relation sister city
['Madrid', 'sister city', 'New York City'] ['Madrid', 'sister city', 'Prague']
ASK WHERE { VALUES ( ?y ) { ( resource:New_York_City ) ( resource:Prague ) } . resource:Madrid property:sister_city ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q369174 Q16
P27
Q1048835
USER
Is Canada the native country of Tommy Chong ?
(Q369174,P27,Q16)
action is_in
entity Q16
action find
entity Q369174
relation P27
['Q369174', 'P27', 'Q16']
ASK WHERE { resource:Q369174 property:P27 resource:Q16 }
Tommy Chong Canada
action is_in
entity Canada
action find
entity Tommy Chong
relation country of citizenship
['Tommy Chong', 'country of citizenship', 'Canada']
ASK WHERE { resource:Tommy_Chong property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q369174,P27,Q16)
action is_in
entity Q16
action find
entity Q369174
relation P27
[ANSWER]
['Q369174', 'P27', 'Q16']
ASK WHERE { resource:Q369174 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Tommy Chong
relation country of citizenship
['Tommy Chong', 'country of citizenship', 'Canada']
ASK WHERE { resource:Tommy_Chong property:country_of_citizenship resource:Canada }
[]