{
    "content": [
        {
            "type": "text",
            "text": "# RDF::Redland::Statement (perldoc)\n\n## NAME\n\nRDF::Redland::Statement - Redland RDF Statement Class\n\n## SYNOPSIS\n\nuse RDF::Redland;\nmy $statement1=new RDF::Redland::Statement($statement);\nmy $statement2=new RDF::Redland::Statement($subject,$predicate,$object);\n...\nif($statement->subject->equals($node)) {\n...\n}\n\n## DESCRIPTION\n\nManipulate RDF statements which comprise three RDF::Redland::Node objects. Also used for\n*partial* statements which can have empty parts and are used for matching statements in\nstatement queries of the model - see the RDF::Redland::Model.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTORS**\n- **METHODS**\n- **OLD METHODS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RDF::Redland::Statement",
        "section": "",
        "mode": "perldoc",
        "summary": "RDF::Redland::Statement - Redland RDF Statement Class",
        "synopsis": "use RDF::Redland;\nmy $statement1=new RDF::Redland::Statement($statement);\nmy $statement2=new RDF::Redland::Statement($subject,$predicate,$object);\n...\nif($statement->subject->equals($node)) {\n...\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONSTRUCTORS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "OLD METHODS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "RDF::Redland::Statement - Redland RDF Statement Class\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use RDF::Redland;\nmy $statement1=new RDF::Redland::Statement($statement);\nmy $statement2=new RDF::Redland::Statement($subject,$predicate,$object);\n...\n\nif($statement->subject->equals($node)) {\n...\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Manipulate RDF statements which comprise three RDF::Redland::Node objects. Also used for\n*partial* statements which can have empty parts and are used for matching statements in\nstatement queries of the model - see the RDF::Redland::Model.\n",
                "subsections": []
            },
            "CONSTRUCTORS": {
                "content": "new NODE NODE NODE|STATEMENT\nCreate a new statement from nodes or copy an existing statement.\n\nIf three *NODE*s are given, make a new statement from them. Each Node can be a\nRedland::RDF:Node, a Redland::RDF::URI, a perl URI or a string literal. Otherwise\n*STATEMENT* must be an existing statement to copy.\n\nclone\nCopy a RDF::Redland::Statement.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "subject [SUBJECT]\nGet/set the statement subject. When a RDF::Redland::Node *SUBJECT* is given, sets the\nsubject of the statement, otherwise returns a reference to the statement RDF::Redland::Node\nsubject.\n\npredicate [PREDICATE]\nGet/set the statement predicate. When RDF::Redland::Node *PREDICATE* is given, sets the\npredicate of the statement, otherwise returns a reference to the statement\nRDF::Redland::Node predicate.\n\nobject [OBJECT]\nGet/set the statement object. When RDF::Redland::Node *OBJECT* is given, sets the object of\nthe statement, otherwise returns a reference to the statement RDF::Redland::Node object.\n\nasstring\nReturn the statement formatted as a string (UTF-8 encoded).\n\nequals STATEMENT\nReturn non zero if this statement is equal to STATEMENT\n",
                "subsections": []
            },
            "OLD METHODS": {
                "content": "newfromnodes SUBJECT PREDICATE OBJECT\nCreate a new RDF::Redland::Statement with the given RDF::Redland::Node objects as parts (or\nundef when empty for a *partial* statement). Use instead:\n\n$a=new RDF::Redland::Statement($subject, $predicate, $object);\n\nnewfromstatement STATEMENT\nCreate a new RDF::Redland::Statement object from RDF::Redland::Statement *STATEMENT* (copy\nconstructor). Use instead:\n\n$s=$oldstatement->clone;\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "RDF::Redland::Node\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Beckett - http://www.dajobe.org/\n",
                "subsections": []
            }
        }
    }
}