{
    "content": [
        {
            "type": "text",
            "text": "# RDF::Redland::Query (perldoc)\n\n## NAME\n\nRDF::Redland::Query - Redland RDF Syntax Query Class\n\n## SYNOPSIS\n\nuse RDF::Redland;\n...\nmy $query=new RDF::Redland::Query($querystring); # default query language\nmy $results=$query->execute($model);\n# or my $results=$model->queryexecute($query);\nwhile(!$results->finished) {\nfor (my $i=0; $i < $results->bindingscount(); $i++) {\nmy $name=$results->bindingname($i);\nmy $value=$results->bindingvalue($i);\n# ... do something with the results\n}\n$results->nextresult;\n}\n\n## DESCRIPTION\n\nThis class represents queries of various syntaxes over an RDF::Redland::Model returning a\nsequence of results that (currently) bind variable names to RDF::Redland::Node values.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTORS**\n- **METHODS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RDF::Redland::Query",
        "section": "",
        "mode": "perldoc",
        "summary": "RDF::Redland::Query - Redland RDF Syntax Query Class",
        "synopsis": "use RDF::Redland;\n...\nmy $query=new RDF::Redland::Query($querystring); # default query language\nmy $results=$query->execute($model);\n# or my $results=$model->queryexecute($query);\nwhile(!$results->finished) {\nfor (my $i=0; $i < $results->bindingscount(); $i++) {\nmy $name=$results->bindingname($i);\nmy $value=$results->bindingvalue($i);\n# ... do something with the results\n}\n$results->nextresult;\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONSTRUCTORS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "RDF::Redland::Query - Redland RDF Syntax Query Class\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use RDF::Redland;\n\n...\nmy $query=new RDF::Redland::Query($querystring); # default query language\nmy $results=$query->execute($model);\n# or my $results=$model->queryexecute($query);\nwhile(!$results->finished) {\nfor (my $i=0; $i < $results->bindingscount(); $i++) {\nmy $name=$results->bindingname($i);\nmy $value=$results->bindingvalue($i);\n# ... do something with the results\n}\n$results->nextresult;\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This class represents queries of various syntaxes over an RDF::Redland::Model returning a\nsequence of results that (currently) bind variable names to RDF::Redland::Node values.\n",
                "subsections": []
            },
            "CONSTRUCTORS": {
                "content": "new QUERY-STRING [BASE-URI [QUERY-LANG-URI [QUERY-LANG]]]\nCreate a new RDF::Redland::Query object for a query string *QUERY-STRING* with optional base\nURI *BASE-URI* IN QUERY language *QUERY-LANG* or query language URI *QUERY-LANG-URI* (both\ncan be undef). If *QUERY-LANG-URI* is omitted, the current directory is used as the base\nURI. If *QUERY-LANG-NAME* is undef, the default query language \"rdql\" is used. If *BASE-URI*\nis omitted, no base URI is used.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "execute MODEL\nRun the query against model *MODEL* returning a RDF::Redland::QueryResults object or undef\non failure.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "RDF::Redland::QueryResults\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Beckett - http://www.dajobe.org/\n",
                "subsections": []
            }
        }
    }
}