query-3711a2f93f5dffae8d02e3ef5c681e27

rq turtle/ttl

Query #14: Construct WIKIDATA:WRITTEN WORK (Q47461344)TO DUBLIN CORE:BIBLIOGRAPHIC RESOURCE

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
CONSTRUCT 
{
 ?work a dct:BibliographicResource ; 
     dct:title ?workLabel ; 
     dct:language ?work_languageLabel ;
     dct:description ?workDescription ;
     dct:subject ?work_subject .
 ?work_subject a dct:LinguisticSystem ;
      dct:title ?work_subjectLabel .
 ?work dct:hasVersion ?hasEdition .
 ?hasEdition a dct:BibliographicResource ;
      dct:format ?formatLabel ;
      dct:issued ?yearOfPub ;
      dct:publisher ?publisher .
 ?publisher a dct:Agent ;
      dct:title ?publisherLabel .
 ?work dct:creator ?author .
 ?author a dct:Agent ;         
      dct:title ?authorLabel .               
}
WHERE
{
 ?work wdt:P31 wd:Q47461344 ;
     wdt:P495 wd:Q30 ;
     wdt:P407 wd:Q1860 ;
     wdt:P577 ?yearOfPub ;
     wdt:P407 ?work_language ;
     wdt:P921 ?work_subject ;
     wdt:P1476 ?work_title ;
     wdt:P50 ?author ;
     wdt:P747 ?hasEdition .
 ?hasEdition wdt:P50 ?author ;
     wdt:P1476 ?edition_title ;
     wdt:P123 ?publisher ;
     wdt:P291 ?placeOfPub ;
     wdt:P437 ?format .
 ?hasEdition wdt:P577 ?yearOfPub ;
     wdt:P407 ?language ;
     wdt:P1104 ?numOfPages .
 OPTIONAL {?work wdt:P1680 ?work_subTitle} . 
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr,es". }
}LIMIT 1

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v19("?_const_2783f1e8_uri") v33("?_const_41af0f9c_uri") v21("?_const_52e0db6c_uri") v27("?_const_82f7ba87_uri") v29("?_const_884f353b_uri") v23("?_const_950ae49c_uri") v30("?_const_c4c0156c_uri") v24("?_const_cb263484_uri") v31("?_const_d8e1fe55_uri") v17("?_const_dbb1cdc8_uri") v26("?_const_eeecdb6e_uri") v15("?_const_f5e5585a_uri") v16("?_const_f8a789cf_uri") v6("?author"):::projected v34("?authorLabel"):::projected v8("?edition_title"):::projected v11("?format"):::projected v28("?formatLabel"):::projected v7("?hasEdition"):::projected v12("?language"):::projected v13("?numOfPages"):::projected v10("?placeOfPub"):::projected v9("?publisher"):::projected v32("?publisherLabel"):::projected v1("?work"):::projected v22("?workDescription"):::projected v18("?workLabel"):::projected v3("?work_language"):::projected v20("?work_languageLabel"):::projected v14("?work_subTitle"):::projected v4("?work_subject"):::projected v25("?work_subjectLabel"):::projected v5("?work_title"):::projected v2("?yearOfPub"):::projected c4(["wd:Q30"]):::iri c2(["wd:Q47461344"]):::iri c18(["bd:serviceParam"]):::iri c20(["#91;AUTO_LANGUAGE#93;,en,fr,es"]):::literal c6(["wd:Q1860"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P495"--> c4 v1 --"wdt:P407"--> c6 v1 --"wdt:P577"--> v2 v1 --"wdt:P407"--> v3 v1 --"wdt:P921"--> v4 v1 --"wdt:P1476"--> v5 v1 --"wdt:P50"--> v6 v1 --"wdt:P747"--> v7 v7 --"wdt:P50"--> v6 v7 --"wdt:P1476"--> v8 v7 --"wdt:P123"--> v9 v7 --"wdt:P291"--> v10 v7 --"wdt:P437"--> v11 v7 --"wdt:P577"--> v2 v7 --"wdt:P407"--> v12 v7 --"wdt:P1104"--> v13 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1680".-> v14 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c18 --"wikibase:language"--> c20 end bind0[/""a""/] bind0 --as--o v15 bind1[/"'dct:BibliographicResource'"/] bind1 --as--o v16 bind2[/"'dct:title'"/] bind2 --as--o v17 bind3[/"?workLabel"/] v18 --o bind3 bind3 --as--o v18 bind4[/"'dct:language'"/] bind4 --as--o v19 bind5[/"?work_languageLabel"/] v20 --o bind5 bind5 --as--o v20 bind6[/"'dct:description'"/] bind6 --as--o v21 bind7[/"?workDescription"/] v22 --o bind7 bind7 --as--o v22 bind8[/"'dct:subject'"/] bind8 --as--o v23 bind9[/"'dct:LinguisticSystem'"/] bind9 --as--o v24 bind10[/"?work_subjectLabel"/] v25 --o bind10 bind10 --as--o v25 bind11[/"'dct:hasVersion'"/] bind11 --as--o v26 bind12[/"'dct:format'"/] bind12 --as--o v27 bind13[/"?formatLabel"/] v28 --o bind13 bind13 --as--o v28 bind14[/"'dct:issued'"/] bind14 --as--o v29 bind15[/"'dct:publisher'"/] bind15 --as--o v30 bind16[/"'dct:Agent'"/] bind16 --as--o v31 bind17[/"?publisherLabel"/] v32 --o bind17 bind17 --as--o v32 bind18[/"'dct:creator'"/] bind18 --as--o v33 bind19[/"?authorLabel"/] v34 --o bind19 bind19 --as--o v34