PREFIX geoSoft: <http://www.ncbi.nlm.nih.gov/geo/info/soft2.html#>
PREFIX cells: <http://encodewiki.ucsc.edu/EncodeDCC/index.php/Cell_lines#>
-select distinct ?name ?filename ?relative_path ?file_format ?output_type ?dataset_id ?replicate ?enriched_in ?ucsc_db ?replaces_accession ?replace_reason
+select distinct ?name ?filename ?relative_path ?file_format ?output_type ?dataset_id ?replicate ?enriched_in ?ucsc_db ?paired_end ?technical_replicate ?replaces ?replace_reason
WHERE {
<{{submission}}> a submissionOntology:submission ;
submissionOntology:name ?name ;
?fileClass geoSoft:fileTypeLabel ?file_format ;
ucscDaf:output_type ?output_type .
+ OPTIONAL { ?fileClass ucscDaf:paired_end ?paired_end . }
+ OPTIONAL { ?fileClass ucscDaf:technical_replicate ?technical_replicate . }
+
?library htswlib:replicate ?replicate ;
ucscDaf:enriched_in ?enriched_in;