Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

121
Vistas
A SPARQL query that works in the DBpedia endpoint but not with ARC2

the query is the following :

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT distinct ?value
    from <http://fr.dbpedia.org>
    WHERE{                                          

        ?sub rdfs:label ?value.                     
                    FILTER (CONTAINS(LCASE(?value), 'data')).                                                           
        }

limit 10  

it works perfectly fine using the DBpedia endpoint but when I try to use it from PHP using ARC2 I get the following error :

Query errorsArray ( [0] => Incomplete FILTER in ARC2_SPARQLPlusParser [ 1] => Incomplete or invalid Group Graph pattern. Could not handle " " in ARC2_SPARQLPlusParser )

Any ideas what could be the problem ? thank's!

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

ARC2 does not support full SPARQL 1.1 (see the source code), thus, CONTAINS is not supported. You can try to use REGEX instead:

PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#

SELECT distinct ?value
    from <http://fr.dbpedia.org>
    WHERE{                                          

        ?sub rdfs:label ?value.                     
                    FILTER (REGEX(STR(?value), 'data', 'i')).                                                           
        }

limit 10  
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda