{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T22:31:57Z","timestamp":1791930717155,"version":"4.3.4"},"reference-count":30,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2016,5,11]],"date-time":"2016-05-11T00:00:00Z","timestamp":1462924800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100003977","name":"Israel Science Foundation","doi-asserted-by":"crossref","award":["1467\/13"],"award-info":[{"award-number":["1467\/13"]}],"id":[{"id":"10.13039\/501100003977","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Ministry of Science and Technology","award":["3-9617"],"award-info":[{"award-number":["3-9617"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2016,6,30]]},"abstract":"<jats:p>\n            This article investigates the problem of learning tree patterns that return nodes with a given set of labels, from example graphs provided by the user. Example graphs are annotated by the user as being either\n            <jats:italic>positive<\/jats:italic>\n            or\n            <jats:italic>negative<\/jats:italic>\n            . The goal is then to determine whether there exists a tree pattern returning tuples of nodes with the given labels in each of the positive examples, but in none of the negative examples, and furthermore, to find one such pattern if it exists. These are called the\n            <jats:italic>satisfiability<\/jats:italic>\n            and\n            <jats:italic>learning<\/jats:italic>\n            problems, respectively.\n          <\/jats:p>\n          <jats:p>\n            This article thoroughly investigates the satisfiability and learning problems in a variety of settings. In particular, we consider example sets that (1) may contain only positive examples, or both positive and negative examples, (2) may contain directed or undirected graphs, and (3) may have multiple occurrences of labels or be uniquely labeled (to some degree). In addition, we consider tree patterns of different types that can allow, or prohibit, wildcard labeled nodes and descendant edges. We also consider two different semantics for mapping tree patterns to graphs. The complexity of satisfiability is determined for the different combinations of settings. For cases in which satisfiability is polynomial, it is also shown that learning is polynomial. (This is nontrivial as satisfying patterns may be exponential in size.) Finally, the\n            <jats:italic>minimal learning<\/jats:italic>\n            problem, that is, that of finding a minimal-sized satisfying pattern, is studied for cases in which satisfiability is polynomial.\n          <\/jats:p>","DOI":"10.1145\/2890492","type":"journal-article","created":{"date-parts":[[2016,5,13]],"date-time":"2016-05-13T14:30:58Z","timestamp":1463149858000},"page":"1-44","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":5,"title":["The Complexity of Learning Tree Patterns from Example Graphs"],"prefix":"10.1145","volume":"41","author":[{"given":"Sara","family":"Cohen","sequence":"first","affiliation":[{"name":"Hebrew University of Jerusalem, Jerusalem, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yaacov Y.","family":"Weiss","sequence":"additional","affiliation":[{"name":"Hebrew University of Jerusalem, Jerusalem, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2016,5,11]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1010971904477"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1022692615781"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2448496.2448514"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(97)00015-7"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/11872436_29"},{"key":"e_1_2_1_6_1","first-page":"376","article-title":"A theorem on trees","volume":"23","author":"Cayley Arthur","year":"1889","unstructured":"Arthur Cayley . 1889 . A theorem on trees . Quarterly Journal of Mathematics 23 , 376 -- 378 (1889), 69. Arthur Cayley. 1889. A theorem on trees. Quarterly Journal of Mathematics 23, 376--378 (1889), 69.","journal-title":"Quarterly Journal of Mathematics"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559901"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/2448496.2448525"},{"key":"e_1_2_1_9_1","volume-title":"18th International Conference on Database Theory (ICDT\u201915)","author":"Cohen Sara","year":"2015","unstructured":"Sara Cohen and Yaacov Y. Weiss . 2015. Learning tree patterns from example graphs . In 18th International Conference on Database Theory (ICDT\u201915) . 127--143. DOI:http:\/\/dx.doi.org\/10.4230\/LIPIcs.ICDT. 2015 .127 10.4230\/LIPIcs.ICDT.2015.127 Sara Cohen and Yaacov Y. Weiss. 2015. Learning tree patterns from example graphs. In 18th International Conference on Database Theory (ICDT\u201915). 127--143. DOI:http:\/\/dx.doi.org\/10.4230\/LIPIcs.ICDT.2015.127"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1804669.1804683"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230010302"},{"key":"e_1_2_1_12_1","volume-title":"Johnson","author":"Garey Michael R.","year":"1979","unstructured":"Michael R. Garey and David S . Johnson . 1979 . Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman . Michael R. Garey and David S. Johnson. 1979. Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/11965893_19"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687588"},{"key":"e_1_2_1_15_1","unstructured":"Vagelis Hristidis Yannis Papakonstantinou and Andrey Balmin. 2003. Keyword proximity search on XML graphs. In ICDE.  Vagelis Hristidis Yannis Papakonstantinou and Andrey Balmin. 2003. Keyword proximity search on XML graphs. In ICDE."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453936"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0269888912000331"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463664.2465222"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1142351.1142377"},{"key":"e_1_2_1_20_1","volume-title":"Jan Van Den Bussche, and Hendrik Blocked","author":"Kosala Raymond","year":"2003","unstructured":"Raymond Kosala , Maurice Bruynooghe , Jan Van Den Bussche, and Hendrik Blocked . 2003 . Information extraction from web documents based on local unranked tree automaton inference. In IJCAI. 6. Raymond Kosala, Maurice Bruynooghe, Jan Van Den Bussche, and Hendrik Blocked. 2003. Information extraction from web documents based on local unranked tree automaton inference. In IJCAI. 6."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1977.16"},{"key":"e_1_2_1_22_1","unstructured":"Alexandra Meliou Wolfgang Gatterbauer Katherine F. Moore and Dan Suciu. 2010. Why so? or why no? Functional causality for explaining query answers. In Management of Uncertain Data.  Alexandra Meliou Wolfgang Gatterbauer Katherine F. Moore and Dan Suciu. 2010. Why so? or why no? Functional causality for explaining query answers. In Management of Uncertain Data."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10878-011-9394-2"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-75225-7_25"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-008-5049-7"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.2307\/1969455"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/2274576.2274592"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/800125.804029"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807167.1807172"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559902"}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2890492","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2890492","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:38:55Z","timestamp":1750221535000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2890492"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,5,11]]},"references-count":30,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2016,6,30]]}},"alternative-id":["10.1145\/2890492"],"URL":"https:\/\/doi.org\/10.1145\/2890492","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,5,11]]},"assertion":[{"value":"2015-06-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2016-01-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2016-05-11","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}