Simple Question (Direct)
Simple Question
Q21767105
P702
Q863908
USER
Which gene encodes recombination protein F    TTHA0264 ?
(Q21767105,P702,c(Q863908))
action filter_type
action find
entity Q21767105
relation P702
type Q863908
['Q21767105', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q21767105 property:P702 ?c . ?c rdf:type ontology:Q863908 }
recombination protein F    TTHA0264
action filter_type
action find
entity recombination protein F    TTHA0264
relation encoded by
type nucleic acid sequence
['recombination protein F    TTHA0264', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:recombination_protein_F____TTHA0264 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21688018
SYSTEM
recombination protein F    TTHA0264
Q21688018
(Q21767105,P702,c(Q863908))
action filter_type
action find
entity Q21767105
relation P702
type Q863908
Recombination protein F TTHA0264 encodes recombination protein F TTHA0264
['Q21767105', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?c WHERE { resource:Q21767105 property:P702 ?c . ?c rdf:type ontology:Q863908 }
recombination protein F    TTHA0264
Recombination protein F TTHA0264 encodes recombination protein F TTHA0264
recombination protein F    TTHA0264
action filter_type
action find
entity recombination protein F    TTHA0264
relation encoded by
type nucleic acid sequence
['recombination protein F    TTHA0264', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?c WHERE { resource:recombination_protein_F____TTHA0264 property:encoded_by ?c . ?c rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21688018
P688
Q181394
USER
Which nutrient is that nucleic acid sequence an encoding of ?
(Q21688018,P688,c(Q181394))
action filter_type
action find
entity Q21688018
relation P688
type Q181394
['Q21688018', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q181394 . resource:Q21688018 property:P688 ?d }
recombination protein F    TTHA0264
action filter_type
action find
entity recombination protein F    TTHA0264
relation encodes
type nutrient
['recombination protein F    TTHA0264', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:nutrient . resource:recombination_protein_F____TTHA0264 property:encodes ?d }
[]
nutrient
Q21767105
SYSTEM
recombination protein F    TTHA0264
Q21767105
(Q21688018,P688,c(Q181394))
action filter_type
action find
entity Q21688018
relation P688
type Q181394
Recombination protein F TTHA0264 is that nucleic acid sequence an encoding of
['Q21688018', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q181394 . resource:Q21688018 property:P688 ?d }
recombination protein F    TTHA0264
Recombination protein F TTHA0264 is that nucleic acid sequence an encoding of
recombination protein F    TTHA0264
action filter_type
action find
entity recombination protein F    TTHA0264
relation encodes
type nutrient
['recombination protein F    TTHA0264', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:nutrient . resource:recombination_protein_F____TTHA0264 property:encodes ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21767105
P703
Q16521
USER
Where is that nutrient found ?
(Q21767105,P703,c(Q16521))
action filter_type
action find
entity Q21767105
relation P703
type Q16521
['Q21767105', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q16521 . resource:Q21767105 property:P703 ?g }
recombination protein F    TTHA0264
action filter_type
action find
entity recombination protein F    TTHA0264
relation found in taxon
type taxon
['recombination protein F    TTHA0264', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:taxon . resource:recombination_protein_F____TTHA0264 property:found_in_taxon ?g }
[]
taxon
Q21065233
SYSTEM
Thermus thermophilus HB8
Q21065233
(Q21767105,P703,c(Q16521))
action filter_type
action find
entity Q21767105
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q21767105', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q16521 . resource:Q21767105 property:P703 ?g }
Thermus thermophilus HB8
That nutrient is found in Thermus thermophilus HB8
Thermus thermophilus HB8
action filter_type
action find
entity recombination protein F    TTHA0264
relation found in taxon
type taxon
['recombination protein F    TTHA0264', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:taxon . resource:recombination_protein_F____TTHA0264 property:found_in_taxon ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4670968
P566
Q82799 Q16521
USER
Which names are a basionyms of lesser number of taxons than Acacia montana ?
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q4670968
relation P566
type Q16521
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P566 ?d . ?d rdf:type ontology:Q82799 . ?b rdf:type ontology:Q16521 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:Q16521 . ?p property:P566 resource:Q4670968 } } . FILTER ( ?s < ?w ) }
Acacia montana
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Acacia montana
relation basionym
type taxon
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:basionym ?d . ?d rdf:type ontology:name . ?b rdf:type ontology:taxon } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:taxon . ?p property:basionym resource:Acacia_montana } } . FILTER ( ?s < ?w ) }
[]
name taxon
Q15629400 Q12954907 Q22915049
SYSTEM
Dimorphotheca ecklonis, Polygonum bistorta, Polianthes michoacana
Q12954907 Q22915049 Q7226458 Q159107 Q157851 Q15250904 Q16484730 Q7170299 Q11099680 Q15629400 Q134609
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q4670968
relation P566
type Q16521
[ANSWERS] are a basionyms of lesser number of taxons than Acacia montana
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P566 ?d . ?d rdf:type ontology:Q82799 . ?b rdf:type ontology:Q16521 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:Q16521 . ?p property:P566 resource:Q4670968 } } . FILTER ( ?s < ?w ) }
Polygonum bistorta Polianthes michoacana Polygonum cespitosum Hieracium aurantiacum Glaux maritima Polygonum manshuriense Abutilon striatum Persicaria affinis Polygonum perfoliatum Dimorphotheca ecklonis Cynara scolymus
Dimorphotheca ecklonis, Polygonum bistorta and Polianthes michoacana are a basionyms of lesser number of taxons than Acacia montana
Dimorphotheca ecklonis Polygonum bistorta Polianthes michoacana
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Acacia montana
relation basionym
type taxon
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:basionym ?d . ?d rdf:type ontology:name . ?b rdf:type ontology:taxon } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p rdf:type ontology:taxon . ?p property:basionym resource:Acacia_montana } } . FILTER ( ?s < ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q17243481
P566
Q82799 Q16521
USER
And what about Rhagodia hastata?
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q17243481
relation P566
type Q82799
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P566 ?n . ?n rdf:type ontology:Q82799 . ?o rdf:type ontology:Q16521 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q82799 . ?q property:P566 resource:Q17243481 } } . FILTER ( ?k < ?m ) }
Rhagodia hastata
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Rhagodia hastata
relation basionym
type name
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:basionym ?n . ?n rdf:type ontology:name . ?o rdf:type ontology:taxon } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:name . ?q property:basionym resource:Rhagodia_hastata } } . FILTER ( ?k < ?m ) }
[]
name taxon
Q15629400 Q12954907 Q22915049
SYSTEM
Dimorphotheca ecklonis, Polygonum bistorta, Polianthes michoacana
Q12954907 Q22915049 Q7226458 Q159107 Q157851 Q15250904 Q16484730 Q7170299 Q11099680 Q15629400 Q134609
(c(Q16521),P566,c(Q82799))
action less
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
action count
action filter_type
action find_reverse
entity Q17243481
relation P566
type Q82799
[ANSWERS]
[{'concept': 'Q16521'}, 'P566', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P566 ?n . ?n rdf:type ontology:Q82799 . ?o rdf:type ontology:Q16521 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q82799 . ?q property:P566 resource:Q17243481 } } . FILTER ( ?k < ?m ) }
Polygonum bistorta Polianthes michoacana Polygonum cespitosum Hieracium aurantiacum Glaux maritima Polygonum manshuriense Abutilon striatum Persicaria affinis Polygonum perfoliatum Dimorphotheca ecklonis Cynara scolymus
Dimorphotheca ecklonis Polygonum bistorta Polianthes michoacana
action less
action find_reverse_tuple_counts
relation basionym
type name
type taxon
action count
action filter_type
action find_reverse
entity Rhagodia hastata
relation basionym
type name
[{'concept': 'taxon'}, 'basionym', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:basionym ?n . ?n rdf:type ontology:name . ?o rdf:type ontology:taxon } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:name . ?q property:basionym resource:Rhagodia_hastata } } . FILTER ( ?k < ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are the languages of work for exactly 1 name ?
(c(Q82799),P407,c(Q34770))
action count
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P407 ?e . ?e rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 } GROUP BY ?e } . FILTER ( ?d = 1 ) }
action count
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?l rdf:type ontology:name } GROUP BY ?e } . FILTER ( ?d = 1 ) }
[]
language name
SYSTEM
2
Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action count
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P407 ?e . ?e rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 } GROUP BY ?e } . FILTER ( ?d = 1 ) }
Judaeo-Portuguese Old Irish
2
action count
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 1
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?l rdf:type ontology:name } GROUP BY ?e } . FILTER ( ?d = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are min number of names in ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?r ) { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:Q82799 . ?h rdf:type ontology:Q34770 . ?d property:P407 ?h } GROUP BY ?h } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P407 ?i . ?i rdf:type ontology:Q34770 . ?t rdf:type ontology:Q82799 } GROUP BY ?i } }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?r ) { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:name . ?h rdf:type ontology:language . ?d property:language_of_work_or_name ?h } GROUP BY ?h } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:language_of_work_or_name ?i . ?i rdf:type ontology:language . ?t rdf:type ontology:name } GROUP BY ?i } }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?r ) { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:Q82799 . ?h rdf:type ontology:Q34770 . ?d property:P407 ?h } GROUP BY ?h } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P407 ?i . ?i rdf:type ontology:Q34770 . ?t rdf:type ontology:Q82799 } GROUP BY ?i } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Which languages are min number of names in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?r ) { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?m ) WHERE { ?d rdf:type ontology:name . ?h rdf:type ontology:language . ?d property:language_of_work_or_name ?h } GROUP BY ?h } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:language_of_work_or_name ?i . ?i rdf:type ontology:language . ?t rdf:type ontology:name } GROUP BY ?i } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35726
P364
Q340169
USER
Which media was originally created in that one language ?
(c(Q340169),P364,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P364
type Q340169
[{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?l WHERE { ?l property:P364 resource:Q35726 . ?l rdf:type ontology:Q340169 }
Etruscan
action filter_type
action find_reverse
entity Etruscan
relation original language of work
type media
[{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?l WHERE { ?l property:original_language_of_work resource:Etruscan . ?l rdf:type ontology:media }
[]
media
Clarification for simple ques.
Q35726
SYSTEM
Did you mean Etruscan ?
Q447117 Q35499 Q35726
(c(Q340169),P364,Q447117) (c(Q340169),P364,Q35499) (c(Q340169),P364,Q35726)
[ANSWER]
[{'concept': 'Q340169'}, 'P364', 'Q447117'] [{'concept': 'Q340169'}, 'P364', 'Q35499'] [{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?l WHERE { ?l property:P364 resource:Q35726 . ?l rdf:type ontology:Q340169 }
Old Egyptian Old Church Slavonic Etruscan
Did you mean Etruscan ?
Etruscan
[{'concept': 'media'}, 'original language of work', 'Old Egyptian'] [{'concept': 'media'}, 'original language of work', 'Old Church Slavonic'] [{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?l WHERE { ?l property:original_language_of_work resource:Etruscan . ?l rdf:type ontology:media }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q340169),P364,Q35726)
[{'concept': 'Q340169'}, 'P364', 'Q35726']
[{'concept': 'media'}, 'original language of work', 'Etruscan']
[]
Q1244474
SYSTEM
Tabula Cortonensis
Q1244474
(c(Q340169),P364,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P364
type Q340169
[ANSWER] was originally created in that one language
[{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?l WHERE { ?l property:P364 resource:Q35726 . ?l rdf:type ontology:Q340169 }
Tabula Cortonensis
Tabula Cortonensis was originally created in that one language
Tabula Cortonensis
action filter_type
action find_reverse
entity Etruscan
relation original language of work
type media
[{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?l WHERE { ?l property:original_language_of_work resource:Etruscan . ?l rdf:type ontology:media }
[]