Item talk:Q10: Difference between revisions

Line 47: Line 47:
PREFIX pq: <https://geokb.wikibase.cloud/prop/qualifier/>
PREFIX pq: <https://geokb.wikibase.cloud/prop/qualifier/>


SELECT ?report ?reportLabel ?meta_url ?content_url ?attachment_key ?file_size
SELECT ?report ?reportLabel ?meta_url ?content_url ?attachment_key ?file_size ?gddid
WHERE {
WHERE {
   ?report wdt:P1 wd:Q10 ; # instance of NI 43-101 Technical Report
   ?report wdt:P1 wd:Q10 ; # instance of NI 43-101 Technical Report
Line 55: Line 55:
           p:P143 ?attachment_key_statement .
           p:P143 ?attachment_key_statement .
   ?attachment_key_statement pq:P144 ?file_size . # attachment file size
   ?attachment_key_statement pq:P144 ?file_size . # attachment file size
  OPTIONAL {
    ?report wdt:P93 ?gddid . # unique ID for the xDD cyberinfrastructure
  }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
}