Outils pour utilisateurs

Outils du site


thatcamp_2014:requete_dbpedia

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
thatcamp_2014:requete_dbpedia [2014/09/01 09:19] – [Exploration] fberettathatcamp_2014:requete_dbpedia [2014/09/01 09:20] (Version actuelle) – [Jointure avec GEONAMES] fberetta
Ligne 141: Ligne 141:
       }       }
   }</code>   }</code>
 +  
 +  
 +  
 +La fonction de filtre ne semble pas être activée :
 +  
 + 
 +  
 +<code>
 +PREFIX  dbpedia-owl: <http://dbpedia.org/ontology/>
 +PREFIX  geo:  <http://www.w3.org/2003/01/geo/wgs84_pos#>
 +PREFIX  dbpedia: <http://dbpedia.org/resource/>
 +PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
 +PREFIX  dbpprop: <http://dbpedia.org/property/>
 +
 +
 +SELECT DISTINCT  *
 +    WHERE
 +          { ?s dbpprop:type dbpedia:Public_university .
 +            ?s dbpprop:city ?city .
 +            ?city dbpedia-owl:type dbpedia:City .
 +OPTIONAL {?city <http://www.w3.org/2002/07/owl#sameAs> ?geonames .
 +#    FILTER (substr(xsd:str(?geonames), 1, 15) = "http://sws.geon")
 +} 
 +          }
 +       
 +    LIMIT   10
 +</code>
thatcamp_2014/requete_dbpedia.1409555948.txt.gz · Dernière modification : (modification externe)