Simple Question (Direct)
Simple Question
Q95445
P21
Q290
USER
What is the sex of Walter Dirks ?
(Q95445,P21,c(Q290))
action filter_type
action find
entity Q95445
relation P21
type Q290
['Q95445', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q95445 property:P21 ?v }
Walter Dirks
action filter_type
action find
entity Walter Dirks
relation gender
type sex
['Walter Dirks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Walter_Dirks property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q95445,P21,c(Q290))
action filter_type
action find
entity Q95445
relation P21
type Q290
The sex of Walter Dirks is a [ANSWER]
['Q95445', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q95445 property:P21 ?v }
male
The sex of Walter Dirks is a male
male
action filter_type
action find
entity Walter Dirks
relation gender
type sex
['Walter Dirks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Walter_Dirks property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q95445
P106
Q12737077
USER
What do Walter Dirks do for a living ?
(Q95445,P106,c(Q12737077))
action filter_type
action find
entity Q95445
relation P106
type Q12737077
['Q95445', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q95445 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Walter Dirks
action filter_type
action find
entity Walter Dirks
relation occupation
type occupation
['Walter Dirks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Walter_Dirks property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q1930187 Q82955 Q36180
SYSTEM
journalist, politician, writer
Q1930187 Q82955 Q36180
(Q95445,P106,c(Q12737077))
action filter_type
action find
entity Q95445
relation P106
type Q12737077
Walter Dirks do for a living [ANSWERS]
['Q95445', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q95445 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
journalist politician writer
Walter Dirks do for a living journalist, politician and writer
journalist politician writer
action filter_type
action find
entity Walter Dirks
relation occupation
type occupation
['Walter Dirks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Walter_Dirks property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1295332
P106
Q502895
USER
Do Louis Joseph Antoine de Potter have the profession as those occupations ?
(Q1295332,P106,Q1930187) (Q1295332,P106,Q82955) (Q1295332,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q1295332
relation P106
['Q1295332', 'P106', 'Q1930187'] ['Q1295332', 'P106', 'Q82955'] ['Q1295332', 'P106', 'Q36180']
ASK WHERE { resource:Q1295332 property:P106 ?q . VALUES ( ?q ) { ( resource:Q1930187 ) ( resource:Q82955 ) ( resource:Q36180 ) } }
Louis Joseph Antoine de Potter
action is_in
entity prev_answer
action find
entity Louis Joseph Antoine de Potter
relation occupation
['Louis Joseph Antoine de Potter', 'occupation', 'journalist'] ['Louis Joseph Antoine de Potter', 'occupation', 'politician'] ['Louis Joseph Antoine de Potter', 'occupation', 'writer']
ASK WHERE { resource:Louis_Joseph_Antoine_de_Potter property:occupation ?q . VALUES ( ?q ) { ( resource:journalist ) ( resource:politician ) ( resource:writer ) } }
[]
common name
SYSTEM
YES
(Q1295332,P106,Q1930187) (Q1295332,P106,Q82955) (Q1295332,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q1295332
relation P106
[ANSWER]
['Q1295332', 'P106', 'Q1930187'] ['Q1295332', 'P106', 'Q82955'] ['Q1295332', 'P106', 'Q36180']
ASK WHERE { resource:Q1295332 property:P106 ?q . VALUES ( ?q ) { ( resource:Q1930187 ) ( resource:Q82955 ) ( resource:Q36180 ) } }
Yes
action is_in
entity prev_answer
action find
entity Louis Joseph Antoine de Potter
relation occupation
['Louis Joseph Antoine de Potter', 'occupation', 'journalist'] ['Louis Joseph Antoine de Potter', 'occupation', 'politician'] ['Louis Joseph Antoine de Potter', 'occupation', 'writer']
ASK WHERE { resource:Louis_Joseph_Antoine_de_Potter property:occupation ?q . VALUES ( ?q ) { ( resource:journalist ) ( resource:politician ) ( resource:writer ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1930187
P425
Q12737077
USER
Who is associated with the field of occupation journalist ?
(Q1930187,P425,c(Q12737077))
action filter_type
action find
entity Q1930187
relation P425
type Q12737077
['Q1930187', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1930187 property:P425 ?w . ?w rdf:type ontology:Q12737077 }
journalist
action filter_type
action find
entity journalist
relation field of this occupation
type occupation
['journalist', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:journalist property:field_of_this_occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q1930187,P425,c(Q12737077))
action filter_type
action find
entity Q1930187
relation P425
type Q12737077
The [ANSWER] is associated with the field of occupation journalist
['Q1930187', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1930187 property:P425 ?w . ?w rdf:type ontology:Q12737077 }
writer
The writer is associated with the field of occupation journalist
writer
action filter_type
action find
entity journalist
relation field of this occupation
type occupation
['journalist', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:journalist property:field_of_this_occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1930187
Q9332
USER
And which behavior?
(Q1930187,P425,c(Q9332))
action filter_type
action find
entity Q1930187
relation P425
type Q9332
['Q1930187', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q9332 . resource:Q1930187 property:P425 ?j }
journalist
action filter_type
action find
entity journalist
relation field of this occupation
type behavior
['journalist', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:behavior . resource:journalist property:field_of_this_occupation ?j }
[]
behavior
Q11030
SYSTEM
journalism
Q11030
(Q1930187,P425,c(Q9332))
action filter_type
action find
entity Q1930187
relation P425
type Q9332
[ANSWER]
['Q1930187', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q9332 . resource:Q1930187 property:P425 ?j }
journalism
journalism
action filter_type
action find
entity journalist
relation field of this occupation
type behavior
['journalist', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:behavior . resource:journalist property:field_of_this_occupation ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2695280
P452
Q9332 Q43229 Q80071
USER
Which behaviors are the industry to which more number of organizations or symbols belongs than technics ?
(c(Q43229)|c(Q80071),P452,c(Q9332))
action greater
action union
action find_reverse_tuple_counts
relation P452
type Q9332
type Q43229
action find_reverse_tuple_counts
relation P452
type Q9332
type Q80071
action count
action filter_multi_types
action find_reverse
entity Q2695280
relation P452
type Q43229
type Q80071
[[{'concept': 'Q43229'}, {'concept': 'Q80071'}], 'P452', {'concept': 'Q9332'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P452 ?i . ?i rdf:type ontology:Q9332 . ?q rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q9332 . ?q rdf:type ontology:Q80071 . ?q property:P452 ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P452 resource:Q2695280 . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q80071 ) ( ontology:Q43229 ) } } } } . FILTER ( ?p > ?w ) }
technics
action greater
action union
action find_reverse_tuple_counts
relation industry
type behavior
type organization
action find_reverse_tuple_counts
relation industry
type behavior
type symbol
action count
action filter_multi_types
action find_reverse
entity technics
relation industry
type organization
type symbol
[[{'concept': 'organization'}, {'concept': 'symbol'}], 'industry', {'concept': 'behavior'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:industry ?i . ?i rdf:type ontology:behavior . ?q rdf:type ontology:organization } UNION { ?i rdf:type ontology:behavior . ?q rdf:type ontology:symbol . ?q property:industry ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:industry resource:technics . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:symbol ) ( ontology:organization ) } } } } . FILTER ( ?p > ?w ) }
[]
behavior organization symbol
Q765633 Q240471 Q173799
SYSTEM
aviation, bookbinding, entertainment
Q173799 Q8434 Q2306047 Q133080 Q349 Q765633 Q61509 Q3972943 Q184199 Q16879932 Q217102 Q240471 Q18646422
(c(Q43229)|c(Q80071),P452,c(Q9332))
action greater
action union
action find_reverse_tuple_counts
relation P452
type Q9332
type Q43229
action find_reverse_tuple_counts
relation P452
type Q9332
type Q80071
action count
action filter_multi_types
action find_reverse
entity Q2695280
relation P452
type Q43229
type Q80071
[ANSWERS] are the industry to which more number of organizations or symbols belongs than technics
[[{'concept': 'Q43229'}, {'concept': 'Q80071'}], 'P452', {'concept': 'Q9332'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P452 ?i . ?i rdf:type ontology:Q9332 . ?q rdf:type ontology:Q43229 } UNION { ?i rdf:type ontology:Q9332 . ?q rdf:type ontology:Q80071 . ?q property:P452 ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P452 resource:Q2695280 . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q80071 ) ( ontology:Q43229 ) } } } } . FILTER ( ?p > ?w ) }
entertainment education pest control public relations sport aviation travel publishing automation musical instrument making conservation bookbinding confectionery
Aviation, bookbinding and entertainment are the industry to which more number of organizations or symbols belongs than technics
aviation bookbinding entertainment
action greater
action union
action find_reverse_tuple_counts
relation industry
type behavior
type organization
action find_reverse_tuple_counts
relation industry
type behavior
type symbol
action count
action filter_multi_types
action find_reverse
entity technics
relation industry
type organization
type symbol
[[{'concept': 'organization'}, {'concept': 'symbol'}], 'industry', {'concept': 'behavior'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:industry ?i . ?i rdf:type ontology:behavior . ?q rdf:type ontology:organization } UNION { ?i rdf:type ontology:behavior . ?q rdf:type ontology:symbol . ?q property:industry ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:industry resource:technics . { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:symbol ) ( ontology:organization ) } } } } . FILTER ( ?p > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16879932
P452
Q9332 Q43229 Q80071
USER
And what about musical instrument making?
(c(Q43229)|c(Q80071),P452,c(Q9332))
action greater
action union
action find_reverse_tuple_counts
relation P452
type Q9332
type Q43229
action find_reverse_tuple_counts
relation P452
type Q9332
type Q80071
action count
action filter_multi_types
action find_reverse
entity Q16879932
relation P452
type Q43229
type Q80071
[[{'concept': 'Q43229'}, {'concept': 'Q80071'}], 'P452', {'concept': 'Q9332'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q43229 ) ( ontology:Q80071 ) } . ?r rdf:type ?j } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P452 resource:Q16879932 . { { ?e rdf:type ontology:Q43229 } UNION { ?e rdf:type ontology:Q80071 } } } } . FILTER ( ?x > ?s ) }
musical instrument making
action greater
action union
action find_reverse_tuple_counts
relation industry
type behavior
type organization
action find_reverse_tuple_counts
relation industry
type behavior
type symbol
action count
action filter_multi_types
action find_reverse
entity musical instrument making
relation industry
type organization
type symbol
[[{'concept': 'organization'}, {'concept': 'symbol'}], 'industry', {'concept': 'behavior'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:organization ) ( ontology:symbol ) } . ?r rdf:type ?j } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:industry resource:musical_instrument_making . { { ?e rdf:type ontology:organization } UNION { ?e rdf:type ontology:symbol } } } } . FILTER ( ?x > ?s ) }
[]
behavior organization symbol
Q765633 Q173799 Q133080
SYSTEM
aviation, entertainment, public relations
Q173799 Q8434 Q133080 Q349 Q765633 Q61509 Q3972943
(c(Q43229)|c(Q80071),P452,c(Q9332))
action greater
action union
action find_reverse_tuple_counts
relation P452
type Q9332
type Q43229
action find_reverse_tuple_counts
relation P452
type Q9332
type Q80071
action count
action filter_multi_types
action find_reverse
entity Q16879932
relation P452
type Q43229
type Q80071
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q80071'}], 'P452', {'concept': 'Q9332'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:Q43229 ) ( ontology:Q80071 ) } . ?r rdf:type ?j } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:P452 resource:Q16879932 . { { ?e rdf:type ontology:Q43229 } UNION { ?e rdf:type ontology:Q80071 } } } } . FILTER ( ?x > ?s ) }
entertainment education public relations sport aviation travel publishing
aviation entertainment public relations
action greater
action union
action find_reverse_tuple_counts
relation industry
type behavior
type organization
action find_reverse_tuple_counts
relation industry
type behavior
type symbol
action count
action filter_multi_types
action find_reverse
entity musical instrument making
relation industry
type organization
type symbol
[[{'concept': 'organization'}, {'concept': 'symbol'}], 'industry', {'concept': 'behavior'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?j ) { ( ontology:organization ) ( ontology:symbol ) } . ?r rdf:type ?j } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { ?e property:industry resource:musical_instrument_making . { { ?e rdf:type ontology:organization } UNION { ?e rdf:type ontology:symbol } } } } . FILTER ( ?x > ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q133080
P101
Q502895
USER
Which people work in the domain of that behavior ?
(c(Q502895),P101,Q133080)
action filter_type
action find_reverse
entity Q133080
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q133080']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q133080 . ?a rdf:type ontology:Q502895 }
public relations
action filter_type
action find_reverse
entity public relations
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'public relations']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:public_relations . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q765633
SYSTEM
Did you mean aviation ?
Q765633 Q173799 Q133080
(c(Q502895),P101,Q765633) (c(Q502895),P101,Q173799) (c(Q502895),P101,Q133080)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q765633'] [{'concept': 'Q502895'}, 'P101', 'Q173799'] [{'concept': 'Q502895'}, 'P101', 'Q133080']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q133080 . ?a rdf:type ontology:Q502895 }
aviation entertainment public relations
Did you mean aviation ?
aviation
[{'concept': 'common name'}, 'field of work', 'aviation'] [{'concept': 'common name'}, 'field of work', 'entertainment'] [{'concept': 'common name'}, 'field of work', 'public relations']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:public_relations . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant public relations. Could you tell me the answer for that?
(c(Q502895),P101,Q133080)
Q133080
[{'concept': 'Q502895'}, 'P101', 'Q133080']
[{'concept': 'common name'}, 'field of work', 'public relations']
[]
Q21872697 Q434839
SYSTEM
Terry Van Tell, Edward Bernays
Q21872697 Q434839
(c(Q502895),P101,Q133080)
action filter_type
action find_reverse
entity Q133080
relation P101
type Q502895
[ANSWERS] work in the domain of that behavior
[{'concept': 'Q502895'}, 'P101', 'Q133080']
SELECT DISTINCT ?a WHERE { ?a property:P101 resource:Q133080 . ?a rdf:type ontology:Q502895 }
Terry Van Tell Edward Bernays
Terry Van Tell and Edward Bernays work in the domain of that behavior
Terry Van Tell Edward Bernays
action filter_type
action find_reverse
entity public relations
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'public relations']
SELECT DISTINCT ?a WHERE { ?a property:field_of_work resource:public_relations . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q434839
P50
Q2342494
USER
Which collectables were written by Edward Bernays ?
(c(Q2342494),P50,Q434839)
action filter_type
action find_reverse
entity Q434839
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q434839']
SELECT DISTINCT ?j WHERE { ?j property:P50 resource:Q434839 . ?j rdf:type ontology:Q2342494 }
Edward Bernays
action filter_type
action find_reverse
entity Edward Bernays
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Edward Bernays']
SELECT DISTINCT ?j WHERE { ?j property:author resource:Edward_Bernays . ?j rdf:type ontology:collectable }
[]
collectable
Q7257960 Q488337
SYSTEM
Public relations, Propaganda
Q7257960 Q488337
(c(Q2342494),P50,Q434839)
action filter_type
action find_reverse
entity Q434839
relation P50
type Q2342494
[ANSWERS] were written by Edward Bernays
[{'concept': 'Q2342494'}, 'P50', 'Q434839']
SELECT DISTINCT ?j WHERE { ?j property:P50 resource:Q434839 . ?j rdf:type ontology:Q2342494 }
Public relations Propaganda
Public relations and Propaganda were written by Edward Bernays
Public relations Propaganda
action filter_type
action find_reverse
entity Edward Bernays
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Edward Bernays']
SELECT DISTINCT ?j WHERE { ?j property:author resource:Edward_Bernays . ?j rdf:type ontology:collectable }
[]