Simple Question (Direct)
Simple Question
Q21102417
P682
Q3249551
USER
Which process is Clarin-1 involved in ?
(Q21102417,P682,c(Q3249551))
action filter_type
action find
entity Q21102417
relation P682
type Q3249551
['Q21102417', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?h WHERE { resource:Q21102417 property:P682 ?h . ?h rdf:type ontology:Q3249551 }
Clarin-1
action filter_type
action find
entity Clarin-1
relation biological process
type process
['Clarin-1', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?h WHERE { resource:Clarin-1 property:biological_process ?h . ?h rdf:type ontology:process }
[]
process
Q14859560
SYSTEM
response to stimulus
Q14859560
(Q21102417,P682,c(Q3249551))
action filter_type
action find
entity Q21102417
relation P682
type Q3249551
Clarin-1 is in [ANSWER]
['Q21102417', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?h WHERE { resource:Q21102417 property:P682 ?h . ?h rdf:type ontology:Q3249551 }
response to stimulus
Clarin-1 is in response to stimulus
response to stimulus
action filter_type
action find
entity Clarin-1
relation biological process
type process
['Clarin-1', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?h WHERE { resource:Clarin-1 property:biological_process ?h . ?h rdf:type ontology:process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21102417
P703
Q16521
USER
Where is Clarin-1 found ?
(Q21102417,P703,c(Q16521))
action filter_type
action find
entity Q21102417
relation P703
type Q16521
['Q21102417', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?z WHERE { resource:Q21102417 property:P703 ?z . ?z rdf:type ontology:Q16521 }
Clarin-1
action filter_type
action find
entity Clarin-1
relation found in taxon
type taxon
['Clarin-1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?z WHERE { resource:Clarin-1 property:found_in_taxon ?z . ?z rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21102417,P703,c(Q16521))
action filter_type
action find
entity Q21102417
relation P703
type Q16521
Clarin-1 is found in [ANSWER]
['Q21102417', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?z WHERE { resource:Q21102417 property:P703 ?z . ?z rdf:type ontology:Q16521 }
Homo sapiens
Clarin-1 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Clarin-1
relation found in taxon
type taxon
['Clarin-1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?z WHERE { resource:Clarin-1 property:found_in_taxon ?z . ?z rdf:type ontology:taxon }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15978631 Q1043
P427
Q3343211
USER
Is Carl Linnaeus the taxonomic type of Homo sapiens ?
(Q15978631,P427,Q1043)
action is_in
entity Q1043
action find
entity Q15978631
relation P427
['Q15978631', 'P427', 'Q1043']
ASK WHERE { resource:Q15978631 property:P427 resource:Q1043 }
Homo sapiens Carl Linnaeus
action is_in
entity Carl Linnaeus
action find
entity Homo sapiens
relation taxonomic type
['Homo sapiens', 'taxonomic type', 'Carl Linnaeus']
ASK WHERE { resource:Homo_sapiens property:taxonomic_type resource:Carl_Linnaeus }
[]
zoological nomenclature
SYSTEM
YES
(Q15978631,P427,Q1043)
action is_in
entity Q1043
action find
entity Q15978631
relation P427
[ANSWER]
['Q15978631', 'P427', 'Q1043']
ASK WHERE { resource:Q15978631 property:P427 resource:Q1043 }
Yes
action is_in
entity Carl Linnaeus
action find
entity Homo sapiens
relation taxonomic type
['Homo sapiens', 'taxonomic type', 'Carl Linnaeus']
ASK WHERE { resource:Homo_sapiens property:taxonomic_type resource:Carl_Linnaeus }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P101
Q3249551 Q43229 Q502895
USER
Which processes are the area of min number of organizations and people ?
(c(Q43229)|c(Q502895),P101,c(Q3249551))
action argmin
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:P101 ?d . ?d rdf:type ontology:Q3249551 . ?y rdf:type ontology:Q43229 } UNION { ?d rdf:type ontology:Q3249551 . ?y rdf:type ontology:Q502895 . ?y property:P101 ?d } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?j WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } GROUP BY ?j } . FILTER ( ?q = ?l ) }
action argmin
action union
action find_reverse_tuple_counts
relation field of work
type process
type organization
action find_reverse_tuple_counts
relation field of work
type process
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:field_of_work ?d . ?d rdf:type ontology:process . ?y rdf:type ontology:organization } UNION { ?d rdf:type ontology:process . ?y rdf:type ontology:common_name . ?y property:field_of_work ?d } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?j WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:organization ) ( ontology:common_name ) } } GROUP BY ?j } . FILTER ( ?q = ?l ) }
[]
process organization common name
Q8366 Q852186 Q4986607
SYSTEM
algorithm, mushroom poisoning, Building services engineering
Q273499 Q852186 Q898912 Q82264 Q8366 Q750843 Q173514 Q38695 Q1152135 Q4986607
(c(Q43229)|c(Q502895),P101,c(Q3249551))
action argmin
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
[ANSWERS] are the area of min number of organizations and people
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:P101 ?d . ?d rdf:type ontology:Q3249551 . ?y rdf:type ontology:Q43229 } UNION { ?d rdf:type ontology:Q3249551 . ?y rdf:type ontology:Q502895 . ?y property:P101 ?d } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?j WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } GROUP BY ?j } . FILTER ( ?q = ?l ) }
chemical synthesis mushroom poisoning Coupling reaction catalysis algorithm information processing food preservation cooking unsupervised learning Building services engineering
Algorithm, mushroom poisoning and Building services engineering are the area of min number of organizations and people
algorithm mushroom poisoning Building services engineering
action argmin
action union
action find_reverse_tuple_counts
relation field of work
type process
type organization
action find_reverse_tuple_counts
relation field of work
type process
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { { ?y property:field_of_work ?d . ?d rdf:type ontology:process . ?y rdf:type ontology:organization } UNION { ?d rdf:type ontology:process . ?y rdf:type ontology:common_name . ?y property:field_of_work ?d } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?j WHERE { ?x rdf:type ?b . VALUES ( ?b ) { ( ontology:organization ) ( ontology:common_name ) } } GROUP BY ?j } . FILTER ( ?q = ?l ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q336
USER
How many sciences are that process a part of ?
(Q8366,P361,c(Q336))
['Q8366', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q8366 property:P361 ?z . ?z rdf:type ontology:Q336 }
['algorithm', 'part of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:algorithm property:part_of ?z . ?z rdf:type ontology:science }
[]
science
Quantitative|Count|Single entity type|Clarification
Q852186
SYSTEM
Did you mean mushroom poisoning ?
(Q8366,P361,c(Q336)) (Q852186,P361,c(Q336)) (Q4986607,P361,c(Q336))
[ANSWER]
['Q8366', 'P361', {'concept': 'Q336'}] ['Q852186', 'P361', {'concept': 'Q336'}] ['Q4986607', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q8366 property:P361 ?z . ?z rdf:type ontology:Q336 }
Did you mean mushroom poisoning ?
mushroom poisoning
['algorithm', 'part of', {'concept': 'science'}] ['mushroom poisoning', 'part of', {'concept': 'science'}] ['Building services engineering', 'part of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:algorithm property:part_of ?z . ?z rdf:type ontology:science }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant algorithm. Could you tell me the answer for that?
(Q8366,P361,c(Q336))
Q8366
['Q8366', 'P361', {'concept': 'Q336'}]
['algorithm', 'part of', {'concept': 'science'}]
[]
SYSTEM
2
Q13636890 Q395
(Q8366,P361,c(Q336))
[ANSWER]
['Q8366', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q8366 property:P361 ?z . ?z rdf:type ontology:Q336 }
algorithmics mathematics
2
['algorithm', 'part of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:algorithm property:part_of ?z . ?z rdf:type ontology:science }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q227552
Q336
USER
And what about preparation?
(Q227552,P361,c(Q336))
action count
action filter_type
action find
entity Q227552
relation P361
type Q336
['Q227552', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q227552 property:P361 ?u . ?u rdf:type ontology:Q336 }
preparation
action count
action filter_type
action find
entity preparation
relation part of
type science
['preparation', 'part of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:preparation property:part_of ?u . ?u rdf:type ontology:science }
[]
science
SYSTEM
1
(Q227552,P361,c(Q336))
action count
action filter_type
action find
entity Q227552
relation P361
type Q336
[ANSWER]
['Q227552', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:Q227552 property:P361 ?u . ?u rdf:type ontology:Q336 }
1
action count
action filter_type
action find
entity preparation
relation part of
type science
['preparation', 'part of', {'concept': 'science'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { resource:preparation property:part_of ?u . ?u rdf:type ontology:science }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q227552
P361
Q5962346 Q3249551
USER
How many classification schemes and processes are preparation a part of ?
(Q227552,P361,c(Q5962346)) (Q227552,P361,c(Q3249551))
action count
action union
action filter_type
action find
entity Q227552
relation P361
type Q5962346
action filter_type
action find
entity Q227552
relation P361
type Q3249551
['Q227552', 'P361', {'concept': 'Q5962346'}] ['Q227552', 'P361', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { ?o rdf:type ontology:Q5962346 . resource:Q227552 property:P361 ?o } UNION { resource:Q227552 property:P361 ?o . ?o rdf:type ontology:Q3249551 } }
preparation
action count
action union
action filter_type
action find
entity preparation
relation part of
type classification scheme
action filter_type
action find
entity preparation
relation part of
type process
['preparation', 'part of', {'concept': 'classification scheme'}] ['preparation', 'part of', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { ?o rdf:type ontology:classification_scheme . resource:preparation property:part_of ?o } UNION { resource:preparation property:part_of ?o . ?o rdf:type ontology:process } }
[]
classification scheme process
SYSTEM
1 classification schemes and 1 processes
Q38695 Q349479
(Q227552,P361,c(Q5962346)) (Q227552,P361,c(Q3249551))
action count
action union
action filter_type
action find
entity Q227552
relation P361
type Q5962346
action filter_type
action find
entity Q227552
relation P361
type Q3249551
[ANSWER]
['Q227552', 'P361', {'concept': 'Q5962346'}] ['Q227552', 'P361', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { ?o rdf:type ontology:Q5962346 . resource:Q227552 property:P361 ?o } UNION { resource:Q227552 property:P361 ?o . ?o rdf:type ontology:Q3249551 } }
cooking building industry
1 classification schemes and 1 processes
action count
action union
action filter_type
action find
entity preparation
relation part of
type classification scheme
action filter_type
action find
entity preparation
relation part of
type process
['preparation', 'part of', {'concept': 'classification scheme'}] ['preparation', 'part of', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { ?o rdf:type ontology:classification_scheme . resource:preparation property:part_of ?o } UNION { resource:preparation property:part_of ?o . ?o rdf:type ontology:process } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q227552
P361
Q5962346
USER
How many classification schemes are preparation a part of ?
(Q227552,P361,c(Q5962346))
action count
action filter_type
action find
entity Q227552
relation P361
type Q5962346
['Q227552', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q227552 property:P361 ?b . ?b rdf:type ontology:Q5962346 }
preparation
action count
action filter_type
action find
entity preparation
relation part of
type classification scheme
['preparation', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:preparation property:part_of ?b . ?b rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
Q349479
(Q227552,P361,c(Q5962346))
action count
action filter_type
action find
entity Q227552
relation P361
type Q5962346
[ANSWER]
['Q227552', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q227552 property:P361 ?b . ?b rdf:type ontology:Q5962346 }
building industry
1
action count
action filter_type
action find
entity preparation
relation part of
type classification scheme
['preparation', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:preparation property:part_of ?b . ?b rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7160903
P361
Q5962346
USER
And also tell me about Pei language?
(Q7160903,P361,c(Q5962346))
action count
action filter_type
action find
entity Q7160903
relation P361
type Q5962346
['Q7160903', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q7160903 property:P361 ?h . ?h rdf:type ontology:Q5962346 }
Pei language
action count
action filter_type
action find
entity Pei language
relation part of
type classification scheme
['Pei language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Pei_language property:part_of ?h . ?h rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
Q3508772
(Q7160903,P361,c(Q5962346))
action count
action filter_type
action find
entity Q7160903
relation P361
type Q5962346
[ANSWER]
['Q7160903', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Q7160903 property:P361 ?h . ?h rdf:type ontology:Q5962346 }
Sepik languages
1
action count
action filter_type
action find
entity Pei language
relation part of
type classification scheme
['Pei language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { resource:Pei_language property:part_of ?h . ?h rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q8201
Q5962346
USER
And how about Chinese characters?
(Q8201,P361,c(Q5962346))
action count
action filter_type
action find
entity Q8201
relation P361
type Q5962346
['Q8201', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q8201 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
Chinese characters
action count
action filter_type
action find
entity Chinese characters
relation part of
type classification scheme
['Chinese characters', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Chinese_characters property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
(Q8201,P361,c(Q5962346))
action count
action filter_type
action find
entity Q8201
relation P361
type Q5962346
[ANSWER]
['Q8201', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Q8201 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
1
action count
action filter_type
action find
entity Chinese characters
relation part of
type classification scheme
['Chinese characters', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { resource:Chinese_characters property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11634
P101
Q3249551 Q502895 Q43229
USER
Which processes are the fields of work of approximately the same number of people and organizations as art of sculpture ?
(c(Q502895)|c(Q43229),P101,c(Q3249551))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q11634
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } . ?y property:P101 resource:Q11634 } } . FILTER ( ?t = ?l ) }
art of sculpture
action approx
action union
action find_reverse_tuple_counts
relation field of work
type process
type common name
action find_reverse_tuple_counts
relation field of work
type process
type organization
action count
action filter_multi_types
action find_reverse
entity art of sculpture
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:organization ) ( ontology:common_name ) } } . ?y property:field_of_work resource:art_of_sculpture } } . FILTER ( ?t = ?l ) }
[]
process common name organization
Q11634 Q11629
SYSTEM
art of sculpture, art of painting
Q11634 Q11629
(c(Q502895)|c(Q43229),P101,c(Q3249551))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q11634
relation P101
type Q502895
type Q43229
[ANSWERS] are the fields of work of approximately the same number of people and organizations as art of sculpture
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } } . ?y property:P101 resource:Q11634 } } . FILTER ( ?t = ?l ) }
art of sculpture art of painting
Art of sculpture and art of painting are the fields of work of approximately the same number of people and organizations as art of sculpture
art of sculpture art of painting
action approx
action union
action find_reverse_tuple_counts
relation field of work
type process
type common name
action find_reverse_tuple_counts
relation field of work
type process
type organization
action count
action filter_multi_types
action find_reverse
entity art of sculpture
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:organization ) ( ontology:common_name ) } } . ?y property:field_of_work resource:art_of_sculpture } } . FILTER ( ?t = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4986607
P101
Q3249551 Q502895 Q43229
USER
And what about Building services engineering?
(c(Q502895)|c(Q43229),P101,c(Q3249551))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q4986607
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:P101 ?a . ?a rdf:type ontology:Q3249551 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P101 ?a . ?a rdf:type ontology:Q3249551 . ?t rdf:type ontology:Q43229 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P101 resource:Q4986607 . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q43229 } } } } . FILTER ( ?f = ?o ) }
Building services engineering
action approx
action union
action find_reverse_tuple_counts
relation field of work
type process
type common name
action find_reverse_tuple_counts
relation field of work
type process
type organization
action count
action filter_multi_types
action find_reverse
entity Building services engineering
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:field_of_work ?a . ?a rdf:type ontology:process . ?t rdf:type ontology:common_name } UNION { ?t property:field_of_work ?a . ?a rdf:type ontology:process . ?t rdf:type ontology:organization } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:field_of_work resource:Building_services_engineering . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:organization } } } } . FILTER ( ?f = ?o ) }
[]
process common name organization
Q8366 Q134995 Q852186
SYSTEM
algorithm, bibliography, mushroom poisoning
Q134995 Q253140 Q273499 Q852186 Q898912 Q192275 Q82264 Q8366 Q750843 Q42240 Q1057 Q173514 Q38695 Q1152135 Q1455196 Q4986607
(c(Q502895)|c(Q43229),P101,c(Q3249551))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q4986607
relation P101
type Q502895
type Q43229
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:P101 ?a . ?a rdf:type ontology:Q3249551 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P101 ?a . ?a rdf:type ontology:Q3249551 . ?t rdf:type ontology:Q43229 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P101 resource:Q4986607 . { { ?c rdf:type ontology:Q502895 } UNION { ?c rdf:type ontology:Q43229 } } } } . FILTER ( ?f = ?o ) }
bibliography viticulture chemical synthesis mushroom poisoning Coupling reaction phosphorescence catalysis algorithm information processing research metabolic process food preservation cooking unsupervised learning Language education Building services engineering
algorithm bibliography mushroom poisoning
action approx
action union
action find_reverse_tuple_counts
relation field of work
type process
type common name
action find_reverse_tuple_counts
relation field of work
type process
type organization
action count
action filter_multi_types
action find_reverse
entity Building services engineering
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?f ) WHERE { { ?t property:field_of_work ?a . ?a rdf:type ontology:process . ?t rdf:type ontology:common_name } UNION { ?t property:field_of_work ?a . ?a rdf:type ontology:process . ?t rdf:type ontology:organization } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:field_of_work resource:Building_services_engineering . { { ?c rdf:type ontology:common_name } UNION { ?c rdf:type ontology:organization } } } } . FILTER ( ?f = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q134995
P136
Q2342494
USER
Which collectables as bibliography as their class ?
(c(Q2342494),P136,Q134995)
action filter_type
action find_reverse
entity Q134995
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q134995']
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q134995 . ?c rdf:type ontology:Q2342494 }
bibliography
action filter_type
action find_reverse
entity bibliography
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'bibliography']
SELECT DISTINCT ?c WHERE { ?c property:genre resource:bibliography . ?c rdf:type ontology:collectable }
[]
collectable
Q7722275 Q4546111 Q4791979
SYSTEM
The Checklist of Fantastic Literature, 100 Books by August Derleth, Arkham House: The First 20 Years
Q7722275 Q7785231 Q4546111 Q2083240 Q4791979 Q5447887
(c(Q2342494),P136,Q134995)
action filter_type
action find_reverse
entity Q134995
relation P136
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P136', 'Q134995']
SELECT DISTINCT ?c WHERE { ?c property:P136 resource:Q134995 . ?c rdf:type ontology:Q2342494 }
The Checklist of Fantastic Literature Thirty Years of Arkham House, 1939–69: A History and Bibliography 100 Books by August Derleth Kitāb al-Fihrist Arkham House: The First 20 Years Fighting Fascism in Europe. The World War II Letters of an American Veteran of the Spanish Civil War
The Checklist of Fantastic Literature 100 Books by August Derleth Arkham House: The First 20 Years
action filter_type
action find_reverse
entity bibliography
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'bibliography']
SELECT DISTINCT ?c WHERE { ?c property:genre resource:bibliography . ?c rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4546111
P50
Q502895
USER
Which person authored that collectable ?
(Q4546111,P50,c(Q502895))
action filter_type
action find
entity Q4546111
relation P50
type Q502895
['Q4546111', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q4546111 property:P50 ?b . ?b rdf:type ontology:Q502895 }
100 Books by August Derleth
action filter_type
action find
entity 100 Books by August Derleth
relation author
type common name
['100 Books by August Derleth', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:100_Books_by_August_Derleth property:author ?b . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4546111
SYSTEM
Did you mean 100 Books by August Derleth ?
Q7722275 Q4546111 Q4791979
(Q7722275,P50,c(Q502895)) (Q4546111,P50,c(Q502895)) (Q4791979,P50,c(Q502895))
[ANSWER]
['Q7722275', 'P50', {'concept': 'Q502895'}] ['Q4546111', 'P50', {'concept': 'Q502895'}] ['Q4791979', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q4546111 property:P50 ?b . ?b rdf:type ontology:Q502895 }
The Checklist of Fantastic Literature 100 Books by August Derleth Arkham House: The First 20 Years
Did you mean 100 Books by August Derleth ?
100 Books by August Derleth
['The Checklist of Fantastic Literature', 'author', {'concept': 'common name'}] ['100 Books by August Derleth', 'author', {'concept': 'common name'}] ['Arkham House: The First 20 Years', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:100_Books_by_August_Derleth property:author ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4546111,P50,c(Q502895))
['Q4546111', 'P50', {'concept': 'Q502895'}]
['100 Books by August Derleth', 'author', {'concept': 'common name'}]
[]
Q509002
SYSTEM
August Derleth
Q509002
(Q4546111,P50,c(Q502895))
action filter_type
action find
entity Q4546111
relation P50
type Q502895
[ANSWER] authored that collectable
['Q4546111', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q4546111 property:P50 ?b . ?b rdf:type ontology:Q502895 }
August Derleth
August Derleth authored that collectable
August Derleth
action filter_type
action find
entity 100 Books by August Derleth
relation author
type common name
['100 Books by August Derleth', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:100_Books_by_August_Derleth property:author ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q509002 Q7750955
P50
Q2342494
USER
Does The Memoirs of Solar Pons have that person as its author ?
(Q7750955,P50,Q509002)
action is_in
entity Q509002
action find
entity Q7750955
relation P50
['Q7750955', 'P50', 'Q509002']
ASK WHERE { resource:Q7750955 property:P50 resource:Q509002 }
August Derleth The Memoirs of Solar Pons
action is_in
entity August Derleth
action find
entity The Memoirs of Solar Pons
relation author
['The Memoirs of Solar Pons', 'author', 'August Derleth']
ASK WHERE { resource:The_Memoirs_of_Solar_Pons property:author resource:August_Derleth }
[]
collectable
SYSTEM
YES
(Q7750955,P50,Q509002)
action is_in
entity Q509002
action find
entity Q7750955
relation P50
[ANSWER]
['Q7750955', 'P50', 'Q509002']
ASK WHERE { resource:Q7750955 property:P50 resource:Q509002 }
Yes
action is_in
entity August Derleth
action find
entity The Memoirs of Solar Pons
relation author
['The Memoirs of Solar Pons', 'author', 'August Derleth']
ASK WHERE { resource:The_Memoirs_of_Solar_Pons property:author resource:August_Derleth }
[]