Simple Question (Direct)
Simple Question
Q21124796
P702
Q863908
USER
Which nucleic acid sequence encodes Zinc finger and SCAN domain-containing protein 18 ?
(Q21124796,P702,c(Q863908))
action filter_type
action find
entity Q21124796
relation P702
type Q863908
['Q21124796', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { resource:Q21124796 property:P702 ?x . ?x rdf:type ontology:Q863908 }
Zinc finger and SCAN domain-containing protein 18
action filter_type
action find
entity Zinc finger and SCAN domain-containing protein 18
relation encoded by
type nucleic acid sequence
['Zinc finger and SCAN domain-containing protein 18', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { resource:Zinc_finger_and_SCAN_domain-containing_protein_18 property:encoded_by ?x . ?x rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18045891
SYSTEM
ZSCAN18
Q18045891
(Q21124796,P702,c(Q863908))
action filter_type
action find
entity Q21124796
relation P702
type Q863908
[ANSWER]
['Q21124796', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { resource:Q21124796 property:P702 ?x . ?x rdf:type ontology:Q863908 }
ZSCAN18
ZSCAN18
action filter_type
action find
entity Zinc finger and SCAN domain-containing protein 18
relation encoded by
type nucleic acid sequence
['Zinc finger and SCAN domain-containing protein 18', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { resource:Zinc_finger_and_SCAN_domain-containing_protein_18 property:encoded_by ?x . ?x rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21124796
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q18045891)
action filter_type
action find_reverse
entity Q21124796
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q18045891']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q21124796 . ?i rdf:type ontology:Q863908 }
Zinc finger and SCAN domain-containing protein 18
action filter_type
action find_reverse
entity Zinc finger and SCAN domain-containing protein 18
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'ZSCAN18']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:Zinc_finger_and_SCAN_domain-containing_protein_18 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18045891
SYSTEM
ZSCAN18
Q18045891
(c(Q863908),P688,Q18045891)
action filter_type
action find_reverse
entity Q21124796
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q18045891']
SELECT DISTINCT ?i WHERE { ?i property:P688 resource:Q21124796 . ?i rdf:type ontology:Q863908 }
ZSCAN18
ZSCAN18
action filter_type
action find_reverse
entity Zinc finger and SCAN domain-containing protein 18
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'ZSCAN18']
SELECT DISTINCT ?i WHERE { ?i property:encodes resource:Zinc_finger_and_SCAN_domain-containing_protein_18 . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P684
Q863908
USER
How many nucleic acid sequences are an orthologous gene for that nucleic acid sequence ?
(Q18045891,P684,c(Q863908))
action count
action filter_type
action find
entity Q18045891
relation P684
type Q863908
['Q18045891', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q18045891 property:P684 ?y . ?y rdf:type ontology:Q863908 }
action count
action filter_type
action find
entity ZSCAN18
relation ortholog
type nucleic acid sequence
['ZSCAN18', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:ZSCAN18 property:ortholog ?y . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18298133
(Q18045891,P684,c(Q863908))
action count
action filter_type
action find
entity Q18045891
relation P684
type Q863908
[ANSWER]
['Q18045891', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q18045891 property:P684 ?y . ?y rdf:type ontology:Q863908 }
Zscan18
1
action count
action filter_type
action find
entity ZSCAN18
relation ortholog
type nucleic acid sequence
['ZSCAN18', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:ZSCAN18 property:ortholog ?y . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18045891
P703
Q16521
USER
Where is ZSCAN18 found ?
(Q18045891,P703,c(Q16521))
action filter_type
action find
entity Q18045891
relation P703
type Q16521
['Q18045891', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q18045891 property:P703 ?s . ?s rdf:type ontology:Q16521 }
ZSCAN18
action filter_type
action find
entity ZSCAN18
relation found in taxon
type taxon
['ZSCAN18', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:ZSCAN18 property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18045891,P703,c(Q16521))
action filter_type
action find
entity Q18045891
relation P703
type Q16521
[ANSWER]
['Q18045891', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q18045891 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Homo sapiens
Homo sapiens
action filter_type
action find
entity ZSCAN18
relation found in taxon
type taxon
['ZSCAN18', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:ZSCAN18 property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24379491
Q16521
USER
And what about Atl3?
(Q24379491,P703,c(Q16521))
action filter_type
action find
entity Q24379491
relation P703
type Q16521
['Q24379491', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { resource:Q24379491 property:P703 ?j . ?j rdf:type ontology:Q16521 }
Atl3
action filter_type
action find
entity Atl3
relation found in taxon
type taxon
['Atl3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { resource:Atl3 property:found_in_taxon ?j . ?j rdf:type ontology:taxon }
[]
taxon
Q184224
SYSTEM
brown rat
Q184224
(Q24379491,P703,c(Q16521))
action filter_type
action find
entity Q24379491
relation P703
type Q16521
[ANSWER]
['Q24379491', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { resource:Q24379491 property:P703 ?j . ?j rdf:type ontology:Q16521 }
brown rat
brown rat
action filter_type
action find
entity Atl3
relation found in taxon
type taxon
['Atl3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { resource:Atl3 property:found_in_taxon ?j . ?j rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21984095 Q21124796
P680
Q44424
USER
Which chemical bonds represents the molecular function of Zinc finger and SCAN domain-containing protein 18 or Arylsulfatase B ?
OR((Q21124796,P680,c(Q44424)), (Q21984095,P680,c(Q44424)))
action filter_type
action union
action find
entity Q21124796
relation P680
action find
entity Q21984095
relation P680
type Q44424
{'OR': [['Q21124796', 'P680', {'concept': 'Q44424'}], ['Q21984095', 'P680', {'concept': 'Q44424'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44424 . { VALUES ( ?u ) { ( resource:Q21984095 ) ( resource:Q21124796 ) } . ?u property:P680 ?k } }
Arylsulfatase B Zinc finger and SCAN domain-containing protein 18
action filter_type
action union
action find
entity Zinc finger and SCAN domain-containing protein 18
relation molecular function
action find
entity Arylsulfatase B
relation molecular function
type chemical bond
{'OR': [['Zinc finger and SCAN domain-containing protein 18', 'molecular function', {'concept': 'chemical bond'}], ['Arylsulfatase B', 'molecular function', {'concept': 'chemical bond'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:chemical_bond . { VALUES ( ?u ) { ( resource:Arylsulfatase_B ) ( resource:Zinc_finger_and_SCAN_domain-containing_protein_18 ) } . ?u property:molecular_function ?k } }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
OR((Q21124796,P680,c(Q44424)), (Q21984095,P680,c(Q44424)))
action filter_type
action union
action find
entity Q21124796
relation P680
action find
entity Q21984095
relation P680
type Q44424
[ANSWER]
{'OR': [['Q21124796', 'P680', {'concept': 'Q44424'}], ['Q21984095', 'P680', {'concept': 'Q44424'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44424 . { VALUES ( ?u ) { ( resource:Q21984095 ) ( resource:Q21124796 ) } . ?u property:P680 ?k } }
metal ion binding
metal ion binding
action filter_type
action union
action find
entity Zinc finger and SCAN domain-containing protein 18
relation molecular function
action find
entity Arylsulfatase B
relation molecular function
type chemical bond
{'OR': [['Zinc finger and SCAN domain-containing protein 18', 'molecular function', {'concept': 'chemical bond'}], ['Arylsulfatase B', 'molecular function', {'concept': 'chemical bond'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:chemical_bond . { VALUES ( ?u ) { ( resource:Arylsulfatase_B ) ( resource:Zinc_finger_and_SCAN_domain-containing_protein_18 ) } . ?u property:molecular_function ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q16521 Q11060274 Q2342494
USER
How many taxons are expressed in around 1 prints or collectables ?
(c(Q11060274)|c(Q2342494),P180,c(Q16521))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?p ) WHERE { { ?j property:P180 ?u . ?j rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q16521 } UNION { ?j property:P180 ?u . ?j rdf:type ontology:Q11060274 . ?u rdf:type ontology:Q16521 } } GROUP BY ?u } . FILTER ( ?p = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type print
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
value 1
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?p ) WHERE { { ?j property:depicts ?u . ?j rdf:type ontology:collectable . ?u rdf:type ontology:taxon } UNION { ?j property:depicts ?u . ?j rdf:type ontology:print . ?u rdf:type ontology:taxon } } GROUP BY ?u } . FILTER ( ?p = 1 ) }
[]
taxon print collectable
SYSTEM
14
Q10872 Q780 Q787 Q25403 Q19707 Q4712487 Q756 Q40152 Q2984138 Q10811 Q186101 Q146 Q26899 Q37083
(c(Q11060274)|c(Q2342494),P180,c(Q16521))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
value 1
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?p ) WHERE { { ?j property:P180 ?u . ?j rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q16521 } UNION { ?j property:P180 ?u . ?j rdf:type ontology:Q11060274 . ?u rdf:type ontology:Q16521 } } GROUP BY ?u } . FILTER ( ?p = 1 ) }
Archaea chicken domestic pig Fagus donkey Albion plant Octopoda pigeon reptile aquatic plant cat Aesculus hippocastanum Olea europaea
14
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type print
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
value 1
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?p ) WHERE { { ?j property:depicts ?u . ?j rdf:type ontology:collectable . ?u rdf:type ontology:taxon } UNION { ?j property:depicts ?u . ?j rdf:type ontology:print . ?u rdf:type ontology:taxon } } GROUP BY ?u } . FILTER ( ?p = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15978631
P689
Q2057971
USER
Which health problem afflicts Homo sapiens ?
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?d WHERE { ?d property:P689 resource:Q15978631 . ?d rdf:type ontology:Q2057971 }
Homo sapiens
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?d WHERE { ?d property:afflicts resource:Homo_sapiens . ?d rdf:type ontology:health_problem }
[]
health problem
Q403463
SYSTEM
Aicardi syndrome
Q403463
(c(Q2057971),P689,Q15978631)
action filter_type
action find_reverse
entity Q15978631
relation P689
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P689', 'Q15978631']
SELECT DISTINCT ?d WHERE { ?d property:P689 resource:Q15978631 . ?d rdf:type ontology:Q2057971 }
Aicardi syndrome
Aicardi syndrome
action filter_type
action find_reverse
entity Homo sapiens
relation afflicts
type health problem
[{'concept': 'health problem'}, 'afflicts', 'Homo sapiens']
SELECT DISTINCT ?d WHERE { ?d property:afflicts resource:Homo_sapiens . ?d rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q403463
P1995
Q1047113
USER
Which special field is the medical specality concerned with that health problem ?
(Q403463,P1995,c(Q1047113))
action filter_type
action find
entity Q403463
relation P1995
type Q1047113
['Q403463', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q403463 property:P1995 ?n . ?n rdf:type ontology:Q1047113 }
Aicardi syndrome
action filter_type
action find
entity Aicardi syndrome
relation medical specialty
type special field
['Aicardi syndrome', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:Aicardi_syndrome property:medical_specialty ?n . ?n rdf:type ontology:special_field }
[]
special field
Q1071953
SYSTEM
medical genetics
Q1071953
(Q403463,P1995,c(Q1047113))
action filter_type
action find
entity Q403463
relation P1995
type Q1047113
[ANSWER]
['Q403463', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { resource:Q403463 property:P1995 ?n . ?n rdf:type ontology:Q1047113 }
medical genetics
medical genetics
action filter_type
action find
entity Aicardi syndrome
relation medical specialty
type special field
['Aicardi syndrome', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { resource:Aicardi_syndrome property:medical_specialty ?n . ?n rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1071953 Q2280106
P1995
Q2057971
USER
Does Branchio-oto-renal syndrome have that special field as the associated medical proficiency ?
(Q2280106,P1995,Q1071953)
action is_in
entity Q1071953
action find
entity Q2280106
relation P1995
['Q2280106', 'P1995', 'Q1071953']
ASK WHERE { resource:Q2280106 property:P1995 resource:Q1071953 }
medical genetics Branchio-oto-renal syndrome
action is_in
entity medical genetics
action find
entity Branchio-oto-renal syndrome
relation medical specialty
['Branchio-oto-renal syndrome', 'medical specialty', 'medical genetics']
ASK WHERE { resource:Branchio-oto-renal_syndrome property:medical_specialty resource:medical_genetics }
[]
health problem
SYSTEM
YES
(Q2280106,P1995,Q1071953)
action is_in
entity Q1071953
action find
entity Q2280106
relation P1995
[ANSWER]
['Q2280106', 'P1995', 'Q1071953']
ASK WHERE { resource:Q2280106 property:P1995 resource:Q1071953 }
Yes
action is_in
entity medical genetics
action find
entity Branchio-oto-renal syndrome
relation medical specialty
['Branchio-oto-renal syndrome', 'medical specialty', 'medical genetics']
ASK WHERE { resource:Branchio-oto-renal_syndrome property:medical_specialty resource:medical_genetics }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q52139
P361
Q336 Q1047113
USER
Which sciences are greater number of special fields a part of than climatology ?
(c(Q1047113),P361,c(Q336))
action greater
action find_reverse_tuple_counts
relation P361
type Q336
type Q1047113
action count
action filter_type
action find
entity Q52139
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P361 ?j . ?t rdf:type ontology:Q1047113 . ?j rdf:type ontology:Q336 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q1047113 . resource:Q52139 property:P361 ?c } } . FILTER ( ?e > ?y ) }
climatology
action greater
action find_reverse_tuple_counts
relation part of
type science
type special field
action count
action filter_type
action find
entity climatology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'science'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:part_of ?j . ?t rdf:type ontology:special_field . ?j rdf:type ontology:science } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:special_field . resource:climatology property:part_of ?c } } . FILTER ( ?e > ?y ) }
[]
science special field
Q13636890 Q431 Q52107
SYSTEM
algorithmics, zoology, physical geography
Q431 Q2329 Q39286 Q13636890 Q11190 Q52107 Q133805
(c(Q1047113),P361,c(Q336))
action greater
action find_reverse_tuple_counts
relation P361
type Q336
type Q1047113
action count
action filter_type
action find
entity Q52139
relation P361
type Q1047113
[ANSWERS]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P361 ?j . ?t rdf:type ontology:Q1047113 . ?j rdf:type ontology:Q336 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:Q1047113 . resource:Q52139 property:P361 ?c } } . FILTER ( ?e > ?y ) }
zoology chemistry entomology algorithmics medicine physical geography epidemiology
algorithmics zoology physical geography
action greater
action find_reverse_tuple_counts
relation part of
type science
type special field
action count
action filter_type
action find
entity climatology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'science'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:part_of ?j . ?t rdf:type ontology:special_field . ?j rdf:type ontology:science } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ontology:special_field . resource:climatology property:part_of ?c } } . FILTER ( ?e > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q44703
P361
Q336 Q1047113
USER
And what about ornithology?
(c(Q1047113),P361,c(Q336))
action greater
action find_reverse_tuple_counts
relation P361
type Q336
type Q1047113
action count
action filter_type
action find
entity Q44703
relation P361
type Q1047113
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q1047113 . ?m rdf:type ontology:Q336 . ?q property:P361 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q44703 property:P361 ?x . ?x rdf:type ontology:Q1047113 } } . FILTER ( ?a > ?p ) }
ornithology
action greater
action find_reverse_tuple_counts
relation part of
type science
type special field
action count
action filter_type
action find
entity ornithology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:special_field . ?m rdf:type ontology:science . ?q property:part_of ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:ornithology property:part_of ?x . ?x rdf:type ontology:special_field } } . FILTER ( ?a > ?p ) }
[]
science special field
Q13636890 Q431 Q52107
SYSTEM
algorithmics, zoology, physical geography
Q431 Q2329 Q39286 Q13636890 Q11190 Q52107 Q133805
(c(Q1047113),P361,c(Q336))
action greater
action find_reverse_tuple_counts
relation P361
type Q336
type Q1047113
action count
action filter_type
action find
entity Q44703
relation P361
type Q1047113
[ANSWERS]
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:Q1047113 . ?m rdf:type ontology:Q336 . ?q property:P361 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q44703 property:P361 ?x . ?x rdf:type ontology:Q1047113 } } . FILTER ( ?a > ?p ) }
zoology chemistry entomology algorithmics medicine physical geography epidemiology
algorithmics zoology physical geography
action greater
action find_reverse_tuple_counts
relation part of
type science
type special field
action count
action filter_type
action find
entity ornithology
relation part of
type special field
[{'concept': 'special field'}, 'part of', {'concept': 'science'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?a ) WHERE { ?q rdf:type ontology:special_field . ?m rdf:type ontology:science . ?q property:part_of ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:ornithology property:part_of ?x . ?x rdf:type ontology:special_field } } . FILTER ( ?a > ?p ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16548493
Q2057971
USER
And also tell me about History of depression?
(Q16548493,P361,c(Q2057971))
action count
action filter_type
action find
entity Q16548493
relation P361
type Q2057971
['Q16548493', 'P361', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:Q2057971 . resource:Q16548493 property:P361 ?g }
History of depression
action count
action filter_type
action find
entity History of depression
relation part of
type health problem
['History of depression', 'part of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:health_problem . resource:History_of_depression property:part_of ?g }
[]
health problem
SYSTEM
1
(Q16548493,P361,c(Q2057971))
action count
action filter_type
action find
entity Q16548493
relation P361
type Q2057971
[ANSWER]
['Q16548493', 'P361', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:Q2057971 . resource:Q16548493 property:P361 ?g }
1
action count
action filter_type
action find
entity History of depression
relation part of
type health problem
['History of depression', 'part of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:health_problem . resource:History_of_depression property:part_of ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2246483
P805
Q336 Q3249551
USER
How many processes are main subject of approximately the same number of sciences as Lubrication method ?
(c(Q3249551),P805,c(Q336))
action count
action approx
action find_tuple_counts
relation P805
type Q3249551
type Q336
action count
action filter_type
action find
entity Q2246483
relation P805
type Q3249551
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q2246483 property:P805 ?a . ?a rdf:type ontology:Q3249551 } } . FILTER ( ?m = ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h rdf:type ontology:Q3249551 . ?b rdf:type ontology:Q336 . ?h property:P805 ?b } GROUP BY ?h } }
Lubrication method
action count
action approx
action find_tuple_counts
relation subject of
type process
type science
action count
action filter_type
action find
entity Lubrication method
relation subject of
type process
[{'concept': 'process'}, 'subject of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Lubrication_method property:subject_of ?a . ?a rdf:type ontology:process } } . FILTER ( ?m = ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h rdf:type ontology:process . ?b rdf:type ontology:science . ?h property:subject_of ?b } GROUP BY ?h } }
[]
science process
SYSTEM
3
Q244945 Q2246483 Q189101
(c(Q3249551),P805,c(Q336))
action count
action approx
action find_tuple_counts
relation P805
type Q3249551
type Q336
action count
action filter_type
action find
entity Q2246483
relation P805
type Q3249551
[ANSWER]
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q2246483 property:P805 ?a . ?a rdf:type ontology:Q3249551 } } . FILTER ( ?m = ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h rdf:type ontology:Q3249551 . ?b rdf:type ontology:Q336 . ?h property:P805 ?b } GROUP BY ?h } }
intercropping Lubrication method Cell proliferation
3
action count
action approx
action find_tuple_counts
relation subject of
type process
type science
action count
action filter_type
action find
entity Lubrication method
relation subject of
type process
[{'concept': 'process'}, 'subject of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Lubrication_method property:subject_of ?a . ?a rdf:type ontology:process } } . FILTER ( ?m = ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { ?h rdf:type ontology:process . ?b rdf:type ontology:science . ?h property:subject_of ?b } GROUP BY ?h } }
[]