Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7699703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:32:25+00:00 2026-05-31T22:32:25+00:00

How do you specify a pair (or more) of attributes for an entity in

  • 0

How do you specify a pair (or more) of attributes for an entity in RDF without losing the connection? (Sorry, I am a newbie.)

For example, I would like to say a GPS has a reading of latitude and longitude, but I want to specify something like ‘GPS has (latitude, longitude)’ rather than ‘GPS has latitude’ and ‘GPS has longitude’, because it becomes problematic when I have multiple readings and need to know which latitude goes with which longitude.

I’ve looked at RDF examples, but it wasn’t very obvious to me how this could be done.
Thank you for any pointers.

[Edit] Upon further researching, i ran across bnode or anonymous node. Would this preserve the paring?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:32:27+00:00Added an answer on May 31, 2026 at 10:32 pm

    Essentially, you cannot do such thing unless you use RDF lists which I strongly not recommend for usability reasons. The good news is that with Blank nodes you can get very close to what you need. An example:

    :gps :hasReading [
                :longitud "x";
                :latitude "y";
          ] .
    

    Fundamentally this example does not create pairs but creates a blank node with two out-coming arcs :longitud and :latitude. I guess that what you need is to record multiple readings, this can be perfectly achieved with this model:

    :gps :hasReading [
                :longitud "x1";
                :latitude "y1";
          ];
          :hasReading [
                :longitud "x2";
                :latitude "y2";
          ].
    

    Moreover, if you need to record extra properties for the reading you can add as many properties as you want.

    Also, consider looking into Semantic W3C Geo Effort, in there you will find standard representations like the following:

    @prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>.
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
    _:bnode a geo:Point;
        geo:lat "55.701";
        geo:long "12.552".
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to specify a constraint which is another type with a generic
I have an entity where I want to specify a restriction that two fields
In a SOAP Request, I need to specify repeated keys with different values like
I would like to get started with MySQL Connector/MXJ. I am not sure how
Is it possible to specify a build action, for example install using Xcode GUI?
Is it possible to specify in DTD a method to declare new attributes in
How do you specify that a foreign key constraint should be a 1:1 relationship
XAML allows you to specify an attribute value using a string that contains curly
How do you specify a target framework version for the csc.exe c# compiler via
Can some one specify the windows API, one need to use in order to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.