Skip to content
Snippets Groups Projects
  • alangrafu's avatar
    2315671d
    Adding feature: Each query can be executed against a different sparql endpoint · 2315671d
    alangrafu authored
    Model definition:
    
    The new structure will be
    
    models\
               |
               |
               \foaf:Person.model.html\
                                                  |
                                                  |
                                                  \localQuery1
                                                  \localQuery2
                                                  \dbpedia\
                                                               |
                                                               |
    
    \queryInDBpedia1
    
    \queryInDBpedia1
    
    Queries under the type subdir will be executed against the default
    sparql endpoint
    Quries under a subdir named an endpoint shortcut(*) will be ran against
    that endpoint
    
    (*) You need to define an endpoint in settings.inc.php
    
    to query against your endpoint you need to define
    $conf['endpoint']['mySparqlEndpoint'] = 'http://example.org/sparql';
    
    Sparql endpoints are already defined for dbpedia and logd
    
    Later you can create a subdirectory called 'mySparqlEndpoint' under a
    model.
    
    By aware that it is HIGHLY recommended to use only letters and numbers
    (no periods, colons, etc.)
    2315671d
    History
    Adding feature: Each query can be executed against a different sparql endpoint
    alangrafu authored
    Model definition:
    
    The new structure will be
    
    models\
               |
               |
               \foaf:Person.model.html\
                                                  |
                                                  |
                                                  \localQuery1
                                                  \localQuery2
                                                  \dbpedia\
                                                               |
                                                               |
    
    \queryInDBpedia1
    
    \queryInDBpedia1
    
    Queries under the type subdir will be executed against the default
    sparql endpoint
    Quries under a subdir named an endpoint shortcut(*) will be ran against
    that endpoint
    
    (*) You need to define an endpoint in settings.inc.php
    
    to query against your endpoint you need to define
    $conf['endpoint']['mySparqlEndpoint'] = 'http://example.org/sparql';
    
    Sparql endpoints are already defined for dbpedia and logd
    
    Later you can create a subdirectory called 'mySparqlEndpoint' under a
    model.
    
    By aware that it is HIGHLY recommended to use only letters and numbers
    (no periods, colons, etc.)