Difference between revisions of "FNA SPARQLStore"

From Biowikifarm Metawiki
Jump to: navigation, search
(Created page with "/includes/src/SPARQLStore/RedirectLookup.php -"$resourceUri $skeyUri ?s OPTIONAL { $resourceUri $redi - array( 'LIMIT' => 1 ), + "...")
 
 
Line 1: Line 1:
 
/includes/src/SPARQLStore/RedirectLookup.php
 
/includes/src/SPARQLStore/RedirectLookup.php
 +
 
-"$resourceUri $skeyUri ?s  OPTIONAL { $resourceUri $redi
 
-"$resourceUri $skeyUri ?s  OPTIONAL { $resourceUri $redi
 +
 
-                      array( 'LIMIT' => 1 ),
 
-                      array( 'LIMIT' => 1 ),
 +
 
+                      "$resourceUri $skeyUri ?s .\n OPTIONAL { $resourceUri $r
 
+                      "$resourceUri $skeyUri ?s .\n OPTIONAL { $resourceUri $r
 +
 
+                      array( 'LIMIT' => 1,'ORDER BY' => '?s' ),
 
+                      array( 'LIMIT' => 1,'ORDER BY' => '?s' ),
  
 
/includes/src/SPARQLStore/TurtleTriplesBuilder.php
 
/includes/src/SPARQLStore/TurtleTriplesBuilder.php
 
-
 
-
 +
 
-              $expDataArray = $this->prepareUpdateExpData( $this->semanticData
 
-              $expDataArray = $this->prepareUpdateExpData( $this->semanticData
 +
 
-
 
-
 +
 
+      //commented out to erase error
 
+      //commented out to erase error
 +
 
+      //      $expDataArray = $this->prepareUpdateExpData( $this->semanticData
 
+      //      $expDataArray = $this->prepareUpdateExpData( $this->semanticData
 +
 
+              //next line for contigency
 
+              //next line for contigency
 +
 
+              $expDataArray=array();
 
+              $expDataArray=array();
 +
 
+               
 
+               
 +
 
+              //
 
+              //

Latest revision as of 15:10, 7 April 2015

/includes/src/SPARQLStore/RedirectLookup.php

-"$resourceUri $skeyUri ?s OPTIONAL { $resourceUri $redi

- array( 'LIMIT' => 1 ),

+ "$resourceUri $skeyUri ?s .\n OPTIONAL { $resourceUri $r

+ array( 'LIMIT' => 1,'ORDER BY' => '?s' ),

/includes/src/SPARQLStore/TurtleTriplesBuilder.php -

- $expDataArray = $this->prepareUpdateExpData( $this->semanticData

-

+ //commented out to erase error

+ // $expDataArray = $this->prepareUpdateExpData( $this->semanticData

+ //next line for contigency

+ $expDataArray=array();

+

+ //