I have a lot of URI like the followings in a legacy dataset:
http://data.giving.eu/ontologies/hda/0.1#Domaine/arts-du-langage
http://data.giving.eu/ontologies/hda/0.1#Domaine/arts-du-quotidien
http://data.givings.eu/ontologies/hda/0.1#Tag/police-romaine_police-romaine_police-romaine_Police_romaine
I would like to define a route on the basis of
http://datamusee.givingsense.eu/ontologies/hda/0.1#Domaine/
and get strings like arts-du-langage, arts-du-quotidien or police-romaine_police-romaine_police-romaine_Police_romaine as parameter of the route. But, I'm not able to find how to do it (i'm using symfony 4.3.3)
My first attempt was
/**
* @Route("/ontologies/hda/0.1#Domaine/{id}")
*/
It doesn't work. Can you help me?