PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX mesh: <http://id.nlm.nih.gov/mesh/>
PREFIX allie: <http://purl.org/allie/ontology/201108#>
select ?Frequency ?ShortForm ?LabelShortForm ?LongForm ?LabelLongForm where {
graph <http://purl.org/allie> {
allie:inResearchAreaOf mesh:D001432;
allie:hasShortFormRepresentationOf ?ShortForm;
allie:hasLongFormRepresentationOf ?LongForm;
allie:frequency ?Frequency.
?ShortForm rdfs:label ?LabelShortForm .
?LongForm rdfs:label ?LabelLongForm .
FILTER ( lang(?LabelShortForm) = 'en' && lang(?LabelLongForm) = 'en' && xsd:integer(?Frequency) >= 100 )
ORDER BY DESC (xsd:integer(?Frequency)) ?LabelShortForm ?LabelLongForm