Simple Question (Direct)
Simple Question
Q3341631
P21
Q290
USER
What is the sex of Nikolai Shelgunov ?
(Q3341631,P21,c(Q290))
action filter_type
action find
entity Q3341631
relation P21
type Q290
['Q3341631', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3341631 property:P21 ?m . ?m rdf:type ontology:Q290 }
Nikolai Shelgunov
action filter_type
action find
entity Nikolai Shelgunov
relation gender
type sex
['Nikolai Shelgunov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Nikolai_Shelgunov property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3341631,P21,c(Q290))
action filter_type
action find
entity Q3341631
relation P21
type Q290
The sex of Nikolai Shelgunov is the [ANSWER]
['Q3341631', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3341631 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Nikolai Shelgunov is the male
male
action filter_type
action find
entity Nikolai Shelgunov
relation gender
type sex
['Nikolai Shelgunov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Nikolai_Shelgunov property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3341631
P106
Q12737077
USER
Which occupations are the professions of Nikolai Shelgunov ?
(Q3341631,P106,c(Q12737077))
action filter_type
action find
entity Q3341631
relation P106
type Q12737077
['Q3341631', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3341631 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Nikolai Shelgunov
action filter_type
action find
entity Nikolai Shelgunov
relation occupation
type occupation
['Nikolai Shelgunov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Nikolai_Shelgunov property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q1930187 Q4263842
SYSTEM
journalist, literary critic
Q1930187 Q4263842
(Q3341631,P106,c(Q12737077))
action filter_type
action find
entity Q3341631
relation P106
type Q12737077
The professions of Nikolai Shelgunov are literary [ANSWERS]
['Q3341631', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3341631 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
journalist literary critic
The professions of Nikolai Shelgunov are literary journalist and literary critic
journalist literary critic
action filter_type
action find
entity Nikolai Shelgunov
relation occupation
type occupation
['Nikolai Shelgunov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Nikolai_Shelgunov property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q2342494
USER
How many occupations are the area of less number of people or collectables than that occupation ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?s property:Q627436 ?y . VALUES ( ?s ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?s property:field_of_work ?y . VALUES ( ?s ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
occupation common name collectable
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1930187
SYSTEM
Did you mean journalist ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?s property:Q627436 ?y . VALUES ( ?s ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
Did you mean journalist ?
journalist
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?s property:field_of_work ?y . VALUES ( ?s ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
90
Q4175034 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q7888586 Q30185 Q15839135 Q14467526 Q6500773 Q11642 Q937857 Q157509 Q128124 Q1999841 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q36180 Q15117302 Q17167049 Q1423891 Q3665646 Q11063 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q8011071 Q219477 Q154549 Q1709010 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q2342494 }
legislator business magnate secretary teacher sewing organist double-bassist graphic designer hieromonk musicologist philologist food critic surgeon children's writer goldsmith educationist seiyū bassist wood carver model violinist publisher stage actor television presenter short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer chemical engineer mayor developmental biologist linguist general practitioner pottery association football player legal guardian audio engineer faqih hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police writer volleyball player specialist in literature minister basketball player astronomer Train dispatcher scientist STEM fields mining engineer documentary filmmaker religious leader navigator theatre director type designer conductor rapper animal trainer missionary carpenter software engineer mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist
90
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:collectable }
[]