Simple Question (Direct)
Simple Question
Q1581122
P106
Q12737077
USER
What are the job of Hans Ludwig ?
(Q1581122,P106,c(Q12737077))
action filter_type
action find
entity Q1581122
relation P106
type Q12737077
['Q1581122', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1581122 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Hans Ludwig
action filter_type
action find
entity Hans Ludwig
relation occupation
type occupation
['Hans Ludwig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Ludwig property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q13638192 Q2640827 Q1622272
SYSTEM
obstetrician, gynaecologist, university teacher
Q13638192 Q2640827 Q1622272
(Q1581122,P106,c(Q12737077))
action filter_type
action find
entity Q1581122
relation P106
type Q12737077
The job of Hans Ludwig are a [ANSWERS]
['Q1581122', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1581122 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
obstetrician gynaecologist university teacher
The job of Hans Ludwig are a obstetrician, gynaecologist and university teacher
obstetrician gynaecologist university teacher
action filter_type
action find
entity Hans Ludwig
relation occupation
type occupation
['Hans Ludwig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Ludwig property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581122
P27
Q1048835
USER
Which political territory is the native country of Hans Ludwig ?
(Q1581122,P27,c(Q1048835))
action filter_type
action find
entity Q1581122
relation P27
type Q1048835
['Q1581122', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1581122 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Hans Ludwig
action filter_type
action find
entity Hans Ludwig
relation country of citizenship
type political territorial entity
['Hans Ludwig', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hans_Ludwig property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1581122,P27,c(Q1048835))
action filter_type
action find
entity Q1581122
relation P27
type Q1048835
The [ANSWER] is the native country of Hans Ludwig
['Q1581122', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q1581122 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Hans Ludwig
Germany
action filter_type
action find
entity Hans Ludwig
relation country of citizenship
type political territorial entity
['Hans Ludwig', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hans_Ludwig property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q4249169 Q35
P47
Q1048835
USER
Does Kuriachivka and Denmark share a border with Q183 ?
(Q183,P47,Q4249169) (Q183,P47,Q35)
action is_in
entity Q183
action intersection
action find_reverse
entity Q4249169
relation P47
action find_reverse
entity Q35
relation P47
['Q183', 'P47', 'Q4249169'] ['Q183', 'P47', 'Q35']
ASK WHERE { resource:Q183 property:P47 resource:Q35 . resource:Q183 property:P47 resource:Q4249169 }
Germany Kuriachivka Denmark
action is_in
entity Germany
action intersection
action find_reverse
entity Kuriachivka
relation shares border with
action find_reverse
entity Denmark
relation shares border with
['Germany', 'shares border with', 'Kuriachivka'] ['Germany', 'shares border with', 'Denmark']
ASK WHERE { resource:Germany property:shares_border_with resource:Denmark . resource:Germany property:shares_border_with resource:Kuriachivka }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q183,P47,Q4249169) (Q183,P47,Q35)
action is_in
entity Q183
action intersection
action find_reverse
entity Q4249169
relation P47
action find_reverse
entity Q35
relation P47
[ANSWER]
['Q183', 'P47', 'Q4249169'] ['Q183', 'P47', 'Q35']
ASK WHERE { resource:Q183 property:P47 resource:Q35 . resource:Q183 property:P47 resource:Q4249169 }
NO and YES respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Kuriachivka
relation shares border with
action find_reverse
entity Denmark
relation shares border with
['Germany', 'shares border with', 'Kuriachivka'] ['Germany', 'shares border with', 'Denmark']
ASK WHERE { resource:Germany property:shares_border_with resource:Denmark . resource:Germany property:shares_border_with resource:Kuriachivka }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1581122 Q158275
P19
Q515
USER
Was Hans Ludwig born at Varnsdorf ?
(Q1581122,P19,Q158275)
action is_in
entity Q158275
action find
entity Q1581122
relation P19
['Q1581122', 'P19', 'Q158275']
ASK WHERE { resource:Q1581122 property:P19 resource:Q158275 }
Hans Ludwig Varnsdorf
action is_in
entity Varnsdorf
action find
entity Hans Ludwig
relation place of birth
['Hans Ludwig', 'place of birth', 'Varnsdorf']
ASK WHERE { resource:Hans_Ludwig property:place_of_birth resource:Varnsdorf }
[]
city
SYSTEM
YES
(Q1581122,P19,Q158275)
action is_in
entity Q158275
action find
entity Q1581122
relation P19
[ANSWER]
['Q1581122', 'P19', 'Q158275']
ASK WHERE { resource:Q1581122 property:P19 resource:Q158275 }
Yes
action is_in
entity Varnsdorf
action find
entity Hans Ludwig
relation place of birth
['Hans Ludwig', 'place of birth', 'Varnsdorf']
ASK WHERE { resource:Hans_Ludwig property:place_of_birth resource:Varnsdorf }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q916
P530
Q15617994
USER
Does Angola have diplomatic relationships with Germany ?
(Q183,P530,Q916)
action is_in
entity Q916
action find
entity Q183
relation P530
['Q183', 'P530', 'Q916']
ASK WHERE { resource:Q183 property:P530 resource:Q916 }
Germany Angola
action is_in
entity Angola
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Angola']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Angola }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q916)
action is_in
entity Q916
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q916']
ASK WHERE { resource:Q183 property:P530 resource:Q916 }
Yes
action is_in
entity Angola
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Angola']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Angola }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13638192
P425
Q1047113
USER
Who is associated with the field of occupation obstetrician ?
(Q13638192,P425,c(Q1047113))
action filter_type
action find
entity Q13638192
relation P425
type Q1047113
['Q13638192', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q13638192 property:P425 ?i . ?i rdf:type ontology:Q1047113 }
obstetrician
action filter_type
action find
entity obstetrician
relation field of this occupation
type special field
['obstetrician', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:obstetrician property:field_of_this_occupation ?i . ?i rdf:type ontology:special_field }
[]
special field
Q5284418
SYSTEM
obstetrics
Q5284418
(Q13638192,P425,c(Q1047113))
action filter_type
action find
entity Q13638192
relation P425
type Q1047113
S [ANSWER] is associated with the field of occupation obstetrician
['Q13638192', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?i WHERE { resource:Q13638192 property:P425 ?i . ?i rdf:type ontology:Q1047113 }
obstetrics
S obstetrics is associated with the field of occupation obstetrician
obstetrics
action filter_type
action find
entity obstetrician
relation field of this occupation
type special field
['obstetrician', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?i WHERE { resource:obstetrician property:field_of_this_occupation ?i . ?i rdf:type ontology:special_field }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q23404
P361
Q1047113 Q1047113
USER
Which special fields are around the same number of special fields a portion of as anthropology ?
(c(Q1047113),P361,c(Q1047113))
action approx
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
action count
action filter_type
action find
entity Q23404
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q23404 property:P361 ?a . ?a rdf:type ontology:Q1047113 } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P361 ?n . ?n rdf:type ontology:Q1047113 . ?l rdf:type ontology:Q1047113 } GROUP BY ?n } }
anthropology
action approx
action find_reverse_tuple_counts
relation part of
type special field
type special field
action count
action filter_type
action find
entity anthropology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:anthropology property:part_of ?a . ?a rdf:type ontology:special_field } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:part_of ?n . ?n rdf:type ontology:special_field . ?l rdf:type ontology:special_field } GROUP BY ?n } }
[]
special field special field
Q207011 Q539690 Q128406
SYSTEM
neuroscience, angiology, pharmacology
Q539690 Q128406 Q5891 Q1071 Q208217 Q83042 Q7867 Q441 Q2043282 Q162606 Q165650 Q207011 Q23498 Q23404
(c(Q1047113),P361,c(Q1047113))
action approx
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
action count
action filter_type
action find
entity Q23404
relation P361
type Q1047113
[ANSWERS] are around the same number of special fields a portion of as anthropology
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:Q23404 property:P361 ?a . ?a rdf:type ontology:Q1047113 } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P361 ?n . ?n rdf:type ontology:Q1047113 . ?l rdf:type ontology:Q1047113 } GROUP BY ?n } }
angiology pharmacology philosophy geography literary science neurology psychiatry botany business administration endocrinology media studies neuroscience archaeology anthropology
Neuroscience, angiology and pharmacology are around the same number of special fields a portion of as anthropology
neuroscience angiology pharmacology
action approx
action find_reverse_tuple_counts
relation part of
type special field
type special field
action count
action filter_type
action find
entity anthropology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?g = ?i ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) WHERE { resource:anthropology property:part_of ?a . ?a rdf:type ontology:special_field } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:part_of ?n . ?n rdf:type ontology:special_field . ?l rdf:type ontology:special_field } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q745328
P361
Q1047113 Q1047113
USER
And how about mathematical statistics?
(c(Q1047113),P361,c(Q1047113))
action approx
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
action count
action filter_type
action find
entity Q745328
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P361 ?m . ?m rdf:type ontology:Q1047113 . ?a rdf:type ontology:Q1047113 } GROUP BY ?m } . FILTER ( ?q = ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q745328 property:P361 ?v . ?v rdf:type ontology:Q1047113 } } }
mathematical statistics
action approx
action find_reverse_tuple_counts
relation part of
type special field
type special field
action count
action filter_type
action find
entity mathematical statistics
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:part_of ?m . ?m rdf:type ontology:special_field . ?a rdf:type ontology:special_field } GROUP BY ?m } . FILTER ( ?q = ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:mathematical_statistics property:part_of ?v . ?v rdf:type ontology:special_field } } }
[]
special field special field
Q35395 Q614304 Q200253
SYSTEM
phonetics, pharmacy, traditional Chinese medicine
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 approx
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q1047113
action count
action filter_type
action find
entity Q745328
relation P361
type Q1047113
[ANSWERS]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P361 ?m . ?m rdf:type ontology:Q1047113 . ?a rdf:type ontology:Q1047113 } GROUP BY ?m } . FILTER ( ?q = ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q745328 property:P361 ?v . ?v rdf:type ontology:Q1047113 } } }
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
phonetics pharmacy traditional Chinese medicine
action approx
action find_reverse_tuple_counts
relation part of
type special field
type special field
action count
action filter_type
action find
entity mathematical statistics
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'special field'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:part_of ?m . ?m rdf:type ontology:special_field . ?a rdf:type ontology:special_field } GROUP BY ?m } . FILTER ( ?q = ?r ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:mathematical_statistics property:part_of ?v . ?v rdf:type ontology:special_field } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P122
Q151885 Q1307214 Q1048835
USER
Which political territories have min number of concepts and forms of government as the form of government ?
(c(Q1048835),P122,c(Q151885)|c(Q1307214))
action argmin
action union
action find_tuple_counts
relation P122
type Q1048835
type Q151885
action find_tuple_counts
relation P122
type Q1048835
type Q1307214
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q151885'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { { ?y property:P122 ?z . ?y rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q151885 } UNION { ?y property:P122 ?z . ?y rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1307214 } } GROUP BY ?y } } . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?u ) { ( ontology:Q151885 ) ( ontology:Q1307214 ) } . ?f rdf:type ?u } GROUP BY ?t } . FILTER ( ?g = ?k ) }
action argmin
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type concept
action find_tuple_counts
relation basic form of government
type political territorial entity
type form of government
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'concept'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { { ?y property:basic_form_of_government ?z . ?y rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:concept } UNION { ?y property:basic_form_of_government ?z . ?y rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:form_of_government } } GROUP BY ?y } } . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?u ) { ( ontology:concept ) ( ontology:form_of_government ) } . ?f rdf:type ?u } GROUP BY ?t } . FILTER ( ?g = ?k ) }
[]
concept form of government political territorial entity
Q183 Q35 Q40
SYSTEM
Germany, Denmark, Austria
Q183 Q601252 Q193619 Q1059046 Q763 Q664 Q641138 Q785 Q35 Q38610 Q79965 Q223793 Q2594990 Q757 Q468378 Q40 Q151938 Q31747 Q129286
(c(Q1048835),P122,c(Q151885)|c(Q1307214))
action argmin
action union
action find_tuple_counts
relation P122
type Q1048835
type Q151885
action find_tuple_counts
relation P122
type Q1048835
type Q1307214
[ANSWERS] have min number of concepts and forms of government as the form of government
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q151885'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { { ?y property:P122 ?z . ?y rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q151885 } UNION { ?y property:P122 ?z . ?y rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q1307214 } } GROUP BY ?y } } . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?u ) { ( ontology:Q151885 ) ( ontology:Q1307214 ) } . ?f rdf:type ?u } GROUP BY ?t } . FILTER ( ?g = ?k ) }
Germany Banovina of Croatia Union of South Africa Merkit people Saint Kitts and Nevis New Zealand Duchy of Cleves Jersey Denmark Dominion of Newfoundland Golden Horde Kingdom of Etruria Dominion of New Zealand Saint Vincent and the Grenadines County of Hoya Austria Neutral Moresnet Irish Free State British Raj
Germany, Denmark and Austria have min number of concepts and forms of government as the form of government
Germany Denmark Austria
action argmin
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type concept
action find_tuple_counts
relation basic form of government
type political territorial entity
type form of government
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'concept'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?k ) { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { { ?y property:basic_form_of_government ?z . ?y rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:concept } UNION { ?y property:basic_form_of_government ?z . ?y rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:form_of_government } } GROUP BY ?y } } . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?g ) WHERE { VALUES ( ?u ) { ( ontology:concept ) ( ontology:form_of_government ) } . ?f rdf:type ?u } GROUP BY ?t } . FILTER ( ?g = ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q1047113 Q2342494 Q838948
USER
Which special fields were the main subjects of approximately 2 collectables or works of art 's work ?
(c(Q2342494)|c(Q838948),P921,c(Q1047113))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q1047113
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q1047113
type Q838948
value 2
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?f WHERE { { ?f rdf:type ontology:Q1047113 . ?s rdf:type ontology:Q2342494 . ?s property:P921 ?f } UNION { ?s property:P921 ?f . ?f rdf:type ontology:Q1047113 . ?s rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?n = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type special field
type collectable
action find_reverse_tuple_counts
relation main subject
type special field
type work of art
value 2
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?f WHERE { { ?f rdf:type ontology:special_field . ?s rdf:type ontology:collectable . ?s property:main_subject ?f } UNION { ?s property:main_subject ?f . ?f rdf:type ontology:special_field . ?s rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?n = 2 ) }
[]
special field collectable work of art
Q207011 Q1299608 Q35395
SYSTEM
neuroscience, iron law of oligarchy, phonetics
Q2374463 Q864601 Q26237583 Q83042 Q1461602 Q376680 Q27133094 Q165650 Q161437 Q275969 Q45320 Q128406 Q80006 Q1138244 Q2861470 Q6216 Q7208 Q60195 Q201486 Q80083 Q7218 Q842433 Q207011 Q14565201 Q7922 Q10379 Q186083 Q435608 Q5774812 Q37732 Q898674 Q460162 Q35395 Q23498 Q614304 Q184631 Q12128 Q9053037 Q1071 Q7867 Q164204 Q48803 Q7215 Q11351 Q79896 Q170201 Q615057 Q21198 Q80015 Q216685 Q17397651 Q7754 Q199655 Q23404 Q1569011 Q120569 Q207434 Q631286 Q40821 Q34178 Q81009 Q123028 Q173113 Q105650 Q1299608 Q327092 Q650276 Q77590 Q351870 Q180502 Q603441 Q170978 Q200253 Q33521
(c(Q2342494)|c(Q838948),P921,c(Q1047113))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q1047113
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q1047113
type Q838948
value 2
[ANSWERS] were the main subjects of approximately 2 collectables or works of art 's work
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?f WHERE { { ?f rdf:type ontology:Q1047113 . ?s rdf:type ontology:Q2342494 . ?s property:P921 ?f } UNION { ?s property:P921 ?f . ?f rdf:type ontology:Q1047113 . ?s rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?n = 2 ) }
data science biomedicine ethnopolitics neurology computer-supported cooperative work traumatology vaccine development media studies ophthalmology crowdsourcing hyperthymesia pharmacology computer programming phytosociology emergency medicine liberalism pathology semiotics history of science humanities toxicology orbital mechanics neuroscience altmetrics pedagogy cardiology vexillology Ancient History History and philosophy of science demography neonatology museology phonetics archaeology pharmacy ballistics dentistry spatial planning geography psychiatry musicology horticulture virology organic chemistry separation of powers veterinary medicine anaesthesiology computer science Obstetrics gynecology orthopedics supersonic aerodynamics mathematical analysis library science anthropology Urban history gastroenterology human–computer interaction numismatics surgery theology rhetoric pediatrics agronomy urology iron law of oligarchy biomedical engineering Mariology civil engineering reproductive medicine parasitology bibliometrics robotics traditional Chinese medicine applied mathematics
Neuroscience, iron law of oligarchy and phonetics were the main subjects of approximately 2 collectables or works of art 's work
neuroscience iron law of oligarchy phonetics
action approx
action union
action find_reverse_tuple_counts
relation main subject
type special field
type collectable
action find_reverse_tuple_counts
relation main subject
type special field
type work of art
value 2
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) ?f WHERE { { ?f rdf:type ontology:special_field . ?s rdf:type ontology:collectable . ?s property:main_subject ?f } UNION { ?s property:main_subject ?f . ?f rdf:type ontology:special_field . ?s rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?n = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q9332 Q1047113
USER
How many behaviors are atleast 1 special field a part of ?
(c(Q1047113),P361,c(Q9332))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q9332
type Q1047113
value 1
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P361 ?z . ?z rdf:type ontology:Q9332 . ?m rdf:type ontology:Q1047113 } GROUP BY ?z } . FILTER ( ?p >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation part of
type behavior
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:part_of ?z . ?z rdf:type ontology:behavior . ?m rdf:type ontology:special_field } GROUP BY ?z } . FILTER ( ?p >= 1 ) }
[]
behavior special field
SYSTEM
2
Q8434 Q336
(c(Q1047113),P361,c(Q9332))
action count
action atleast
action find_reverse_tuple_counts
relation P361
type Q9332
type Q1047113
value 1
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P361 ?z . ?z rdf:type ontology:Q9332 . ?m rdf:type ontology:Q1047113 } GROUP BY ?z } . FILTER ( ?p >= 1 ) }
education science
2
action count
action atleast
action find_reverse_tuple_counts
relation part of
type behavior
type special field
value 1
[{'concept': 'special field'}, 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:part_of ?z . ?z rdf:type ontology:behavior . ?m rdf:type ontology:special_field } GROUP BY ?z } . FILTER ( ?p >= 1 ) }
[]