28. Example “ Please set the language to X for all literals which do not have a language tag yet.” lang type : LANG s type : TEMP p type : TEMP ltrl type : TEMP SELECT DISTINCT * WHERE { %s% %p% %literal%. FILTER ( isLiteral(%literal%) ) FILTER ( lang(%literal%) = '' ) } INSERT: %s% %p% setLanguage(%literal%,%lang%) DELETE: %s% %p% %literal% V S U
29.
30. Execute query lang = en type : LANG s type : TEMP p type : TEMP ltrl type : TEMP SELECT DISTINCT ?s ?p ?ltrl WHERE { ?s ?p ?ltrl . FILTER ( isLiteral( ?ltrl ) ) FILTER ( lang( ?ltrl ) = '' ) } INSERT: %s% %p% setLanguage(%literal%,%lang%) DELETE: %s% %p% %literal% V S U