Simple Question (Direct)
Simple Question
Q3428829
P106
Q12737077
USER
What do Rex Everhart do for a living ?
(Q3428829,P106,c(Q12737077))
action filter_type
action find
entity Q3428829
relation P106
type Q12737077
['Q3428829', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3428829 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Rex Everhart
action filter_type
action find
entity Rex Everhart
relation occupation
type occupation
['Rex Everhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Rex_Everhart property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q33999 Q177220
SYSTEM
actor, singer
Q33999 Q177220
(Q3428829,P106,c(Q12737077))
action filter_type
action find
entity Q3428829
relation P106
type Q12737077
[ANSWERS] Rex Everhart do for a living
['Q3428829', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3428829 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
actor singer
Actor and singer Rex Everhart do for a living
actor singer
action filter_type
action find
entity Rex Everhart
relation occupation
type occupation
['Rex Everhart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Rex_Everhart property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3428829
P175
Q95074
USER
Which fictional character performed that person ?
(c(Q95074),P175,Q33999) (c(Q95074),P175,Q177220)
action filter_type
action find_reverse
entity Q3428829
relation P175
type Q95074
[{'concept': 'Q95074'}, 'P175', 'Q33999'] [{'concept': 'Q95074'}, 'P175', 'Q177220']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q95074 . ?t property:P175 resource:Q3428829 }
Rex Everhart
action filter_type
action find_reverse
entity Rex Everhart
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'actor'] [{'concept': 'fictional character'}, 'performer', 'singer']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:fictional_character . ?t property:performer resource:Rex_Everhart }
[]
fictional character
Q2427584
SYSTEM
Maurice
Q2427584
(c(Q95074),P175,Q33999) (c(Q95074),P175,Q177220)
action filter_type
action find_reverse
entity Q3428829
relation P175
type Q95074
[ANSWER] performed that person
[{'concept': 'Q95074'}, 'P175', 'Q33999'] [{'concept': 'Q95074'}, 'P175', 'Q177220']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q95074 . ?t property:P175 resource:Q3428829 }
Maurice
Maurice performed that person
Maurice
action filter_type
action find_reverse
entity Rex Everhart
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'actor'] [{'concept': 'fictional character'}, 'performer', 'singer']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:fictional_character . ?t property:performer resource:Rex_Everhart }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3428829
P1196
Q1931388
USER
What manner did that person die ?
(Q2427584,P1196,c(Q1931388))
action filter_type
action find
entity Q3428829
relation P1196
type Q1931388
['Q2427584', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q3428829 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Rex Everhart
action filter_type
action find
entity Rex Everhart
relation manner of death
type cause of death
['Maurice', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Rex_Everhart property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2427584,P1196,c(Q1931388))
action filter_type
action find
entity Q3428829
relation P1196
type Q1931388
That person died in [ANSWER]
['Q2427584', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q3428829 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Rex Everhart
relation manner of death
type cause of death
['Maurice', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Rex_Everhart property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3428829
P1412
Q34770
USER
Which language can that person read ?
(Q3739104,P1412,c(Q34770))
action filter_type
action find
entity Q3428829
relation P1412
type Q34770
['Q3739104', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q3428829 property:P1412 ?j }
Rex Everhart
action filter_type
action find
entity Rex Everhart
relation languages spoken, written or signed
type language
['natural causes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Rex_Everhart property:languages_spoken,_written_or_signed ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3739104,P1412,c(Q34770))
action filter_type
action find
entity Q3428829
relation P1412
type Q34770
That person can read the [ANSWER]
['Q3739104', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q3428829 property:P1412 ?j }
English
That person can read the English
English
action filter_type
action find
entity Rex Everhart
relation languages spoken, written or signed
type language
['natural causes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Rex_Everhart property:languages_spoken,_written_or_signed ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3428829
P509
Q2057971
USER
How did that person die ?
(Q1860,P509,c(Q2057971))
action filter_type
action find
entity Q3428829
relation P509
type Q2057971
['Q1860', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . resource:Q3428829 property:P509 ?t }
Rex Everhart
action filter_type
action find
entity Rex Everhart
relation cause of death
type health problem
['English', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . resource:Rex_Everhart property:cause_of_death ?t }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(Q1860,P509,c(Q2057971))
action filter_type
action find
entity Q3428829
relation P509
type Q2057971
That person died in [ANSWER]
['Q1860', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . resource:Q3428829 property:P509 ?t }
lung cancer
That person died in lung cancer
lung cancer
action filter_type
action find
entity Rex Everhart
relation cause of death
type health problem
['English', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . resource:Rex_Everhart property:cause_of_death ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q47912 Q14912280 Q22239206
P2293
Q863908
USER
Is that health problem genetically connected with CHEK2 and glycogen branching protein    LBA0680 ?
(Q47912,P2293,Q14912280) (Q47912,P2293,Q22239206)
action is_in
entity Q47912
action intersection
action find_reverse
entity Q14912280
relation P2293
action find_reverse
entity Q22239206
relation P2293
['Q47912', 'P2293', 'Q14912280'] ['Q47912', 'P2293', 'Q22239206']
ASK WHERE { resource:Q47912 property:P2293 resource:Q14912280 . resource:Q47912 property:P2293 resource:Q22239206 }
lung cancer CHEK2 glycogen branching protein    LBA0680
action is_in
entity lung cancer
action intersection
action find_reverse
entity CHEK2
relation genetic association
action find_reverse
entity glycogen branching protein    LBA0680
relation genetic association
['lung cancer', 'genetic association', 'CHEK2'] ['lung cancer', 'genetic association', 'glycogen branching protein    LBA0680']
ASK WHERE { resource:lung_cancer property:genetic_association resource:CHEK2 . resource:lung_cancer property:genetic_association resource:glycogen_branching_protein____LBA0680 }
[]
nucleic acid sequence
SYSTEM
YES and NO respectively
(Q47912,P2293,Q14912280) (Q47912,P2293,Q22239206)
action is_in
entity Q47912
action intersection
action find_reverse
entity Q14912280
relation P2293
action find_reverse
entity Q22239206
relation P2293
[ANSWER]
['Q47912', 'P2293', 'Q14912280'] ['Q47912', 'P2293', 'Q22239206']
ASK WHERE { resource:Q47912 property:P2293 resource:Q14912280 . resource:Q47912 property:P2293 resource:Q22239206 }
YES and NO respectively
action is_in
entity lung cancer
action intersection
action find_reverse
entity CHEK2
relation genetic association
action find_reverse
entity glycogen branching protein    LBA0680
relation genetic association
['lung cancer', 'genetic association', 'CHEK2'] ['lung cancer', 'genetic association', 'glycogen branching protein    LBA0680']
ASK WHERE { resource:lung_cancer property:genetic_association resource:CHEK2 . resource:lung_cancer property:genetic_association resource:glycogen_branching_protein____LBA0680 }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q397
P407
Q34770 Q7725634 Q14795564
USER
How many languages are approximately the same number of literary works or determinators for date of periodic occurrence composed in as Latin ?
(c(Q7725634)|c(Q14795564),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q7725634
type Q14795564
[[{'concept': 'Q7725634'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?m WHERE { { ?l property:P407 ?m . ?l rdf:type ontology:Q7725634 . ?m rdf:type ontology:Q34770 } UNION { ?m rdf:type ontology:Q34770 . ?l rdf:type ontology:Q14795564 . ?l property:P407 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P407 resource:Q397 . { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q14795564 ) } } } } . FILTER ( ?c = ?s ) }
Latin
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type literary work
type determinator for date of periodic occurrence
[[{'concept': 'literary work'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?m WHERE { { ?l property:language_of_work_or_name ?m . ?l rdf:type ontology:literary_work . ?m rdf:type ontology:language } UNION { ?m rdf:type ontology:language . ?l rdf:type ontology:determinator_for_date_of_periodic_occurrence . ?l property:language_of_work_or_name ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:language_of_work_or_name resource:Latin . { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:determinator_for_date_of_periodic_occurrence ) } } } } . FILTER ( ?c = ?s ) }
[]
language literary work determinator for date of periodic occurrence
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q14795564),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q7725634
type Q14795564
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?m WHERE { { ?l property:P407 ?m . ?l rdf:type ontology:Q7725634 . ?m rdf:type ontology:Q34770 } UNION { ?m rdf:type ontology:Q34770 . ?l rdf:type ontology:Q14795564 . ?l property:P407 ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P407 resource:Q397 . { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q14795564 ) } } } } . FILTER ( ?c = ?s ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type literary work
type determinator for date of periodic occurrence
[[{'concept': 'literary work'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) ?m WHERE { { ?l property:language_of_work_or_name ?m . ?l rdf:type ontology:literary_work . ?m rdf:type ontology:language } UNION { ?m rdf:type ontology:language . ?l rdf:type ontology:determinator_for_date_of_periodic_occurrence . ?l property:language_of_work_or_name ?m } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:language_of_work_or_name resource:Latin . { ?q rdf:type ?k . VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:determinator_for_date_of_periodic_occurrence ) } } } } . FILTER ( ?c = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q13414913
P407
Q34770 Q7725634 Q14795564
USER
And what about Simplified Chinese?
(c(Q7725634)|c(Q14795564),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q13414913
relation P407
type Q7725634
type Q14795564
[[{'concept': 'Q7725634'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P407 resource:Q13414913 . { VALUES ( ?z ) { ( ontology:Q7725634 ) ( ontology:Q14795564 ) } . ?d rdf:type ?z } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?u WHERE { { ?u rdf:type ontology:Q34770 . ?s rdf:type ontology:Q7725634 . ?s property:P407 ?u } UNION { ?s property:P407 ?u . ?u rdf:type ontology:Q34770 . ?s rdf:type ontology:Q14795564 } } GROUP BY ?u } }
Simplified Chinese
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Simplified Chinese
relation language of work or name
type literary work
type determinator for date of periodic occurrence
[[{'concept': 'literary work'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:language_of_work_or_name resource:Simplified_Chinese . { VALUES ( ?z ) { ( ontology:literary_work ) ( ontology:determinator_for_date_of_periodic_occurrence ) } . ?d rdf:type ?z } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?u WHERE { { ?u rdf:type ontology:language . ?s rdf:type ontology:literary_work . ?s property:language_of_work_or_name ?u } UNION { ?s property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?s rdf:type ontology:determinator_for_date_of_periodic_occurrence } } GROUP BY ?u } }
[]
language literary work determinator for date of periodic occurrence
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q14795564),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
action count
action filter_multi_types
action find_reverse
entity Q13414913
relation P407
type Q7725634
type Q14795564
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P407 resource:Q13414913 . { VALUES ( ?z ) { ( ontology:Q7725634 ) ( ontology:Q14795564 ) } . ?d rdf:type ?z } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?u WHERE { { ?u rdf:type ontology:Q34770 . ?s rdf:type ontology:Q7725634 . ?s property:P407 ?u } UNION { ?s property:P407 ?u . ?u rdf:type ontology:Q34770 . ?s rdf:type ontology:Q14795564 } } GROUP BY ?u } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
action count
action filter_multi_types
action find_reverse
entity Simplified Chinese
relation language of work or name
type literary work
type determinator for date of periodic occurrence
[[{'concept': 'literary work'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:language_of_work_or_name resource:Simplified_Chinese . { VALUES ( ?z ) { ( ontology:literary_work ) ( ontology:determinator_for_date_of_periodic_occurrence ) } . ?d rdf:type ?z } } } . FILTER ( ?r = ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?u WHERE { { ?u rdf:type ontology:language . ?s rdf:type ontology:literary_work . ?s property:language_of_work_or_name ?u } UNION { ?s property:language_of_work_or_name ?u . ?u rdf:type ontology:language . ?s rdf:type ontology:determinator_for_date_of_periodic_occurrence } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4159524 Q3428829
P19
Q56061
USER
Which administrative territories were Rex Everhart or Yulia Deulina born in ?
OR((Q3428829,P19,c(Q56061)), (Q4159524,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3428829
relation P19
action find
entity Q4159524
relation P19
type Q56061
{'OR': [['Q3428829', 'P19', {'concept': 'Q56061'}], ['Q4159524', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { { resource:Q3428829 property:P19 ?v } UNION { resource:Q4159524 property:P19 ?v } } }
Yulia Deulina Rex Everhart
action filter_type
action union
action find
entity Rex Everhart
relation place of birth
action find
entity Yulia Deulina
relation place of birth
type administrative territorial entity
{'OR': [['Rex Everhart', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yulia Deulina', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { { resource:Rex_Everhart property:place_of_birth ?v } UNION { resource:Yulia_Deulina property:place_of_birth ?v } } }
[]
administrative territorial entity
Q575268 Q155569
SYSTEM
Watseka, Krasnogorsk
Q575268 Q155569
OR((Q3428829,P19,c(Q56061)), (Q4159524,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3428829
relation P19
action find
entity Q4159524
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q3428829', 'P19', {'concept': 'Q56061'}], ['Q4159524', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . { { resource:Q3428829 property:P19 ?v } UNION { resource:Q4159524 property:P19 ?v } } }
Watseka Krasnogorsk
Which administrative territories were Rex Everhart or Yulia Deulina born in
Watseka Krasnogorsk
action filter_type
action union
action find
entity Rex Everhart
relation place of birth
action find
entity Yulia Deulina
relation place of birth
type administrative territorial entity
{'OR': [['Rex Everhart', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yulia Deulina', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . { { resource:Rex_Everhart property:place_of_birth ?v } UNION { resource:Yulia_Deulina property:place_of_birth ?v } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q95074 Q502895 Q95074
USER
Which fictional characters are based on atmost 2 fictional characters or people ?
(c(Q95074),P144,c(Q95074)|c(Q502895))
action atmost
action union
action find_tuple_counts
relation P144
type Q95074
type Q95074
action find_tuple_counts
relation P144
type Q95074
type Q502895
value 2
[{'concept': 'Q95074'}, 'P144', [{'concept': 'Q95074'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?x WHERE { { ?x property:P144 ?v . ?x rdf:type ontology:Q95074 . ?v rdf:type ontology:Q95074 } UNION { ?x property:P144 ?v . ?x rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 } } GROUP BY ?x } . FILTER ( ?u <= 2 ) }
action atmost
action union
action find_tuple_counts
relation based on
type fictional character
type fictional character
action find_tuple_counts
relation based on
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'based on', [{'concept': 'fictional character'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?x WHERE { { ?x property:based_on ?v . ?x rdf:type ontology:fictional_character . ?v rdf:type ontology:fictional_character } UNION { ?x property:based_on ?v . ?x rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name } } GROUP BY ?x } . FILTER ( ?u <= 2 ) }
[]
fictional character common name fictional character
Q252044 Q610519 Q2739228
SYSTEM
Queen Grimhilde, Matt Santos, Snow White
Q27663545 Q27230034 Q27688828 Q27666236 Q27712993 Q27075302 Q27491048 Q27302894 Q17335617 Q6748296 Q27666216 Q27468496 Q27498920 Q27663642 Q27856469 Q27468252 Q27457103 Q27303579 Q27477399 Q27469093 Q27101591 Q958289 Q23001864 Q27477310 Q27304877 Q252044 Q27663814 Q27305077 Q507978 Q112310 Q2739228 Q1773077 Q27455598 Q5431889 Q27666036 Q20822934 Q610519 Q16626690 Q27450655 Q2559332 Q3291275 Q25714585 Q23900341 Q20822908 Q27481286 Q27702142 Q24050122 Q27303695 Q27467127 Q3377158 Q27702890 Q27468055 Q26273271 Q488159 Q22264381 Q27469182 Q3388787 Q20822916 Q27303912 Q10354248 Q27666317 Q27304504 Q27268652 Q27490840 Q27493744 Q27230066 Q3437147 Q27229770 Q540376 Q27229992 Q27468350 Q23012300 Q27857613 Q27666260 Q21932351 Q27230909 Q27429777 Q27710770 Q2308402 Q27666068 Q27148788 Q27456283 Q27699441 Q27666446 Q4574639 Q27305188 Q27468422 Q27627816 Q27477272 Q246838 Q27700877 Q9012447 Q1080587 Q1141265 Q27477415 Q4679739 Q27734191 Q7349306 Q27855815 Q2879032 Q27267273 Q27477427 Q26273191 Q27666118 Q27666112
(c(Q95074),P144,c(Q95074)|c(Q502895))
action atmost
action union
action find_tuple_counts
relation P144
type Q95074
type Q95074
action find_tuple_counts
relation P144
type Q95074
type Q502895
value 2
Respectively [ANSWERS] are based on atmost 2 fictional characters or people
[{'concept': 'Q95074'}, 'P144', [{'concept': 'Q95074'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?x WHERE { { ?x property:P144 ?v . ?x rdf:type ontology:Q95074 . ?v rdf:type ontology:Q95074 } UNION { ?x property:P144 ?v . ?x rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 } } GROUP BY ?x } . FILTER ( ?u <= 2 ) }
Peter Pan Colonel Hathi Dumbo Nana Djali Fairy Godmother Dodger Piglet D'Artagnan Mandy Hampton Tinker Bell Queen of Hearts Huntsman Wendy Darling Amphytryon Caterpillar Fflewddur Fflam Tigger Tweedledum Dodo Ultron Tiana Ron Butterfield Bill the Lizard Christopher Robin Queen Grimhilde Captain Hook Roo Milady de Winter Alice (Disney) Snow White Aramis Eilonwy Faline George Darling Mrs. Judson Matt Santos Baloo Taran Cinderella Maid Marian Tito Jeff Haffley Dr. David Q. Dawson Hen Wen Esmeralda Hela Rabbit Alice Little John Phoebus Mad Hatter Echidna Ded Moroz Barbarella White Rabbit Pinocchio Basil I-Aah Professor Ratigan Crocodile Owl Friar Tuck Oliver Bill Sykes Akela Robin Hood Shere Khan Mowgli Kaa Cheshire Cat Nancy McNally Nessus Mr. Smee Valentina Rosselli Prince Charming Bianca Archdeacon Bambi John Darling Magic Mirror Gurgi Quasimodo Tiger Lily Jack Crawford Kanga March Hare Dormammu Dormouse Mulan Claude Frollo John Hoynes C. J. Cregg Lady Tremaine Tweedledee Adam Schiff Clopin Robert Ritchie Alcmene Bagheera Sheriff of Nottingham King of Hearts Orthos Michael Darling Mary Darling
Respectively Queen Grimhilde, Matt Santos and Snow White are based on atmost 2 fictional characters or people
Queen Grimhilde Matt Santos Snow White
action atmost
action union
action find_tuple_counts
relation based on
type fictional character
type fictional character
action find_tuple_counts
relation based on
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'based on', [{'concept': 'fictional character'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?x WHERE { { ?x property:based_on ?v . ?x rdf:type ontology:fictional_character . ?v rdf:type ontology:fictional_character } UNION { ?x property:based_on ?v . ?x rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name } } GROUP BY ?x } . FILTER ( ?u <= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q610519
P734
Q82799
USER
Which name is associated with that fictional character ?
(Q610519,P734,c(Q82799))
action filter_type
action find
entity Q610519
relation P734
type Q82799
['Q610519', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q610519 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Matt Santos
action filter_type
action find
entity Matt Santos
relation family name
type name
['Matt Santos', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Matt_Santos property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q2739228
SYSTEM
Did you mean Snow White ?
Q252044 Q610519 Q2739228
(Q252044,P734,c(Q82799)) (Q610519,P734,c(Q82799)) (Q2739228,P734,c(Q82799))
[ANSWER]
['Q252044', 'P734', {'concept': 'Q82799'}] ['Q610519', 'P734', {'concept': 'Q82799'}] ['Q2739228', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q610519 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Queen Grimhilde Matt Santos Snow White
Did you mean Snow White ?
Snow White
['Queen Grimhilde', 'family name', {'concept': 'name'}] ['Matt Santos', 'family name', {'concept': 'name'}] ['Snow White', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Matt_Santos property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Matt Santos. Could you tell me the answer for that?
(Q610519,P734,c(Q82799))
Q610519
['Q610519', 'P734', {'concept': 'Q82799'}]
['Matt Santos', 'family name', {'concept': 'name'}]
[]
Q4407937
SYSTEM
Santos
Q4407937
(Q610519,P734,c(Q82799))
action filter_type
action find
entity Q610519
relation P734
type Q82799
[ANSWER] is associated with that fictional character
['Q610519', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q610519 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Santos
Santos is associated with that fictional character
Santos
action filter_type
action find
entity Matt Santos
relation family name
type name
['Matt Santos', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Matt_Santos property:family_name ?n . ?n rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4407937 Q1321
P407
Q34770
USER
Is Spanish the language of work for Santos ?
(Q4407937,P407,Q1321)
action is_in
entity Q1321
action find
entity Q4407937
relation P407
['Q4407937', 'P407', 'Q1321']
ASK WHERE { resource:Q4407937 property:P407 resource:Q1321 }
Santos Spanish
action is_in
entity Spanish
action find
entity Santos
relation language of work or name
['Santos', 'language of work or name', 'Spanish']
ASK WHERE { resource:Santos property:language_of_work_or_name resource:Spanish }
[]
language
SYSTEM
YES
(Q4407937,P407,Q1321)
action is_in
entity Q1321
action find
entity Q4407937
relation P407
[ANSWER]
['Q4407937', 'P407', 'Q1321']
ASK WHERE { resource:Q4407937 property:P407 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Santos
relation language of work or name
['Santos', 'language of work or name', 'Spanish']
ASK WHERE { resource:Santos property:language_of_work_or_name resource:Spanish }
[]