Did I find the right examples for you? yes no

All Samples(7)  |  Call(3)  |  Derive(0)  |  Import(4)

src/d/a/dataox-HEAD/dataox/equipment/forms.py   dataox(Download)
import rdflib
 
from humfrey.sparql.utils import get_labels
 
def AdvancedSearchForm(*args, **kwargs):
    based_near_choices = [t['term'] for t in results['facets']['basedNear']['terms']]
 
    labels = get_labels(map(rdflib.URIRef, formal_organisation_choices + based_near_choices),
                        endpoint=store.query_endpoint)
 

src/h/u/humfrey-0.3.9/humfrey/elasticsearch/views.py   humfrey(Download)
 
from humfrey.sparql.views import StoreView
from humfrey.sparql.utils import get_labels
from humfrey.utils.namespaces import expand, contract
from humfrey.linkeddata.uri import doc_forwards
                    term['value'] = term['term']
 
        labels = get_labels(facet_labels, endpoint=self.endpoint)
        for key in query['facets']:
            if results['facets'][key]['meta']['terms']['field'].endswith('.uri'):

src/h/u/humfrey-HEAD/humfrey/elasticsearch/views.py   humfrey(Download)
 
from humfrey.sparql.views import StoreView
from humfrey.sparql.utils import get_labels
from humfrey.linkeddata.uri import doc_forwards
from humfrey.linkeddata.views import MappingView
                    term['value'] = term['term']
 
        labels = get_labels(map(rdflib.URIRef, facet_labels), endpoint=self.endpoint)
        for key in query['facets']:
            if results['facets'][key]['meta']['terms']['field'].endswith('.uri'):

src/h/u/humfrey-HEAD/humfrey/desc/views.py   humfrey(Download)
from humfrey.linkeddata.uri import doc_forward, doc_backward
from humfrey.linkeddata.views import MappingView
from humfrey.sparql.utils import get_labels
 
from humfrey.results.views.json import JSONRDFView