This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteBase / | |
RewriteCond %{HTTP_USER_AGENT} almaden [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^Anarchie [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^ASPSeek [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^attach [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^autoemailspider [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^BackWeb [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^Bandit [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^BatchFTP [OR] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddType application/rdf+xml .owl | |
RewriteRule "^ontology/(.+)$" "sites/default/files/ontology/$1.owl" [PT] | |
RewriteRule "^ontology/$" "sites/default/files/ontology/current.owl" [PT,L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX ontology_1: <http://ontology_1/> | |
PREFIX ontology_2: <http://ontology_2/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
select distinct ?aNote ?bNote ?cNote where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?A rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?a ; | |
ontology_1:P2_has_type ?b . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX ontology_1: <http://ontology_1/> | |
PREFIX ontology_2: <http://ontology_2/> | |
select distinct ?aNote where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?A rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?a. | |
?a ontology_1:P3_has_note ?aNote. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX ontology_1: <http://ontology_1/> | |
select distinct ?personName where { | |
values ?service {<https://graphdb.nasarek.org/repositories/Adapter_1> <https://graphdb.nasarek.org/repositories/Adapter_3>} | |
{ | |
service ?service | |
{ | |
?person rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?appellation. | |
?appellation ontology_1:P3_has_note ?personName. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX ontology_1: <http://ontology_1/> | |
PREFIX ontology_2: <http://ontology_2/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
select distinct ?c where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?a rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?b. | |
?b ontology_1:P3_has_note ?c. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX ontology_1: <http://ontology_1/> | |
PREFIX ontology_2: <http://ontology_2/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
select distinct ?aNote ?bNote ?cNote where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?A rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?a ; | |
ontology_1:P2_has_type ?b . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX ontology_1: <http://ontology_1/> | |
PREFIX ontology_2: <http://ontology_2/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
select distinct ?aNote ?bNote ?cNote where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?A rdf:type ontology_1:E21_Person . | |
OPTIONAL { | |
?A ontology_1:P1_is_identified_by ?a . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\search_api\Plugin\search_api\datasource; | |
use Drupal\Component\Utility\Crypt; | |
use Drupal\Core\Access\AccessResult; | |
use Drupal\Core\Cache\Cache; | |
use Drupal\Core\Cache\CacheBackendInterface; | |
use Drupal\Core\Config\ConfigFactoryInterface; | |
use Drupal\Core\Database\Connection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($this->batchStateStaticRevisions) { | |
$form['actions']['eraseBatch'] = [ | |
'#type' => 'submit', | |
'#value' => $this->t('Reset batch state'), | |
'#button_type' => 'danger', | |
'#submit' => [[$this->configFactory->getEditable(static::INDIVIDUALS_IN_BATCH), | |
'delete', | |
], | |
], | |
]; |
OlderNewer