Simple Question (Direct)
Simple Question
Q21983227
P702
Q863908
USER
What encodes Doublesex- and mab-3-related transcription factor 3 ?
(Q21983227,P702,c(Q863908))
action filter_type
action find
entity Q21983227
relation P702
type Q863908
['Q21983227', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q863908 . resource:Q21983227 property:P702 ?y }
Doublesex- and mab-3-related transcription factor 3
action filter_type
action find
entity Doublesex- and mab-3-related transcription factor 3
relation encoded by
type nucleic acid sequence
['Doublesex- and mab-3-related transcription factor 3', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:nucleic_acid_sequence . resource:Doublesex-_and_mab-3-related_transcription_factor_3 property:encoded_by ?y }
[]
nucleic acid sequence
Q18298877
SYSTEM
Dmrt3
Q18298877
(Q21983227,P702,c(Q863908))
action filter_type
action find
entity Q21983227
relation P702
type Q863908
[ANSWER] encodes Doublesex- and mab-3-related transcription factor 3
['Q21983227', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q863908 . resource:Q21983227 property:P702 ?y }
Dmrt3
Dmrt3 encodes Doublesex- and mab-3-related transcription factor 3
Dmrt3
action filter_type
action find
entity Doublesex- and mab-3-related transcription factor 3
relation encoded by
type nucleic acid sequence
['Doublesex- and mab-3-related transcription factor 3', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:nucleic_acid_sequence . resource:Doublesex-_and_mab-3-related_transcription_factor_3 property:encoded_by ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21983227
P688
Q863908
USER
Which nucleic acid sequence encodes Doublesex- and mab-3-related transcription factor 3 ?
(c(Q863908),P688,Q21983227)
action filter_type
action find_reverse
entity Q21983227
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21983227']
SELECT DISTINCT ?u WHERE { ?u property:P688 resource:Q21983227 . ?u rdf:type ontology:Q863908 }
Doublesex- and mab-3-related transcription factor 3
action filter_type
action find_reverse
entity Doublesex- and mab-3-related transcription factor 3
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Doublesex- and mab-3-related transcription factor 3']
SELECT DISTINCT ?u WHERE { ?u property:encodes resource:Doublesex-_and_mab-3-related_transcription_factor_3 . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18298877
SYSTEM
Dmrt3
Q18298877
(c(Q863908),P688,Q21983227)
action filter_type
action find_reverse
entity Q21983227
relation P688
type Q863908
[ANSWER] encodes Doublesex- and mab-3-related transcription factor 3
[{'concept': 'Q863908'}, 'P688', 'Q21983227']
SELECT DISTINCT ?u WHERE { ?u property:P688 resource:Q21983227 . ?u rdf:type ontology:Q863908 }
Dmrt3
Dmrt3 encodes Doublesex- and mab-3-related transcription factor 3
Dmrt3
action filter_type
action find_reverse
entity Doublesex- and mab-3-related transcription factor 3
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Doublesex- and mab-3-related transcription factor 3']
SELECT DISTINCT ?u WHERE { ?u property:encodes resource:Doublesex-_and_mab-3-related_transcription_factor_3 . ?u rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21983227
P703
Q16521
USER
Which taxon is that nutrient found in ?
(Q18298877,P703,c(Q16521))
action filter_type
action find
entity Q21983227
relation P703
type Q16521
['Q18298877', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q16521 . resource:Q21983227 property:P703 ?o }
Doublesex- and mab-3-related transcription factor 3
action filter_type
action find
entity Doublesex- and mab-3-related transcription factor 3
relation found in taxon
type taxon
['Dmrt3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:taxon . resource:Doublesex-_and_mab-3-related_transcription_factor_3 property:found_in_taxon ?o }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q18298877,P703,c(Q16521))
action filter_type
action find
entity Q21983227
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q18298877', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q16521 . resource:Q21983227 property:P703 ?o }
Mus musculus
That nutrient is found in Mus musculus
Mus musculus
action filter_type
action find
entity Doublesex- and mab-3-related transcription factor 3
relation found in taxon
type taxon
['Dmrt3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:taxon . resource:Doublesex-_and_mab-3-related_transcription_factor_3 property:found_in_taxon ?o }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P566
Q82799 Q16521
USER
Which names are a basionyms of max number of taxons ?
(c(Q16521),P566,Q24006173)
action argmax
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
[{'concept': 'Q16521'}, 'P566', 'Q24006173']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:P566 ?j . ?k rdf:type ontology:Q16521 . ?j rdf:type ontology:Q82799 } GROUP BY ?j } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P566 ?x . ?x rdf:type ontology:Q82799 . ?g rdf:type ontology:Q16521 } GROUP BY ?x } } }
action argmax
action find_reverse_tuple_counts
relation basionym
type name
type taxon
[{'concept': 'taxon'}, 'basionym', 'Convolvulus corymbosus']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:basionym ?j . ?k rdf:type ontology:taxon . ?j rdf:type ontology:name } GROUP BY ?j } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:basionym ?x . ?x rdf:type ontology:name . ?g rdf:type ontology:taxon } GROUP BY ?x } } }
[]
name taxon
Q11079289 Q17244388
SYSTEM
Salsola brachiata, Atriplex portulacoides
Q11079289 Q17244388
(c(Q16521),P566,Q24006173)
action argmax
action find_reverse_tuple_counts
relation P566
type Q82799
type Q16521
[ANSWERS] are a basionyms of max number of taxons
[{'concept': 'Q16521'}, 'P566', 'Q24006173']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:P566 ?j . ?k rdf:type ontology:Q16521 . ?j rdf:type ontology:Q82799 } GROUP BY ?j } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:P566 ?x . ?x rdf:type ontology:Q82799 . ?g rdf:type ontology:Q16521 } GROUP BY ?x } } }
Salsola brachiata Atriplex portulacoides
Salsola brachiata and Atriplex portulacoides are a basionyms of max number of taxons
Salsola brachiata Atriplex portulacoides
action argmax
action find_reverse_tuple_counts
relation basionym
type name
type taxon
[{'concept': 'taxon'}, 'basionym', 'Convolvulus corymbosus']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:basionym ?j . ?k rdf:type ontology:taxon . ?j rdf:type ontology:name } GROUP BY ?j } . FILTER ( ?r = ?l ) . { SELECT DISTINCT ( MAX ( ?p ) AS ?l ) { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?p ) WHERE { ?g property:basionym ?x . ?x rdf:type ontology:name . ?g rdf:type ontology:taxon } GROUP BY ?x } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9056
P407
Q34770 Q82799
USER
Which languages are lesser number of names in than Czech ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q9056
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P407 ?v . ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q82799 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P407 resource:Q9056 . ?g rdf:type ontology:Q82799 } } . FILTER ( ?o < ?x ) }
Czech
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Czech
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?e rdf:type ontology:name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:language_of_work_or_name resource:Czech . ?g rdf:type ontology:name } } . FILTER ( ?o < ?x ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q9056
relation P407
type Q82799
[ANSWERS] are lesser number of names in than Czech
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P407 ?v . ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q82799 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:P407 resource:Q9056 . ?g rdf:type ontology:Q82799 } } . FILTER ( ?o < ?x ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are lesser number of names in than Czech
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Czech
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:language_of_work_or_name ?v . ?v rdf:type ontology:language . ?e rdf:type ontology:name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { ?g property:language_of_work_or_name resource:Czech . ?g rdf:type ontology:name } } . FILTER ( ?o < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35505
P407
Q34770 Q82799
USER
And what about Old Norse language?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35505
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P407 ?e . ?m rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P407 resource:Q35505 . ?v rdf:type ontology:Q82799 } } . FILTER ( ?c < ?h ) }
Old Norse language
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Norse language
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:language_of_work_or_name ?e . ?m rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:language_of_work_or_name resource:Old_Norse_language . ?v rdf:type ontology:name } } . FILTER ( ?c < ?h ) }
[]
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 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q35505
relation P407
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P407 ?e . ?m rdf:type ontology:Q82799 . ?e rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P407 resource:Q35505 . ?v rdf:type ontology:Q82799 } } . FILTER ( ?c < ?h ) }
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 Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Old Norse language
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:language_of_work_or_name ?e . ?m rdf:type ontology:name . ?e rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:language_of_work_or_name resource:Old_Norse_language . ?v rdf:type ontology:name } } . FILTER ( ?c < ?h ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q24383405
Q16521
USER
And what about Prune2?
(Q24383405,P703,c(Q16521))
action count
action filter_type
action find
entity Q24383405
relation P703
type Q16521
['Q24383405', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q24383405 property:P703 ?l . ?l rdf:type ontology:Q16521 }
Prune2
action count
action filter_type
action find
entity Prune2
relation found in taxon
type taxon
['Prune2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Prune2 property:found_in_taxon ?l . ?l rdf:type ontology:taxon }
[]
taxon
SYSTEM
1
(Q24383405,P703,c(Q16521))
action count
action filter_type
action find
entity Q24383405
relation P703
type Q16521
[ANSWER]
['Q24383405', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Q24383405 property:P703 ?l . ?l rdf:type ontology:Q16521 }
1
action count
action filter_type
action find
entity Prune2
relation found in taxon
type taxon
['Prune2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { resource:Prune2 property:found_in_taxon ?l . ?l rdf:type ontology:taxon }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for atleast 1 language ?
(c(Q34770),P282,c(Q8192))
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P282 ?p . ?p rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?y >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:writing_system ?p . ?p rdf:type ontology:writing_system . ?n rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?y >= 1 ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action atleast
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS] are used as the alphabet set for atleast 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P282 ?p . ?p rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?y >= 1 ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are used as the alphabet set for atleast 1 language
katakana Linear A hiragana
action atleast
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:writing_system ?p . ?p rdf:type ontology:writing_system . ?n rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?y >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q397
P37
Q34770 Q13220204 Q56061
USER
Which languages are the official languages of less number of administrative country subdivisions or administrative territories than Latin ?
(c(Q13220204)|c(Q56061),P37,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q397
relation P37
type Q13220204
type Q56061
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?u rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P37 resource:Q397 . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } } } } . FILTER ( ?d < ?y ) }
Latin
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Latin
relation official language
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?u rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:official_language resource:Latin . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?d < ?y ) }
[]
language second-level administrative country subdivision administrative territorial entity
Q33251 Q8752 Q35499
SYSTEM
Church Slavonic, Basque, Old Church Slavonic
Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499
(c(Q13220204)|c(Q56061),P37,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q397
relation P37
type Q13220204
type Q56061
[ANSWERS] are the official languages of less number of administrative country subdivisions or administrative territories than Latin
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } . ?u rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P37 resource:Q397 . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } } } } . FILTER ( ?d < ?y ) }
Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic
Church Slavonic, Basque and Old Church Slavonic are the official languages of less number of administrative country subdivisions or administrative territories than Latin
Church Slavonic Basque Old Church Slavonic
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Latin
relation official language
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } . ?u rdf:type ?r } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:official_language resource:Latin . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } } } } . FILTER ( ?d < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q25164
P37
Q34770 Q13220204 Q56061
USER
And also tell me about Nynorsk?
(c(Q13220204)|c(Q56061),P37,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q25164
relation P37
type Q13220204
type Q56061
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { { ?w rdf:type ontology:Q34770 . ?n rdf:type ontology:Q13220204 . ?n property:P37 ?w } UNION { ?n property:P37 ?w . ?w rdf:type ontology:Q34770 . ?n rdf:type ontology:Q56061 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P37 resource:Q25164 . { { ?r rdf:type ontology:Q13220204 } UNION { ?r rdf:type ontology:Q56061 } } } } . FILTER ( ?q < ?s ) }
Nynorsk
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Nynorsk
relation official language
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { { ?w rdf:type ontology:language . ?n rdf:type ontology:second-level_administrative_country_subdivision . ?n property:official_language ?w } UNION { ?n property:official_language ?w . ?w rdf:type ontology:language . ?n rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:official_language resource:Nynorsk . { { ?r rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?r rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?q < ?s ) }
[]
language second-level administrative country subdivision administrative territorial entity
Q33251 Q8752 Q35499
SYSTEM
Church Slavonic, Basque, Old Church Slavonic
Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499
(c(Q13220204)|c(Q56061),P37,c(Q34770))
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q25164
relation P37
type Q13220204
type Q56061
[ANSWERS]
[[{'concept': 'Q13220204'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { { ?w rdf:type ontology:Q34770 . ?n rdf:type ontology:Q13220204 . ?n property:P37 ?w } UNION { ?n property:P37 ?w . ?w rdf:type ontology:Q34770 . ?n rdf:type ontology:Q56061 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P37 resource:Q25164 . { { ?r rdf:type ontology:Q13220204 } UNION { ?r rdf:type ontology:Q56061 } } } } . FILTER ( ?q < ?s ) }
Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic
Church Slavonic Basque Old Church Slavonic
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Nynorsk
relation official language
type second-level administrative country subdivision
type administrative territorial entity
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?q ) WHERE { { ?w rdf:type ontology:language . ?n rdf:type ontology:second-level_administrative_country_subdivision . ?n property:official_language ?w } UNION { ?n property:official_language ?w . ?w rdf:type ontology:language . ?n rdf:type ontology:administrative_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:official_language resource:Nynorsk . { { ?r rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?r rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?q < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q14934927
P37
Q34770 Q7275
USER
Which states are greater number of languages the official language of than Murrawarri Republic ?
(c(Q7275),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q14934927
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:P37 ?i . ?s rdf:type ontology:Q7275 . ?i rdf:type ontology:Q34770 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q14934927 property:P37 ?q . ?q rdf:type ontology:Q7275 } } . FILTER ( ?w > ?e ) }
Murrawarri Republic
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Murrawarri Republic
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:official_language ?i . ?s rdf:type ontology:state . ?i rdf:type ontology:language } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Murrawarri_Republic property:official_language ?q . ?q rdf:type ontology:state } } . FILTER ( ?w > ?e ) }
[]
language state
Q33946 Q26273 Q25279
SYSTEM
Czechoslovakia, Sint Maarten, Curaçao
Q105092 Q6083755 Q33946 Q1194329 Q947153 Q172107 Q1152445 Q1617495 Q185488 Q25279 Q4948 Q1322229 Q953432 Q2353425 Q1709185 Q7251405 Q746443 Q1123960 Q1423680 Q1083009 Q26988 Q26273 Q551798 Q19801186 Q188586 Q204920 Q25227 Q744042 Q49683
(c(Q7275),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q14934927
relation P37
type Q7275
[ANSWERS] are greater number of languages the official language of than Murrawarri Republic
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:P37 ?i . ?s rdf:type ontology:Q7275 . ?i rdf:type ontology:Q34770 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q14934927 property:P37 ?q . ?q rdf:type ontology:Q7275 } } . FILTER ( ?w > ?e ) }
Kingdom of Mercia Islands of Refreshment Czechoslovakia Nova Roma Kingdom of Tavolara Polish–Lithuanian Commonwealth Aerican Empire Kingdom of Jaén Volga Bulgaria Curaçao Republic of Venice Enlightenment in Spain Couto Misto Talossa Kingdom of Spain under Joseph Bonaparte Protectorate of Peru Golden Ambrosian Republic Conch Republic Gay and Lesbian Kingdom of the Coral Sea Islands Principality of Wy Cook Islands Sint Maarten Grand Duchy of Flandrensis Liberland Kingdom of Sicily Crown of Aragon Netherlands Antilles Grand Duchy of Avram Grand Duchy of Lithuania
Czechoslovakia, Sint Maarten and Curaçao are greater number of languages the official language of than Murrawarri Republic
Czechoslovakia Sint Maarten Curaçao
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Murrawarri Republic
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?w ) WHERE { ?s property:official_language ?i . ?s rdf:type ontology:state . ?i rdf:type ontology:language } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Murrawarri_Republic property:official_language ?q . ?q rdf:type ontology:state } } . FILTER ( ?w > ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q15180
P37
Q34770 Q7275
USER
And how about Soviet Union?
(c(Q7275),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q15180
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q15180 property:P37 ?a . ?a rdf:type ontology:Q7275 } } . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { ?p property:P37 ?h . ?p rdf:type ontology:Q7275 . ?h rdf:type ontology:Q34770 } GROUP BY ?p } }
Soviet Union
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Soviet Union
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Soviet_Union property:official_language ?a . ?a rdf:type ontology:state } } . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { ?p property:official_language ?h . ?p rdf:type ontology:state . ?h rdf:type ontology:language } GROUP BY ?p } }
[]
language state
Q33946 Q26273 Q25279
SYSTEM
Czechoslovakia, Sint Maarten, Curaçao
Q105092 Q6083755 Q33946 Q1194329 Q947153 Q172107 Q1152445 Q1617495 Q185488 Q25279 Q4948 Q1322229 Q953432 Q2353425 Q1709185 Q7251405 Q746443 Q1123960 Q1423680 Q1083009 Q26988 Q26273 Q551798 Q19801186 Q188586 Q204920 Q25227 Q744042 Q49683
(c(Q7275),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q15180
relation P37
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q15180 property:P37 ?a . ?a rdf:type ontology:Q7275 } } . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { ?p property:P37 ?h . ?p rdf:type ontology:Q7275 . ?h rdf:type ontology:Q34770 } GROUP BY ?p } }
Kingdom of Mercia Islands of Refreshment Czechoslovakia Nova Roma Kingdom of Tavolara Polish–Lithuanian Commonwealth Aerican Empire Kingdom of Jaén Volga Bulgaria Curaçao Republic of Venice Enlightenment in Spain Couto Misto Talossa Kingdom of Spain under Joseph Bonaparte Protectorate of Peru Golden Ambrosian Republic Conch Republic Gay and Lesbian Kingdom of the Coral Sea Islands Principality of Wy Cook Islands Sint Maarten Grand Duchy of Flandrensis Liberland Kingdom of Sicily Crown of Aragon Netherlands Antilles Grand Duchy of Avram Grand Duchy of Lithuania
Czechoslovakia Sint Maarten Curaçao
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Soviet Union
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?i > ?e ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Soviet_Union property:official_language ?a . ?a rdf:type ontology:state } } . { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { ?p property:official_language ?h . ?p rdf:type ontology:state . ?h rdf:type ontology:language } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q9332 Q82799
USER
Which names are a component of atleast 1 social groups and behaviors ?
(c(Q82799),P361,c(Q874405)|c(Q9332))
action atleast
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q9332
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?d ) WHERE { { ?x property:P361 ?k . ?k rdf:type ontology:Q874405 . ?x rdf:type ontology:Q82799 } UNION { ?x rdf:type ontology:Q82799 . ?k rdf:type ontology:Q9332 . ?x property:P361 ?k } } GROUP BY ?x } . FILTER ( ?d >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type behavior
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?d ) WHERE { { ?x property:part_of ?k . ?k rdf:type ontology:social_group . ?x rdf:type ontology:name } UNION { ?x rdf:type ontology:name . ?k rdf:type ontology:behavior . ?x property:part_of ?k } } GROUP BY ?x } . FILTER ( ?d >= 1 ) }
[]
social group behavior name
Q382004 Q1557998
SYSTEM
Afa-Negus, Gyalwang Drukpa
Q382004 Q1557998
(c(Q82799),P361,c(Q874405)|c(Q9332))
action atleast
action union
action find_tuple_counts
relation P361
type Q82799
type Q874405
action find_tuple_counts
relation P361
type Q82799
type Q9332
value 1
[ANSWERS] are a component of atleast 1 social groups and behaviors
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?d ) WHERE { { ?x property:P361 ?k . ?k rdf:type ontology:Q874405 . ?x rdf:type ontology:Q82799 } UNION { ?x rdf:type ontology:Q82799 . ?k rdf:type ontology:Q9332 . ?x property:P361 ?k } } GROUP BY ?x } . FILTER ( ?d >= 1 ) }
Afa-Negus Gyalwang Drukpa
Afa-Negus and Gyalwang Drukpa are a component of atleast 1 social groups and behaviors
Afa-Negus Gyalwang Drukpa
action atleast
action union
action find_tuple_counts
relation part of
type name
type social group
action find_tuple_counts
relation part of
type name
type behavior
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'social group'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?d ) WHERE { { ?x property:part_of ?k . ?k rdf:type ontology:social_group . ?x rdf:type ontology:name } UNION { ?x rdf:type ontology:name . ?k rdf:type ontology:behavior . ?x property:part_of ?k } } GROUP BY ?x } . FILTER ( ?d >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q8386 Q181394 Q181394
USER
Which nutrients can communicate with max number of drugs and nutrients ?
(c(Q181394),P129,c(Q8386)|c(Q181394))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q181394
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { { ?u property:P129 ?i . ?u rdf:type ontology:Q181394 . ?i rdf:type ontology:Q8386 } UNION { ?u property:P129 ?i . ?u rdf:type ontology:Q181394 . ?i rdf:type ontology:Q181394 } } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?w ) WHERE { { ?o property:P129 ?x . ?o rdf:type ontology:Q181394 . ?x rdf:type ontology:Q8386 } UNION { ?o property:P129 ?x . ?o rdf:type ontology:Q181394 . ?x rdf:type ontology:Q181394 } } GROUP BY ?o } . FILTER ( ?w = ?j ) }
action argmax
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { { ?u property:physically_interacts_with ?i . ?u rdf:type ontology:nutrient . ?i rdf:type ontology:drug } UNION { ?u property:physically_interacts_with ?i . ?u rdf:type ontology:nutrient . ?i rdf:type ontology:nutrient } } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?w ) WHERE { { ?o property:physically_interacts_with ?x . ?o rdf:type ontology:nutrient . ?x rdf:type ontology:drug } UNION { ?o property:physically_interacts_with ?x . ?o rdf:type ontology:nutrient . ?x rdf:type ontology:nutrient } } GROUP BY ?o } . FILTER ( ?w = ?j ) }
[]
drug nutrient nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394),P129,c(Q8386)|c(Q181394))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q181394
[ANSWER] can communicate with max number of drugs and nutrients
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { { ?u property:P129 ?i . ?u rdf:type ontology:Q181394 . ?i rdf:type ontology:Q8386 } UNION { ?u property:P129 ?i . ?u rdf:type ontology:Q181394 . ?i rdf:type ontology:Q181394 } } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?w ) WHERE { { ?o property:P129 ?x . ?o rdf:type ontology:Q181394 . ?x rdf:type ontology:Q8386 } UNION { ?o property:P129 ?x . ?o rdf:type ontology:Q181394 . ?x rdf:type ontology:Q181394 } } GROUP BY ?o } . FILTER ( ?w = ?j ) }
5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A can communicate with max number of drugs and nutrients
5-hydroxytryptamine receptor 2A
action argmax
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?j ) { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { { ?u property:physically_interacts_with ?i . ?u rdf:type ontology:nutrient . ?i rdf:type ontology:drug } UNION { ?u property:physically_interacts_with ?i . ?u rdf:type ontology:nutrient . ?i rdf:type ontology:nutrient } } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?w ) WHERE { { ?o property:physically_interacts_with ?x . ?o rdf:type ontology:nutrient . ?x rdf:type ontology:drug } UNION { ?o property:physically_interacts_with ?x . ?o rdf:type ontology:nutrient . ?x rdf:type ontology:nutrient } } GROUP BY ?o } . FILTER ( ?w = ?j ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1949517 Q423308 Q178450
P129
Q8386
USER
Does 5-hydroxytryptamine receptor 2A can communicate with cabergoline and L-Aspartic Acid ?
(Q1949517,P129,Q423308) (Q1949517,P129,Q178450)
action is_in
entity Q1949517
action intersection
action find_reverse
entity Q423308
relation P129
action find_reverse
entity Q178450
relation P129
['Q1949517', 'P129', 'Q423308'] ['Q1949517', 'P129', 'Q178450']
ASK WHERE { resource:Q1949517 property:P129 resource:Q423308 . resource:Q1949517 property:P129 resource:Q178450 }
5-hydroxytryptamine receptor 2A cabergoline L-Aspartic Acid
action is_in
entity 5-hydroxytryptamine receptor 2A
action intersection
action find_reverse
entity cabergoline
relation physically interacts with
action find_reverse
entity L-Aspartic Acid
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'cabergoline'] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'L-Aspartic Acid']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:cabergoline . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:L-Aspartic_Acid }
[]
drug
SYSTEM
YES and NO respectively
(Q1949517,P129,Q423308) (Q1949517,P129,Q178450)
action is_in
entity Q1949517
action intersection
action find_reverse
entity Q423308
relation P129
action find_reverse
entity Q178450
relation P129
[ANSWER]
['Q1949517', 'P129', 'Q423308'] ['Q1949517', 'P129', 'Q178450']
ASK WHERE { resource:Q1949517 property:P129 resource:Q423308 . resource:Q1949517 property:P129 resource:Q178450 }
YES and NO respectively
action is_in
entity 5-hydroxytryptamine receptor 2A
action intersection
action find_reverse
entity cabergoline
relation physically interacts with
action find_reverse
entity L-Aspartic Acid
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'cabergoline'] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'L-Aspartic Acid']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:cabergoline . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:L-Aspartic_Acid }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30972 Q188929 Q4100210
P61
Q502895
USER
Was Linear A invented or discovered by Arthur Evans and Nikolay Butinov ?
(Q30972,P61,Q188929) (Q30972,P61,Q4100210)
action is_in
entity Q30972
action intersection
action find_reverse
entity Q188929
relation P61
action find_reverse
entity Q4100210
relation P61
['Q30972', 'P61', 'Q188929'] ['Q30972', 'P61', 'Q4100210']
ASK WHERE { resource:Q30972 property:P61 resource:Q188929 . resource:Q30972 property:P61 resource:Q4100210 }
Linear A Arthur Evans Nikolay Butinov
action is_in
entity Linear A
action intersection
action find_reverse
entity Arthur Evans
relation discoverer or inventor
action find_reverse
entity Nikolay Butinov
relation discoverer or inventor
['Linear A', 'discoverer or inventor', 'Arthur Evans'] ['Linear A', 'discoverer or inventor', 'Nikolay Butinov']
ASK WHERE { resource:Linear_A property:discoverer_or_inventor resource:Arthur_Evans . resource:Linear_A property:discoverer_or_inventor resource:Nikolay_Butinov }
[]
common name
SYSTEM
YES and NO respectively
(Q30972,P61,Q188929) (Q30972,P61,Q4100210)
action is_in
entity Q30972
action intersection
action find_reverse
entity Q188929
relation P61
action find_reverse
entity Q4100210
relation P61
[ANSWER]
['Q30972', 'P61', 'Q188929'] ['Q30972', 'P61', 'Q4100210']
ASK WHERE { resource:Q30972 property:P61 resource:Q188929 . resource:Q30972 property:P61 resource:Q4100210 }
YES and NO respectively
action is_in
entity Linear A
action intersection
action find_reverse
entity Arthur Evans
relation discoverer or inventor
action find_reverse
entity Nikolay Butinov
relation discoverer or inventor
['Linear A', 'discoverer or inventor', 'Arthur Evans'] ['Linear A', 'discoverer or inventor', 'Nikolay Butinov']
ASK WHERE { resource:Linear_A property:discoverer_or_inventor resource:Arthur_Evans . resource:Linear_A property:discoverer_or_inventor resource:Nikolay_Butinov }
[]