Simple Question (Direct)
Simple Question
Q453637
P21
Q290
USER
Which sex does Patricia De Martelaere possess ?
(Q453637,P21,c(Q290))
action filter_type
action find
entity Q453637
relation P21
type Q290
['Q453637', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q453637 property:P21 ?i . ?i rdf:type ontology:Q290 }
Patricia De Martelaere
action filter_type
action find
entity Patricia De Martelaere
relation gender
type sex
['Patricia De Martelaere', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Patricia_De_Martelaere property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q453637,P21,c(Q290))
action filter_type
action find
entity Q453637
relation P21
type Q290
Patricia De Martelaere possesses a [ANSWER]
['Q453637', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q453637 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
Patricia De Martelaere possesses a female
female
action filter_type
action find
entity Patricia De Martelaere
relation gender
type sex
['Patricia De Martelaere', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Patricia_De_Martelaere property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q453637
P106
Q12737077
USER
Which occupations are the professions of Patricia De Martelaere ?
(Q453637,P106,c(Q12737077))
action filter_type
action find
entity Q453637
relation P106
type Q12737077
['Q453637', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q453637 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Patricia De Martelaere
action filter_type
action find
entity Patricia De Martelaere
relation occupation
type occupation
['Patricia De Martelaere', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Patricia_De_Martelaere property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q1622272 Q36180
SYSTEM
university teacher, writer
Q1622272 Q36180
(Q453637,P106,c(Q12737077))
action filter_type
action find
entity Q453637
relation P106
type Q12737077
The professions of Patricia De Martelaere are a [ANSWERS]
['Q453637', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q453637 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
university teacher writer
The professions of Patricia De Martelaere are a university teacher and writer
university teacher writer
action filter_type
action find
entity Patricia De Martelaere
relation occupation
type occupation
['Patricia De Martelaere', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Patricia_De_Martelaere property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q318067
Q12737077
USER
And how about Michel Chasles?
(Q318067,P106,c(Q12737077))
action filter_type
action find
entity Q318067
relation P106
type Q12737077
['Q318067', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q318067 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Michel Chasles
action filter_type
action find
entity Michel Chasles
relation occupation
type occupation
['Michel Chasles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Michel_Chasles property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q1622272 Q17486330 Q169470
SYSTEM
university teacher, historian of mathematics, physicist
Q17486330 Q169470 Q1622272 Q170790
(Q318067,P106,c(Q12737077))
action filter_type
action find
entity Q318067
relation P106
type Q12737077
[ANSWERS]
['Q318067', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q318067 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
historian of mathematics physicist university teacher mathematician
university teacher historian of mathematics physicist
action filter_type
action find
entity Michel Chasles
relation occupation
type occupation
['Michel Chasles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Michel_Chasles property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
Which occupations are the field of work of greater number of organizations or people than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
occupation organization common name
Comparative|More/Less|Mult. entity type|Clarification
Q169470
SYSTEM
Did you mean physicist ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
Did you mean physicist ?
physicist
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
[]
Q16009483 Q201788 Q39631
SYSTEM
sideshow performer, historian, physician
Q39631 Q17156912 Q2405480 Q201788 Q16009483
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWERS] are the field of work of greater number of organizations or people than that occupation
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
physician malariologist voice actor historian sideshow performer
Sideshow performer, historian and physician are the field of work of greater number of organizations or people than that occupation
sideshow performer historian physician
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16009483
P138
Q223393
USER
Which literary genre is namesake of that occupation ?
(Q16009483,P138,c(Q223393))
action filter_type
action find
entity Q16009483
relation P138
type Q223393
['Q16009483', 'P138', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q16009483 property:P138 ?p . ?p rdf:type ontology:Q223393 }
sideshow performer
action filter_type
action find
entity sideshow performer
relation named after
type literary genre
['sideshow performer', 'named after', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:sideshow_performer property:named_after ?p . ?p rdf:type ontology:literary_genre }
[]
literary genre
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q16009483 Q201788 Q39631
(Q16009483,P138,c(Q223393)) (Q201788,P138,c(Q223393)) (Q39631,P138,c(Q223393))
[ANSWER]
['Q16009483', 'P138', {'concept': 'Q223393'}] ['Q201788', 'P138', {'concept': 'Q223393'}] ['Q39631', 'P138', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q16009483 property:P138 ?p . ?p rdf:type ontology:Q223393 }
sideshow performer historian physician
Did you mean historian ?
historian
['sideshow performer', 'named after', {'concept': 'literary genre'}] ['historian', 'named after', {'concept': 'literary genre'}] ['physician', 'named after', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:sideshow_performer property:named_after ?p . ?p rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant sideshow performer. Could you tell me the answer for that?
(Q16009483,P138,c(Q223393))
Q16009483
['Q16009483', 'P138', {'concept': 'Q223393'}]
['sideshow performer', 'named after', {'concept': 'literary genre'}]
[]
Q1534976
SYSTEM
sideshow
Q1534976
(Q16009483,P138,c(Q223393))
action filter_type
action find
entity Q16009483
relation P138
type Q223393
[ANSWER] is namesake of that occupation
['Q16009483', 'P138', {'concept': 'Q223393'}]
SELECT DISTINCT ?p WHERE { resource:Q16009483 property:P138 ?p . ?p rdf:type ontology:Q223393 }
sideshow
Sideshow is namesake of that occupation
sideshow
action filter_type
action find
entity sideshow performer
relation named after
type literary genre
['sideshow performer', 'named after', {'concept': 'literary genre'}]
SELECT DISTINCT ?p WHERE { resource:sideshow_performer property:named_after ?p . ?p rdf:type ontology:literary_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P425
Q223393 Q12737077
USER
How many literary genres have approximately the same number of occupations as the associated field of occupation as that literary genre ?
(c(Q12737077),P425,c(Q223393))
action count
action approx
action find_reverse_tuple_counts
relation P425
type Q223393
type Q12737077
action count
action filter_type
action find
entity Q1534976
relation P425
type Q223393
[{'concept': 'Q12737077'}, 'P425', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P425 ?e . ?f rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q223393 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q1534976 property:P425 ?k . ?k rdf:type ontology:Q223393 } } . FILTER ( ?u = ?o ) }
action count
action approx
action find_reverse_tuple_counts
relation field of this occupation
type literary genre
type occupation
action count
action filter_type
action find
entity sideshow
relation field of this occupation
type literary genre
[{'concept': 'occupation'}, 'field of this occupation', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:field_of_this_occupation ?e . ?f rdf:type ontology:occupation . ?e rdf:type ontology:literary_genre } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:sideshow property:field_of_this_occupation ?k . ?k rdf:type ontology:literary_genre } } . FILTER ( ?u = ?o ) }
[]
literary genre occupation
SYSTEM
5
Q208628 Q562214 Q838795 Q2743 Q1534976
(c(Q12737077),P425,c(Q223393))
action count
action approx
action find_reverse_tuple_counts
relation P425
type Q223393
type Q12737077
action count
action filter_type
action find
entity Q1534976
relation P425
type Q223393
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P425 ?e . ?f rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q223393 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q1534976 property:P425 ?k . ?k rdf:type ontology:Q223393 } } . FILTER ( ?u = ?o ) }
hagiography manhwa comic strip musical sideshow
5
action count
action approx
action find_reverse_tuple_counts
relation field of this occupation
type literary genre
type occupation
action count
action filter_type
action find
entity sideshow
relation field of this occupation
type literary genre
[{'concept': 'occupation'}, 'field of this occupation', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:field_of_this_occupation ?e . ?f rdf:type ontology:occupation . ?e rdf:type ontology:literary_genre } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:sideshow property:field_of_this_occupation ?k . ?k rdf:type ontology:literary_genre } } . FILTER ( ?u = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16009483
P138
Q12737077
USER
Which occupation is the etymology of sideshow performer ?
(Q16009483,P138,c(Q12737077))
action filter_type
action find
entity Q16009483
relation P138
type Q12737077
['Q16009483', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q16009483 property:P138 ?p }
sideshow performer
action filter_type
action find
entity sideshow performer
relation named after
type occupation
['sideshow performer', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:sideshow_performer property:named_after ?p }
[]
occupation
Q16010345
SYSTEM
performer
Q16010345
(Q16009483,P138,c(Q12737077))
action filter_type
action find
entity Q16009483
relation P138
type Q12737077
[ANSWER] is the etymology of sideshow [ANSWER]
['Q16009483', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q16009483 property:P138 ?p }
performer
Performer is the etymology of sideshow performer
performer
action filter_type
action find
entity sideshow performer
relation named after
type occupation
['sideshow performer', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:sideshow_performer property:named_after ?p }
[]