Fix namespace issues in encode_find after the conversion
[htsworkflow.git] / extra / ucsc_encode_submission / find-lib-by-cell.sparql
index 1342dac7278d283c37148c05a1c5c5a5143d85c3..ca1615ed9d1b02a56f3d6487870398c236cd9652 100644 (file)
@@ -1,14 +1,14 @@
 # Produce list of submissions associated with a cell/replicate
 
 PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
-PREFIX encodeSubmit:<http://jumpgate.caltech.edu/wiki/UCSCSubmissionOntology#>
+PREFIX ucscSubmission:<http://jumpgate.caltech.edu/wiki/UcscSubmissionOntology#>
 PREFIX libraryOntology:<http://jumpgate.caltech.edu/wiki/LibraryOntology#>
 
 SELECT distinct ?liburn ?cell ?replicate ?subid
 WHERE {
-    ?subid encodeSubmit:library_urn ?liburn ;
-           encodeSubmit:name ?name .
+    ?subid ucscSubmission:library_urn ?liburn ;
+           ucscSubmission:name ?name .
     ?liburn libraryOntology:cell_line ?cell ;
-            libraryOntology:replicate ?replicate
+            libraryOntology:replicate ?replicate .
 }
 ORDER BY ?cell ?replicate ?liburn