Simple Question (Direct)
Simple Question
Q6810670
P27
Q1048835
USER
Which political territory is the country of citizenship of Mel Cappe ?
(Q6810670,P27,c(Q1048835))
action filter_type
action find
entity Q6810670
relation P27
type Q1048835
['Q6810670', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q6810670 property:P27 ?y }
Mel Cappe
action filter_type
action find
entity Mel Cappe
relation country of citizenship
type political territorial entity
['Mel Cappe', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Mel_Cappe property:country_of_citizenship ?y }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6810670,P27,c(Q1048835))
action filter_type
action find
entity Q6810670
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Mel Cappe
['Q6810670', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q6810670 property:P27 ?y }
Canada
Canada is the country of citizenship of Mel Cappe
Canada
action filter_type
action find
entity Mel Cappe
relation country of citizenship
type political territorial entity
['Mel Cappe', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Mel_Cappe property:country_of_citizenship ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6810670
P735
Q82799
USER
What the name that Mel Cappe is known by ?
(Q6810670,P735,c(Q82799))
action filter_type
action find
entity Q6810670
relation P735
type Q82799
['Q6810670', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q6810670 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Mel Cappe
action filter_type
action find
entity Mel Cappe
relation given name
type name
['Mel Cappe', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Mel_Cappe property:given_name ?w . ?w rdf:type ontology:name }
[]
name
Q4563684
SYSTEM
Mel
Q4563684
(Q6810670,P735,c(Q82799))
action filter_type
action find
entity Q6810670
relation P735
type Q82799
Known [ANSWER]
['Q6810670', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q6810670 property:P735 ?w . ?w rdf:type ontology:Q82799 }
Mel
Known Mel
Mel
action filter_type
action find
entity Mel Cappe
relation given name
type name
['Mel Cappe', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Mel_Cappe property:given_name ?w . ?w rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4707800 Q6810670
P19
Q56061
USER
Which administrative territories were Mel Cappe or Alan Solomons born ?
OR((Q6810670,P19,c(Q56061)), (Q4707800,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6810670
relation P19
action find
entity Q4707800
relation P19
type Q56061
{'OR': [['Q6810670', 'P19', {'concept': 'Q56061'}], ['Q4707800', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . { VALUES ( ?w ) { ( resource:Q6810670 ) ( resource:Q4707800 ) } . ?w property:P19 ?r } }
Alan Solomons Mel Cappe
action filter_type
action union
action find
entity Mel Cappe
relation place of birth
action find
entity Alan Solomons
relation place of birth
type administrative territorial entity
{'OR': [['Mel Cappe', 'place of birth', {'concept': 'administrative territorial entity'}], ['Alan Solomons', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . { VALUES ( ?w ) { ( resource:Mel_Cappe ) ( resource:Alan_Solomons ) } . ?w property:place_of_birth ?r } }
[]
administrative territorial entity
Q1020192 Q172
SYSTEM
Uitenhage, Toronto
Q1020192 Q172
OR((Q6810670,P19,c(Q56061)), (Q4707800,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6810670
relation P19
action find
entity Q4707800
relation P19
type Q56061
Mel Cappe or Alan Solomons were born in [ANSWERS]
{'OR': [['Q6810670', 'P19', {'concept': 'Q56061'}], ['Q4707800', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . { VALUES ( ?w ) { ( resource:Q6810670 ) ( resource:Q4707800 ) } . ?w property:P19 ?r } }
Uitenhage Toronto
Mel Cappe or Alan Solomons were born in Uitenhage and Toronto
Uitenhage Toronto
action filter_type
action union
action find
entity Mel Cappe
relation place of birth
action find
entity Alan Solomons
relation place of birth
type administrative territorial entity
{'OR': [['Mel Cappe', 'place of birth', {'concept': 'administrative territorial entity'}], ['Alan Solomons', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . { VALUES ( ?w ) { ( resource:Mel_Cappe ) ( resource:Alan_Solomons ) } . ?w property:place_of_birth ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23538357
P361
Q8436 Q853614 Q82799
USER
Which names are parts of less number of families and identifiers than Azuma ?
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q23538357
relation P361
type Q8436
type Q853614
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?m WHERE { { ?m property:P361 ?f . ?m rdf:type ontology:Q82799 . ?f rdf:type ontology:Q8436 } UNION { ?m property:P361 ?f . ?m rdf:type ontology:Q82799 . ?f rdf:type ontology:Q853614 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q23538357 property:P361 ?l . { { ?l rdf:type ontology:Q8436 } UNION { ?l rdf:type ontology:Q853614 } } } } . FILTER ( ?k < ?a ) }
Azuma
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Azuma
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?m WHERE { { ?m property:part_of ?f . ?m rdf:type ontology:name . ?f rdf:type ontology:family } UNION { ?m property:part_of ?f . ?m rdf:type ontology:name . ?f rdf:type ontology:identifier } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Azuma property:part_of ?l . { { ?l rdf:type ontology:family } UNION { ?l rdf:type ontology:identifier } } } } . FILTER ( ?k < ?a ) }
[]
family identifier name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q16882305 Q1240901 Q24251030 Q1093580 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q382004 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q23538357
relation P361
type Q8436
type Q853614
[ANSWERS] are parts of less number of families and identifiers than Azuma
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?m WHERE { { ?m property:P361 ?f . ?m rdf:type ontology:Q82799 . ?f rdf:type ontology:Q8436 } UNION { ?m property:P361 ?f . ?m rdf:type ontology:Q82799 . ?f rdf:type ontology:Q853614 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q23538357 property:P361 ?l . { { ?l rdf:type ontology:Q8436 } UNION { ?l rdf:type ontology:Q853614 } } } } . FILTER ( ?k < ?a ) }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Rostopchin praenomen Barnaby Han surname Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Afa-Negus Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
Hakham, Seon and Sang are parts of less number of families and identifiers than Azuma
hakham Seon Sang
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Azuma
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?m WHERE { { ?m property:part_of ?f . ?m rdf:type ontology:name . ?f rdf:type ontology:family } UNION { ?m property:part_of ?f . ?m rdf:type ontology:name . ?f rdf:type ontology:identifier } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Azuma property:part_of ?l . { { ?l rdf:type ontology:family } UNION { ?l rdf:type ontology:identifier } } } } . FILTER ( ?k < ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q19998957
P361
Q8436 Q853614 Q82799
USER
And how about Paltiel?
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q19998957
relation P361
type Q8436
type Q853614
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { { ?y property:P361 ?m . ?y rdf:type ontology:Q82799 . ?m rdf:type ontology:Q8436 } UNION { ?y property:P361 ?m . ?y rdf:type ontology:Q82799 . ?m rdf:type ontology:Q853614 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q19998957 property:P361 ?b . { { ?b rdf:type ontology:Q8436 } UNION { ?b rdf:type ontology:Q853614 } } } } . FILTER ( ?k < ?j ) }
Paltiel
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Paltiel
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { { ?y property:part_of ?m . ?y rdf:type ontology:name . ?m rdf:type ontology:family } UNION { ?y property:part_of ?m . ?y rdf:type ontology:name . ?m rdf:type ontology:identifier } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Paltiel property:part_of ?b . { { ?b rdf:type ontology:family } UNION { ?b rdf:type ontology:identifier } } } } . FILTER ( ?k < ?j ) }
[]
family identifier name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q16882305 Q1240901 Q24251030 Q1093580 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q382004 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q8436)|c(Q853614))
action less
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q853614
action count
action filter_multi_types
action find
entity Q19998957
relation P361
type Q8436
type Q853614
[ANSWERS]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q853614'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { { ?y property:P361 ?m . ?y rdf:type ontology:Q82799 . ?m rdf:type ontology:Q8436 } UNION { ?y property:P361 ?m . ?y rdf:type ontology:Q82799 . ?m rdf:type ontology:Q853614 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q19998957 property:P361 ?b . { { ?b rdf:type ontology:Q8436 } UNION { ?b rdf:type ontology:Q853614 } } } } . FILTER ( ?k < ?j ) }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Rostopchin praenomen Barnaby Han surname Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Afa-Negus Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
hakham Seon Sang
action less
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type identifier
action count
action filter_multi_types
action find
entity Paltiel
relation part of
type family
type identifier
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'identifier'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { { ?y property:part_of ?m . ?y rdf:type ontology:name . ?m rdf:type ontology:family } UNION { ?y property:part_of ?m . ?y rdf:type ontology:name . ?m rdf:type ontology:identifier } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Paltiel property:part_of ?b . { { ?b rdf:type ontology:family } UNION { ?b rdf:type ontology:identifier } } } } . FILTER ( ?k < ?j ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1058384
P140
Q874405
USER
What is the religion associated with that name ?
(Q1058384,P140,c(Q874405))
action filter_type
action find
entity Q1058384
relation P140
type Q874405
['Q1058384', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q1058384 property:P140 ?v . ?v rdf:type ontology:Q874405 }
hakham
action filter_type
action find
entity hakham
relation religion
type social group
['hakham', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:hakham property:religion ?v . ?v rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q27350540
SYSTEM
Did you mean Sang ?
Q1058384 Q27352651 Q27350540
(Q1058384,P140,c(Q874405)) (Q27352651,P140,c(Q874405)) (Q27350540,P140,c(Q874405))
[ANSWER]
['Q1058384', 'P140', {'concept': 'Q874405'}] ['Q27352651', 'P140', {'concept': 'Q874405'}] ['Q27350540', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q1058384 property:P140 ?v . ?v rdf:type ontology:Q874405 }
hakham Seon Sang
Did you mean Sang ?
Sang
['hakham', 'religion', {'concept': 'social group'}] ['Seon', 'religion', {'concept': 'social group'}] ['Sang', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:hakham property:religion ?v . ?v rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant hakham. Could you tell me the answer for that?
(Q1058384,P140,c(Q874405))
Q1058384
['Q1058384', 'P140', {'concept': 'Q874405'}]
['hakham', 'religion', {'concept': 'social group'}]
[]
Q9268
SYSTEM
Judaism
Q9268
(Q1058384,P140,c(Q874405))
action filter_type
action find
entity Q1058384
relation P140
type Q874405
The religion associated with that name is [ANSWER]
['Q1058384', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?v WHERE { resource:Q1058384 property:P140 ?v . ?v rdf:type ontology:Q874405 }
Judaism
The religion associated with that name is Judaism
Judaism
action filter_type
action find
entity hakham
relation religion
type social group
['hakham', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?v WHERE { resource:hakham property:religion ?v . ?v rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q18783400 Q11060274
USER
Which names are demonstrated in approximately 21 genres of sculpture and prints ?
(c(Q18783400)|c(Q11060274),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
value 21
[[{'concept': 'Q18783400'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:P180 ?k . ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q18783400 } UNION { ?m property:P180 ?k . ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q11060274 } } GROUP BY ?k } . FILTER ( ?w = 21 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type print
value 21
[[{'concept': 'genre of sculpture'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:depicts ?k . ?k rdf:type ontology:name . ?m rdf:type ontology:genre_of_sculpture } UNION { ?m property:depicts ?k . ?k rdf:type ontology:name . ?m rdf:type ontology:print } } GROUP BY ?k } . FILTER ( ?w = 21 ) }
[]
name genre of sculpture print
Q5 Q726
SYSTEM
human, horse
Q5 Q726
(c(Q18783400)|c(Q11060274),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
value 21
[ANSWERS] are demonstrated in approximately 21 genres of sculpture and prints
[[{'concept': 'Q18783400'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:P180 ?k . ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q18783400 } UNION { ?m property:P180 ?k . ?k rdf:type ontology:Q82799 . ?m rdf:type ontology:Q11060274 } } GROUP BY ?k } . FILTER ( ?w = 21 ) }
human horse
Human and horse are demonstrated in approximately 21 genres of sculpture and prints
human horse
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type print
value 21
[[{'concept': 'genre of sculpture'}, {'concept': 'print'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?k WHERE { { ?m property:depicts ?k . ?k rdf:type ontology:name . ?m rdf:type ontology:genre_of_sculpture } UNION { ?m property:depicts ?k . ?k rdf:type ontology:name . ?m rdf:type ontology:print } } GROUP BY ?k } . FILTER ( ?w = 21 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27212089
P180
Q11060274
USER
Does Die Brüder Karamasow express those names ?
(Q27212089,P180,Q5) (Q27212089,P180,Q726)
action is_in
entity prev_answer
action find
entity Q27212089
relation P180
['Q27212089', 'P180', 'Q5'] ['Q27212089', 'P180', 'Q726']
ASK WHERE { resource:Q27212089 property:P180 ?n . VALUES ( ?n ) { ( resource:Q5 ) ( resource:Q726 ) } }
Die Brüder Karamasow
action is_in
entity prev_answer
action find
entity Die Brüder Karamasow
relation depicts
['Die Brüder Karamasow', 'depicts', 'human'] ['Die Brüder Karamasow', 'depicts', 'horse']
ASK WHERE { resource:Die_Brüder_Karamasow property:depicts ?n . VALUES ( ?n ) { ( resource:human ) ( resource:horse ) } }
[]
print
SYSTEM
NO
(Q27212089,P180,Q5) (Q27212089,P180,Q726)
action is_in
entity prev_answer
action find
entity Q27212089
relation P180
[ANSWER]
['Q27212089', 'P180', 'Q5'] ['Q27212089', 'P180', 'Q726']
ASK WHERE { resource:Q27212089 property:P180 ?n . VALUES ( ?n ) { ( resource:Q5 ) ( resource:Q726 ) } }
No
action is_in
entity prev_answer
action find
entity Die Brüder Karamasow
relation depicts
['Die Brüder Karamasow', 'depicts', 'human'] ['Die Brüder Karamasow', 'depicts', 'horse']
ASK WHERE { resource:Die_Brüder_Karamasow property:depicts ?n . VALUES ( ?n ) { ( resource:human ) ( resource:horse ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6810670 Q5847834 Q172
P19
Q56061
USER
Does Mel Cappe have birthplace at Shur-e Sofla and Toronto ?
(Q6810670,P19,Q5847834) (Q6810670,P19,Q172)
action is_in
entity Q6810670
action intersection
action find_reverse
entity Q5847834
relation P19
action find_reverse
entity Q172
relation P19
['Q6810670', 'P19', 'Q5847834'] ['Q6810670', 'P19', 'Q172']
ASK WHERE { resource:Q6810670 property:P19 resource:Q5847834 . resource:Q6810670 property:P19 resource:Q172 }
Mel Cappe Shur-e Sofla Toronto
action is_in
entity Mel Cappe
action intersection
action find_reverse
entity Shur-e Sofla
relation place of birth
action find_reverse
entity Toronto
relation place of birth
['Mel Cappe', 'place of birth', 'Shur-e Sofla'] ['Mel Cappe', 'place of birth', 'Toronto']
ASK WHERE { resource:Mel_Cappe property:place_of_birth resource:Shur-e_Sofla . resource:Mel_Cappe property:place_of_birth resource:Toronto }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q6810670,P19,Q5847834) (Q6810670,P19,Q172)
action is_in
entity Q6810670
action intersection
action find_reverse
entity Q5847834
relation P19
action find_reverse
entity Q172
relation P19
[ANSWER]
['Q6810670', 'P19', 'Q5847834'] ['Q6810670', 'P19', 'Q172']
ASK WHERE { resource:Q6810670 property:P19 resource:Q5847834 . resource:Q6810670 property:P19 resource:Q172 }
NO and YES respectively
action is_in
entity Mel Cappe
action intersection
action find_reverse
entity Shur-e Sofla
relation place of birth
action find_reverse
entity Toronto
relation place of birth
['Mel Cappe', 'place of birth', 'Shur-e Sofla'] ['Mel Cappe', 'place of birth', 'Toronto']
ASK WHERE { resource:Mel_Cappe property:place_of_birth resource:Shur-e_Sofla . resource:Mel_Cappe property:place_of_birth resource:Toronto }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6810670
P106
Q12737077
USER
What do that person do for a living ?
action filter_type
action find
entity Q6810670
relation P106
type Q12737077
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q6810670 property:P106 ?o }
Mel Cappe
action filter_type
action find
entity Mel Cappe
relation occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Mel_Cappe property:occupation ?o }
[]
occupation
Q193391 Q188094
SYSTEM
diplomat, economist
Q193391 Q188094
action filter_type
action find
entity Q6810670
relation P106
type Q12737077
The [ANSWERS] that person do for a living
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q6810670 property:P106 ?o }
diplomat economist
The diplomat and economist that person do for a living
diplomat economist
action filter_type
action find
entity Mel Cappe
relation occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Mel_Cappe property:occupation ?o }
[]