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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: Jena 3.1.0
    • Fix Version/s: Jena 3.1.1
    • Component/s: Core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: