Simple Question (Direct)
Simple Question
Q237284
P61
Q502895
USER
Who are the people who discovered or invented Sagittarius A* ?
(Q237284,P61,c(Q502895))
action filter_type
action find
entity Q237284
relation P61
type Q502895
['Q237284', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q237284 property:P61 ?c . ?c rdf:type ontology:Q502895 }
Sagittarius A*
action filter_type
action find
entity Sagittarius A*
relation discoverer or inventor
type common name
['Sagittarius A*', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sagittarius_A* property:discoverer_or_inventor ?c . ?c rdf:type ontology:common_name }
[]
common name
Q493956 Q1932238 Q65807
SYSTEM
Andrea M. Ghez, Robert Hanbury Brown, Reinhard Genzel
Q493956 Q1932238 Q65807
(Q237284,P61,c(Q502895))
action filter_type
action find
entity Q237284
relation P61
type Q502895
[ANSWERS] * the people discovered or invented Sagittarius A are
['Q237284', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q237284 property:P61 ?c . ?c rdf:type ontology:Q502895 }
Andrea M. Ghez Robert Hanbury Brown Reinhard Genzel
Andrea M. Ghez, Robert Hanbury Brown and Reinhard Genzel * the people discovered or invented Sagittarius A are
Andrea M. Ghez Robert Hanbury Brown Reinhard Genzel
action filter_type
action find
entity Sagittarius A*
relation discoverer or inventor
type common name
['Sagittarius A*', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Sagittarius_A* property:discoverer_or_inventor ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q493956 Q1932238 Q65807
P21
Q290
USER
Which sexes do those people belong to ?
(Q493956,P21,c(Q290)) (Q1932238,P21,c(Q290)) (Q65807,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q493956', 'P21', {'concept': 'Q290'}] ['Q1932238', 'P21', {'concept': 'Q290'}] ['Q65807', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?h property:P21 ?l . ?l rdf:type ontology:Q290 . VALUES ( ?h ) { ( resource:Q493956 ) ( resource:Q1932238 ) ( resource:Q65807 ) } }
Andrea M. Ghez Robert Hanbury Brown Reinhard Genzel
action filter_type
action find
entity prev_answer
relation gender
type sex
['Andrea M. Ghez', 'gender', {'concept': 'sex'}] ['Robert Hanbury Brown', 'gender', {'concept': 'sex'}] ['Reinhard Genzel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?h property:gender ?l . ?l rdf:type ontology:sex . VALUES ( ?h ) { ( resource:Andrea_M._Ghez ) ( resource:Robert_Hanbury_Brown ) ( resource:Reinhard_Genzel ) } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q493956,P21,c(Q290)) (Q1932238,P21,c(Q290)) (Q65807,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q493956', 'P21', {'concept': 'Q290'}] ['Q1932238', 'P21', {'concept': 'Q290'}] ['Q65807', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?h property:P21 ?l . ?l rdf:type ontology:Q290 . VALUES ( ?h ) { ( resource:Q493956 ) ( resource:Q1932238 ) ( resource:Q65807 ) } }
female male male
Those people belong to female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Andrea M. Ghez', 'gender', {'concept': 'sex'}] ['Robert Hanbury Brown', 'gender', {'concept': 'sex'}] ['Reinhard Genzel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?h property:gender ?l . ?l rdf:type ontology:sex . VALUES ( ?h ) { ( resource:Andrea_M._Ghez ) ( resource:Robert_Hanbury_Brown ) ( resource:Reinhard_Genzel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65807
P106
Q12737077
USER
Which occupations are the professions of Reinhard Genzel ?
(Q65807,P106,c(Q12737077))
action filter_type
action find
entity Q65807
relation P106
type Q12737077
['Q65807', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q65807 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Reinhard Genzel
action filter_type
action find
entity Reinhard Genzel
relation occupation
type occupation
['Reinhard Genzel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Reinhard_Genzel property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q1622272 Q11063
SYSTEM
university teacher, astronomer
Q1622272 Q11063
(Q65807,P106,c(Q12737077))
action filter_type
action find
entity Q65807
relation P106
type Q12737077
The professions of Reinhard Genzel are a [ANSWERS]
['Q65807', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q65807 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
university teacher astronomer
The professions of Reinhard Genzel are a university teacher and astronomer
university teacher astronomer
action filter_type
action find
entity Reinhard Genzel
relation occupation
type occupation
['Reinhard Genzel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Reinhard_Genzel property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1622272 Q11063
P101
Q502895
USER
Which people have specialisation in those occupations ?
(c(Q502895),P101,Q1622272) (c(Q502895),P101,Q11063)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q11063']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q1622272 ) ( resource:Q11063 ) } . ?p property:P101 ?r }
university teacher astronomer
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'astronomer']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:university_teacher ) ( resource:astronomer ) } . ?p property:field_of_work ?r }
[]
common name
Q21030230 Q190232
SYSTEM
Eliška Klimková-Deutschová, Clyde Tombaugh
Q21030230 Q190232
(c(Q502895),P101,Q1622272) (c(Q502895),P101,Q11063)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have specialisation in those occupations
[{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q11063']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q1622272 ) ( resource:Q11063 ) } . ?p property:P101 ?r }
Eliška Klimková-Deutschová Clyde Tombaugh
Eliška Klimková-Deutschová and Clyde Tombaugh have specialisation in those occupations
Eliška Klimková-Deutschová Clyde Tombaugh
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'astronomer']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:university_teacher ) ( resource:astronomer ) } . ?p property:field_of_work ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q190232
P108
Q3918
USER
Which university employs that person ?
(Q190232,P108,c(Q3918))
action filter_type
action find
entity Q190232
relation P108
type Q3918
['Q190232', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q190232 property:P108 ?s . ?s rdf:type ontology:Q3918 }
Clyde Tombaugh
action filter_type
action find
entity Clyde Tombaugh
relation employer
type university
['Clyde Tombaugh', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Clyde_Tombaugh property:employer ?s . ?s rdf:type ontology:university }
[]
university
Clarification for simple ques.
Q190232
SYSTEM
Did you mean Clyde Tombaugh ?
Q21030230 Q190232
(Q21030230,P108,c(Q3918)) (Q190232,P108,c(Q3918))
[ANSWER]
['Q21030230', 'P108', {'concept': 'Q3918'}] ['Q190232', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q190232 property:P108 ?s . ?s rdf:type ontology:Q3918 }
Eliška Klimková-Deutschová Clyde Tombaugh
Did you mean Clyde Tombaugh ?
Clyde Tombaugh
['Eliška Klimková-Deutschová', 'employer', {'concept': 'university'}] ['Clyde Tombaugh', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Clyde_Tombaugh property:employer ?s . ?s rdf:type ontology:university }
[]
Simple Question (Coreferenced)
USER
Yes
(Q190232,P108,c(Q3918))
['Q190232', 'P108', {'concept': 'Q3918'}]
['Clyde Tombaugh', 'employer', {'concept': 'university'}]
[]
Q1353248
SYSTEM
New Mexico State University
Q1353248
(Q190232,P108,c(Q3918))
action filter_type
action find
entity Q190232
relation P108
type Q3918
[ANSWER] employs that person
['Q190232', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q190232 property:P108 ?s . ?s rdf:type ontology:Q3918 }
New Mexico State University
New Mexico State University employs that person
New Mexico State University
action filter_type
action find
entity Clyde Tombaugh
relation employer
type university
['Clyde Tombaugh', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Clyde_Tombaugh property:employer ?s . ?s rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1353248
P463
Q874405
USER
Which social group had that university as its member ?
(Q1353248,P463,c(Q874405))
action filter_type
action find
entity Q1353248
relation P463
type Q874405
['Q1353248', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q1353248 property:P463 ?w . ?w rdf:type ontology:Q874405 }
New Mexico State University
action filter_type
action find
entity New Mexico State University
relation member of
type social group
['New Mexico State University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:New_Mexico_State_University property:member_of ?w . ?w rdf:type ontology:social_group }
[]
social group
Q5583848
SYSTEM
Oak Ridge Associated Universities
Q5583848
(Q1353248,P463,c(Q874405))
action filter_type
action find
entity Q1353248
relation P463
type Q874405
[ANSWER] had that university as its member
['Q1353248', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q1353248 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Oak Ridge Associated Universities
Oak Ridge Associated Universities had that university as its member
Oak Ridge Associated Universities
action filter_type
action find
entity New Mexico State University
relation member of
type social group
['New Mexico State University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:New_Mexico_State_University property:member_of ?w . ?w rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q82799 Q874405
USER
How many names are the etymology of approximately 1 social group ?
(c(Q874405),P138,c(Q82799))
action count
action approx
action find_reverse_tuple_counts
relation P138
type Q82799
type Q874405
value 1
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P138 ?g . ?g rdf:type ontology:Q82799 . ?j rdf:type ontology:Q874405 } GROUP BY ?g } . FILTER ( ?c = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation named after
type name
type social group
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:named_after ?g . ?g rdf:type ontology:name . ?j rdf:type ontology:social_group } GROUP BY ?g } . FILTER ( ?c = 1 ) }
[]
name social group
SYSTEM
4
Q19930319 Q18822560 Q19833249 Q18579278
(c(Q874405),P138,c(Q82799))
action count
action approx
action find_reverse_tuple_counts
relation P138
type Q82799
type Q874405
value 1
[ANSWER]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P138 ?g . ?g rdf:type ontology:Q82799 . ?j rdf:type ontology:Q874405 } GROUP BY ?g } . FILTER ( ?c = 1 ) }
Salis Mortimer Frei Burckhardt
4
action count
action approx
action find_reverse_tuple_counts
relation named after
type name
type social group
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:named_after ?g . ?g rdf:type ontology:name . ?j rdf:type ontology:social_group } GROUP BY ?g } . FILTER ( ?c = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q732577 Q2342494
USER
Which occupations were the main subjects of min number of publications or collectables 's work ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?a ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { { ?e property:P921 ?p . ?p rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q732577 } UNION { ?e property:P921 ?p . ?p rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q2342494 } } GROUP BY ?p } } }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?a ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { { ?e property:main_subject ?p . ?p rdf:type ontology:occupation . ?e rdf:type ontology:publication } UNION { ?e property:main_subject ?p . ?p rdf:type ontology:occupation . ?e rdf:type ontology:collectable } } GROUP BY ?p } } }
[]
occupation publication collectable
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q152002 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q2095549 Q372436 Q182436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
[ANSWERS] were the main subjects of min number of publications or collectables 's work
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?a ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { { ?e property:P921 ?p . ?p rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q732577 } UNION { ?e property:P921 ?p . ?p rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q2342494 } } GROUP BY ?p } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Prime Minister of Hungary seiyū clown farmer medallist detective racing driver 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 candidate taxi driver gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist pastor cartoonist judge nanny caricaturist painter American football player legal profession composer rabbi völva conductor comedian photographer peasant missionary United States federal judge musician Nomarch medical examiner police officer aviator statesman librarian 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 min number of publications or collectables 's work
Fletcher Christian farmer librarian
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?g = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?t } . { SELECT DISTINCT ( MIN ( ?a ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) ?p WHERE { { ?e property:main_subject ?p . ?p rdf:type ontology:occupation . ?e rdf:type ontology:publication } UNION { ?e property:main_subject ?p . ?p rdf:type ontology:occupation . ?e rdf:type ontology:collectable } } GROUP BY ?p } } }
[]