Simple Question (Direct)
Simple Question
Q430980
P106
Q12737077
USER
Which occupations are the professions of Valeriy Shevchuk ?
(Q430980,P106,c(Q12737077))
action filter_type
action find
entity Q430980
relation P106
type Q12737077
['Q430980', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q430980 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Valeriy Shevchuk
action filter_type
action find
entity Valeriy Shevchuk
relation occupation
type occupation
['Valeriy Shevchuk', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Valeriy_Shevchuk property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q635734 Q36180 Q13570226
SYSTEM
archivist, writer, literary historian
Q635734 Q36180 Q13570226
(Q430980,P106,c(Q12737077))
action filter_type
action find
entity Q430980
relation P106
type Q12737077
The professions of Valeriy Shevchuk are the [ANSWERS]
['Q430980', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q430980 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
archivist writer literary historian
The professions of Valeriy Shevchuk are the archivist, writer and literary historian
archivist writer literary historian
action filter_type
action find
entity Valeriy Shevchuk
relation occupation
type occupation
['Valeriy Shevchuk', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Valeriy_Shevchuk property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13570226
P425
Q1047113
USER
Who has that one as the associated field of occupation ?
(Q13570226,P425,c(Q1047113))
action filter_type
action find
entity Q13570226
relation P425
type Q1047113
['Q13570226', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { resource:Q13570226 property:P425 ?h . ?h rdf:type ontology:Q1047113 }
literary historian
action filter_type
action find
entity literary historian
relation field of this occupation
type special field
['literary historian', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { resource:literary_historian property:field_of_this_occupation ?h . ?h rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q36180
SYSTEM
Did you mean writer ?
Q635734 Q36180 Q13570226
(Q635734,P425,c(Q1047113)) (Q36180,P425,c(Q1047113)) (Q13570226,P425,c(Q1047113))
[ANSWER]
['Q635734', 'P425', {'concept': 'Q1047113'}] ['Q36180', 'P425', {'concept': 'Q1047113'}] ['Q13570226', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { resource:Q13570226 property:P425 ?h . ?h rdf:type ontology:Q1047113 }
archivist writer literary historian
Did you mean writer ?
writer
['archivist', 'field of this occupation', {'concept': 'special field'}] ['writer', 'field of this occupation', {'concept': 'special field'}] ['literary historian', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { resource:literary_historian property:field_of_this_occupation ?h . ?h rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
No, I meant literary historian. Could you tell me the answer for that?
(Q13570226,P425,c(Q1047113))
Q13570226
['Q13570226', 'P425', {'concept': 'Q1047113'}]
['literary historian', 'field of this occupation', {'concept': 'special field'}]
[]
Q6497044
SYSTEM
history of literature
Q6497044
(Q13570226,P425,c(Q1047113))
action filter_type
action find
entity Q13570226
relation P425
type Q1047113
The [ANSWER] has that one as the associated field of occupation
['Q13570226', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { resource:Q13570226 property:P425 ?h . ?h rdf:type ontology:Q1047113 }
history of literature
The history of literature has that one as the associated field of occupation
history of literature
action filter_type
action find
entity literary historian
relation field of this occupation
type special field
['literary historian', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { resource:literary_historian property:field_of_this_occupation ?h . ?h rdf:type ontology:special_field }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q1047113 Q43229 Q21114848
USER
How many special fields are the field of work of approximately the same number of organizations or magazine genres as that special field ?
(c(Q43229)|c(Q21114848),P101,c(Q1047113))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q43229
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q6497044
relation P101
type Q43229
type Q21114848
[[{'concept': 'Q43229'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:Q43229 ) ( ontology:Q21114848 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P101 resource:Q6497044 . { { ?a rdf:type ontology:Q43229 } UNION { ?a rdf:type ontology:Q21114848 } } } } . FILTER ( ?g = ?z ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type special field
type organization
action find_reverse_tuple_counts
relation field of work
type special field
type magazine genre
action count
action filter_multi_types
action find_reverse
entity history of literature
relation field of work
type organization
type magazine genre
[[{'concept': 'organization'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:organization ) ( ontology:magazine_genre ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:field_of_work resource:history_of_literature . { { ?a rdf:type ontology:organization } UNION { ?a rdf:type ontology:magazine_genre } } } } . FILTER ( ?g = ?z ) }
[]
special field organization magazine genre
SYSTEM
155
Q26237583 Q2964004 Q121713 Q794605 Q1365243 Q499500 Q21198 Q5891 Q7208 Q60195 Q182442 Q180502 Q583336 Q189329 Q7218 Q1407263 Q103824 Q1071 Q7215 Q788926 Q1333872 Q216685 Q2002157 Q384001 Q211500 Q837863 Q1773974 Q81009 Q123028 Q598976 Q105650 Q327092 Q208217 Q683455 Q7754 Q2374463 Q177635 Q83042 Q376680 Q26237769 Q454812 Q40821 Q1660187 Q162555 Q411 Q631286 Q77604 Q6216 Q80006 Q739465 Q182468 Q864601 Q861689 Q7922 Q189553 Q213891 Q134435 Q7867 Q271707 Q120569 Q11351 Q213403 Q80015 Q745328 Q2445082 Q199655 Q47417 Q160039 Q1569011 Q647525 Q207434 Q2442870 Q34178 Q173113 Q10379 Q435608 Q6497044 Q170978 Q4917288 Q2861470 Q840545 Q1461602 Q4260703 Q2740627 Q1489271 Q171171 Q1066186 Q201486 Q80083 Q501778 Q102904 Q145903 Q7782365 Q1456948 Q898674 Q460162 Q1774688 Q9053037 Q5654877 Q461659 Q351870 Q33521 Q441 Q1221899 Q188449 Q17397651 Q5284418 Q382995 Q131089 Q2043282 Q28797 Q162606 Q10384 Q28793 Q10609775 Q11180 Q603441 Q459381 Q35395 Q502159 Q126552 Q27133094 Q165650 Q4356367 Q852732 Q1071953 Q81058 Q1430622 Q21583222 Q599991 Q207011 Q14565201 Q235007 Q11397 Q23498 Q26331146 Q12128 Q3110778 Q164204 Q489119 Q170201 Q504033 Q39645 Q141495 Q1371704 Q23404 Q428691 Q1045712 Q15218776 Q77590 Q52106 Q2143884 Q1741922 Q243748 Q1038158
(c(Q43229)|c(Q21114848),P101,c(Q1047113))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q43229
action find_reverse_tuple_counts
relation P101
type Q1047113
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q6497044
relation P101
type Q43229
type Q21114848
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:Q43229 ) ( ontology:Q21114848 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P101 resource:Q6497044 . { { ?a rdf:type ontology:Q43229 } UNION { ?a rdf:type ontology:Q21114848 } } } } . FILTER ( ?g = ?z ) }
ethnopolitics thoracic surgery acupuncture biblical studies tropical medicine clinical pathology computer science philosophy pathology semiotics plastic surgery parasitology research on Antisemitism liberal arts education toxicology forensic psychiatry hematology geography virology Infectious disease combinatorial optimization orthopedics family therapy historical geography pneumatics pure mathematics preventive medicine rhetoric pediatrics medical microbiology urology biomedical engineering literary science anatomical pathology mathematical analysis data science nephrology neurology traumatology pediatric neurology forensic medicine surgery film studies oncology astrobiology numismatics radiology liberalism computer programming study of the Hebrew language hydrography biomedicine Education economics pedagogy otolaryngology geochronology topography psychiatry rheology gastroenterology organic chemistry naturopathy Obstetrics gynecology mathematical statistics Science, technology and society library science international economics econometrics Urban history behavioral economics human–computer interaction lepidopterology theology agronomy cardiology Ancient History history of literature robotics control engineering emergency medicine sports medicine computer-supported cooperative work railway engineering heliophysics eloquence dermatology science of history history of science humanities translation studies volcanology egyptology Theoretical ecology geobotany neonatology museology clinical pharmacology spatial planning International studies sociology of religion reproductive medicine applied mathematics botany gynaecology neurosurgery supersonic aerodynamics obstetrics legal science geodesy business administration applied science endocrinology geriatrics film theory information visualization internal medicine bibliometrics literary theory phonetics serology business informatics vaccine development media studies Philosophical theology proof theory medical genetics homeopathy space medicine rabbinic studies zoogeography neuroscience altmetrics cardiac surgery classical mechanics archaeology Serbo-Croatian studies dentistry thracology musicology Hellenic studies veterinary medicine oral and maxillofacial surgery semantics mathematical optimization etruscology anthropology computer engineering neuroeconomics orthopedic surgery civil engineering biogeography Social medicine pediatric urology bacteriology homiletics
155
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type special field
type organization
action find_reverse_tuple_counts
relation field of work
type special field
type magazine genre
action count
action filter_multi_types
action find_reverse
entity history of literature
relation field of work
type organization
type magazine genre
[[{'concept': 'organization'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { ?p rdf:type ?w . VALUES ( ?w ) { ( ontology:organization ) ( ontology:magazine_genre ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:field_of_work resource:history_of_literature . { { ?a rdf:type ontology:organization } UNION { ?a rdf:type ontology:magazine_genre } } } } . FILTER ( ?g = ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q1047113 Q1047113
USER
How many special fields are atmost 1 special field a part of ?
(c(Q1047113),P361,c(Q1047113))
action count
action atmost
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
value 1
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { FILTER ( ?p <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?p ) WHERE { ?u rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q1047113 . ?v property:P361 ?u } GROUP BY ?u } }
action count
action atmost
action find_reverse_tuple_counts
relation part of
type special field
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { FILTER ( ?p <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?p ) WHERE { ?u rdf:type ontology:special_field . ?v rdf:type ontology:special_field . ?v property:part_of ?u } GROUP BY ?u } }
[]
special field special field
SYSTEM
81
Q614304 Q2964004 Q794605 Q7208 Q60195 Q745328 Q170978 Q193463 Q186083 Q131505 Q1483649 Q4117183 Q394 Q211500 Q960543 Q81009 Q105650 Q327092 Q7754 Q10384 Q162555 Q1061219 Q631286 Q77604 Q837863 Q77590 Q7922 Q2116549 Q37732 Q1335366 Q454812 Q11351 Q2901245 Q775325 Q199655 Q382995 Q428691 Q34178 Q10379 Q461262 Q4917288 Q2861470 Q161437 Q80006 Q1066186 Q201486 Q80083 Q145903 Q131089 Q207434 Q3853781 Q9053037 Q1331392 Q33521 Q1221899 Q5284418 Q460162 Q180165 Q35395 Q126552 Q13420675 Q760348 Q852732 Q628764 Q1138244 Q12128 Q1660187 Q2728012 Q160039 Q1601482 Q11397 Q193544 Q164204 Q489119 Q170201 Q504033 Q141495 Q1049976 Q12016129 Q52106 Q200253
(c(Q1047113),P361,c(Q1047113))
action count
action atmost
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
value 1
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { FILTER ( ?p <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?p ) WHERE { ?u rdf:type ontology:Q1047113 . ?v rdf:type ontology:Q1047113 . ?v property:P361 ?u } GROUP BY ?u } }
pharmacy thoracic surgery biblical studies pathology semiotics mathematical statistics robotics continuum mechanics vexillology esotericism behaviour therapy Open Biomedical Ontologies metrology pneumatics theatre studies rhetoric urology biomedical engineering mathematical analysis geriatrics oncology telecommunications engineering numismatics radiology pure mathematics civil engineering pedagogy science of journalism demography neuroendocrinology forensic medicine organic chemistry bibliology transport engineering library science legal science computer engineering theology cardiology Phaleristics control engineering emergency medicine ophthalmology computer programming science of history history of science humanities egyptology geodesy human–computer interaction public medicine spatial planning Legal theory applied mathematics gynaecology obstetrics museology mechatronics engineering phonetics business informatics library and information science eye surgery proof theory Occupational medicine phytosociology dentistry film studies neurobiology econometrics anthropology of Religion classical mechanics music theory musicology Hellenic studies veterinary medicine oral and maxillofacial surgery mathematical optimization transplantology hydrodynamics biogeography traditional Chinese medicine
81
action count
action atmost
action find_reverse_tuple_counts
relation part of
type special field
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { FILTER ( ?p <= 1 ) . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?p ) WHERE { ?u rdf:type ontology:special_field . ?v rdf:type ontology:special_field . ?v property:part_of ?u } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6497044
P136
Q2342494
USER
Which collectables as history of literature as their class ?
(c(Q2342494),P136,Q6497044)
action filter_type
action find_reverse
entity Q6497044
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q6497044']
SELECT DISTINCT ?t WHERE { ?t property:P136 resource:Q6497044 . ?t rdf:type ontology:Q2342494 }
history of literature
action filter_type
action find_reverse
entity history of literature
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'history of literature']
SELECT DISTINCT ?t WHERE { ?t property:genre resource:history_of_literature . ?t rdf:type ontology:collectable }
[]
collectable
Q7727058 Q3521652
SYSTEM
The Company They Keep: C. S. Lewis and J. R. R. Tolkien as Writers in Community, The Lord of the Rings: A Reader's Companion
Q7727058 Q3521652
(c(Q2342494),P136,Q6497044)
action filter_type
action find_reverse
entity Q6497044
relation P136
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P136', 'Q6497044']
SELECT DISTINCT ?t WHERE { ?t property:P136 resource:Q6497044 . ?t rdf:type ontology:Q2342494 }
The Company They Keep: C. S. Lewis and J. R. R. Tolkien as Writers in Community The Lord of the Rings: A Reader's Companion
PROBLEM PLURALIZE
The Company They Keep: C. S. Lewis and J. R. R. Tolkien as Writers in Community The Lord of the Rings: A Reader's Companion
action filter_type
action find_reverse
entity history of literature
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'history of literature']
SELECT DISTINCT ?t WHERE { ?t property:genre resource:history_of_literature . ?t rdf:type ontology:collectable }
[]