Simple Question (Direct)
Simple Question
Q4171173
P54
Q1194951
USER
Which national sports team is Chimi Dorji a member of ?
(Q4171173,P54,c(Q1194951))
action filter_type
action find
entity Q4171173
relation P54
type Q1194951
['Q4171173', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1194951 . resource:Q4171173 property:P54 ?r }
Chimi Dorji
action filter_type
action find
entity Chimi Dorji
relation member of sports team
type national sports team
['Chimi Dorji', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:national_sports_team . resource:Chimi_Dorji property:member_of_sports_team ?r }
[]
national sports team
Q244431
SYSTEM
Bhutan national football team
Q244431
(Q4171173,P54,c(Q1194951))
action filter_type
action find
entity Q4171173
relation P54
type Q1194951
The [ANSWER] is Chimi Dorji a member of
['Q4171173', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1194951 . resource:Q4171173 property:P54 ?r }
Bhutan national football team
The Bhutan national football team is Chimi Dorji a member of
Bhutan national football team
action filter_type
action find
entity Chimi Dorji
relation member of sports team
type national sports team
['Chimi Dorji', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:national_sports_team . resource:Chimi_Dorji property:member_of_sports_team ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4171173
P641
Q349
USER
Which sport was Chimi Dorji a part of ?
(Q4171173,P641,c(Q349))
action filter_type
action find
entity Q4171173
relation P641
type Q349
['Q4171173', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q4171173 property:P641 ?h . ?h rdf:type ontology:Q349 }
Chimi Dorji
action filter_type
action find
entity Chimi Dorji
relation sport
type sport
['Chimi Dorji', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Chimi_Dorji property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4171173,P641,c(Q349))
action filter_type
action find
entity Q4171173
relation P641
type Q349
Which sport was Chimi Dorji a part of
['Q4171173', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q4171173 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Which sport was Chimi Dorji a part of
association football
action filter_type
action find
entity Chimi Dorji
relation sport
type sport
['Chimi Dorji', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Chimi_Dorji property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4171173
P21
Q290
USER
Which sex does Chimi Dorji belong to ?
(Q4171173,P21,c(Q290))
action filter_type
action find
entity Q4171173
relation P21
type Q290
['Q4171173', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4171173 property:P21 ?n . ?n rdf:type ontology:Q290 }
Chimi Dorji
action filter_type
action find
entity Chimi Dorji
relation gender
type sex
['Chimi Dorji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Chimi_Dorji property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4171173,P21,c(Q290))
action filter_type
action find
entity Q4171173
relation P21
type Q290
Chimi Dorji belongs to [ANSWER]
['Q4171173', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4171173 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Chimi Dorji belongs to male
male
action filter_type
action find
entity Chimi Dorji
relation gender
type sex
['Chimi Dorji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Chimi_Dorji property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4171173
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Chimi Dorji ?
(Q4171173,P27,c(Q15617994))
action filter_type
action find
entity Q4171173
relation P27
type Q15617994
['Q4171173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4171173 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Chimi Dorji
action filter_type
action find
entity Chimi Dorji
relation country of citizenship
type designation for an administrative territorial entity
['Chimi Dorji', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Chimi_Dorji property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q917
SYSTEM
Bhutan
Q917
(Q4171173,P27,c(Q15617994))
action filter_type
action find
entity Q4171173
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Chimi Dorji
['Q4171173', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4171173 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Bhutan
Bhutan is the country of citizenship of Chimi Dorji
Bhutan
action filter_type
action find
entity Chimi Dorji
relation country of citizenship
type designation for an administrative territorial entity
['Chimi Dorji', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Chimi_Dorji property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6227733
Q15617994
USER
And also tell me about John Crosby?
(Q6227733,P27,c(Q15617994))
action filter_type
action find
entity Q6227733
relation P27
type Q15617994
['Q6227733', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q6227733 property:P27 ?j }
John Crosby
action filter_type
action find
entity John Crosby
relation country of citizenship
type designation for an administrative territorial entity
['John Crosby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Crosby property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6227733,P27,c(Q15617994))
action filter_type
action find
entity Q6227733
relation P27
type Q15617994
[ANSWER]
['Q6227733', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q6227733 property:P27 ?j }
United States of America
United States of America
action filter_type
action find
entity John Crosby
relation country of citizenship
type designation for an administrative territorial entity
['John Crosby', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:John_Crosby property:country_of_citizenship ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16146535 Q4171173
P106
Q12737077
USER
Which occupations are the job of Chimi Dorji or Giacomo Anziani ?
OR((Q4171173,P106,c(Q12737077)), (Q16146535,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4171173
relation P106
action find
entity Q16146535
relation P106
type Q12737077
{'OR': [['Q4171173', 'P106', {'concept': 'Q12737077'}], ['Q16146535', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?j ) { ( resource:Q16146535 ) ( resource:Q4171173 ) } . ?j property:P106 ?o } . ?o rdf:type ontology:Q12737077 }
Giacomo Anziani Chimi Dorji
action filter_type
action union
action find
entity Chimi Dorji
relation occupation
action find
entity Giacomo Anziani
relation occupation
type occupation
{'OR': [['Chimi Dorji', 'occupation', {'concept': 'occupation'}], ['Giacomo Anziani', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?j ) { ( resource:Giacomo_Anziani ) ( resource:Chimi_Dorji ) } . ?j property:occupation ?o } . ?o rdf:type ontology:occupation }
[]
occupation
Q1028181 Q937857
SYSTEM
painter, association football player
Q1028181 Q937857
OR((Q4171173,P106,c(Q12737077)), (Q16146535,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4171173
relation P106
action find
entity Q16146535
relation P106
type Q12737077
The [ANSWERS] are the job of Chimi Dorji or Giacomo Anziani
{'OR': [['Q4171173', 'P106', {'concept': 'Q12737077'}], ['Q16146535', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?j ) { ( resource:Q16146535 ) ( resource:Q4171173 ) } . ?j property:P106 ?o } . ?o rdf:type ontology:Q12737077 }
painter association football player
The painter and association football player are the job of Chimi Dorji or Giacomo Anziani
painter association football player
action filter_type
action union
action find
entity Chimi Dorji
relation occupation
action find
entity Giacomo Anziani
relation occupation
type occupation
{'OR': [['Chimi Dorji', 'occupation', {'concept': 'occupation'}], ['Giacomo Anziani', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?j ) { ( resource:Giacomo_Anziani ) ( resource:Chimi_Dorji ) } . ?j property:occupation ?o } . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q720749 Q4171173
P106
Q12737077
USER
Which occupations are the professions of Chimi Dorji or Gabriele Amorth ?
OR((Q4171173,P106,c(Q12737077)), (Q720749,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4171173
relation P106
action find
entity Q720749
relation P106
type Q12737077
{'OR': [['Q4171173', 'P106', {'concept': 'Q12737077'}], ['Q720749', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:P106 ?z . VALUES ( ?a ) { ( resource:Q4171173 ) ( resource:Q720749 ) } } . ?z rdf:type ontology:Q12737077 }
Gabriele Amorth Chimi Dorji
action filter_type
action union
action find
entity Chimi Dorji
relation occupation
action find
entity Gabriele Amorth
relation occupation
type occupation
{'OR': [['Chimi Dorji', 'occupation', {'concept': 'occupation'}], ['Gabriele Amorth', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:occupation ?z . VALUES ( ?a ) { ( resource:Chimi_Dorji ) ( resource:Gabriele_Amorth ) } } . ?z rdf:type ontology:occupation }
[]
occupation
Q1234713 Q250867 Q36180 Q937857
SYSTEM
theologian, Catholic priest, writer, association football player
Q1234713 Q250867 Q36180 Q937857
OR((Q4171173,P106,c(Q12737077)), (Q720749,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4171173
relation P106
action find
entity Q720749
relation P106
type Q12737077
[ANSWERS] are the professions of Chimi Dorji or Gabriele Amorth
{'OR': [['Q4171173', 'P106', {'concept': 'Q12737077'}], ['Q720749', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:P106 ?z . VALUES ( ?a ) { ( resource:Q4171173 ) ( resource:Q720749 ) } } . ?z rdf:type ontology:Q12737077 }
theologian Catholic priest writer association football player
Theologian, Catholic priest, writer and association football player are the professions of Chimi Dorji or Gabriele Amorth
theologian Catholic priest writer association football player
action filter_type
action union
action find
entity Chimi Dorji
relation occupation
action find
entity Gabriele Amorth
relation occupation
type occupation
{'OR': [['Chimi Dorji', 'occupation', {'concept': 'occupation'}], ['Gabriele Amorth', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { ?a property:occupation ?z . VALUES ( ?a ) { ( resource:Chimi_Dorji ) ( resource:Gabriele_Amorth ) } } . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q732577
USER
How many occupations were the main subjects of atmost 33 works of art and publications 's work ?
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 33
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } . ?u rdf:type ?j } GROUP BY ?q } . FILTER ( ?z <= 33 ) }
action count
action atmost
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 publication
value 33
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:publication ) } . ?u rdf:type ?j } GROUP BY ?q } . FILTER ( ?z <= 33 ) }
[]
occupation work of art publication
SYSTEM
99
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 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
value 33
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q732577 ) } . ?u rdf:type ?j } GROUP BY ?q } . FILTER ( ?z <= 33 ) }
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 war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer 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
99
action count
action atmost
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 publication
value 33
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:publication ) } . ?u rdf:type ?j } GROUP BY ?q } . FILTER ( ?z <= 33 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1696454 Q6227733
P106
Q12737077
USER
Which occupations have John Crosby and Wolfram Christ as his/her as a career ?
AND((Q6227733,P106,c(Q12737077)), (Q1696454,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6227733
relation P106
action find
entity Q1696454
relation P106
type Q12737077
{'AND': [['Q6227733', 'P106', {'concept': 'Q12737077'}], ['Q1696454', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { resource:Q6227733 property:P106 ?a . resource:Q1696454 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Wolfram Christ John Crosby
action filter_type
action intersection
action find
entity John Crosby
relation occupation
action find
entity Wolfram Christ
relation occupation
type occupation
{'AND': [['John Crosby', 'occupation', {'concept': 'occupation'}], ['Wolfram Christ', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { resource:John_Crosby property:occupation ?a . resource:Wolfram_Christ property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q158852
SYSTEM
conductor
Q158852
AND((Q6227733,P106,c(Q12737077)), (Q1696454,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6227733
relation P106
action find
entity Q1696454
relation P106
type Q12737077
The [ANSWER] have John Crosby and Wolfram Christ as his/her as a career
{'AND': [['Q6227733', 'P106', {'concept': 'Q12737077'}], ['Q1696454', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { resource:Q6227733 property:P106 ?a . resource:Q1696454 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
conductor
The conductor have John Crosby and Wolfram Christ as his/her as a career
conductor
action filter_type
action intersection
action find
entity John Crosby
relation occupation
action find
entity Wolfram Christ
relation occupation
type occupation
{'AND': [['John Crosby', 'occupation', {'concept': 'occupation'}], ['Wolfram Christ', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { resource:John_Crosby property:occupation ?a . resource:Wolfram_Christ property:occupation ?a . ?a rdf:type ontology:occupation }
[]