Simple Question (Direct)
Simple Question
Q27044282
P106
Q12737077
USER
What are the job of Eugeniusz Tomiczek ?
(Q27044282,P106,c(Q12737077))
action filter_type
action find
entity Q27044282
relation P106
type Q12737077
['Q27044282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q27044282 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Eugeniusz Tomiczek
action filter_type
action find
entity Eugeniusz Tomiczek
relation occupation
type occupation
['Eugeniusz Tomiczek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Eugeniusz_Tomiczek property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q1622272 Q2599593 Q15980158
SYSTEM
university teacher, germanist, non-fiction writer
Q2599593 Q15980158 Q1622272 Q14467526
(Q27044282,P106,c(Q12737077))
action filter_type
action find
entity Q27044282
relation P106
type Q12737077
The job of Eugeniusz Tomiczek are a [ANSWERS]
['Q27044282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q27044282 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
germanist non-fiction writer university teacher linguist
The job of Eugeniusz Tomiczek are a university teacher, germanist and non-fiction writer
university teacher germanist non-fiction writer
action filter_type
action find
entity Eugeniusz Tomiczek
relation occupation
type occupation
['Eugeniusz Tomiczek', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Eugeniusz_Tomiczek property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15980158
P101
Q502895
USER
Which person has specialisation in that occupation ?
(c(Q502895),P101,Q15980158)
action filter_type
action find_reverse
entity Q15980158
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q15980158']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P101 resource:Q15980158 }
non-fiction writer
action filter_type
action find_reverse
entity non-fiction writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'non-fiction writer']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:field_of_work resource:non-fiction_writer }
[]
common name
Clarification for simple ques.
Q1622272
SYSTEM
Did you mean university teacher ?
Q1622272 Q2599593 Q15980158
(c(Q502895),P101,Q1622272) (c(Q502895),P101,Q2599593) (c(Q502895),P101,Q15980158)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q2599593'] [{'concept': 'Q502895'}, 'P101', 'Q15980158']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P101 resource:Q15980158 }
university teacher germanist non-fiction writer
Did you mean university teacher ?
university teacher
[{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'germanist'] [{'concept': 'common name'}, 'field of work', 'non-fiction writer']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:field_of_work resource:non-fiction_writer }
[]
Simple Question (Coreferenced)
USER
No, I meant non-fiction writer. Could you tell me the answer for that?
(c(Q502895),P101,Q15980158)
Q15980158
[{'concept': 'Q502895'}, 'P101', 'Q15980158']
[{'concept': 'common name'}, 'field of work', 'non-fiction writer']
[]
Q21030230
SYSTEM
Eliška Klimková-Deutschová
Q21030230
(c(Q502895),P101,Q15980158)
action filter_type
action find_reverse
entity Q15980158
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q15980158']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P101 resource:Q15980158 }
Eliška Klimková-Deutschová
Eliška Klimková-Deutschová has specialisation in that occupation
Eliška Klimková-Deutschová
action filter_type
action find_reverse
entity non-fiction writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'non-fiction writer']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:field_of_work resource:non-fiction_writer }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21030230
P512
Q3412758
USER
Which qualification does that person hold ?
(Q21030230,P512,c(Q3412758))
action filter_type
action find
entity Q21030230
relation P512
type Q3412758
['Q21030230', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q3412758 . resource:Q21030230 property:P512 ?c }
Eliška Klimková-Deutschová
action filter_type
action find
entity Eliška Klimková-Deutschová
relation academic degree
type qualification
['Eliška Klimková-Deutschová', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:qualification . resource:Eliška_Klimková-Deutschová property:academic_degree ?c }
[]
qualification
Q121594
SYSTEM
professor
Q121594
(Q21030230,P512,c(Q3412758))
action filter_type
action find
entity Q21030230
relation P512
type Q3412758
That person holds a [ANSWER]
['Q21030230', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q3412758 . resource:Q21030230 property:P512 ?c }
professor
That person holds a professor
professor
action filter_type
action find
entity Eliška Klimková-Deutschová
relation academic degree
type qualification
['Eliška Klimková-Deutschová', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:qualification . resource:Eliška_Klimková-Deutschová property:academic_degree ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121594
P425
Q9332
USER
Who is associated with the field of occupation that qualification ?
(Q121594,P425,c(Q9332))
action filter_type
action find
entity Q121594
relation P425
type Q9332
['Q121594', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q9332 . resource:Q121594 property:P425 ?c }
professor
action filter_type
action find
entity professor
relation field of this occupation
type behavior
['professor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:behavior . resource:professor property:field_of_this_occupation ?c }
[]
behavior
Q8434
SYSTEM
education
Q8434
(Q121594,P425,c(Q9332))
action filter_type
action find
entity Q121594
relation P425
type Q9332
Is [ANSWER] is associated with the field of occupation that qualification
['Q121594', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q9332 . resource:Q121594 property:P425 ?c }
education
Is education is associated with the field of occupation that qualification
education
action filter_type
action find
entity professor
relation field of this occupation
type behavior
['professor', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:behavior . resource:professor property:field_of_this_occupation ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8434
P180
Q838948
USER
Which works of art demonstrate that behavior ?
(c(Q838948),P180,Q8434)
action filter_type
action find_reverse
entity Q8434
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q8434']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q838948 . ?o property:P180 resource:Q8434 }
education
action filter_type
action find_reverse
entity education
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'education']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work_of_art . ?o property:depicts resource:education }
[]
work of art
Q4887417 Q3227834
SYSTEM
Beneficence, The Triumph of the Republic
Q4887417 Q3227834
(c(Q838948),P180,Q8434)
action filter_type
action find_reverse
entity Q8434
relation P180
type Q838948
[ANSWERS] demonstrate that behavior
[{'concept': 'Q838948'}, 'P180', 'Q8434']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q838948 . ?o property:P180 resource:Q8434 }
Beneficence The Triumph of the Republic
Beneficence and The Triumph of the Republic demonstrate that behavior
Beneficence The Triumph of the Republic
action filter_type
action find_reverse
entity education
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'education']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work_of_art . ?o property:depicts resource:education }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of max number of works of art ?
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?p ) { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P2079 ?o . ?o rdf:type ontology:Q2695280 . ?n rdf:type ontology:Q838948 } GROUP BY ?o } } . { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:P2079 ?s . ?s rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 } GROUP BY ?s } . FILTER ( ?k = ?p ) }
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?p ) { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:fabrication_method ?o . ?o rdf:type ontology:technics . ?n rdf:type ontology:work_of_art } GROUP BY ?o } } . { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:fabrication_method ?s . ?s rdf:type ontology:technics . ?a rdf:type ontology:work_of_art } GROUP BY ?s } . FILTER ( ?k = ?p ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used for the assembly of max number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?p ) { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P2079 ?o . ?o rdf:type ontology:Q2695280 . ?n rdf:type ontology:Q838948 } GROUP BY ?o } } . { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:P2079 ?s . ?s rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 } GROUP BY ?s } . FILTER ( ?k = ?p ) }
gilding collage
Gilding and collage are used for the assembly of max number of works of art
gilding collage
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?p ) { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:fabrication_method ?o . ?o rdf:type ontology:technics . ?n rdf:type ontology:work_of_art } GROUP BY ?o } } . { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:fabrication_method ?s . ?s rdf:type ontology:technics . ?a rdf:type ontology:work_of_art } GROUP BY ?s } . FILTER ( ?k = ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used to fabricate around 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P2079 ?g . ?g rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?g } . FILTER ( ?w = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:fabrication_method ?g . ?g rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?g } . FILTER ( ?w = 1 ) }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P2079 ?g . ?g rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?g } . FILTER ( ?w = 1 ) }
gilding collage
2
action count
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:fabrication_method ?g . ?g rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?g } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P417
Q502895
USER
Which person is the patron saint of university teacher ?
(Q1622272,P417,c(Q502895))
action filter_type
action find
entity Q1622272
relation P417
type Q502895
['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q1622272 property:P417 ?c }
university teacher
action filter_type
action find
entity university teacher
relation patron saint
type common name
['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:university_teacher property:patron_saint ?c }
[]
common name
Q9438
SYSTEM
Thomas Aquinas
Q9438
(Q1622272,P417,c(Q502895))
action filter_type
action find
entity Q1622272
relation P417
type Q502895
[ANSWER] is the patron saint of university teacher
['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q1622272 property:P417 ?c }
Thomas Aquinas
Thomas Aquinas is the patron saint of university teacher
Thomas Aquinas
action filter_type
action find
entity university teacher
relation patron saint
type common name
['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:university_teacher property:patron_saint ?c }
[]