<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?action=history&amp;feed=atom&amp;title=Python%3APublication</id>
	<title>Python:Publication - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?action=history&amp;feed=atom&amp;title=Python%3APublication"/>
	<link rel="alternate" type="text/html" href="http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?title=Python:Publication&amp;action=history"/>
	<updated>2026-07-22T11:49:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?title=Python:Publication&amp;diff=2034&amp;oldid=prev</id>
		<title>Sysop: modified through wikirestore by Sysop</title>
		<link rel="alternate" type="text/html" href="http://dbis-vl2.wikidata.dbis.rwth-aachen.de/index.php?title=Python:Publication&amp;diff=2034&amp;oldid=prev"/>
		<updated>2023-04-05T07:24:06Z</updated>

		<summary type="html">&lt;p&gt;modified through wikirestore by Sysop&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;from dataclasses import dataclass&lt;br /&gt;
from typing import Optional&lt;br /&gt;
import dacite&lt;br /&gt;
@dataclass&lt;br /&gt;
class Publication:&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    A Publication is e.g. a scholarly article&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    pageTitle:str&lt;br /&gt;
    id:Optional[str] # The id (e.g. bibtex key) of the Publication&lt;br /&gt;
    doi:Optional[str] # The doi of the Publication&lt;br /&gt;
    wikidataid:Optional[str] # The wikidataid of the Publication&lt;br /&gt;
    isbn:Optional[str] # The ISBN-13 of the Publication&lt;br /&gt;
    title:Optional[str] # The title of the Publication&lt;br /&gt;
    authors:Optional[str] # authors of the Publication&lt;br /&gt;
    publisher:Optional[str] # publisher of the Publication&lt;br /&gt;
    year:Optional[float] # year of the Publication&lt;br /&gt;
    pdfUrl:Optional[str] # the url for the pdf of this Publication&lt;br /&gt;
&lt;br /&gt;
    @classmethod&lt;br /&gt;
    def askQuery(cls):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        get the ask Query for Publication&lt;br /&gt;
        &lt;br /&gt;
        Returns:&lt;br /&gt;
            str: the mediawiki markup for the ask query&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        ask=&amp;quot;&amp;quot;&amp;quot;{{#ask: [[Concept:Publication]]&lt;br /&gt;
|mainlabel=pageTitle&lt;br /&gt;
|?Publication id = id&lt;br /&gt;
|?Publication doi = doi&lt;br /&gt;
|?Publication wikidataid = wikidataid&lt;br /&gt;
|?Publication isbn = isbn&lt;br /&gt;
|?Publication title = title&lt;br /&gt;
|?Publication authors = authors&lt;br /&gt;
|?Publication publisher = publisher&lt;br /&gt;
|?Publication year = year&lt;br /&gt;
|?Publication pdfUrl = pdfUrl&lt;br /&gt;
| limit=200&lt;br /&gt;
|sort=Publication id&lt;br /&gt;
|order=ascending&lt;br /&gt;
}}&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        return ask&lt;br /&gt;
        &lt;br /&gt;
    @classmethod&lt;br /&gt;
    def fromDict(cls,data:dict):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        create a Publication from the given dict&lt;br /&gt;
        &lt;br /&gt;
        Args:&lt;br /&gt;
            data(dict): the dict to create the Publication from&lt;br /&gt;
        &lt;br /&gt;
        Returns:&lt;br /&gt;
            Publication: the freshly created Publication&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        publication=dacite.from_dict(data_class=cls,data=data)&lt;br /&gt;
        return publication&lt;/div&gt;</summary>
		<author><name>Sysop</name></author>
	</entry>
</feed>