Simple Question (Direct)
Simple Question
Q110032
P106
Q12737077
USER
Which occupations are the professions of Peter Becker ?
(Q110032,P106,c(Q12737077))
action filter_type
action find
entity Q110032
relation P106
type Q12737077
['Q110032', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q110032 property:P106 ?m }
Peter Becker
action filter_type
action find
entity Peter Becker
relation occupation
type occupation
['Peter Becker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Peter_Becker property:occupation ?m }
[]
occupation
Q2919046 Q15839206 Q1622272
SYSTEM
biochemist, molecular biologist, university teacher
Q2919046 Q15839206 Q1622272
(Q110032,P106,c(Q12737077))
action filter_type
action find
entity Q110032
relation P106
type Q12737077
The professions of Peter Becker are [ANSWERS]
['Q110032', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q110032 property:P106 ?m }
biochemist molecular biologist university teacher
The professions of Peter Becker are biochemist, molecular biologist and university teacher
biochemist molecular biologist university teacher
action filter_type
action find
entity Peter Becker
relation occupation
type occupation
['Peter Becker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Peter_Becker property:occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P425
Q2385804
USER
Which educational institution has university teacher as the associated field of occupation ?
(Q1622272,P425,c(Q2385804))
action filter_type
action find
entity Q1622272
relation P425
type Q2385804
['Q1622272', 'P425', {'concept': 'Q2385804'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2385804 . resource:Q1622272 property:P425 ?x }
university teacher
action filter_type
action find
entity university teacher
relation field of this occupation
type educational institution
['university teacher', 'field of this occupation', {'concept': 'educational institution'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:educational_institution . resource:university_teacher property:field_of_this_occupation ?x }
[]
educational institution
Q3918
SYSTEM
university
Q3918
(Q1622272,P425,c(Q2385804))
action filter_type
action find
entity Q1622272
relation P425
type Q2385804
[ANSWER] has [ANSWER] teacher as the associated field of occupation
['Q1622272', 'P425', {'concept': 'Q2385804'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2385804 . resource:Q1622272 property:P425 ?x }
university
University has university teacher as the associated field of occupation
university
action filter_type
action find
entity university teacher
relation field of this occupation
type educational institution
['university teacher', 'field of this occupation', {'concept': 'educational institution'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:educational_institution . resource:university_teacher property:field_of_this_occupation ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3918
P361
Q8434
USER
What is that educational institution a component of ?
(Q3918,P361,c(Q8434))
action filter_type
action find
entity Q3918
relation P361
type Q8434
['Q3918', 'P361', {'concept': 'Q8434'}]
SELECT DISTINCT ?v WHERE { resource:Q3918 property:P361 ?v . ?v rdf:type ontology:Q8434 }
university
action filter_type
action find
entity university
relation part of
type education
['university', 'part of', {'concept': 'education'}]
SELECT DISTINCT ?v WHERE { resource:university property:part_of ?v . ?v rdf:type ontology:education }
[]
education
Q136822
SYSTEM
higher education
Q136822
(Q3918,P361,c(Q8434))
action filter_type
action find
entity Q3918
relation P361
type Q8434
That educational institution a component of is a [ANSWER]
['Q3918', 'P361', {'concept': 'Q8434'}]
SELECT DISTINCT ?v WHERE { resource:Q3918 property:P361 ?v . ?v rdf:type ontology:Q8434 }
higher education
That educational institution a component of is a higher education
higher education
action filter_type
action find
entity university
relation part of
type education
['university', 'part of', {'concept': 'education'}]
SELECT DISTINCT ?v WHERE { resource:university property:part_of ?v . ?v rdf:type ontology:education }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24301609 Q15839206
P425 P921
Q1914636
USER
Which activities are associated with the field of occupation molecular biologist or were M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis mainly about ?
OR((Q15839206,P425,c(Q1914636)), (Q24301609,P921,c(Q1914636)))
action filter_type
action union
action find
entity Q15839206
relation P425
action find
entity Q24301609
relation P921
type Q1914636
{'OR': [['Q15839206', 'P425', {'concept': 'Q1914636'}], ['Q24301609', 'P921', {'concept': 'Q1914636'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q15839206 property:P425 ?r } UNION { resource:Q24301609 property:P921 ?r } } . ?r rdf:type ontology:Q1914636 }
M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis molecular biologist
action filter_type
action union
action find
entity molecular biologist
relation field of this occupation
action find
entity M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis
relation main subject
type activity
{'OR': [['molecular biologist', 'field of this occupation', {'concept': 'activity'}], ['M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis', 'main subject', {'concept': 'activity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:molecular_biologist property:field_of_this_occupation ?r } UNION { resource:M_phase_phosphoprotein_1_is_a_human_plus-end-directed_kinesin-related_protein_required_for_cytokinesis property:main_subject ?r } } . ?r rdf:type ontology:activity }
[]
activity
Q7202 Q7141
SYSTEM
molecular biology, cell biology
Q7202 Q7141
OR((Q15839206,P425,c(Q1914636)), (Q24301609,P921,c(Q1914636)))
action filter_type
action union
action find
entity Q15839206
relation P425
action find
entity Q24301609
relation P921
type Q1914636
And [ANSWERS] are associated with the field of occupation molecular biologist or were M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis mainly about
{'OR': [['Q15839206', 'P425', {'concept': 'Q1914636'}], ['Q24301609', 'P921', {'concept': 'Q1914636'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q15839206 property:P425 ?r } UNION { resource:Q24301609 property:P921 ?r } } . ?r rdf:type ontology:Q1914636 }
molecular biology cell biology
And molecular biology and cell biology are associated with the field of occupation molecular biologist or were M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis mainly about
molecular biology cell biology
action filter_type
action union
action find
entity molecular biologist
relation field of this occupation
action find
entity M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis
relation main subject
type activity
{'OR': [['molecular biologist', 'field of this occupation', {'concept': 'activity'}], ['M phase phosphoprotein 1 is a human plus-end-directed kinesin-related protein required for cytokinesis', 'main subject', {'concept': 'activity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:molecular_biologist property:field_of_this_occupation ?r } UNION { resource:M_phase_phosphoprotein_1_is_a_human_plus-end-directed_kinesin-related_protein_required_for_cytokinesis property:main_subject ?r } } . ?r rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15709502
P101
Q502895
USER
Do Judith Kimble have field of work as those activities ?
(Q15709502,P101,Q7202) (Q15709502,P101,Q7141)
action is_in
entity prev_answer
action find
entity Q15709502
relation P101
['Q15709502', 'P101', 'Q7202'] ['Q15709502', 'P101', 'Q7141']
ASK WHERE { resource:Q15709502 property:P101 ?v . VALUES ( ?v ) { ( resource:Q7202 ) ( resource:Q7141 ) } }
Judith Kimble
action is_in
entity prev_answer
action find
entity Judith Kimble
relation field of work
['Judith Kimble', 'field of work', 'molecular biology'] ['Judith Kimble', 'field of work', 'cell biology']
ASK WHERE { resource:Judith_Kimble property:field_of_work ?v . VALUES ( ?v ) { ( resource:molecular_biology ) ( resource:cell_biology ) } }
[]
common name
SYSTEM
YES
(Q15709502,P101,Q7202) (Q15709502,P101,Q7141)
action is_in
entity prev_answer
action find
entity Q15709502
relation P101
[ANSWER]
['Q15709502', 'P101', 'Q7202'] ['Q15709502', 'P101', 'Q7141']
ASK WHERE { resource:Q15709502 property:P101 ?v . VALUES ( ?v ) { ( resource:Q7202 ) ( resource:Q7141 ) } }
Yes
action is_in
entity prev_answer
action find
entity Judith Kimble
relation field of work
['Judith Kimble', 'field of work', 'molecular biology'] ['Judith Kimble', 'field of work', 'cell biology']
ASK WHERE { resource:Judith_Kimble property:field_of_work ?v . VALUES ( ?v ) { ( resource:molecular_biology ) ( resource:cell_biology ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5541895 Q110032
P27
Q1048835
USER
Which political territories are the native countriesof Peter Becker or George Lyle Ashe ?
OR((Q110032,P27,c(Q1048835)), (Q5541895,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q110032
relation P27
action find
entity Q5541895
relation P27
type Q1048835
{'OR': [['Q110032', 'P27', {'concept': 'Q1048835'}], ['Q5541895', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Q110032 ) ( resource:Q5541895 ) } . ?u property:P27 ?n } . ?n rdf:type ontology:Q1048835 }
George Lyle Ashe Peter Becker
action filter_type
action union
action find
entity Peter Becker
relation country of citizenship
action find
entity George Lyle Ashe
relation country of citizenship
type political territorial entity
{'OR': [['Peter Becker', 'country of citizenship', {'concept': 'political territorial entity'}], ['George Lyle Ashe', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Peter_Becker ) ( resource:George_Lyle_Ashe ) } . ?u property:country_of_citizenship ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q110032,P27,c(Q1048835)), (Q5541895,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q110032
relation P27
action find
entity Q5541895
relation P27
type Q1048835
[ANSWERS] are the native countriesof Peter Becker or George Lyle Ashe
{'OR': [['Q110032', 'P27', {'concept': 'Q1048835'}], ['Q5541895', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Q110032 ) ( resource:Q5541895 ) } . ?u property:P27 ?n } . ?n rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are the native countriesof Peter Becker or George Lyle Ashe
Canada Germany
action filter_type
action union
action find
entity Peter Becker
relation country of citizenship
action find
entity George Lyle Ashe
relation country of citizenship
type political territorial entity
{'OR': [['Peter Becker', 'country of citizenship', {'concept': 'political territorial entity'}], ['George Lyle Ashe', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Peter_Becker ) ( resource:George_Lyle_Ashe ) } . ?u property:country_of_citizenship ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P1433
Q2342494
USER
Which collectable does Canada contain ?
(c(Q2342494),P1433,Q16)
action filter_type
action find_reverse
entity Q16
relation P1433
type Q2342494
[{'concept': 'Q2342494'}, 'P1433', 'Q16']
SELECT DISTINCT ?o WHERE { ?o property:P1433 resource:Q16 . ?o rdf:type ontology:Q2342494 }
Canada
action filter_type
action find_reverse
entity Canada
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'Canada']
SELECT DISTINCT ?o WHERE { ?o property:published_in resource:Canada . ?o rdf:type ontology:collectable }
[]
collectable
Q869725
SYSTEM
The Prince and the Pauper
Q869725
(c(Q2342494),P1433,Q16)
action filter_type
action find_reverse
entity Q16
relation P1433
type Q2342494
Canada contains [ANSWER]
[{'concept': 'Q2342494'}, 'P1433', 'Q16']
SELECT DISTINCT ?o WHERE { ?o property:P1433 resource:Q16 . ?o rdf:type ontology:Q2342494 }
The Prince and the Pauper
Canada contains The Prince and the Pauper
The Prince and the Pauper
action filter_type
action find_reverse
entity Canada
relation published in
type collectable
[{'concept': 'collectable'}, 'published in', 'Canada']
SELECT DISTINCT ?o WHERE { ?o property:published_in resource:Canada . ?o rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P194
Q1752346
USER
Which assembly is the representative body for Canada ?
(Q16,P194,c(Q1752346))
action filter_type
action find
entity Q16
relation P194
type Q1752346
['Q16', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?f WHERE { resource:Q16 property:P194 ?f . ?f rdf:type ontology:Q1752346 }
Canada
action filter_type
action find
entity Canada
relation legislative body
type assembly
['Canada', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?f WHERE { resource:Canada property:legislative_body ?f . ?f rdf:type ontology:assembly }
[]
assembly
Q475689
SYSTEM
Parliament of Canada
Q475689
(Q16,P194,c(Q1752346))
action filter_type
action find
entity Q16
relation P194
type Q1752346
The [ANSWER] is the representative body for Canada
['Q16', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?f WHERE { resource:Q16 property:P194 ?f . ?f rdf:type ontology:Q1752346 }
Parliament of Canada
The Parliament of Canada is the representative body for Canada
Parliament of Canada
action filter_type
action find
entity Canada
relation legislative body
type assembly
['Canada', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?f WHERE { resource:Canada property:legislative_body ?f . ?f rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P159
Q56061
USER
How many administrative territories are the head offices of that assembly ?
(Q475689,P159,c(Q56061))
action count
action filter_type
action find
entity Q475689
relation P159
type Q56061
['Q475689', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q475689 property:P159 ?b . ?b rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Parliament of Canada
relation headquarters location
type administrative territorial entity
['Parliament of Canada', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Parliament_of_Canada property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1930
(Q475689,P159,c(Q56061))
action count
action filter_type
action find
entity Q475689
relation P159
type Q56061
[ANSWER]
['Q475689', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q475689 property:P159 ?b . ?b rdf:type ontology:Q56061 }
Ottawa
1
action count
action filter_type
action find
entity Parliament of Canada
relation headquarters location
type administrative territorial entity
['Parliament of Canada', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Parliament_of_Canada property:headquarters_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q56061
USER
How many administrative territories have approximately 1 assembly as their representative body ?
(c(Q56061),P194,c(Q1752346))
action count
action approx
action find_tuple_counts
relation P194
type Q56061
type Q1752346
value 1
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { ?j property:P194 ?f . ?j rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1752346 } GROUP BY ?j } . FILTER ( ?o = 1 ) }
action count
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
value 1
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { ?j property:legislative_body ?f . ?j rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:assembly } GROUP BY ?j } . FILTER ( ?o = 1 ) }
[]
assembly administrative territorial entity
SYSTEM
29
Q16555 Q623589 Q34183 Q649 Q126195 Q49256 Q100 Q1297 Q12439 Q266510 Q5083 Q23556 Q5689 Q34218 Q13896 Q37320 Q35775 Q1930 Q172 Q42308 Q334 Q5092 Q72 Q41262 Q16556 Q64 Q65 Q60 Q16557
(c(Q56061),P194,c(Q1752346))
action count
action approx
action find_tuple_counts
relation P194
type Q56061
type Q1752346
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { ?j property:P194 ?f . ?j rdf:type ontology:Q56061 . ?f rdf:type ontology:Q1752346 } GROUP BY ?j } . FILTER ( ?o = 1 ) }
Houston Kingdom of Slavonia Barrie Moscow Plymouth Colony Bakersfield Boston Chicago Detroit Triptis Seattle Atlanta Åland Islands Burlington Markgröningen Cleveland Boise Ottawa Toronto Kharkiv Singapore Baltimore Zürich Nottingham Phoenix Berlin Los Angeles New York City Dallas
29
action count
action approx
action find_tuple_counts
relation legislative body
type administrative territorial entity
type assembly
value 1
[{'concept': 'administrative territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?o ) WHERE { ?j property:legislative_body ?f . ?j rdf:type ontology:administrative_territorial_entity . ?f rdf:type ontology:assembly } GROUP BY ?j } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q475689
P1001
Q1048835
USER
Which political territory belongs to jurisdiction of Parliament of Canada ?
(Q475689,P1001,c(Q1048835))
action filter_type
action find
entity Q475689
relation P1001
type Q1048835
['Q475689', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q475689 property:P1001 ?f . ?f rdf:type ontology:Q1048835 }
Parliament of Canada
action filter_type
action find
entity Parliament of Canada
relation applies to jurisdiction
type political territorial entity
['Parliament of Canada', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Parliament_of_Canada property:applies_to_jurisdiction ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q475689,P1001,c(Q1048835))
action filter_type
action find
entity Q475689
relation P1001
type Q1048835
[ANSWER] belongs to jurisdiction of Parliament of [ANSWER]
['Q475689', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q475689 property:P1001 ?f . ?f rdf:type ontology:Q1048835 }
Canada
Canada belongs to jurisdiction of Parliament of Canada
Canada
action filter_type
action find
entity Parliament of Canada
relation applies to jurisdiction
type political territorial entity
['Parliament of Canada', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Parliament_of_Canada property:applies_to_jurisdiction ?f . ?f rdf:type ontology:political_territorial_entity }
[]