Simple Question (Direct)
Simple Question
Q13529941
P102
Q7210356
USER
Which party does Charles Frederick Higham belong to ?
(Q13529941,P102,c(Q7210356))
action filter_type
action find
entity Q13529941
relation P102
type Q7210356
['Q13529941', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q13529941 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Charles Frederick Higham
action filter_type
action find
entity Charles Frederick Higham
relation member of political party
type political organization
['Charles Frederick Higham', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Frederick_Higham property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q13529941,P102,c(Q7210356))
action filter_type
action find
entity Q13529941
relation P102
type Q7210356
Charles Frederick Higham belongs to [ANSWER]
['Q13529941', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q13529941 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Conservative Party
Charles Frederick Higham belongs to Conservative Party
Conservative Party
action filter_type
action find
entity Charles Frederick Higham
relation member of political party
type political organization
['Charles Frederick Higham', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Frederick_Higham property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13529941
P1412
Q34770
USER
Which language can Charles Frederick Higham understand ?
(Q13529941,P1412,c(Q34770))
action filter_type
action find
entity Q13529941
relation P1412
type Q34770
['Q13529941', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q13529941 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Charles Frederick Higham
action filter_type
action find
entity Charles Frederick Higham
relation languages spoken, written or signed
type language
['Charles Frederick Higham', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Frederick_Higham property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q13529941,P1412,c(Q34770))
action filter_type
action find
entity Q13529941
relation P1412
type Q34770
Charles Frederick Higham can understand the [ANSWER]
['Q13529941', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q13529941 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
English
Charles Frederick Higham can understand the English
English
action filter_type
action find
entity Charles Frederick Higham
relation languages spoken, written or signed
type language
['Charles Frederick Higham', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Charles_Frederick_Higham property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13529941
P21
Q290
USER
Which sex does Charles Frederick Higham have ?
(Q13529941,P21,c(Q290))
action filter_type
action find
entity Q13529941
relation P21
type Q290
['Q13529941', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q13529941 property:P21 ?m . ?m rdf:type ontology:Q290 }
Charles Frederick Higham
action filter_type
action find
entity Charles Frederick Higham
relation gender
type sex
['Charles Frederick Higham', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Charles_Frederick_Higham property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13529941,P21,c(Q290))
action filter_type
action find
entity Q13529941
relation P21
type Q290
Charles Frederick Higham has a [ANSWER]
['Q13529941', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q13529941 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Charles Frederick Higham has a male
male
action filter_type
action find
entity Charles Frederick Higham
relation gender
type sex
['Charles Frederick Higham', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Charles_Frederick_Higham property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1396864
Q290
USER
And also tell me about Jacob Yuchtman?
(Q1396864,P21,c(Q290))
action filter_type
action find
entity Q1396864
relation P21
type Q290
['Q1396864', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1396864 property:P21 ?v . ?v rdf:type ontology:Q290 }
Jacob Yuchtman
action filter_type
action find
entity Jacob Yuchtman
relation gender
type sex
['Jacob Yuchtman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Jacob_Yuchtman property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1396864,P21,c(Q290))
action filter_type
action find
entity Q1396864
relation P21
type Q290
[ANSWER]
['Q1396864', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1396864 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Jacob Yuchtman
relation gender
type sex
['Jacob Yuchtman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Jacob_Yuchtman property:gender ?v . ?v rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1432939
P21
Q502895
USER
Is Laura Vetterlein a that sex ?
(Q1432939,P21,Q6581097)
action is_in
entity Q1432939
action find
entity Q6581097
relation P21
['Q1432939', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q1432939 }
male Laura Vetterlein
action is_in
entity Laura Vetterlein
action find
entity male
relation gender
['Laura Vetterlein', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Laura_Vetterlein }
[]
common name
SYSTEM
NO
(Q1432939,P21,Q6581097)
action is_in
entity Q1432939
action find
entity Q6581097
relation P21
[ANSWER]
['Q1432939', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q1432939 }
No
action is_in
entity Laura Vetterlein
action find
entity male
relation gender
['Laura Vetterlein', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Laura_Vetterlein }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q2449695 Q1346342
P361
Q5962346
USER
Is English a part of Type C1 Japanese submarine and Anglic languages ?
(Q1860,P361,Q2449695) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q2449695
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q2449695'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q2449695 . resource:Q1860 property:P361 resource:Q1346342 }
English Type C1 Japanese submarine Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Type C1 Japanese submarine
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Type C1 Japanese submarine'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Type_C1_Japanese_submarine . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q2449695) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q2449695
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q2449695'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q2449695 . resource:Q1860 property:P361 resource:Q1346342 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Type C1 Japanese submarine
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Type C1 Japanese submarine'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Type_C1_Japanese_submarine . resource:English property:part_of resource:Anglic_languages }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P364
Q34770 Q15416 Q838948
USER
Which languages are considered to be the original language of creation of max number of television programs and works of art ?
(c(Q15416)|c(Q838948),P364,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?c WHERE { { ?b property:P364 ?c . ?c rdf:type ontology:Q34770 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P364 ?c . ?b rdf:type ontology:Q838948 . ?c rdf:type ontology:Q34770 } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?r WHERE { { ?i property:P364 ?r . ?r rdf:type ontology:Q34770 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P364 ?r . ?r rdf:type ontology:Q34770 . ?i rdf:type ontology:Q838948 } } GROUP BY ?r } . FILTER ( ?p = ?z ) }
action argmax
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?c WHERE { { ?b property:original_language_of_work ?c . ?c rdf:type ontology:language . ?b rdf:type ontology:television_program } UNION { ?b property:original_language_of_work ?c . ?b rdf:type ontology:work_of_art . ?c rdf:type ontology:language } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?r WHERE { { ?i property:original_language_of_work ?r . ?r rdf:type ontology:language . ?i rdf:type ontology:television_program } UNION { ?i property:original_language_of_work ?r . ?r rdf:type ontology:language . ?i rdf:type ontology:work_of_art } } GROUP BY ?r } . FILTER ( ?p = ?z ) }
[]
language television program work of art
Q1860
SYSTEM
English
Q1860
(c(Q15416)|c(Q838948),P364,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
[ANSWER] is considered to be the original language of creation of max number of television programs and works of art
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?c WHERE { { ?b property:P364 ?c . ?c rdf:type ontology:Q34770 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P364 ?c . ?b rdf:type ontology:Q838948 . ?c rdf:type ontology:Q34770 } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?r WHERE { { ?i property:P364 ?r . ?r rdf:type ontology:Q34770 . ?i rdf:type ontology:Q15416 } UNION { ?i property:P364 ?r . ?r rdf:type ontology:Q34770 . ?i rdf:type ontology:Q838948 } } GROUP BY ?r } . FILTER ( ?p = ?z ) }
English
English is considered to be the original language of creation of max number of television programs and works of art
English
action argmax
action union
action find_reverse_tuple_counts
relation original language of work
type language
type television program
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?c WHERE { { ?b property:original_language_of_work ?c . ?c rdf:type ontology:language . ?b rdf:type ontology:television_program } UNION { ?b property:original_language_of_work ?c . ?b rdf:type ontology:work_of_art . ?c rdf:type ontology:language } } GROUP BY ?c } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?r WHERE { { ?i property:original_language_of_work ?r . ?r rdf:type ontology:language . ?i rdf:type ontology:television_program } UNION { ?i property:original_language_of_work ?r . ?r rdf:type ontology:language . ?i rdf:type ontology:work_of_art } } GROUP BY ?r } . FILTER ( ?p = ?z ) }
[]