Simple Question (Direct)
Simple Question
Q5273046
P27
Q15617994
USER
Which administrative territory is Dick Hyde an inhabitant of ?
(Q5273046,P27,c(Q15617994))
action filter_type
action find
entity Q5273046
relation P27
type Q15617994
['Q5273046', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5273046 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Dick Hyde
action filter_type
action find
entity Dick Hyde
relation country of citizenship
type designation for an administrative territorial entity
['Dick Hyde', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Dick_Hyde property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5273046,P27,c(Q15617994))
action filter_type
action find
entity Q5273046
relation P27
type Q15617994
The [ANSWER] is Dick Hyde an inhabitant of
['Q5273046', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q5273046 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
The United States of America is Dick Hyde an inhabitant of
United States of America
action filter_type
action find
entity Dick Hyde
relation country of citizenship
type designation for an administrative territorial entity
['Dick Hyde', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Dick_Hyde property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5273046
P106
Q12737077
USER
What do Dick Hyde do for a living ?
(Q5273046,P106,c(Q12737077))
action filter_type
action find
entity Q5273046
relation P106
type Q12737077
['Q5273046', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q5273046 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Dick Hyde
action filter_type
action find
entity Dick Hyde
relation occupation
type occupation
['Dick Hyde', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Dick_Hyde property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q19729565 Q544972
SYSTEM
hornist, trombonist
Q19729565 Q544972
(Q5273046,P106,c(Q12737077))
action filter_type
action find
entity Q5273046
relation P106
type Q12737077
[ANSWERS] Hyde do for a living
['Q5273046', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q5273046 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
hornist trombonist
Hornist and trombonist Hyde do for a living
hornist trombonist
action filter_type
action find
entity Dick Hyde
relation occupation
type occupation
['Dick Hyde', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Dick_Hyde property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2830450
Q12737077
USER
And what about Alami Tazi?
(Q2830450,P106,c(Q12737077))
action filter_type
action find
entity Q2830450
relation P106
type Q12737077
['Q2830450', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q2830450 property:P106 ?c }
Alami Tazi
action filter_type
action find
entity Alami Tazi
relation occupation
type occupation
['Alami Tazi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Alami_Tazi property:occupation ?c }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2830450,P106,c(Q12737077))
action filter_type
action find
entity Q2830450
relation P106
type Q12737077
[ANSWER]
['Q2830450', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q2830450 property:P106 ?c }
politician
politician
action filter_type
action find
entity Alami Tazi
relation occupation
type occupation
['Alami Tazi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Alami_Tazi property:occupation ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2830450
P20
Q56061
USER
Where did that person die ?
(Q82955,P20,c(Q56061))
action filter_type
action find
entity Q2830450
relation P20
type Q56061
['Q82955', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2830450 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Alami Tazi
action filter_type
action find
entity Alami Tazi
relation place of death
type administrative territorial entity
['politician', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Alami_Tazi property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7880
SYSTEM
Toulouse
Q7880
(Q82955,P20,c(Q56061))
action filter_type
action find
entity Q2830450
relation P20
type Q56061
That person died in [ANSWER]
['Q82955', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2830450 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Toulouse
That person died in Toulouse
Toulouse
action filter_type
action find
entity Alami Tazi
relation place of death
type administrative territorial entity
['politician', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Alami_Tazi property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q7880
P740
Q4830453 Q43229
USER
How many business enterprises and organizations were formed at Toulouse ?
(c(Q4830453),P740,Q7880) (c(Q43229),P740,Q7880)
action count
action union
action filter_type
action find_reverse
entity Q7880
relation P740
type Q4830453
action filter_type
action find_reverse
entity Q7880
relation P740
type Q43229
[{'concept': 'Q4830453'}, 'P740', 'Q7880'] [{'concept': 'Q43229'}, 'P740', 'Q7880']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:P740 resource:Q7880 . ?i rdf:type ontology:Q43229 } UNION { ?i property:P740 resource:Q7880 . ?i rdf:type ontology:Q4830453 } }
Toulouse
action count
action union
action filter_type
action find_reverse
entity Toulouse
relation location of formation
type business enterprise
action filter_type
action find_reverse
entity Toulouse
relation location of formation
type organization
[{'concept': 'business enterprise'}, 'location of formation', 'Toulouse'] [{'concept': 'organization'}, 'location of formation', 'Toulouse']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:location_of_formation resource:Toulouse . ?i rdf:type ontology:organization } UNION { ?i property:location_of_formation resource:Toulouse . ?i rdf:type ontology:business_enterprise } }
[]
business enterprise organization
SYSTEM
1 business enterprises and 1 organizations
Q378181 Q1635773
(c(Q4830453),P740,Q7880) (c(Q43229),P740,Q7880)
action count
action union
action filter_type
action find_reverse
entity Q7880
relation P740
type Q4830453
action filter_type
action find_reverse
entity Q7880
relation P740
type Q43229
[ANSWER]
[{'concept': 'Q4830453'}, 'P740', 'Q7880'] [{'concept': 'Q43229'}, 'P740', 'Q7880']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:P740 resource:Q7880 . ?i rdf:type ontology:Q43229 } UNION { ?i property:P740 resource:Q7880 . ?i rdf:type ontology:Q4830453 } }
Chemins de fer du Midi Dewoitine
1 business enterprises and 1 organizations
action count
action union
action filter_type
action find_reverse
entity Toulouse
relation location of formation
type business enterprise
action filter_type
action find_reverse
entity Toulouse
relation location of formation
type organization
[{'concept': 'business enterprise'}, 'location of formation', 'Toulouse'] [{'concept': 'organization'}, 'location of formation', 'Toulouse']
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:location_of_formation resource:Toulouse . ?i rdf:type ontology:organization } UNION { ?i property:location_of_formation resource:Toulouse . ?i rdf:type ontology:business_enterprise } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q205375
P921
Q12737077 Q838948 Q386724
USER
Which occupations were the main subjects of around the same number of works of art and works 's work as inventor ?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q205375
relation P921
type Q838948
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?z rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P921 resource:Q205375 . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } } } . FILTER ( ?k = ?e ) }
inventor
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity inventor
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:work ) } . ?z rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:main_subject resource:inventor . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:work ) } } } } . FILTER ( ?k = ?e ) }
[]
occupation work of art work
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q205375
relation P921
type Q838948
type Q386724
[ANSWERS] were the main subjects of around the same number of works of art and works 's work as inventor
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?z rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P921 resource:Q205375 . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } } } . FILTER ( ?k = ?e ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects of around the same number of works of art and works 's work as inventor
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity inventor
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:work ) } . ?z rdf:type ?n } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:main_subject resource:inventor . { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:work ) } } } } . FILTER ( ?k = ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20065408
P921
Q12737077 Q838948 Q386724
USER
And also tell me about member of the Virginia House of Delegates?
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q20065408
relation P921
type Q838948
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?a rdf:type ?e } GROUP BY ?i } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P921 resource:Q20065408 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q386724 } } } } }
member of the Virginia House of Delegates
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity member of the Virginia House of Delegates
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:work ) } . ?a rdf:type ?e } GROUP BY ?i } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:main_subject resource:member_of_the_Virginia_House_of_Delegates . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:work } } } } }
[]
occupation work of art work
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q386724),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action count
action filter_multi_types
action find_reverse
entity Q20065408
relation P921
type Q838948
type Q386724
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } . ?a rdf:type ?e } GROUP BY ?i } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P921 resource:Q20065408 . { { ?u rdf:type ontology:Q838948 } UNION { ?u rdf:type ontology:Q386724 } } } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action count
action filter_multi_types
action find_reverse
entity member of the Virginia House of Delegates
relation main subject
type work of art
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:work ) } . ?a rdf:type ?e } GROUP BY ?i } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:main_subject resource:member_of_the_Virginia_House_of_Delegates . { { ?u rdf:type ontology:work_of_art } UNION { ?u rdf:type ontology:work } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5273046
P21
Q290
USER
Which sex does Dick Hyde belong to ?
(Q5273046,P21,c(Q290))
action filter_type
action find
entity Q5273046
relation P21
type Q290
['Q5273046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5273046 property:P21 ?w . ?w rdf:type ontology:Q290 }
Dick Hyde
action filter_type
action find
entity Dick Hyde
relation gender
type sex
['Dick Hyde', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Dick_Hyde property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5273046,P21,c(Q290))
action filter_type
action find
entity Q5273046
relation P21
type Q290
[ANSWER] does Dick Hyde belong to
['Q5273046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5273046 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Male does Dick Hyde belong to
male
action filter_type
action find
entity Dick Hyde
relation gender
type sex
['Dick Hyde', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Dick_Hyde property:gender ?w . ?w rdf:type ontology:sex }
[]