Did I find the right examples for you? yes no

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

src/h/u/humfrey-HEAD/humfrey/sparql/views/admin.py   humfrey(Download)
from humfrey.misc import views as misc_views
from humfrey.results.views.standard import RDFView
from humfrey.sparql.views import StoreView, QueryView, CannedQueryView
from humfrey.sparql.models import Store
from humfrey.utils.namespaces import NS
class GraphListView(StoreChooseMixin, CannedQueryView, RDFView, HTMLView, MappingView):
    query = """
        CONSTRUCT {
         ?g a sd:Graph ;
           dcterms:publisher ?publisher ;

src/d/a/dataox-HEAD/dataox/core/views.py   dataox(Download)
from humfrey.results.views.standard import RDFView, ResultSetView
from humfrey.utils.namespaces import NS
from humfrey.sparql.views import StoreView, CannedQueryView
from humfrey.linkeddata.resource import Resource
from humfrey.linkeddata.views import MappingView
 
class DatasetView(CannedQueryView, MappingView, RDFView, HTMLView):

src/d/a/dataox-HEAD/dataox/equipment/views.py   dataox(Download)
from humfrey.results.views.standard import RDFView
from humfrey.sparql.models import Store
from humfrey.sparql.views import CannedQueryView, StoreView
from humfrey.utils.namespaces import NS
 
class BrowseView(EquipmentView, CannedQueryView, RDFView, HTMLView, MappingView):
    concept_scheme = rdflib.URIRef('https://data.ox.ac.uk/id/equipment-category')
    datatype = rdflib.URIRef('https://data.ox.ac.uk/id/notation/equipment-category')
 
    template_name = 'equipment/browse'
class FacilityListView(EquipmentView, CannedQueryView, HTMLView, RDFView, MappingView):
    query = """
        DESCRIBE * WHERE {
          VALUES ?facilityType { cerif:Facility oo:Facility } .
          ?facility a ?facilityType ; oo:formalOrganization <http://oxpoints.oucs.ox.ac.uk/id/00000000>

src/d/a/dataox-HEAD/dataox/old_feeds/views.py   dataox(Download)
from humfrey.linkeddata.views import MappingView
from humfrey.results.views.standard import RDFView, ResultSetView
from humfrey.sparql.views import CannedQueryView, StoreView
 
class IndexView(HTMLView):
class VacancyIndexView(HTMLView, CannedQueryView, ResultSetView):
    query = """
      SELECT ?unit (SAMPLE(?unitLabel_) as ?unitLabel) (COUNT(DISTINCT ?vacancy) as ?vacancies) (SAMPLE(?subUnit_) as ?subUnit) WHERE {
        ?type rdfs:subClassOf* org:Organization
        GRAPH <https://data.ox.ac.uk/graph/oxpoints/data> {

src/d/a/dataox-HEAD/dataox/course/views.py   dataox(Download)
class CatalogListView(CourseView, sparql_views.CannedQueryView, HTMLView, RDFView, MappingView):
    template_name = 'course/catalog_list'
 
    @property
    def query(self):
class CatalogDetailView(CourseView, sparql_views.CannedQueryView, RDFView, ContentNegotiatedView):
    query = """
        CONSTRUCT {
          %(uri)s a xcri:catalog ;
            dcterms:description ?catalogDescription ;