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 455159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:20:33+00:00 2026-05-12T22:20:33+00:00

I am using a tool called TopQuadrant to create a Semantic Web (RDF/OWL) Ontology.

  • 0

I am using a tool called TopQuadrant to create a Semantic Web (RDF/OWL) Ontology. This tool allows for import of data from MS Excel. My spreadsheet is basically a two-column sheet with the first column being an XPATH expression and the second column being a description of that XPATH.

Once I import my spreadsheet, I would like to use SPARQL to iterate through the data to create an Ontology based on the values in my first column. For instance, if I had a sheet that looked as follows:

XPATH                              Description
Food
Food/Fruit
Food/Fruit/Apple
Food/Vegetables
Food/Vegetables/Turnips

I would like SPARQL to create my Ontology with a root class (under “Thing” of course) of ‘Food’, and under ‘Food’, 2 subclasses called ‘Fruit’ and ‘Vegetables’, and under ‘Fruit’ a subclass of ‘Apple’, and under ‘Vegetables’ a sublcass of Turnips… going on down the line.

Is this something that SPARQL can do?

Thanks in advance.

  • 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-12T22:20:34+00:00Added an answer on May 12, 2026 at 10:20 pm

    No I don’t think it is, SPARQL is designed as a query language so this is beyond it’s scope. While you have implied from the question title you wish to use a CONSTRUCT query to do this it’s not something that is doable under SPARQL 1.0 because of the format of your data.

    Your question requires processing of the values in your first column in a way that’s not possible with SPARQL without defining your own custom extensions to it – I am unsure if TopQuadrant has any kind of support for this.

    Based on the data in your spreadsheet alone this is not possible, BUT it may be possible depending on how TopQuadrant imports your spreadsheet. As a Semantic Web tool I would assume that TopQuadrant is converting your spreadsheet input into some kind of RDF. If this is the case and you can edit your question to add that RDF representation I could give you a more definitive answer.

    I would expect that even in an RDF form you probably can’t achieve your aim with a single query

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For a while we were using a tool called CodeVeil. I'm just wondering if
I am using asp.net web site administration tool to manage the different roles in
I have recently written a dynamic querying tool using expression trees and as I
I am trying to run a java based tool using a command line syntax
Can anyone explain what advantages there are to using a tool like MSBuild (or
I have a SOAP request that is known to work using a tool like,
I'm building a project using a GNU tool chain and everything works fine until
Using the svnmerge.py tool it is possible to merge between branches, up and down.
When using TFS with a tool outside of Visual Studio (Specifially ORMS), modifications to
I've been using WatiN as a testing tool for my current project. Besides the

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.