I have a SPARQL query:
SELECT DISTINCT ?chapter_name ?verse_index ?verseTextAr WHERE
{{
?word skos:prefLabel "جنة"@ar;
dcterms:isPartOf ?verse.
?verse a qvoc:Verse;
skos:prefLabel…
I made a function that executes a SPARQL query on the DBpedia SPARQL endpoint. This function takes an array of 15 elements, and each time it substitutes an element from the array into the query, then executes it to get result. The problem is that…
I use SPARQLWrapper to create SPARQL queries, but I don't know how to debug the following error message:
Warning (from warnings module):
File "D:\Python27\lib\site-packages\sparqlwrapper-1.5.2-py2.7.egg\SPARQLWrapper\Wrapper.py", line…
This is my code below, I want to send python variable value in place of dbpedia:Imran_Khan. please provide me proper solution of this query
Code:
from SPARQLWrapper import SPARQLWrapper, JSON
inputvar=input("enter name:")
sparql =…
I need to extract information about articles (e.g., abstract, thumbnail) which located on the different nested subcategories of given category (e.g., History).
How can I do that using SPARQL query? Or what is the optimal way to do that on python…
Using SPARQL, I am trying the get the list of all english novels and their properties.
I would also like to find if a movie was taken based on that novel and get the movie name and its director, If a movie relationship exists.
Code:
SELECT ?movie…
I want to write a cross ontologies request, so it takes information from two ontologies per say onto1 and onto2:
select x y z where {
x onto1:hasY y
y onto2:hasZ Z
}
the problem is that the y differs in term of uri, from onto1 you get this…