Law behind copying items multiple times Hypothetical scenario: Mr. Peter creates a piece of know-how, e.g. a unique pizza recipe. Can he sell the recipe to more than one company? What is called a type of contract that enables multiple different companies to be allowed to use Mr. Peter's recipe for making a pizza according to his recipe commercially? Mr. Peter lives in the European Union. (It is different comparing to selling a car. Once a car is sold, it cannot be sold to other people from the original owner.) Thank you.
I'll ignore whether a recipe is actually a good example, but I assume you're asking how a person who owns the exclusive rights to copy a thing (copyright) or to use a thing (patent) can allow multiple other entities to copy or use the thing. This is possible by granting each a non-exclusive licence. In the case that the piece of knowledge is not protected by any intellectual property regime, the holder of the information could just treat it as a secret. The information holder could enter into contracts to sell that information to various entities, each promising in return not to further disclose that information. This is the case for lots of sports data.
I'm not sure this would be a copyright violation. 17 USC 117 says: (a)Making of Additional Copy or Adaptation by Owner of Copy.—Notwithstanding the provisions of section 106, it is not an infringement for the owner of a copy of a computer program to make or authorize the making of another copy or adaptation of that computer program provided: (1) that such a new copy or adaptation is created as an essential step in the utilization of the computer program in conjunction with a machine and that it is used in no other manner... Due to the shutdown of the license server, it is impossible to use the program without an adaptation. It is therefore an "essential step in the utilization of the computer program", and not infringing, in my opinion.
If you own the copyright (because you wrote the book), you can do whatever you want with it. If someone else has the copyright, you have to get their permission to do what you propose. That could be the author, the author's estate, or some other party. It then depends on what the interest of the rights-holder is: they could say "No way!", "Sure, for a payment of $100,000", "At $1 per copy, here is how you must keep track of copies", "Okay, as long as you include this notice that prevents further re-distribution" or "Huh, I never thought of that. Sure, I grant you complete license to do whatever you want". A publisher is relevant only when the publisher requires a transfer of copyright to the publishing company, or if the rights-holder has granted them a certain type of license (e.g. an exclusive license). If the author has granted someone else an exclusive perpetual right to distribute, then they cannot also grant you a license to distribute for free. That is really the author's problem, though, since the publisher doesn't hold the copyright so can't sue you, instead the publisher would sue the author for breach of contract.
Disclaimer: I'm from the US and don't claim to know German or Turkish law. So let me discuss some general principles here, but details may well be different in Germany and Turkey. You're mixing together three very different things: trademark, copyright, and patent. Copyright protects the expression of an idea, in this case, the exact computer code, images, etc. If you didn't copy his code, the chance that you would coincidentally write identical code is remote. The fact that you both have a line of code that says x=x+1 wouldn't give him any grounds for a lawsuit. He'd have to show substantial portions of the code were identical. If you didn't deliberately copy his code, this isn't going to happen. Barring some extraordinary and unbelievable coincidence, you can't violate copyright accidentally. Trademark protects names and symbols used to identify a company or a product. If you decided to call your software company "Microsoft", then that other Microsoft could sue you for trademark infringement. Likewise if you copied somebody else's logo or other distinctive graphics. This is very different from copyright. It is quite possible to violate someone's trademark accidentally. Especially if he gave his company or product a rather generic name. Like if someone called his product, say, "Password Manager", someone else might make a product with the same name without ever having heard of the original. Ditto if he has some simple logo or other graphics. If you did accidentally duplicate a name or graphic elements, well, in the US a court would likely order you to change your name or graphics and that would be the end of it, unless you refused, in which case you'd end up in court. US Courts have ruled that very generic names have limited trademark protection. An example I saw recently was "Main Street Auto Repair". A court said that the owner of that name could prevent someone else from opening a shop in the same town with the same name, but he couldn't sue someone in another town who happened to use the same name. This is why, by the way, companies often use made-up words for their product names. In your case, this should be a trivial issue. If he is claiming trademark to the look of the main menu screen, just change the colors or move some buttons around. If it actually went to court, you should be able to argue that the similarity was accidental and when you were informed you promptly changed it, and that should be the end of it. Depending, I guess, on how hard-nosed the judge is, etc. Patents are different still. A patent gives the owner the exclusive right to use an invention or process for a specified period of time. It doesn't matter if you invented the same thing entirely independently. Whoever filed the patent first has exclusive rights. There have been cases where an inventor lost out to someone with a similar invention because he submitted his patent application one day later. If this other person has patents that you are infringing, you are pretty much out of luck.
The first question is whose law you are concerned with, since in principle you might have violated copyright law in any country, and might be sued under the laws of multiple countries. The US has a concept of "fair use" which is notoriously difficult to apply. When you are sued in the US, you can defend against the allegation by arguing certain things: telegraphically, this includes purpose and character of use, nature of the work, substantiality in relation to the whole, and effect on market. Plus there is a 5th factor to be considered, transformativeness. The court then weighs these factors to decide if the use is "fair". By reading existing case law on the topic (conveniently available from the US Copyright office) you might develop a fact-based opinion of the risk: you would be vastly better off hiring an attorney who specializes in US copyright law to do an analysis for you. Do not hire a programmer to give you legal advice (do not hire an attorney to debug code). You would "fail" on the test of substantiality in that you are copying a highly substantial portion of the original work(s). You would "win" on nature of use (research especially non-profit and commentary are the underlying purposes that drive fair use law). It's not clear how you would fare w.r.t. nature of the work, which is intended to distinguish the extremes "news report" and "literature and artistic work" where copying news is at the fair use end of the spectrum. It is not clear how you would fare on "effect on market", but probably not so badly: are you avoiding some licensing fee? Coupled with the tranformativeness consideration, you are most likely having no effect on the market, since the product that you will distribute is not the original work, but a scientific conclusion about the work. Germany has different laws, and this article would be relevant if you cared about Germany. There was a change in the law that expanded the analog of fair use pertaining to research use. That law allows 15 percent of a work to be reproduced, distributed and made available to the public for the purpose of non-commercial scientific research. That, b.t.w., does not refer to what you are planning to do (unless you also publish quotes); for personal scientific research you may reproduce up to 75 percent. Since this is a new law only a year old, you could become part of the cutting edge in testing the limits of the law. So the standard disclaimer applies: ask your attorney. But note section 60d of the law which legalized data mining, and is squarely on point: (1) In order to enable the automatic analysis of large numbers of works (source material) for scientific research, it shall be permissible to reproduce the source material, including automatically and systematically, in order to create, particularly by means of normalisation, structuring and categorisation, a corpus which can be analysed and to make the corpus available to the public for a specifically limited circle of persons for their joint scientific research, as well as to individual third persons for the purpose of monitoring the quality of scientific research. In such cases, the user may only pursue non-commercial purposes. (2) If database works are used pursuant to subsection (1), this shall constitute customary use in accordance with section 55a, first sentence. If insubstantial parts of databases are used pursuant to subsection (1), this shall be deemed consistent with the normal utilisation of the database and with the legitimate interests of the producer of the database within the meaning of section 87b (1), second sentence, and section 87e. (3) Once the research work has been completed, the corpus and the reproductions of the source material shall be deleted; they may no longer be made available to the public. It shall, however, be permissible to transmit the corpus and the reproductions of the source material to the institutions referred to in sections 60e and 60f for the purpose of long-term storage.
At least in the United States (and I'm pretty sure this is true around the world), facts and information cannot be copyrighted. Just because a work is copyrighted, doesn't mean every part of that work is copyrighted, and factual information conveyed by the work is a part which is not subject to copyright. Copyright on a collection of facts is limited to the selection and arrangement of those facts, and only if that selection and arrangement has some bare minimum amount of originality. See Feist v. Rural, 499 U.S. 340. In this case, it looks at first glance like the person who made that site made their own selection of which materials and which sources would be included; the one place where they really seem to have copied their selection is from glass catalogs with datasheets from specific manufacturers, who would have a hard time arguing that "everything we manufacture in this widely-recognized class of substances" is an original selection. What the author of the website has done is relinquish his rights in his selection and arrangement of the data. In some places, there are other rights besides copyright that do apply to databases; for instance, the EU recognizes database rights to protect significant investment in compiling a database of stuff. But the US does not have that concept. For citing stuff, that's not really a legal question, and has more to do with academic standards. Ask your adviser or teacher if you have one.
There are two scenarios presented: Buying prepared hot food, holding it hot in inventory, and selling it a la carte. Providing a delivery service. In 1, you are a food service business. It is a common business model for street vendors, caterers, or concessionaires to buy prepared hot food from third party commissaries. Food service businesses tend to have specific local and state regulations about food handling, occupational licesnse and food safety certification, inspections, equipment requirements and maintaining temperature logs to be legal, and in the event of food poisoning, anyone in the handling chain could have responsibility. Contact your specific city or state heath department. There is also the question of if Little Caesars etc. wants to be your commissary but that is their business decision. Another answer discusses the intellectual property of their logo and marketing, so I defer to that answer on the question of if they could positively stop you, assuming they don't care to sell into your commissary channel. In number 2, does GrubHub or similar actually ever own the food? They are providing several agent services: on a person's behalf, placing an order as directed. As an intermediary, collecting and transferring payment. As a contractor working as directed by the owner of the food, collecting and transporting it to the owners location when ready. In general the pickup task is something the owner could do and should be able to freely delegate, though I would not be surprised to learn of the existence of at least one city ordinance treating this delivery task as a food handling job subject to health and safety regulations.
If the ability to get a Pannini is conditioned on buying paper towels for money, then he isn't really selling paper towels for $2 and the Pannini for free, he is really selling a package consisting of paper towels and a Pannini for $2, so it would probably still be illegal. The phrase lawyers and judges use to talk about attempts to create loopholes like this one is "too clever by half", which means: "Shrewd but flawed by overthinking or excessive complexity, with a resulting tendency to be unreliable or unsuccessful."