Minimization of Tree Patterns
Many of today’s graph query languages are based on graph pattern matching. We investigate optimization of tree-shaped patterns that have transitive closure operators. Such patterns not only appear in the context of graph databases but also were originally studied for querying tree-structured data, w...
Gespeichert in:
Veröffentlicht in: | Journal of the ACM 2018-08, Vol.65 (4), p.1-46 |
---|---|
Hauptverfasser: | , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | 46 |
---|---|
container_issue | 4 |
container_start_page | 1 |
container_title | Journal of the ACM |
container_volume | 65 |
creator | CzerwiŃski, Wojciech Martens, Wim Niewerth, Matthias Parys, Paweł |
description | Many of today’s graph query languages are based on graph pattern matching. We investigate optimization of tree-shaped patterns that have transitive closure operators. Such patterns not only appear in the context of graph databases but also were originally studied for querying tree-structured data, where they can perform child, descendant, node label, and wildcard tests.
The
minimization
problem aims at reducing the number of nodes in patterns and goes back to the early 2000s. We provide an example showing that, in contrast to earlier claims, tree patterns cannot be minimized by deleting nodes only. The example resolves the M =
?
NR problem, which asks if a tree pattern is minimal if and only if it is nonredundant. The example can be adapted to prove that minimization is Σ
P
2
-complete, which resolves another question that was open since the early research on the problem. The latter result shows that, unless NP = Π
P
2
, more general approaches for minimizing tree patterns are also bound to fail in general. |
doi_str_mv | 10.1145/3180281 |
format | Article |
fullrecord | <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2132268190</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2132268190</sourcerecordid><originalsourceid>FETCH-LOGICAL-c253t-60be7464cea536f03583867da9b4339315b016d3fc252e3ff54ac442cef37643</originalsourceid><addsrcrecordid>eNotj01LAzEURYMoOFbxFwgDLlzFvpeXj5mlFKtCiy5m4S5kpgmk2JmaTBf66x1pV5cLh3s5jN0iPCJKNSesQFR4xgpUynBD6vOcFQAguZKIl-wq5-1UQYAp2N069nEXf90Yh74cQtkk78sPN44-9fmaXQT3lf3NKWesWT43i1e-en95WzyteCcUjVxD643UsvNOkQ5AqqJKm42rW0lUE6oWUG8oTLjwFIKSrpNSdD6Q0ZJm7P44u0_D98Hn0W6HQ-qnRyuQhNAV1jBRD0eqS0POyQe7T3Hn0o9FsP_q9qROf1APR8I</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2132268190</pqid></control><display><type>article</type><title>Minimization of Tree Patterns</title><source>ACM Digital Library Complete</source><creator>CzerwiŃski, Wojciech ; Martens, Wim ; Niewerth, Matthias ; Parys, Paweł</creator><creatorcontrib>CzerwiŃski, Wojciech ; Martens, Wim ; Niewerth, Matthias ; Parys, Paweł</creatorcontrib><description>Many of today’s graph query languages are based on graph pattern matching. We investigate optimization of tree-shaped patterns that have transitive closure operators. Such patterns not only appear in the context of graph databases but also were originally studied for querying tree-structured data, where they can perform child, descendant, node label, and wildcard tests.
The
minimization
problem aims at reducing the number of nodes in patterns and goes back to the early 2000s. We provide an example showing that, in contrast to earlier claims, tree patterns cannot be minimized by deleting nodes only. The example resolves the M =
?
NR problem, which asks if a tree pattern is minimal if and only if it is nonredundant. The example can be adapted to prove that minimization is Σ
P
2
-complete, which resolves another question that was open since the early research on the problem. The latter result shows that, unless NP = Π
P
2
, more general approaches for minimizing tree patterns are also bound to fail in general.</description><identifier>ISSN: 0004-5411</identifier><identifier>EISSN: 1557-735X</identifier><identifier>DOI: 10.1145/3180281</identifier><language>eng</language><publisher>New York: Association for Computing Machinery</publisher><subject>Graph matching ; Graph theory ; Mathematical problems ; Nodes ; Optimization ; Pattern matching</subject><ispartof>Journal of the ACM, 2018-08, Vol.65 (4), p.1-46</ispartof><rights>Copyright Association for Computing Machinery Aug 2018</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c253t-60be7464cea536f03583867da9b4339315b016d3fc252e3ff54ac442cef37643</citedby><cites>FETCH-LOGICAL-c253t-60be7464cea536f03583867da9b4339315b016d3fc252e3ff54ac442cef37643</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids></links><search><creatorcontrib>CzerwiŃski, Wojciech</creatorcontrib><creatorcontrib>Martens, Wim</creatorcontrib><creatorcontrib>Niewerth, Matthias</creatorcontrib><creatorcontrib>Parys, Paweł</creatorcontrib><title>Minimization of Tree Patterns</title><title>Journal of the ACM</title><description>Many of today’s graph query languages are based on graph pattern matching. We investigate optimization of tree-shaped patterns that have transitive closure operators. Such patterns not only appear in the context of graph databases but also were originally studied for querying tree-structured data, where they can perform child, descendant, node label, and wildcard tests.
The
minimization
problem aims at reducing the number of nodes in patterns and goes back to the early 2000s. We provide an example showing that, in contrast to earlier claims, tree patterns cannot be minimized by deleting nodes only. The example resolves the M =
?
NR problem, which asks if a tree pattern is minimal if and only if it is nonredundant. The example can be adapted to prove that minimization is Σ
P
2
-complete, which resolves another question that was open since the early research on the problem. The latter result shows that, unless NP = Π
P
2
, more general approaches for minimizing tree patterns are also bound to fail in general.</description><subject>Graph matching</subject><subject>Graph theory</subject><subject>Mathematical problems</subject><subject>Nodes</subject><subject>Optimization</subject><subject>Pattern matching</subject><issn>0004-5411</issn><issn>1557-735X</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2018</creationdate><recordtype>article</recordtype><recordid>eNotj01LAzEURYMoOFbxFwgDLlzFvpeXj5mlFKtCiy5m4S5kpgmk2JmaTBf66x1pV5cLh3s5jN0iPCJKNSesQFR4xgpUynBD6vOcFQAguZKIl-wq5-1UQYAp2N069nEXf90Yh74cQtkk78sPN44-9fmaXQT3lf3NKWesWT43i1e-en95WzyteCcUjVxD643UsvNOkQ5AqqJKm42rW0lUE6oWUG8oTLjwFIKSrpNSdD6Q0ZJm7P44u0_D98Hn0W6HQ-qnRyuQhNAV1jBRD0eqS0POyQe7T3Hn0o9FsP_q9qROf1APR8I</recordid><startdate>20180801</startdate><enddate>20180801</enddate><creator>CzerwiŃski, Wojciech</creator><creator>Martens, Wim</creator><creator>Niewerth, Matthias</creator><creator>Parys, Paweł</creator><general>Association for Computing Machinery</general><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>8FD</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope></search><sort><creationdate>20180801</creationdate><title>Minimization of Tree Patterns</title><author>CzerwiŃski, Wojciech ; Martens, Wim ; Niewerth, Matthias ; Parys, Paweł</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c253t-60be7464cea536f03583867da9b4339315b016d3fc252e3ff54ac442cef37643</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2018</creationdate><topic>Graph matching</topic><topic>Graph theory</topic><topic>Mathematical problems</topic><topic>Nodes</topic><topic>Optimization</topic><topic>Pattern matching</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>CzerwiŃski, Wojciech</creatorcontrib><creatorcontrib>Martens, Wim</creatorcontrib><creatorcontrib>Niewerth, Matthias</creatorcontrib><creatorcontrib>Parys, Paweł</creatorcontrib><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><jtitle>Journal of the ACM</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>CzerwiŃski, Wojciech</au><au>Martens, Wim</au><au>Niewerth, Matthias</au><au>Parys, Paweł</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Minimization of Tree Patterns</atitle><jtitle>Journal of the ACM</jtitle><date>2018-08-01</date><risdate>2018</risdate><volume>65</volume><issue>4</issue><spage>1</spage><epage>46</epage><pages>1-46</pages><issn>0004-5411</issn><eissn>1557-735X</eissn><abstract>Many of today’s graph query languages are based on graph pattern matching. We investigate optimization of tree-shaped patterns that have transitive closure operators. Such patterns not only appear in the context of graph databases but also were originally studied for querying tree-structured data, where they can perform child, descendant, node label, and wildcard tests.
The
minimization
problem aims at reducing the number of nodes in patterns and goes back to the early 2000s. We provide an example showing that, in contrast to earlier claims, tree patterns cannot be minimized by deleting nodes only. The example resolves the M =
?
NR problem, which asks if a tree pattern is minimal if and only if it is nonredundant. The example can be adapted to prove that minimization is Σ
P
2
-complete, which resolves another question that was open since the early research on the problem. The latter result shows that, unless NP = Π
P
2
, more general approaches for minimizing tree patterns are also bound to fail in general.</abstract><cop>New York</cop><pub>Association for Computing Machinery</pub><doi>10.1145/3180281</doi><tpages>46</tpages></addata></record> |
fulltext | fulltext |
identifier | ISSN: 0004-5411 |
ispartof | Journal of the ACM, 2018-08, Vol.65 (4), p.1-46 |
issn | 0004-5411 1557-735X |
language | eng |
recordid | cdi_proquest_journals_2132268190 |
source | ACM Digital Library Complete |
subjects | Graph matching Graph theory Mathematical problems Nodes Optimization Pattern matching |
title | Minimization of Tree Patterns |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-03T11%3A26%3A34IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Minimization%20of%20Tree%20Patterns&rft.jtitle=Journal%20of%20the%20ACM&rft.au=Czerwi%C5%83ski,%20Wojciech&rft.date=2018-08-01&rft.volume=65&rft.issue=4&rft.spage=1&rft.epage=46&rft.pages=1-46&rft.issn=0004-5411&rft.eissn=1557-735X&rft_id=info:doi/10.1145/3180281&rft_dat=%3Cproquest_cross%3E2132268190%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2132268190&rft_id=info:pmid/&rfr_iscdi=true |