Simple Question (Direct)
Simple Question
Q3529120
P102
Q7210356
USER
Which party does Tin Tut belong to ?
(Q3529120,P102,c(Q7210356))
action filter_type
action find
entity Q3529120
relation P102
type Q7210356
['Q3529120', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q3529120 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Tin Tut
action filter_type
action find
entity Tin Tut
relation member of political party
type political organization
['Tin Tut', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Tin_Tut property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q574639
SYSTEM
Anti-Fascist People's Freedom League
Q574639
(Q3529120,P102,c(Q7210356))
action filter_type
action find
entity Q3529120
relation P102
type Q7210356
[ANSWER] does Tin Tut belong to
['Q3529120', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q3529120 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Anti-Fascist People's Freedom League
Anti-Fascist People's Freedom League does Tin Tut belong to
Anti-Fascist People's Freedom League
action filter_type
action find
entity Tin Tut
relation member of political party
type political organization
['Tin Tut', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Tin_Tut property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q574639
P159
Q56061
USER
Which administrative territory is the HQ of that political organization ?
(Q574639,P159,c(Q56061))
action filter_type
action find
entity Q574639
relation P159
type Q56061
['Q574639', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q574639 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Anti-Fascist People's Freedom League
action filter_type
action find
entity Anti-Fascist People's Freedom League
relation headquarters location
type administrative territorial entity
["Anti-Fascist People's Freedom League", 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Anti-Fascist_People's_Freedom_League property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37995
SYSTEM
Yangon
Q37995
(Q574639,P159,c(Q56061))
action filter_type
action find
entity Q574639
relation P159
type Q56061
[ANSWER] is the HQ of that political organization
['Q574639', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q574639 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Yangon
Yangon is the HQ of that political organization
Yangon
action filter_type
action find
entity Anti-Fascist People's Freedom League
relation headquarters location
type administrative territorial entity
["Anti-Fascist People's Freedom League", 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Anti-Fascist_People's_Freedom_League property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q37995 Q569279
P17
Q15617994
USER
Is Yangon present in Vollmersweiler ?
(Q37995,P17,Q569279)
action is_in
entity Q569279
action find
entity Q37995
relation P17
['Q37995', 'P17', 'Q569279']
ASK WHERE { resource:Q37995 property:P17 resource:Q569279 }
Yangon Vollmersweiler
action is_in
entity Vollmersweiler
action find
entity Yangon
relation country
['Yangon', 'country', 'Vollmersweiler']
ASK WHERE { resource:Yangon property:country resource:Vollmersweiler }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q37995,P17,Q569279)
action is_in
entity Q569279
action find
entity Q37995
relation P17
[ANSWER]
['Q37995', 'P17', 'Q569279']
ASK WHERE { resource:Q37995 property:P17 resource:Q569279 }
No
action is_in
entity Vollmersweiler
action find
entity Yangon
relation country
['Yangon', 'country', 'Vollmersweiler']
ASK WHERE { resource:Yangon property:country resource:Vollmersweiler }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P1142
Q1047113
USER
Which special field does Republican Party believe in ?
(Q29468,P1142,c(Q1047113))
action filter_type
action find
entity Q29468
relation P1142
type Q1047113
['Q29468', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q29468 property:P1142 ?x . ?x rdf:type ontology:Q1047113 }
Republican Party
action filter_type
action find
entity Republican Party
relation political ideology
type special field
['Republican Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:Republican_Party property:political_ideology ?x . ?x rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
(Q29468,P1142,c(Q1047113))
action filter_type
action find
entity Q29468
relation P1142
type Q1047113
Republican Party believes in [ANSWER]
['Q29468', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q29468 property:P1142 ?x . ?x rdf:type ontology:Q1047113 }
conservatism
Republican Party believes in conservatism
conservatism
action filter_type
action find
entity Republican Party
relation political ideology
type special field
['Republican Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:Republican_Party property:political_ideology ?x . ?x rdf:type ontology:special_field }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2613567
Q1047113
USER
And how about Liberal Democratic Party?
(Q2613567,P1142,c(Q1047113))
action filter_type
action find
entity Q2613567
relation P1142
type Q1047113
['Q2613567', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?u WHERE { resource:Q2613567 property:P1142 ?u . ?u rdf:type ontology:Q1047113 }
Liberal Democratic Party
action filter_type
action find
entity Liberal Democratic Party
relation political ideology
type special field
['Liberal Democratic Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?u WHERE { resource:Liberal_Democratic_Party property:political_ideology ?u . ?u rdf:type ontology:special_field }
[]
special field
Q6216
SYSTEM
liberalism
Q6216
(Q2613567,P1142,c(Q1047113))
action filter_type
action find
entity Q2613567
relation P1142
type Q1047113
[ANSWER]
['Q2613567', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?u WHERE { resource:Q2613567 property:P1142 ?u . ?u rdf:type ontology:Q1047113 }
liberalism
liberalism
action filter_type
action find
entity Liberal Democratic Party
relation political ideology
type special field
['Liberal Democratic Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?u WHERE { resource:Liberal_Democratic_Party property:political_ideology ?u . ?u rdf:type ontology:special_field }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1047113 Q1914636 Q618779
USER
Which special fields are atmost 2 activities or awards a component of ?
(c(Q1914636)|c(Q618779),P361,c(Q1047113))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1914636
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q618779
value 2
[[{'concept': 'Q1914636'}, {'concept': 'Q618779'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1914636 ) ( ontology:Q618779 ) } } GROUP BY ?j } . FILTER ( ?p <= 2 ) }
action atmost
action union
action find_reverse_tuple_counts
relation part of
type special field
type activity
action find_reverse_tuple_counts
relation part of
type special field
type award
value 2
[[{'concept': 'activity'}, {'concept': 'award'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:activity ) ( ontology:award ) } } GROUP BY ?j } . FILTER ( ?p <= 2 ) }
[]
special field activity award
Q207011 Q35395 Q614304
SYSTEM
neuroscience, phonetics, pharmacy
Q614304 Q539690 Q2964004 Q794605 Q128406 Q21198 Q5891 Q7208 Q60195 Q745328 Q170978 Q193463 Q186083 Q1071 Q131505 Q1483649 Q4117183 Q394 Q211500 Q960543 Q81009 Q123028 Q105650 Q327092 Q208217 Q7754 Q83042 Q40821 Q10384 Q162555 Q1061219 Q631286 Q77604 Q837863 Q77590 Q7922 Q2116549 Q37732 Q1335366 Q454812 Q7867 Q11351 Q2901245 Q775325 Q199655 Q382995 Q428691 Q34178 Q10379 Q461262 Q4917288 Q2861470 Q161437 Q80006 Q1066186 Q201486 Q80083 Q145903 Q131089 Q207434 Q3853781 Q9053037 Q1331392 Q33521 Q441 Q1221899 Q5284418 Q2043282 Q460162 Q162606 Q11180 Q180165 Q35395 Q126552 Q13420675 Q165650 Q760348 Q852732 Q628764 Q1138244 Q12128 Q1660187 Q207011 Q2728012 Q160039 Q1601482 Q11397 Q23498 Q193544 Q164204 Q489119 Q170201 Q504033 Q141495 Q23404 Q1049976 Q12016129 Q52106 Q200253
(c(Q1914636)|c(Q618779),P361,c(Q1047113))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1914636
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q618779
value 2
[ANSWERS] are atmost 2 activities or awards a component of
[[{'concept': 'Q1914636'}, {'concept': 'Q618779'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1914636 ) ( ontology:Q618779 ) } } GROUP BY ?j } . FILTER ( ?p <= 2 ) }
pharmacy angiology thoracic surgery biblical studies pharmacology computer science philosophy pathology semiotics mathematical statistics robotics continuum mechanics vexillology geography esotericism behaviour therapy Open Biomedical Ontologies metrology pneumatics theatre studies rhetoric pediatrics urology biomedical engineering literary science mathematical analysis neurology surgery geriatrics oncology telecommunications engineering numismatics radiology pure mathematics civil engineering pedagogy science of journalism demography neuroendocrinology forensic medicine psychiatry 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 botany gynaecology obstetrics business administration museology endocrinology internal medicine mechatronics engineering phonetics business informatics library and information science media studies eye surgery proof theory Occupational medicine phytosociology dentistry film studies neuroscience neurobiology econometrics anthropology of Religion classical mechanics archaeology music theory musicology Hellenic studies veterinary medicine oral and maxillofacial surgery mathematical optimization anthropology transplantology hydrodynamics biogeography traditional Chinese medicine
Neuroscience, phonetics and pharmacy are atmost 2 activities or awards a component of
neuroscience phonetics pharmacy
action atmost
action union
action find_reverse_tuple_counts
relation part of
type special field
type activity
action find_reverse_tuple_counts
relation part of
type special field
type award
value 2
[[{'concept': 'activity'}, {'concept': 'award'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:activity ) ( ontology:award ) } } GROUP BY ?j } . FILTER ( ?p <= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q372370 Q35395
P361
Q1047113
USER
Which special fields are phonetics or Knight's Cross a portion of ?
OR((Q35395,P361,c(Q1047113)), (Q372370,P361,c(Q1047113)))
action filter_type
action union
action find
entity Q35395
relation P361
action find
entity Q372370
relation P361
type Q1047113
{'OR': [['Q35395', 'P361', {'concept': 'Q1047113'}], ['Q372370', 'P361', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q35395 property:P361 ?d } UNION { resource:Q372370 property:P361 ?d } } . ?d rdf:type ontology:Q1047113 }
Knight's Cross phonetics
action filter_type
action union
action find
entity phonetics
relation part of
action find
entity Knight's Cross
relation part of
type special field
{'OR': [['phonetics', 'part of', {'concept': 'special field'}], ["Knight's Cross", 'part of', {'concept': 'special field'}]]}
SELECT DISTINCT ?d WHERE { { { resource:phonetics property:part_of ?d } UNION { resource:Knight's_Cross property:part_of ?d } } . ?d rdf:type ontology:special_field }
[]
special field
Q207011 Q461262
SYSTEM
neuroscience, Phaleristics
Q207011 Q461262
OR((Q35395,P361,c(Q1047113)), (Q372370,P361,c(Q1047113)))
action filter_type
action union
action find
entity Q35395
relation P361
action find
entity Q372370
relation P361
type Q1047113
[ANSWERS] are phonetics or Knight's Cross a portion of
{'OR': [['Q35395', 'P361', {'concept': 'Q1047113'}], ['Q372370', 'P361', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q35395 property:P361 ?d } UNION { resource:Q372370 property:P361 ?d } } . ?d rdf:type ontology:Q1047113 }
neuroscience Phaleristics
Neuroscience and Phaleristics are phonetics or Knight's Cross a portion of
neuroscience Phaleristics
action filter_type
action union
action find
entity phonetics
relation part of
action find
entity Knight's Cross
relation part of
type special field
{'OR': [['phonetics', 'part of', {'concept': 'special field'}], ["Knight's Cross", 'part of', {'concept': 'special field'}]]}
SELECT DISTINCT ?d WHERE { { { resource:phonetics property:part_of ?d } UNION { resource:Knight's_Cross property:part_of ?d } } . ?d rdf:type ontology:special_field }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1138244
P361
Q1047113 Q234460 Q271669
USER
Which special fields are around the same number of texts and landforms a portion of as phytosociology ?
(c(Q234460)|c(Q271669),P361,c(Q1047113))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q234460
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q1138244
relation P361
type Q234460
type Q271669
[[{'concept': 'Q234460'}, {'concept': 'Q271669'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P361 resource:Q1138244 . { VALUES ( ?u ) { ( ontology:Q234460 ) ( ontology:Q271669 ) } . ?x rdf:type ?u } } } . FILTER ( ?p = ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?v WHERE { VALUES ( ?j ) { ( ontology:Q234460 ) ( ontology:Q271669 ) } . ?c rdf:type ?j } GROUP BY ?v } }
phytosociology
action approx
action union
action find_reverse_tuple_counts
relation part of
type special field
type text
action find_reverse_tuple_counts
relation part of
type special field
type landform
action count
action filter_multi_types
action find_reverse
entity phytosociology
relation part of
type text
type landform
[[{'concept': 'text'}, {'concept': 'landform'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:part_of resource:phytosociology . { VALUES ( ?u ) { ( ontology:text ) ( ontology:landform ) } . ?x rdf:type ?u } } } . FILTER ( ?p = ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?v WHERE { VALUES ( ?j ) { ( ontology:text ) ( ontology:landform ) } . ?c rdf:type ?j } GROUP BY ?v } }
[]
special field text landform
Q207011 Q35395 Q614304
SYSTEM
neuroscience, phonetics, pharmacy
Q614304 Q539690 Q2964004 Q794605 Q128406 Q21198 Q5891 Q7208 Q60195 Q745328 Q170978 Q193463 Q186083 Q1071 Q131505 Q1483649 Q4117183 Q394 Q211500 Q960543 Q81009 Q123028 Q105650 Q327092 Q208217 Q7754 Q83042 Q40821 Q10384 Q162555 Q1061219 Q631286 Q77604 Q837863 Q77590 Q7922 Q2116549 Q37732 Q1335366 Q454812 Q7867 Q11351 Q2901245 Q775325 Q199655 Q382995 Q428691 Q34178 Q10379 Q461262 Q4917288 Q2861470 Q161437 Q80006 Q1066186 Q201486 Q80083 Q145903 Q131089 Q207434 Q3853781 Q9053037 Q1331392 Q33521 Q441 Q1221899 Q5284418 Q2043282 Q460162 Q162606 Q11180 Q180165 Q35395 Q126552 Q13420675 Q165650 Q760348 Q852732 Q628764 Q1138244 Q12128 Q1660187 Q207011 Q2728012 Q160039 Q1601482 Q11397 Q164204 Q489119 Q170201 Q504033 Q141495 Q23404 Q1049976 Q12016129 Q52106 Q200253
(c(Q234460)|c(Q271669),P361,c(Q1047113))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q234460
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q1138244
relation P361
type Q234460
type Q271669
[ANSWERS] are around the same number of texts and landforms a portion of as phytosociology
[[{'concept': 'Q234460'}, {'concept': 'Q271669'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P361 resource:Q1138244 . { VALUES ( ?u ) { ( ontology:Q234460 ) ( ontology:Q271669 ) } . ?x rdf:type ?u } } } . FILTER ( ?p = ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?v WHERE { VALUES ( ?j ) { ( ontology:Q234460 ) ( ontology:Q271669 ) } . ?c rdf:type ?j } GROUP BY ?v } }
pharmacy angiology thoracic surgery biblical studies pharmacology computer science philosophy pathology semiotics mathematical statistics robotics continuum mechanics vexillology geography esotericism behaviour therapy Open Biomedical Ontologies metrology pneumatics theatre studies rhetoric pediatrics urology biomedical engineering literary science mathematical analysis neurology surgery geriatrics oncology telecommunications engineering numismatics radiology pure mathematics civil engineering pedagogy science of journalism demography neuroendocrinology forensic medicine psychiatry 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 botany gynaecology obstetrics business administration museology endocrinology internal medicine mechatronics engineering phonetics business informatics library and information science media studies eye surgery proof theory Occupational medicine phytosociology dentistry film studies neuroscience neurobiology econometrics anthropology of Religion classical mechanics musicology Hellenic studies veterinary medicine oral and maxillofacial surgery mathematical optimization anthropology transplantology hydrodynamics biogeography traditional Chinese medicine
Neuroscience, phonetics and pharmacy are around the same number of texts and landforms a portion of as phytosociology
neuroscience phonetics pharmacy
action approx
action union
action find_reverse_tuple_counts
relation part of
type special field
type text
action find_reverse_tuple_counts
relation part of
type special field
type landform
action count
action filter_multi_types
action find_reverse
entity phytosociology
relation part of
type text
type landform
[[{'concept': 'text'}, {'concept': 'landform'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:part_of resource:phytosociology . { VALUES ( ?u ) { ( ontology:text ) ( ontology:landform ) } . ?x rdf:type ?u } } } . FILTER ( ?p = ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?v WHERE { VALUES ( ?j ) { ( ontology:text ) ( ontology:landform ) } . ?c rdf:type ?j } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q128406
P361
Q1047113 Q234460 Q271669
USER
And how about pharmacology?
(c(Q234460)|c(Q271669),P361,c(Q1047113))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q234460
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q128406
relation P361
type Q234460
type Q271669
[[{'concept': 'Q234460'}, {'concept': 'Q271669'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:P361 ?h . ?h rdf:type ontology:Q1047113 . ?f rdf:type ontology:Q234460 } UNION { ?f property:P361 ?h . ?h rdf:type ontology:Q1047113 . ?f rdf:type ontology:Q271669 } } GROUP BY ?h } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P361 resource:Q128406 . { { ?e rdf:type ontology:Q234460 } UNION { ?e rdf:type ontology:Q271669 } } } } }
pharmacology
action approx
action union
action find_reverse_tuple_counts
relation part of
type special field
type text
action find_reverse_tuple_counts
relation part of
type special field
type landform
action count
action filter_multi_types
action find_reverse
entity pharmacology
relation part of
type text
type landform
[[{'concept': 'text'}, {'concept': 'landform'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:part_of ?h . ?h rdf:type ontology:special_field . ?f rdf:type ontology:text } UNION { ?f property:part_of ?h . ?h rdf:type ontology:special_field . ?f rdf:type ontology:landform } } GROUP BY ?h } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:part_of resource:pharmacology . { { ?e rdf:type ontology:text } UNION { ?e rdf:type ontology:landform } } } } }
[]
special field text landform
Q207011 Q35395 Q614304
SYSTEM
neuroscience, phonetics, pharmacy
Q614304 Q539690 Q2964004 Q794605 Q128406 Q21198 Q5891 Q7208 Q60195 Q745328 Q170978 Q193463 Q186083 Q1071 Q131505 Q1483649 Q4117183 Q394 Q211500 Q960543 Q81009 Q123028 Q105650 Q327092 Q208217 Q7754 Q83042 Q40821 Q10384 Q162555 Q1061219 Q631286 Q77604 Q837863 Q77590 Q7922 Q2116549 Q37732 Q1335366 Q454812 Q7867 Q11351 Q2901245 Q775325 Q199655 Q382995 Q428691 Q34178 Q10379 Q461262 Q4917288 Q2861470 Q161437 Q80006 Q1066186 Q201486 Q80083 Q145903 Q131089 Q207434 Q3853781 Q9053037 Q1331392 Q33521 Q441 Q1221899 Q5284418 Q2043282 Q460162 Q162606 Q11180 Q180165 Q35395 Q126552 Q13420675 Q165650 Q760348 Q852732 Q628764 Q1138244 Q12128 Q1660187 Q207011 Q2728012 Q160039 Q1601482 Q11397 Q164204 Q489119 Q170201 Q504033 Q141495 Q23404 Q1049976 Q12016129 Q52106 Q200253
(c(Q234460)|c(Q271669),P361,c(Q1047113))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q234460
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q271669
action count
action filter_multi_types
action find_reverse
entity Q128406
relation P361
type Q234460
type Q271669
[ANSWERS]
[[{'concept': 'Q234460'}, {'concept': 'Q271669'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:P361 ?h . ?h rdf:type ontology:Q1047113 . ?f rdf:type ontology:Q234460 } UNION { ?f property:P361 ?h . ?h rdf:type ontology:Q1047113 . ?f rdf:type ontology:Q271669 } } GROUP BY ?h } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P361 resource:Q128406 . { { ?e rdf:type ontology:Q234460 } UNION { ?e rdf:type ontology:Q271669 } } } } }
pharmacy angiology thoracic surgery biblical studies pharmacology computer science philosophy pathology semiotics mathematical statistics robotics continuum mechanics vexillology geography esotericism behaviour therapy Open Biomedical Ontologies metrology pneumatics theatre studies rhetoric pediatrics urology biomedical engineering literary science mathematical analysis neurology surgery geriatrics oncology telecommunications engineering numismatics radiology pure mathematics civil engineering pedagogy science of journalism demography neuroendocrinology forensic medicine psychiatry 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 botany gynaecology obstetrics business administration museology endocrinology internal medicine mechatronics engineering phonetics business informatics library and information science media studies eye surgery proof theory Occupational medicine phytosociology dentistry film studies neuroscience neurobiology econometrics anthropology of Religion classical mechanics musicology Hellenic studies veterinary medicine oral and maxillofacial surgery mathematical optimization anthropology transplantology hydrodynamics biogeography traditional Chinese medicine
neuroscience phonetics pharmacy
action approx
action union
action find_reverse_tuple_counts
relation part of
type special field
type text
action find_reverse_tuple_counts
relation part of
type special field
type landform
action count
action filter_multi_types
action find_reverse
entity pharmacology
relation part of
type text
type landform
[[{'concept': 'text'}, {'concept': 'landform'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?d ) WHERE { { ?f property:part_of ?h . ?h rdf:type ontology:special_field . ?f rdf:type ontology:text } UNION { ?f property:part_of ?h . ?h rdf:type ontology:special_field . ?f rdf:type ontology:landform } } GROUP BY ?h } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:part_of resource:pharmacology . { { ?e rdf:type ontology:text } UNION { ?e rdf:type ontology:landform } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2964004
P361
Q1047113 Q1047113
USER
How many special fields are greater number of special fields a component of than thoracic surgery ?
(c(Q1047113),P361,c(Q1047113))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
action count
action filter_type
action find
entity Q2964004
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P361 ?q . ?q rdf:type ontology:Q1047113 . ?h rdf:type ontology:Q1047113 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q2964004 property:P361 ?t . ?t rdf:type ontology:Q1047113 } } . FILTER ( ?m > ?l ) }
thoracic surgery
action count
action greater
action find_reverse_tuple_counts
relation part of
type special field
type special field
action count
action filter_type
action find
entity thoracic surgery
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:part_of ?q . ?q rdf:type ontology:special_field . ?h rdf:type ontology:special_field } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:thoracic_surgery property:part_of ?t . ?t rdf:type ontology:special_field } } . FILTER ( ?m > ?l ) }
[]
special field special field
SYSTEM
18
Q539690 Q128406 Q21198 Q5891 Q1071 Q123028 Q208217 Q83042 Q40821 Q7867 Q441 Q2043282 Q162606 Q11180 Q165650 Q207011 Q23498 Q23404
(c(Q1047113),P361,c(Q1047113))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
action count
action filter_type
action find
entity Q2964004
relation P361
type Q1047113
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P361 ?q . ?q rdf:type ontology:Q1047113 . ?h rdf:type ontology:Q1047113 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q2964004 property:P361 ?t . ?t rdf:type ontology:Q1047113 } } . FILTER ( ?m > ?l ) }
angiology pharmacology computer science philosophy geography pediatrics literary science neurology surgery psychiatry botany business administration endocrinology internal medicine media studies neuroscience archaeology anthropology
18
action count
action greater
action find_reverse_tuple_counts
relation part of
type special field
type special field
action count
action filter_type
action find
entity thoracic surgery
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:part_of ?q . ?q rdf:type ontology:special_field . ?h rdf:type ontology:special_field } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:thoracic_surgery property:part_of ?t . ?t rdf:type ontology:special_field } } . FILTER ( ?m > ?l ) }
[]