Simple Question (Direct)
Simple Question
Q678120
P1344
Q16510064
USER
Which sporting event did Emilio Correa participate in ?
(Q678120,P1344,c(Q16510064))
action filter_type
action find
entity Q678120
relation P1344
type Q16510064
['Q678120', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?c WHERE { resource:Q678120 property:P1344 ?c . ?c rdf:type ontology:Q16510064 }
Emilio Correa
action filter_type
action find
entity Emilio Correa
relation participant of
type sporting event
['Emilio Correa', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?c WHERE { resource:Emilio_Correa property:participant_of ?c . ?c rdf:type ontology:sporting_event }
[]
sporting event
Q1076832
SYSTEM
Boxing at the 2008 Summer Olympics – Middleweight
Q1076832
(Q678120,P1344,c(Q16510064))
action filter_type
action find
entity Q678120
relation P1344
type Q16510064
Emilio Correa participated in [ANSWER]
['Q678120', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?c WHERE { resource:Q678120 property:P1344 ?c . ?c rdf:type ontology:Q16510064 }
Boxing at the 2008 Summer Olympics – Middleweight
Emilio Correa participated in Boxing at the 2008 Summer Olympics – Middleweight
Boxing at the 2008 Summer Olympics – Middleweight
action filter_type
action find
entity Emilio Correa
relation participant of
type sporting event
['Emilio Correa', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?c WHERE { resource:Emilio_Correa property:participant_of ?c . ?c rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q678120
P106
Q12737077
USER
Which occupation is the profession of Emilio Correa ?
(Q678120,P106,c(Q12737077))
action filter_type
action find
entity Q678120
relation P106
type Q12737077
['Q678120', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q678120 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Emilio Correa
action filter_type
action find
entity Emilio Correa
relation occupation
type occupation
['Emilio Correa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Emilio_Correa property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q11338576
SYSTEM
boxer
Q11338576
(Q678120,P106,c(Q12737077))
action filter_type
action find
entity Q678120
relation P106
type Q12737077
The [ANSWER] is the profession of Emilio Correa
['Q678120', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q678120 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
boxer
The boxer is the profession of Emilio Correa
boxer
action filter_type
action find
entity Emilio Correa
relation occupation
type occupation
['Emilio Correa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Emilio_Correa property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18421406
Q12737077
USER
And what about Rully Desrian?
(Q18421406,P106,c(Q12737077))
action filter_type
action find
entity Q18421406
relation P106
type Q12737077
['Q18421406', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q18421406 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Rully Desrian
action filter_type
action find
entity Rully Desrian
relation occupation
type occupation
['Rully Desrian', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Rully_Desrian property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18421406,P106,c(Q12737077))
action filter_type
action find
entity Q18421406
relation P106
type Q12737077
[ANSWER]
['Q18421406', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q18421406 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Rully Desrian
relation occupation
type occupation
['Rully Desrian', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Rully_Desrian property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q20724701 Q16979650
USER
How many city or town in Armenias or sibling groups have a job as that occupation ?
(c(Q20724701),P106,Q937857) (c(Q16979650),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q20724701 } UNION { ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q16979650 } }
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:occupation resource:association_football_player . ?h rdf:type ontology:city_or_town_in_Armenia } UNION { ?h property:occupation resource:association_football_player . ?h rdf:type ontology:sibling_group } }
[]
city or town in Armenia sibling group
SYSTEM
2
Q6027090 Q2817360
(c(Q20724701),P106,Q937857) (c(Q16979650),P106,Q937857) (c(Q20724701),P106,Q937857) (c(Q16979650),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
action filter_type
action find_reverse
entity Q937857
relation P106
type Q16979650
[ANSWER]
[{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857'] [{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q16979650'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q20724701 } UNION { ?h property:P106 resource:Q937857 . ?h rdf:type ontology:Q16979650 } }
Milija and Pavle Bakić Masis Voskanyan
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
action filter_type
action find_reverse
entity association football player
relation occupation
type sibling group
[{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player'] [{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'sibling group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { ?h property:occupation resource:association_football_player . ?h rdf:type ontology:city_or_town_in_Armenia } UNION { ?h property:occupation resource:association_football_player . ?h rdf:type ontology:sibling_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q678120
P21
Q290
USER
Which sex does Emilio Correa have ?
(Q678120,P21,c(Q290))
action filter_type
action find
entity Q678120
relation P21
type Q290
['Q678120', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q678120 property:P21 ?c . ?c rdf:type ontology:Q290 }
Emilio Correa
action filter_type
action find
entity Emilio Correa
relation gender
type sex
['Emilio Correa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Emilio_Correa property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q678120,P21,c(Q290))
action filter_type
action find
entity Q678120
relation P21
type Q290
Emilio Correa has a [ANSWER]
['Q678120', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q678120 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Emilio Correa has a male
male
action filter_type
action find
entity Emilio Correa
relation gender
type sex
['Emilio Correa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Emilio_Correa property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q678120
P641
Q349
USER
What did Emilio Correa participate in ?
(Q678120,P641,c(Q349))
action filter_type
action find
entity Q678120
relation P641
type Q349
['Q678120', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q678120 property:P641 ?n . ?n rdf:type ontology:Q349 }
Emilio Correa
action filter_type
action find
entity Emilio Correa
relation sport
type sport
['Emilio Correa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Emilio_Correa property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q32112
SYSTEM
boxing
Q32112
(Q678120,P641,c(Q349))
action filter_type
action find
entity Q678120
relation P641
type Q349
Emilio Correa participated in [ANSWER]
['Q678120', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q678120 property:P641 ?n . ?n rdf:type ontology:Q349 }
boxing
Emilio Correa participated in boxing
boxing
action filter_type
action find
entity Emilio Correa
relation sport
type sport
['Emilio Correa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Emilio_Correa property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q678120
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q32112,P27,c(Q15617994))
action filter_type
action find
entity Q678120
relation P27
type Q15617994
['Q32112', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q678120 property:P27 ?k }
Emilio Correa
action filter_type
action find
entity Emilio Correa
relation country of citizenship
type designation for an administrative territorial entity
['boxing', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Emilio_Correa property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q241
SYSTEM
Cuba
Q241
(Q32112,P27,c(Q15617994))
action filter_type
action find
entity Q678120
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q32112', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q678120 property:P27 ?k }
Cuba
Cuba is that person a civilian of
Cuba
action filter_type
action find
entity Emilio Correa
relation country of citizenship
type designation for an administrative territorial entity
['boxing', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Emilio_Correa property:country_of_citizenship ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were the main subjects of around 7 works of art and collectables 's work ?
(c(Q838948)|c(Q2342494),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 Q2342494
value 7
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?t } . FILTER ( ?l = 7 ) }
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 collectable
value 7
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?t } . FILTER ( ?l = 7 ) }
[]
occupation work of art collectable
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(Q2342494),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 Q2342494
value 7
[ANSWERS] were the main subjects of around 7 works of art and collectables 's work
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?t } . FILTER ( ?l = 7 ) }
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 7 works of art and collectables 's work
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 collectable
value 7
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?t } . FILTER ( ?l = 7 ) }
[]