Major updateds to encode_find for extracting encode cell line life cycle.
[htsworkflow.git] / extra / ucsc_encode_submission / no-lib.sparql
1 ## Find submissions that don't have a library_id 
2 ##
3 ## The code to generate names scans the name for the ID
4 ## and some of the older names lack an included library ID
5 ## 
6 ## So I need some manual way of adding in the submission to 
7 ## our library_id map
8
9 PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
10 PREFIX encodeSubmit:<http://jumpgate.caltech.edu/wiki/EncodeSubmit#>
11
12 SELECT 
13  ?subid ?name
14 WHERE {
15   ?subid encodeSubmit:name ?name
16   OPTIONAL { ?subid encodeSubmit:library_urn ?libid }
17   FILTER  (!bound(?libid))
18