Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1238

Add methods on Resource class that look for Properties in a specific language

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • Jena 3.1.0
    • Jena 3.1.1
    • Core
    • None

    Description

      It would be very convenient to have in the org.apache.jena.rdf.model.Resource interface methods such as:

          public Statement getProperty( Property p, String lang );
          public Statement getRequiredProperty( Property p, String lang );
      

      They'd work like very much like org.apache.jena.rdf.model.ModelCon.listStatements(Resource, Property, String, String).

      This would simplify queries to a Resource's language-specific properties.

      Attachments

        Issue Links

          Activity

            People

              claude Claude Warren
              ramiromagalhaes Ramiro Pereira de Magalhães
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: