Random error named broken line for same data, same query and same code.

2015-07-03 Thread Ankur Padia
Hello everyone,

I am trying to execute a SPARQL query by making a call to fuseki server
running at default port 3030. The query is as follows.

PREFIX  univ: http://example.com#
PREFIX  rdf:  http://www.w3.org/1999/02/22-rdf-syntax-ns#

SELECT  ?subject ?predicate ?object
FROM http://example.data/University3A
WHERE
  { {   { ?subject univ:doctoralDegreeFrom ?object
  {   { ?subject rdf:type univ:FullProfessor}
UNION
  { ?subject rdf:type univ:AssistantProfessor}
UNION
  { ?subject rdf:type univ:AssociateProfessor}
UNION
  { ?subject rdf:type univ:Lecturer}
  }
}
  UNION
{ ?subject univ:mastersDegreeFrom ?object
  {   { ?subject rdf:type univ:FullProfessor}
UNION
  { ?subject rdf:type univ:AssistantProfessor}
UNION
  { ?subject rdf:type univ:AssociateProfessor}
UNION
  { ?subject rdf:type univ:Lecturer}
  }
}
  UNION
{ ?subject univ:undergraduateDegreeFrom ?object
  {   { ?subject rdf:type univ:FullProfessor}
UNION
  { ?subject rdf:type univ:AssistantProfessor}
UNION
  { ?subject rdf:type univ:AssociateProfessor}
UNION
  { ?subject rdf:type univ:Lecturer}
  }
}
  UNION
{ ?subject univ:emailAddress ?object
  {   { ?subject rdf:type univ:FullProfessor}
UNION
  { ?subject rdf:type univ:AssistantProfessor}
UNION
  { ?subject rdf:type univ:AssociateProfessor}
UNION
  { ?subject rdf:type univ:Lecturer}
  }
}
  UNION
{ ?subject univ:name ?object}
  UNION
{ ?subject univ:researchInterest ?object}
  UNION
{ ?subject univ:teacherOf ?object}
  UNION
{ ?subject univ:worksFor ?object
  {   { ?subject rdf:type univ:FullProfessor}
UNION
  { ?subject rdf:type univ:AssistantProfessor}
UNION
  { ?subject rdf:type univ:AssociateProfessor}
UNION
  { ?subject rdf:type univ:Lecturer}
  }
}
  UNION
{ ?subject univ:name ?object
  { { ?subject rdf:type univ:Course}}
}
  UNION
{ ?subject univ:name ?object
  { { ?subject rdf:type univ:Department}}
}
  UNION
{ ?subject univ:suborganizationof ?object
  { { ?subject rdf:type univ:Department}}
}
  UNION
{ ?subject univ:name ?object
  { { ?subject rdf:type univ:GraduateCourse}}
}
  UNION
{ ?subject univ:advisor ?object
  {   { ?subject rdf:type univ:GraduateStudent}
UNION
  { ?subject rdf:type univ:ResearchAssistant}
UNION
  { ?subject rdf:type univ:TeachingAssistant}
  }
}
  UNION
{ ?subject univ:emailAddress ?object
  {   { ?subject rdf:type univ:GraduateStudent}
UNION
  { ?subject rdf:type univ:ResearchAssistant}
UNION
  { ?subject rdf:type univ:TeachingAssistant}
  }
}
  UNION
{ ?subject univ:memberOf ?object
  {   { ?subject rdf:type univ:GraduateStudent}
UNION
  { ?subject rdf:type univ:ResearchAssistant}
UNION
  { ?subject rdf:type univ:TeachingAssistant}
  }
}
  UNION
{ ?subject univ:name ?object
  {   { ?subject rdf:type univ:GraduateStudent}
UNION
  { ?subject rdf:type univ:ResearchAssistant}
UNION
  { ?subject rdf:type univ:TeachingAssistant}
  }
}
  UNION
{ ?subject univ:name ?object}
  UNION
{ ?subject univ:publicationAuthor ?object}
  UNION
{ ?subject univ:suborganizationOf ?object
  { { ?subject rdf:type univ:ResearchGroup}}
}
  UNION
{ ?subject rdf:type univ:University}
}
  }

Data set used to query upon is the synthetic data generated using data
generator script available at http://swat.cse.lehigh.edu/projects/lubm/
(UBA 1.7) with command 3 university as the command line argument and name
space as http://example.com;


*Problem* : When I try to run the code to submit query using
QueryEngineHTTP I get an error mainly *broken line : some text*, and each
time I run the code to query dataset I get different type of text like
broken line (new line) : ty, broken line (new line) : www.


I tried to peep in the generated data, but I was not able to find any new
line in the file or any error.

Interestingly, when data is generated using above script UBA 1.7 with 1
university as argument I get no such error for the same query (may be
number of triples are one third when compared with 3 as argument).

*Code* used is 

Fwd: How to load fuseki in eclipse

2014-05-13 Thread Ankur Padia
Hello everyone,

   I am trying to load fuseki source code in eclipse but not able to do so.
I have tried to find answer to the problem on internet but landed up in
finding the same question without answer. I will be thankful if any one can
let me know how to load fesuki source code in eclipse so that I can debug
and modified code.

Regards,
Ankur Padia.

-- Forwarded message --
From: Ankur Padia padiaan...@gmail.com
Date: Wed, May 7, 2014 at 5:06 PM
Subject: How to load fuseki in eclipse
To: us...@jena.apache.org


Hello everyone,

  Can any one let me know how to load fuseki in eclipse, as I am interested
in making changes in the code ?

- Ankur Padia.


Flow from Fuseki to ARQ

2014-04-25 Thread Ankur Padia
Hello everyone,

Can any one tell me, as what ARQ (com.hp.hpl.jena.query create/make)
classes/functions is called when I write a query in Fuseki 1.0.1 ?

Thanking you in advance.

Regards,
Ankur Padia.


Possibility of manipulation in ARQ

2014-02-18 Thread Ankur Padia
Hello everyone,

I am new to ARQ (SPARQL Engine) of Jena. I wanted to know is it
possible to manipulate the subject or object part of the triple after
calling execute function (e.g. execSelect) and before getting result.

Moreover, is there any documentation that describes query life cycle i.e
form the query string how each part of the query is handled.

Thanking you, in advance.

- Ankur Padia.


Need of a Data set to measure goodness of Similarity function

2013-08-25 Thread Ankur Padia
Hello everyone,

I am a PhD student working in domain of Semantic Web. I have defined
similarity function to measure the amount of overlapping between two given
ontological definition. Currently I am searching a way to determine how
good the defined functions are but out of luck. I have seen OAEI
(Ontological Alignment and Evaluation Initiative)[1] but it focuses on the
alignment which is problem that does not take lexicon under consideration
(i.e. Same definition may be labelled differently for example D = A
Intersection B in Ontology 1 while in other ontology it could be E = A
intersection B). Even sample ontology containing derived concepts defined
using only Union and Intersection is also fine. Any help or guide line
would be appreciated.

- Ankur Padia.


Request for Technical Report

2013-07-22 Thread Ankur Padia
Hello everyone,

 While reading the ''Jena Property Table Implementation by Kevin
Wilkinson, I came across the reference to dataset and it's respective
queires[1]. I tried to search, but was not able to find the same. Please
let me know where could I download technical report and dataset.

- Ankur Padia.

Reference

[1] Kevin Wilkinson, Luping Ding, Bechmark tools for RDF Engine, HP Labs
Technical Report, to appear 2006.


Re: Request for Technical Report

2013-07-22 Thread Ankur Padia
Hello dave

Then where could I get information about the dataset and its queries.

- Ankur Padia.

On Mon, Jul 22, 2013 at 10:16 PM, Dave Reynolds
dave.e.reyno...@gmail.comwrote:

 On 22/07/13 17:40, Ankur Padia wrote:

 Hello everyone,

   While reading the ''Jena Property Table Implementation by Kevin
 Wilkinson, I came across the reference to dataset and it's respective
 queires[1]. I tried to search, but was not able to find the same. Please
 let me know where could I download technical report and dataset.


 I suspect it was never actually published.

 Dave




Re: CMS diff: Tutorial SPARQL

2013-01-20 Thread ankur padia
Hello every one,

 What are the credentials to download the file.

Thanking you,
Ankur Padia.


On Sun, Jan 20, 2013 at 7:49 AM, Guilherme Cavalcanti
anonym...@apache.orgwrote:

 Clone URL (Committers only):

 https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/tutorials%2Fsparql_pt.mdtext

 Guilherme Cavalcanti

 Index: trunk/content/tutorials/sparql_pt.mdtext
 ===
 --- trunk/content/tutorials/sparql_pt.mdtext(revision 1435767)
 +++ trunk/content/tutorials/sparql_pt.mdtext(working copy)
 @@ -23,9 +23,9 @@

  [1]: http://jena.apache.org/documentation/query/index.html

 -SPARQL is a
 -[query language](http://www.w3.org/TR/sparql11-query/) e um
 -[protocol](http://www.w3.org/TR/rdf-sparql-protocol/) para acesso a
 +SPARQL é uma
 +[linguagem de consulta](http://www.w3.org/TR/sparql11-query/) e um
 +[protocolo](http://www.w3.org/TR/rdf-sparql-protocol/) para acesso a
  RDF elaborado pelo
  [W3C RDF Data Access Working Group](http://www.w3.org/2001/sw/DataAccess/
 ).