Árbol de páginas

Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

Bloque de código
languagesql
themeMidnight
select ?doc from <http://gnoss.com/b836078b-78a0-4939-b809-3f2ccf4e5c01>
            where
            {
                ?doc a 'document'.
                ?doc <http://w3id.org/roh/scientificActivityDocument> <http://gnoss.com/items/scientificactivitydocument_SAD2>.
                ?doc <http://w3id.org/roh/isValidated> 'true'.
                ?doc <http://purl.org/ontology/bibo/authorList> ?listAuthor.
                ?doc <http://purl.org/dc/terms/issued> ?fecha. 
                BIND(?fecha/10000000000 as ?anioFecha).
                ?listAuthor <http://www.w3.org/1999/02/22-rdf-syntax-ns#member> ?person.
                """+filtro_investigador+"""
			 	FILTER(?anioFecha in ("""+periodo+"""))
            }


  • Obtener patentes de un investigador:


Bloque de código
languagesql
themeMidnight
select ?doc from <http://gnoss.com/b836078b-78a0-4939-b809-3f2ccf4e5c01>
where
{
      ?doc a 'patent'.   
      ?doc <http://w3id.org/roh/isValidated> 'true'.
      ?doc <http://purl.org/ontology/bibo/authorList> ?listAuthor.
      ?doc <http://purl.org/dc/terms/issued> ?fecha. 
      BIND(?fecha/10000000000 as ?anioFecha).
      ?listAuthor <http://www.w3.org/1999/02/22-rdf-syntax-ns#member> ?person. 
	  """+filtro_investigador+"""
      FILTER(?anioFecha in (2010,2011,2013,2015,2018,2020))
} 


  • Obtener título y fecha de una patente utilizando su identificador:


Bloque de código
languagesql
themeMidnight
select ?titulo ?fechaPublicacion from <http://gnoss.com/b836078b-78a0-4939-b809-3f2ccf4e5c01>
where
{
     ?doc a 'patent'.
     ?doc <http://w3id.org/roh/title> ?titulo .
     OPTIONAL{?doc <http://purl.org/dc/terms/issued> ?fecha. }
     FILTER(?doc =<"""+id+""">)
}


  • Obtener lista de autores de una patente utilizando su identificador:


Bloque de código
languagesql
themeMidnight
select ?posicion ?autor ?nombreAutor ?emailAutor ?orcidAutor from <http://gnoss.com/b836078b-78a0-4939-b809-3f2ccf4e5c01>
where
{
    ?doc a 'document'.
    ?doc <http://purl.org/ontology/bibo/authorList> ?listAuthor.
    ?listAuthor <http://www.w3.org/1999/02/22-rdf-syntax-ns#member> ?autor.
    ?listAuthor <http://www.w3.org/1999/02/22-rdf-syntax-ns#comment> ?posicion.
                ?autor <http://xmlns.com/foaf/0.1/name>  ?nombreAutor.
    OPTIONAL{?autor <http://w3id.org/roh/ORCID> ?orcidAutor .}
    OPTIONAL{?autor <https://www.w3.org/2006/vcard/ns#email> ?emailAutor .}
    FILTER(?doc =<"""+id+""">)
}order by asc(?posicion)





donde, filtro_investigador es el filtro que indica el identificador del investigador, puede ser personaRef, email u ORCID, como se puede ver en las queries anteriores.

...