# Publications Metadata
## 'publication'
## Generated Triples:
The following SQL query was executed:
```sql
SELECT IF(Publication.PubMed_ID IS NULL, '', CONVERT(Publication.PubMed_Id, INT)) AS pmid, Publication.Id, IFNULL(PubMed_ID, '') AS pubmedId, Publication.Title, Publication.Journal, Publication.Volume, Publication.Pages, Publication.Month, IF(Publication.Year = 0, NULL, Publication.Year) AS Year, Publication.Authors, Publication.Abstract FROM Publication
```
The above query results to triples that have the form:
```text
pubmed:pmid -> rdf:type -> fabio:ResearchPaper
pubmed:pmid -> fabio:hasPubMedId -> pubmed:pubmedId
pubmed:pmid -> dct:title -> Publication(Title)
pubmed:pmid -> fabio:Journal -> Publication(Journal)
pubmed:pmid -> prism:volume -> Publication(Volume)
pubmed:pmid -> fabio:page -> Publication(Pages)
pubmed:pmid -> prism:publicationDate -> "Publication(Month)"^^xsd:gMonth
pubmed:pmid -> fabio:hasPublicationYear -> "Year"^^xsd:gYear
pubmed:pmid -> dct:abstract -> PublicationAbstract
pubmed:pmid -> dct:creator -> PublicationAuthors
```
Here's an example query:
```sparql
PREFIX gnt:
PREFIX fabio:
PREFIX dct:
PREFIX prism:
PREFIX gn:
PREFIX gnc:
PREFIX pubmed:
PREFIX rdfs:
PREFIX xsd:
PREFIX rdf:
SELECT * WHERE {
?s rdf:type fabio:ResearchPaper .
?s ?p ?o .
}
```
Expected Result:
```rdf
gn:unpublished1 rdf:type fabio:ResearchPaper .
```